Function at 0x40940c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xe4
mov eax, dword [0x4d25a8]
dec ebp
add byte [ebx + 0x56], dl
inc eax
mov esi, ecx
mov dword [esp + 0x14], esi
mov dword [0x4d25a8], eax
push edi
cmp eax, 0x30
jge 0x44eddb
xor ebx, ebx
mov byte [esp + 0x13], 1
mov eax, ebx
mov byte [esp + 0x1e], 1
push 0x10000
mov dword [esp + 0x18], eax
mov byte [esp + 0x24], bl
mov dword [esp + 0x64], ebx
call fcn.0041fe0b
pop ecx
lea ecx, [esp + 0x60]
mov dword [esp + 0x64], eax
call fcn.00406246
lea ecx, [esp + 0x78]
call fcn.0040a961
lea ecx, [esp + 0x60]
call fcn.00406246
lea ecx, [esp + 0x60]
call fcn.00406246
mov edi, dword [ebp + 8]
lea ecx, [esp + 0x60]
mov eax, 0x8000
push eax
push edi
mov dword [esp + 0x90], eax
call fcn.00405745
test al, al
je 0x44f211
lea ecx, [esp + 0x60]
call fcn.0040559a
lea ecx, [esp + 0x60]
call fcn.004053de
lea ecx, [esp + 0x60]
call fcn.004053c7
test byte [esp + 0x88], 3
jne 0x44edf5
lea ecx, [esp + 0xd0]
call fcn.0040a961
lea ecx, [esp + 0xd0]
call fcn.0041f9af
lea ecx, [esp + 0xc0]
call fcn.0040a961
lea edx, [esp + 0xc0]
mov ecx, edi
call fcn.00403aa2
mov edi, dword [esp + 0x70]
lea eax, [esp + 0x24]
mov esi, dword [esp + 0x74]
lea ecx, [esp + 0x60]
push eax
lea eax, [esp + 0xac]
mov dword [esp + 0x28], 0x18
push eax
call fcn.0041f866
push ebx
push esi
push edi
lea ecx, [esp + 0x6c]
call fcn.004054c6
cmp dword [esp + 0xb8], 0x21335541
je 0x44ee56
lea ecx, [esp + 0x50]
call fcn.0040a961
lea ecx, [esp + 0x28]
call fcn.0040a961
push ebx
lea eax, [esp + 0x2c]
push ebx
push eax
lea edx, [esp + 0x5c]
lea ecx, [esp + 0xcc]
call fcn.0040525f
add esp, 0xc
lea eax, [esp + 0x28]
lea ecx, [esp + 0x50]
push eax
call fcn.00406350
push dword [esp + 0x50]
call dword [0x49c3f8]
lea ecx, [esp + 0x28]
call fcn.0040988f
lea ecx, [esp + 0x50]
call fcn.0040988f
push 0x2000
call fcn.0041fe0b
pop ecx
push eax
lea ecx, [esp + 0x4c]
call fcn.00405722
mov esi, dword [esp + 0x48]
mov edi, dword [esp + 0x18]
cmp byte [esp + 0x1e], 1
jne 0x4096c5
push ecx
push esi
lea ecx, [esp + 0x68]
call fcn.00409769
test al, al
je 0x4096c5
mov eax, dword [esp + 0x14]
inc eax
push esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
call fcn.00407650
push esi
call fcn.0040769d
push esi
test al, al
je 0x44f1f4
call fcn.0040773d
push esi
mov byte [esp + 0x23], bl
call fcn.00424963
mov dword [esp + 0x28], eax
pop ecx
cmp eax, 2
jle 0x40962f
mov ax, word [esi + eax*2 - 4]
push 0x7f
pop ecx
and ax, cx
movzx eax, ax
push eax
call fcn.004263c5
test eax, eax
mov eax, dword [esp + 0x28]
pop ecx
jne 0x409747
cmp eax, 1
je 0x409747
cmp byte [esp + 0x20], 1
je 0x44f1d5
push dword [esp + 0xc0]
lea ecx, [esp + 0x9c]
add byte [eax], al
add byte [ebp + 0x9c248c], cl
add byte [eax], al
call fcn.00409cb3
lea eax, [esp + 0x60]
mov ecx, edi
push eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0xa0]
push eax
push esi
call fcn.00407778
lea ecx, [esp + 0x98]
mov dword [esp + 0x38], eax
call fcn.0040988f
mov eax, dword [esp + 0x38]
test eax, eax
je 0x409758
cmp eax, 1
jle 0x40975c
cmp eax, 3
jg 0x44f1e2
push dword [ebp + 0xc]
mov eax, dword [esp + 0x1c]
mov ecx, edi
push esi
push eax
mov dword [esp + 0x20], eax
call fcn.004075ac
cmp byte [esp + 0x13], 1
mov al, byte [esp + 0x1f]
mov byte [esp + 0x20], al
je 0x4095b5
lea ecx, [esp + 0x60]
call fcn.00406246
push dword [esp + 0xd0]
call dword [0x49c3f8]
mov eax, dword [esp + 0x4c]
mov bl, byte [esp + 0x13]
sub dword [eax], 1
jne 0x4096f9
push 4
push eax
call fcn.0041fdcd
push esi
call fcn.0041fe14
add esp, 0xc
lea ecx, [esp + 0xc0]
call fcn.0040988f
lea ecx, [esp + 0xd0]
rol byte [eax], 1
add byte [eax], al
call fcn.0040988f
lea ecx, [esp + 0x60]
call fcn.00406246
lea ecx, [esp + 0x78]
call fcn.0040988f
lea ecx, [esp + 0x60]
call fcn.00406246
push dword [esp + 0x64]
call fcn.0041fe14
pop ecx
dec dword [0x4d25a8]
mov al, bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
adc al, 0
cmp word [esi + eax*2 - 2], 0x5f
jne 0x409638
jmp 0x44f1c4
mov byte [esp + 0x13], bl
mov eax, dword [esp + 0x18]
mov dword [esp + 0x14], eax
jmp 0x4096b2
in al, dx
push ecx
push ebx
mov ebx, dword [ebp + 8]
xor eax, eax
push esi
mov esi, ecx
push edi
mov word [ebx], ax
lea edi, [esi + 0x18]
mov ecx, edi
call fcn.0040a6c3
push edi
mov ecx, esi
call fcn.00409807
test al, al
je 0x4097b2
push 0xffffffffffffffff
push 0xffe
mov ecx, edi
call fcn.004093b2
push dword [edi]
push ebx
call fcn.00424983
pop ecx
pop ecx
mov al, 1
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 8
xor al, al
jmp 0x4097aa
aaa
cmp eax, dword [ebx + 4]
jbe 0x8c4093ed
jmp 0x764093e8
movsd dword es:[edi], dword [esi]
sti
jne 0x44edfb
mov edx, dword [eax + ebp*2]
push 0xff324c65
push ecx
sbb bh, bh
jne 0x44ee08
push dword [ebp + 0x10]
call fcn.004698aa
add dword [eax], eax
xor bl, bl
jmp 0x409745
sal byte [ebp], 1
je 0x44ee1c
jne 0x44ee0b
add dword [esi + ecx - 0x75], esi
inc esp
and al, 0x70
mov eax, dword [esp + 0x70]
or eax, dword [esp + 0x74]
jne 0x764094dc
bsf esp, dword [esp + ecx*4]
dec ecx
push dword [ebp + 3]
jne 0x44ee2f
push 3
push 0x4c362c
jmp 0x44ee57
bsf esp, dword [esp + ecx*4]
dec ecx
push dword [ebp + 5]
jne 0x44ee42
push 2
push 0x4c3634
jmp 0x44ee57
bsf esp, dword [esp + ecx*4]
dec ecx
push dword [ebp + 7]
jne 0x764094dc
push 2
push 0x4c3630
add byte [ebp - 0x1797dbb4], cl
scasb al, byte es:[edi]
fiadd word [ecx]
add cl, ch
ja 0x44ee09
lea ecx, [esp + 0x68]
call fcn.0046cd0e
jmp 0x764094dc
sti
jne 0x44ede7
mov esp, 0xbc24
add byte [ebp + 0x41], al
xor byte [esi], dh
jne 0x76409551
lea ecx, [esp + 0x60]
call fcn.00406255
mov eax, dword [ebp + 8]
lea ecx, [esp + 0xa8]
push 2
mov dword [esp + 0x75ff49b8], ebx
mov dword [esp + 0xbc], ebx
push dword [eax]
mov byte [esp + 0x75c085c4], bl
call 0x404eda
test eax, eax
jne 0x44f1b7
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x18]
push eax
push 0x4c6620
lea ecx, [esp - 0x2d7aff4c]
call fcn.00472d08
lea ecx, [esp + 0xa8]
mov esi, eax
call fcn.00404f48
test esi, esi
jne 0x44f1b7
mov eax, dword [esp + 0x14]
push 4
pop esi
push 0x10
mov eax, dword [eax]
mov dword [esp + 0x40], eax
or eax, 0xffffffff
mov word [esp + 0x34], ax
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
call fcn.0041fdea
mov edi, eax
or eax, 0xffffffff
pop ecx
push 5
lea ecx, [esp + 0x2c]
mov dword [esp + 0x4c], edi
mov dword [edi], 0x49cc4c
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov dword [esp + 0x3c], edi
mov word [esp + 0x36], ax
call fcn.0040a60a
mov eax, dword [esp + 0x3c]
mov ecx, edi
mov dword [esp + 0x28], eax
lea eax, [esp + 0x28]
push eax
call fcn.0040a4b0
mov edi, dword [esp + 0x18]
xor eax, eax
inc eax
mov dword [esp + 0x44], ebx
mov dword [esp + 0x40], eax
cmp dword [esp + 0x3c], eax
jl 0x44f124
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x28]
add eax, esi
inc esi
mov dword [esp + 0x18], esi
movzx eax, byte [eax]
push eax
mov dword [esp + 0x28], eax
call fcn.0040a60a
cmp word [esp + 0x30], 0xf
ja 0x44ef9a
mov eax, dword [esp + 0x14]
add eax, esi
add esi, 4
mov eax, dword [eax]
mov dword [esp + 0x28], eax
jmp 0x44f0b6
lea ecx, [esp + 0x28]
call fcn.00470be1
test al, al
je 0x44efc2
mov ecx, dword [esp + 0x14]
add ecx, esi
add esi, 8
mov eax, dword [ecx]
mov dword [esp + 0x28], eax
mov eax, dword [ecx + 4]
mov dword [esp + 0x2c], eax
jmp 0x44f0b6
lea ecx, [esp + 0x28]
call fcn.00470bcd
test al, al
je 0x44efe3
mov eax, dword [esp + 0x14]
add eax, esi
add esi, 8
fld qword [eax]
fstp qword [esp + 0x28]
jmp 0x44f0b6
lea ecx, [esp + 0x28]
call fcn.0041cf8d
test byte [ebx + 0xf], bh
test dl, al
add byte [eax], al
add byte [ebp + 0x50182444], cl
push dword [esp + 0x18]
call fcn.0046968d
mov esi, eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x20], esi
push esi
cmp eax, 0x31
jne 0x44f03f
lea ecx, [esp - 0x2d7aff1c]
call fcn.00409cc2
mov ecx, dword [edi + 4]
push dword [esp + 0xe0]
mov edx, dword [ecx]
call dword [edx + 4]
lea ecx, [esp + 0xe0]
mov esi, eax
call 0x7640989e
push 1
jmp 0x44f06b
cmp eax, 0x30
jne 0x44f07e
lea ecx, [esp + 0x9c]
call fcn.00409cc2
lea ecx, [esp + 0x98]
call fcn.00404a6d
lea ecx, [esp + 0x98]
mov esi, eax
call 0x7640989e
push ebx
lea ecx, [esp + 0x2c]
call fcn.0040a60a
mov dword [esp + 0x28], esi
mov esi, dword [esp + 0x20]
jmp 0x44f0ab
cmp eax, 0x37
jne 0x44f0a2
mov ecx, edi
call 0xe84695bc
call 0xfac9000a
add byte [eax], al
add byte [esi - 0x18], dl
mov ecx, dword [0x748bfffd]
and al, 0x1c
pop ecx
jmp 0x8c08f062
lea ecx, [esp + 0x2c]
call fcn.00470b69
push esi
call fcn.0041fe23
mov esi, dword [esp + 0x1c]
pop ecx
mov ecx, dword [esp + 0x48]
lea eax, [esp + 0x28]
push eax
call 0x7640a4b0
invalid
push 5
lea ecx, [esp + 0x2c]
call fcn.0040a60a
mov eax, dword [esp + 0x44]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x28]
push eax
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax + 4]
mov ecx, dword [ecx]
call fcn.00470adb
lea eax, [esp + 0x38]
push eax
lea ecx, [edi + 0x50]
call fcn.0046418c
push dword [esp + 0x14]
call fcn.0042498d
mov bl, 1
pop ecx
lea ecx, [esp + 0x50]
mov dword [esp + 0x50], 0x49cc4c
call fcn.0040414f
push dword [esp + 0x54]
call fcn.0041fe23
pop ecx
lea ecx, [esp + 0x28]
call fcn.0041cf7d
jmp 0x409708
adc byte [ebx + 0x244c8b14], cl
sbb al, 0x68
invalid
push ecx
sbb bh, bh
jne 0x44f1d9
call fcn.004698aa
jmp 0x409708
mov byte [esp + 0x1f], 1
mov word [esi + eax*2 - 2], cx
jmp 0x409647
add dword [esi - 0x77], esp
dec esp
inc esi
invalid
sti
call dword [esi - 0x75]
iretd
jne 0x40976b
mov byte [esp + 0x1e], bl
jmp 0x40976b
adc al, ch
xchg ebx, eax
cmpsb byte [esi], byte es:[edi]
add dword [eax], eax
mov byte [esp + 0x13], bl
jmp 0x764096d4