Function at 0x41148d
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.00412263
cmp eax, 2
je 0x411712
mov eax, dword [0x4586c8]
sub eax, dword [0x4586c4]
cdq
mov esi, eax
mov edi, edx
add esi, dword [0x458708]
lea eax, [esp + 0x3c]
push 0x3c
adc edi, dword [0x45870c]
push eax
call fcn.0040f52f
test eax, eax
jne 0x4114fe
push 0x33
pop eax
jmp 0x411714
lea eax, [esp + 0x4c]
push eax
call fcn.0040f3b7
movzx ebx, ax
lea eax, [esp + 0x50]
push eax
mov dword [esp + 0x34], ebx
call fcn.0040f3b7
movzx ebp, ax
lea eax, [esp + 0x54]
push eax
mov dword [esp + 0x3c], ebp
call fcn.0040f334
mov dword [esp + 0x14], eax
lea eax, [esp + 0x5c]
push eax
mov dword [esp + 0x1c], edx
call fcn.0040f334
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x64]
push eax
mov dword [esp + 0x24], edx
call fcn.0040f334
mov dword [esp + 0x24], eax
lea eax, [esp + 0x6c]
push eax
mov dword [esp + 0x2c], edx
call fcn.0040f334
mov dword [esp + 0x10], eax
mov ecx, 0xffff
mov ax, word [0x458780]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x34], ecx
cmp ax, cx
je 0x411585
cmp ax, bx
jne 0x411712
mov dx, word [0x458782]
cmp dx, cx
je 0x41159a
cmp dx, bp
jne 0x411712
mov ecx, dword [0x458788]
mov ebx, 0xffff
mov eax, dword [0x45878c]
cmp ecx, ebx
jne 0x4115b2
test eax, eax
je 0x4115c6
cmp ecx, dword [esp + 0x14]
jne 0x411712
cmp eax, dword [esp + 0x18]
jne 0x411712
mov eax, dword [0x458790]
mov ebp, dword [0x458794]
cmp eax, ebx
jne 0x4115d9
test ebp, ebp
je 0x4115ed
cmp eax, dword [esp + 0x1c]
jne 0x411712
cmp ebp, dword [esp + 0x20]
jne 0x411712
mov eax, dword [0x458798]
mov ebx, dword [0x45879c]
cmp eax, 0xffffffff
jne 0x411601
test ebx, ebx
je 0x411615
cmp eax, dword [esp + 0x24]
jne 0x411712
cmp ebx, dword [esp + 0x28]
jne 0x411712
mov ecx, dword [0x4587a0]
mov eax, dword [0x4587a4]
cmp ecx, 0xffffffff
jne 0x411629
test eax, eax
je 0x41163d
cmp ecx, dword [esp + 0x10]
jne 0x411712
cmp eax, dword [esp + 0x2c]
jne 0x411712
mov ebx, 0xffff
cmp word [0x458780], bx
mov ebx, dword [0x45879c]
jne 0x411662
mov ebp, dword [esp + 0x30]
mov word [0x458780], bp
mov ebp, dword [0x458794]
cmp dx, word [esp + 0x34]
jne 0x411674
mov edx, dword [esp + 0x38]
mov word [0x458782], dx
mov edx, 0xffff
cmp dword [0x458788], edx
jne 0x4116a3
cmp dword [0x45878c], 0
jne 0x4116a3
mov edx, dword [esp + 0x14]
mov dword [0x458788], edx
mov edx, dword [esp + 0x18]
mov dword [0x45878c], edx
mov edx, 0xffff
cmp dword [0x458790], edx
jne 0x4116c3
test ebp, ebp
jne 0x4116c3
mov edx, dword [esp + 0x1c]
mov dword [0x458790], edx
mov edx, dword [esp + 0x20]
mov dword [0x458794], edx
cmp dword [0x458798], 0xffffffff
jne 0x4116e4
test ebx, ebx
jne 0x4116e4
mov edx, dword [esp + 0x24]
mov dword [0x458798], edx
mov edx, dword [esp + 0x28]
mov dword [0x45879c], edx
cmp ecx, 0xffffffff
jne 0x4116ff
test eax, eax
jne 0x4116ff
mov eax, dword [esp + 0x10]
mov dword [0x4587a0], eax
mov eax, dword [esp + 0x2c]
mov dword [0x4587a4], eax
mov dword [0x448678], esi
mov dword [0x44867c], edi
mov byte [0x458884], 1
xor eax, eax
mov ecx, dword [esp + 0x78]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0041c344
add esp, 0x6c
ret 8