Function at 0x4096a0
Capabilities:
Check os version
Resolve function by parsing pe exports

Disassembly:
lea esi, [ebp - 0x2c]
call fcn.00408f40
dec dword [edi]
je 0x42c5e4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push esi
lea eax, [ebp - 0x2c]
call fcn.0040b510
jmp case.default.0x409179
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xd4
push ebx
mov ebx, dword [ebp + 0xc]
mov ecx, dword [ebx + 4]
push esi
push edi
mov edi, eax
mov eax, dword [edi]
mov edx, dword [ecx + eax*4]
mov eax, dword [edx]
mov esi, dword [eax]
push esi
call fcn.004111c1
add esp, 4
mov dword [esp + 0x34], eax
inc eax
je 0x42978a
add eax, 7
shr eax, 3
add eax, eax
add eax, eax
add eax, eax
xor ecx, ecx
mov dword [esp + 0x38], eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004115d7
mov ecx, dword [esp + 0x38]
add esp, 4
lea edx, [ecx + ecx + 2]
push edx
push esi
push eax
mov dword [esp + 0x3c], eax
call fcn.00410e60
add esp, 0xc
push 4
call fcn.004115d7
add esp, 4
test eax, eax
je 0x429794
mov dword [eax], 1
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x140], 0
mov dword [esp + 0x3c], eax
je 0x42986a
cmp dword [eax], 1
jg 0x42979b
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
push eax
push ecx
call dword [0x482644]
mov eax, dword [ebp + 8]
mov esi, dword [eax + 0x13c]
test esi, esi
jne 0x429802
mov esi, dword [eax + 0x134]
test esi, esi
je 0x42986a
mov dword [esp + 0x1c], esi
lea esp, [esp]
mov edx, dword [esi + 4]
cmp edx, dword [esp + 0x34]
jne 0x40a675
test edx, edx
je 0x4097b9
mov ecx, dword [esp + 0x30]
mov eax, dword [esi]
jmp 0x4097a0
mov si, word [eax]
cmp si, word [ecx]
jne 0x40a671
add eax, 2
add ecx, 2
dec edx
jne 0x4097a0
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x3c]
dec dword [eax]
jne 0x4097db
mov ecx, dword [esp + 0x30]
push ecx
call fcn.004111dc
mov edx, dword [esp + 0x40]
add esp, 4
push edx
call fcn.004111dc
add esp, 4
mov eax, esi
test eax, eax
je 0x429873
mov edx, dword [eax + 0x14]
mov ecx, dword [eax + 0x18]
mov dword [esp + 0x5c], edx
mov edx, dword [eax + 0x10]
mov eax, dword [edi]
mov dword [esp + 0x44], ecx
mov dword [esp + 0xcc], edx
mov edx, dword [ebx + 4]
mov ecx, dword [edx + eax*4]
movsx edx, word [ecx + 0xa]
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x148]
inc eax
mov dword [edi], eax
mov esi, dword [ebx + 4]
mov dword [esp + 0xdc], ecx
xor ecx, ecx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x28], 1
mov dword [esp + 0x2c], ecx
mov esi, dword [esi + eax*4]
cmp word [esi + 8], 0x47
mov dword [esp + 0x30], 0x488088
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x60], 0x48b874
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], ecx
jne 0x4297f6
inc eax
mov dword [esp + 0x7c], edx
mov edx, eax
mov dword [esp + 0x18], ecx
xor esi, esi
mov dword [esp + 0x54], edx
mov dword [edi], eax
mov ecx, dword [ebx + 4]
mov ecx, dword [ecx + eax*4]
movsx ecx, word [ecx + 8]
cmp ecx, 0x47
jge 0x40988c
inc eax
jmp 0x409878
sub ecx, 0x47
je 0x4298cf
dec ecx
jne 0x4298a6
test esi, esi
jne 0x4298c8
mov dword [esp + 0x14], eax
inc eax
mov dword [edi], eax
mov eax, dword [esp + 0xcc]
cmp eax, dword [0x4a90f8]
jg 0x4298d5
cmp eax, ecx
jle 0x4298d5
shl eax, 4
add eax, dword [0x4a912c]
mov dword [esp + 0x50], eax
mov dword [esp + 0x70], ecx
cmp dword [esp + 0x5c], ecx
jle 0x409aa2
mov dword [esp + 0x10], 3
mov dword [esp + 0x78], ecx
lea ecx, [ecx]
cmp edx, dword [esp + 0x14]
jae 0x409aa2
mov ecx, dword [esp + 0x50]
mov eax, dword [ecx + 4]
mov ecx, dword [esp + 0x10]
inc dword [esp + 0x70]
lea eax, [eax + ecx*4]
mov ecx, dword [eax]
xor edi, edi
xor bl, bl
cmp word [ecx + 8], di
je 0x4298de
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + edx*4]
cmp word [edx + 8], 0x33
je 0x40992e
xor bl, bl
mov esi, dword [esp + 0x68]
mov eax, dword [esp + 0x6c]
cmp esi, eax
je 0x40a689
push 1
call fcn.004115d7
add esp, 4
test eax, eax
je 0x429916
mov byte [eax], bl
mov edx, dword [esp + 0x64]
mov dword [edx + esi*4], eax
inc esi
mov dword [esp + 0x68], esi
test bl, bl
jne 0x42991d
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x429a27
mov eax, dword [esp + 0x28]
cmp eax, 8
je 0x429a3a
cmp eax, 0xa
je 0x429a5f
cmp eax, 5
je 0x429a76
cmp eax, 0xb
je 0x429a84
cmp eax, 0xc
je 0x429aa6
mov esi, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x28], 1
mov dword [esp + 0x20], 0
cmp esi, eax
je 0x40a6e6
mov edi, dword [esp + 0x34]
push 0x10
call fcn.004115d7
add esp, 4
test eax, eax
je 0x429c8c
mov ebx, eax
mov eax, dword [esp + 0x28]
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], 0
cmp eax, 1
jne 0x429abd
mov edx, dword [esp + 0x20]
mov dword [ebx], edx
mov eax, ebx
mov ebx, dword [esp + 0x14]
mov ecx, dword [ebp + 0xc]
mov dword [edi + esi*4], eax
inc esi
push ebx
mov dword [esp + 0x3c], esi
mov esi, dword [edi + esi*4 - 4]
push esi
lea eax, [esp + 0x5c]
push eax
push ecx
mov ecx, dword [ebp + 8]
call fcn.0040a780
test eax, eax
jne 0x42ae89
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x50]
mov ecx, dword [edx + 4]
mov edx, dword [ecx + eax*4 + 4]
inc eax
cmp word [edx + 8], 0x41
mov dword [esp + 0x10], eax
je 0x429c93
mov edx, dword [esp + 0x54]
cmp edx, ebx
je 0x409aa2
mov esi, dword [ebp + 0xc]
mov eax, dword [esi + 4]
mov eax, dword [eax + edx*4]
mov ecx, 0x40
cmp word [eax + 8], cx
jne 0x429ce2
lea eax, [edx + 1]
cmp eax, dword [esp + 0x14]
je 0x429ce2
mov esi, dword [esp + 0x10]
mov edx, eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x54], edx
mov eax, dword [eax + 4]
mov eax, dword [eax + esi*4]
cmp word [eax + 8], cx
jne 0x409a8f
inc dword [esp + 0x10]
mov eax, dword [esp + 0x78]
inc eax
mov dword [esp + 0x78], eax
cmp eax, dword [esp + 0x5c]
jl 0x4098f0
mov eax, dword [esp + 0x70]
cmp eax, dword [esp + 0x44]
jl 0x42ae79
cmp eax, dword [esp + 0x5c]
jg 0x42ae79
cmp edx, dword [esp + 0x14]
jne 0x42ae79
mov ebx, dword [esp + 0xcc]
xor esi, esi
xor eax, eax
mov dword [esp + 0x10], 3
mov dword [esp + 0x1c], esi
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], ebx
cmp ebx, esi
jl 0x429cf4
cmp byte [0x4a7f3d], al
jne 0x429cfd
push 0xc
call fcn.004115d7
add esp, 4
cmp eax, esi
je 0x429da0
mov edi, eax
mov dword [edi], esi
mov edx, dword [esp + 0x4c]
mov dword [edi + 4], edx
cmp dword [esp + 0x4c], esi
jl 0x429d1e
mov eax, dword [esp + 0x48]
cmp eax, esi
jne 0x429d26
mov dword [edi], esi
mov ecx, dword [0x4a7f38]
mov dword [edi + 8], ecx
mov dword [0x4a7f38], edi
mov eax, dword [esp + 0x48]
inc dword [0x4a7f34]
cmp eax, esi
jne 0x429da7
mov eax, 1
cmp dword [esp + 0x5c], eax
jl 0x409fd9
mov dword [esp + 0x78], eax
mov esi, dword [esp + 0x1c]
mov esi, dword [esi + 0x20]
mov dword [esp + 0x1c], esi
test esi, esi
jne 0x409780
jmp 0x42986a
add eax, eax
cmp eax, 4
jae 0x40a695
mov eax, 4
xor ecx, ecx
mov dword [esp + 0x6c], eax
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004115d7
mov edx, dword [esp + 0x68]
add esp, 4
lea ecx, [esi*4]
push ecx
push edx
push eax
mov dword [esp + 0x54], eax
call fcn.00410e60
mov eax, dword [esp + 0x70]
add esp, 0xc
push eax
call fcn.004111dc
mov ecx, dword [esp + 0x4c]
add esp, 4
mov dword [esp + 0x64], ecx
jmp 0x40993e
add eax, eax
cmp eax, 4
jae 0x40a6f2
mov eax, 4
xor ecx, ecx
mov dword [esp + 0x3c], eax
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004115d7
mov ebx, dword [esp + 0x38]
mov edi, eax
add esp, 4
lea eax, [esi*4]
push eax
push ebx
push edi
call fcn.00410e60
add esp, 0xc
push ebx
call fcn.004111dc
add esp, 4
mov dword [esp + 0x34], edi
jmp 0x4099c3
add bh, al
add eax, 0x496510
pop eax
or dword [eax], 0xffffff89
adc eax, 0x496520
add byte [ecx + 0x49652015], cl
add byte [ecx + 0x4965243d], cl
add byte [ecx + 0x4965280d], cl
add byte [ecx + 0x49652c0d], cl
add bh, al
add eax, 0x496534
inc eax
or dword [eax], 0xffffffbe
inc edx
mov al, 0x47
add byte [ecx + 0x49654035], cl
add byte [esi + 0x47acf9], bh
dec ecx
add byte [esi + 0x481511], bh
dec ecx
add byte [ecx + 0x49656c3d], cl
add byte [ecx + 0x4965903d], cl
add byte [ecx + 0x4965b43d], cl
add byte [ecx + 0x4965d83d], cl
add byte [ecx + 0x4965fc3d], cl
add byte [ecx + 0x49661c3d], cl
add byte [edi - 0x77], bl
xor eax, 0x496618
dec ecx
add byte [ebx + 0x4a95440d], cl
add byte [ecx + 0x49654415], cl
add bh, al
add eax, 0x496558
sub byte [ebx + 0x15890048], al
push 0xc7004965
add eax, 0x49657c
adc byte [ebx + 0x15890048], al
mov word [ebp + 0x49], fs
add bh, al
add eax, 0x4965a0
add byte [ebx + 0x15890048], al
mov al, 0x65
adc eax, 0x496544
dec ecx
add byte [ebx + 0x4965b8], ah
enter 0x4882, 0
dec ecx
add byte [ebx + 0x496600], ah
dec ecx
add bh, al
add eax, 0x49660c
movsb byte es:[edi], byte [esi]
or byte [eax], 0x89
adc eax, 0x496620
dec ecx
add byte [ebp - 0x3e], bl
or byte [eax], al
int3
int3
clc
call fcn.0042cb24
test eax, eax
jne 0x449649
mov ebx, dword [ebp - 0xc]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
cmp dword [ebp - 8], ebx
adc byte [ecx - 0x7a2c6ff], cl
jae 0x429ad0
jmp 0x429a4a
xor eax, eax
lea edx, [ebp - 0x1c]
push edx
mov esi, edi
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x10], eax
call fcn.0042c674
mov ecx, dword [edi + 4]
mov eax, dword [edi + 8]
mov eax, dword [ecx + eax*4 - 4]
mov esi, dword [ebp + 0xc]
sub al, 0
add byte [ebx + 0x478b044f], cl
or byte [ebx - 0x74037ebc], cl
jne 0x429a7b
mov ecx, dword [ebp + 8]
push ebx
push eax
lea edx, [ebp - 8]
clc
push edx
push esi
call fcn.0042b3e4
test eax, eax
jne 0x449669
sbb dword [eax], eax
add byte [ebp - 0x1c7af040], al
sti
add dword [eax], eax
mov eax, dword [ebp + 0x10]
inc dword [eax]
mov eax, dword [ebp - 8]
cmp eax, ebx
je 0x429ac8
mov ecx, dword [esi + 4]
mov edx, dword [ecx + eax*4]
cmp word [edx + 8], 0x40
jne 0x449653
lea ecx, [eax + 1]
cmp ecx, ebx
je 0x449653
lea esi, [ebp - 0x1c]
mov dword [ebp - 8], ecx
call fcn.00429ba4
cmp dword [ebp - 8], ebx
jb 0x429a48
mov dh, byte [ebx]
rcr byte [esi + 0x5b], 0x8b
in eax, 0x5d
xor eax, eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
lea esi, [ebp - 0x1c]
call fcn.00429ba4
xor eax, eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
and ebx, 0xff00
xor edx, edx
mov dword [ebp - 0xc], eax
cmp eax, edx
ror byte [ecx - 0x3dc40bbb], cl
je 0x429d6e
test ebx, 0x100
jne 0x44d05f
mov ebx, dword [esi + 4]
mov ecx, dword [ebp - 8]
mov ebx, dword [ebx + ecx*4]
cmp word [ebx + 8], 0x4e
je 0x44d084
mov eax, dword [esi + 4]
mov eax, dword [eax + ecx*4]
movzx eax, word [eax + 8]
mov ebx, dword [ebp - 0xc]
cmp ax, 0x35
je 0x44d0d5
cmp dword [ebx + 8], 8
je 0x44d11f
mov eax, dword [esi + 4]
mov eax, dword [eax + ecx*4]
add al, 0x8b
add al, 0x88
movsx ebx, word [eax + 8]
cmp ebx, 0x41
jne 0x429dc3
inc ecx
push 0xffffffffffffffff
mov dword [ebp - 8], ecx
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 8]
push ecx
mov ecx, dword [ebp + 8]
push esi
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x24], 1
mov dword [ebp - 0x20], edx
call fcn.0042b3e4
test eax, eax
jne 0x44d1c8
add byte [ebx + 0x558b044e], cl
clc
mov ecx, dword [esi + 4]
mov edx, dword [ebp - 8]
mov eax, dword [ecx + edx*4]
add al, 0x91
cmp word [eax + 8], 0x7f
jne 0x44d1ac
mov esi, dword [ebp - 0xc]
test esi, esi
je 0x429d76
cmp ebx, 0x41
jne 0x429dd1
lea ecx, [ebp - 0x2c]
push ecx
mov ebx, esi
call fcn.00429ae4
lea esi, [ebp - 0x2c]
call fcn.00429ba4
dec dword [edi]
je 0x44d248
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 8]
jmp 0x429ce0
mov eax, dword [ebp + 8]
cmp byte [eax + 0xff], 0
jne 0x44d1b9
cmp ebx, 0x41
jne 0x44d1b9
cmp dword [0x4a7f34], 0
push 0
jne 0x44d1dd
lea edx, [ebp - 0x2c]
push edx
aam 0x52
mov edi, 0x4a7f24
lea eax, [ebp - 0x1c]
call fcn.00424a74
lea esi, [ebp - 0x2c]
call fcn.00429ba4
mov esi, dword [ebp - 0x10]
dec dword [esi]
jne 0x429d5e
jmp 0x44d1f2
cmp ebx, 0x52
je 0x429cf3
jmp 0x44d168
lea eax, [ebx - 0x52]
cmp eax, 4
ja case.default.0x429ddd
jmp dword [eax*4 + 0x409190]
add al, byte [eax]
pop edi
add eax, 0xf8830002
or al, 0xf
test byte [esi + 5], dh
add al, byte [eax]
cmp byte [edi + 0xc], 0
je 0x447873
mov byte [edi + 0xd], 1
pop esi
dec dword [edi + 4]
ret
add byte [eax], al
add esp, 4
mov dword [edi + 8], ebx
mov byte [edi + 0xd], 0
pop ebx
jmp 0x42c581
int3
mov eax, dword [esi + 8]
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], 0
cmp eax, 1
jne 0x42c5e1
mov edx, dword [esi]
mov dword [ebx], edx
mov eax, ebx
pop esi
ret
dec eax
cmp eax, 0xb
ja 0x42c5dd
or esi, dword [edi - 0xa]
jmp dword [eax*4 + 0x40b9d4]
mov eax, dword [edi + 8]
mov esi, dword [eax + 0x10]
test eax, eax
je 0x447883
push eax
call fcn.0046c575
dec dword [edi + 4]
mov dword [edi + 8], esi
mov byte [edi + 0xd], 0
pop esi
ret
mov eax, 1
jmp 0x429ad2
mov ecx, dword [esi + 4]
mov edx, dword [ecx + eax*4]
movsx eax, word [edx + 0xa]
mov ecx, dword [ebp + 8]
push eax
push 0x6f
push ecx
call fcn.0047f39b
lea esi, [ebp - 0x1c]
call fcn.00429ba4
mov eax, 1
jmp 0x429ad2
mov eax, dword [esi + 4]
mov ecx, dword [eax]
movsx edx, word [ecx + 0xa]
mov eax, dword [ebp + 8]
push edx
push 0xa3
push eax
call fcn.0047f39b
lea ecx, [ebp - 0x1c]
call fcn.00422eb4
jmp 0x429d5e
cmp dword [eax + 8], 5
jne 0x44d0ae
push edx
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0xc]
push ecx
push edx
lea eax, [ebp - 8]
mov ecx, esi
call fcn.0042d144
test eax, eax
je 0x44d0cb
lea ecx, [ebp - 0x1c]
call fcn.00422eb4
jmp 0x429d5e
movsx eax, word [ebx + 0xa]
mov ecx, dword [ebp + 8]
push eax
push 0x7c
push ecx
call fcn.0047f39b
lea ecx, [ebp - 0x1c]
call fcn.00422eb4
jmp 0x429d5e
mov ecx, dword [ebp - 8]
xor edx, edx
jmp 0x429cbf
cmp dword [ebx + 8], 8
je 0x44d11f
mov edi, dword [ebp + 8]
push 1
push 0x48b788
push edx
push 0xa9
push edi
call fcn.004727a6
test eax, eax
je 0x44d112
mov ecx, dword [esi + 4]
mov edx, dword [ebp - 8]
mov eax, dword [ecx + edx*4]
movsx ecx, word [eax + 0xa]
push ecx
push 0xa9
push edi
call fcn.0047f39b
lea ecx, [ebp - 0x1c]
call fcn.00422eb4
jmp 0x429d5e
cmp ax, 0x35
je 0x44d12f
cmp ax, 0x47
jne 0x429ce0
mov edi, dword [ebp + 8]
push ebx
lea edx, [ebp - 8]
push edx
push esi
push edi
call 0x4a0712
test eax, eax
je 0x44d15b
mov eax, dword [esi + 4]
mov ecx, dword [ebp - 8]
mov edx, dword [eax + ecx*4]
movsx eax, word [edx + 0xa]
push eax
push 0xaa
push edi
call fcn.0047f39b
lea ecx, [ebp - 0x1c]
call fcn.00422eb4
jmp 0x429d5e
cmp ebx, 0x53
je 0x429cf3
cmp ebx, 0x54
je 0x429cf3
cmp ebx, 0x55
je 0x429cf3
cmp ebx, 0x56
je 0x429cf3
movsx ecx, word [eax + 0xa]
mov edx, dword [ebp + 8]
push ecx
push 0x80
push edx
call fcn.0047f39b
lea ecx, [ebp - 0x1c]
call fcn.00422eb4
jmp 0x429d5e
movsx eax, word [eax + 0xa]
mov ecx, dword [ebp + 8]
push eax
push 0x72
push ecx
jmp 0x44d1c3
mov edx, dword [ecx]
movsx ecx, word [edx + 0xa]
push ecx
push 0x79
push eax
call fcn.0047f39b
lea esi, [ebp - 0x2c]
call fcn.00429ba4
lea ecx, [ebp - 0x1c]
call fcn.00422eb4
jmp 0x429d5e
lea eax, [ebp - 0x2c]
push eax
push 0x4a7f34
call fcn.0045358d
mov edi, eax
jmp 0x429da7
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.00431e40
add esp, 4
push esi
call fcn.00431e40
add esp, 4
jmp 0x429d5e
mov edx, dword [ebp - 0x1c]
push edx
call fcn.00431e40
add esp, 4
push edi
call fcn.00431e40
add esp, 4
jmp 0x429d5e