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

Disassembly:
sub esp, 0x6c
mov eax, dword [0x43e748]
xor eax, esp
mov dword [esp + 0x68], eax
push ebx
push ebp
push esi
push edi
push 0x38
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0x6064b50
push eax
push dword [esp + 0x8c]
push dword [esp + 0x8c]
call fcn.004122eb
cmp eax, 2
je 0x41179a
mov eax, dword [0x45a6c8]
sub eax, dword [0x45a6c4]
cdq
mov esi, eax
mov edi, edx
add esi, dword [0x45a708]
lea eax, [esp + 0x3c]
push 0x3c
adc edi, dword [0x45a70c]
push eax
call fcn.0040f5b7
test eax, eax
jne 0x411586
push 0x33
pop eax
jmp 0x41179c
lea eax, [esp + 0x4c]
push eax
call fcn.0040f43f
movzx ebx, ax
lea eax, [esp + 0x50]
push eax
mov dword [esp + 0x34], ebx
call fcn.0040f43f
movzx ebp, ax
lea eax, [esp + 0x54]
push eax
mov dword [esp + 0x3c], ebp
call fcn.0040f3bc
mov dword [esp + 0x14], eax
lea eax, [esp + 0x5c]
push eax
mov dword [esp + 0x1c], edx
call fcn.0040f3bc
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x64]
push eax
mov dword [esp + 0x24], edx
call fcn.0040f3bc
mov dword [esp + 0x24], eax
lea eax, [esp + 0x6c]
push eax
mov dword [esp + 0x2c], edx
call fcn.0040f3bc
mov dword [esp + 0x10], eax
mov ecx, 0xffff
mov ax, word [0x45a780]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x34], ecx
cmp ax, cx
je 0x41160d
cmp ax, bx
jne 0x41179a
mov dx, word [0x45a782]
cmp dx, cx
je 0x411622
cmp dx, bp
jne 0x41179a
mov ecx, dword [0x45a788]
mov ebx, 0xffff
mov eax, dword [0x45a78c]
cmp ecx, ebx
jne 0x41163a
test eax, eax
je 0x41164e
cmp ecx, dword [esp + 0x14]
jne 0x41179a
cmp eax, dword [esp + 0x18]
jne 0x41179a
mov eax, dword [0x45a790]
mov ebp, dword [0x45a794]
cmp eax, ebx
jne 0x411661
test ebp, ebp
je 0x411675
cmp eax, dword [esp + 0x1c]
jne 0x41179a
cmp ebp, dword [esp + 0x20]
jne 0x41179a
mov eax, dword [0x45a798]
mov ebx, dword [0x45a79c]
cmp eax, 0xffffffff
jne 0x411689
test ebx, ebx
je 0x41169d
cmp eax, dword [esp + 0x24]
jne 0x41179a
cmp ebx, dword [esp + 0x28]
jne 0x41179a
mov ecx, dword [0x45a7a0]
mov eax, dword [0x45a7a4]
cmp ecx, 0xffffffff
jne 0x4116b1
test eax, eax
je 0x4116c5
cmp ecx, dword [esp + 0x10]
jne 0x41179a
cmp eax, dword [esp + 0x2c]
jne 0x41179a
mov ebx, 0xffff
cmp word [0x45a780], bx
mov ebx, dword [0x45a79c]
jne 0x4116ea
mov ebp, dword [esp + 0x30]
mov word [0x45a780], bp
mov ebp, dword [0x45a794]
cmp dx, word [esp + 0x34]
jne 0x4116fc
mov edx, dword [esp + 0x38]
mov word [0x45a782], dx
mov edx, 0xffff
cmp dword [0x45a788], edx
jne 0x41172b
cmp dword [0x45a78c], 0
jne 0x41172b
mov edx, dword [esp + 0x14]
mov dword [0x45a788], edx
mov edx, dword [esp + 0x18]
mov dword [0x45a78c], edx
mov edx, 0xffff
cmp dword [0x45a790], edx
jne 0x41174b
test ebp, ebp
jne 0x41174b
mov edx, dword [esp + 0x1c]
mov dword [0x45a790], edx
mov edx, dword [esp + 0x20]
mov dword [0x45a794], edx
cmp dword [0x45a798], 0xffffffff
jne 0x41176c
test ebx, ebx
jne 0x41176c
mov edx, dword [esp + 0x24]
mov dword [0x45a798], edx
mov edx, dword [esp + 0x28]
mov dword [0x45a79c], edx
cmp ecx, 0xffffffff
jne 0x411787
test eax, eax
jne 0x411787
mov eax, dword [esp + 0x10]
mov dword [0x45a7a0], eax
mov eax, dword [esp + 0x2c]
mov dword [0x45a7a4], eax
mov dword [0x44a678], esi
mov dword [0x44a67c], edi
mov byte [0x45a884], 1
xor eax, eax
mov ecx, dword [esp + 0x78]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0041c3c4
add esp, 0x6c
ret 8