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

Disassembly:
push 0xffffffffffffffff
push 0x4735d0
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x48e4f0]
xor eax, esp
mov dword [esp + 0x64], eax
push ebx
push ebp
push edi
mov eax, dword [0x48e4f0]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
xor ebp, ebp
mov dword [esp + 0x18], ebp
mov edi, 7
xor eax, eax
mov ebx, ecx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x50], edi
mov dword [esp + 0x4c], ebp
mov word [esp + 0x3c], ax
lea ecx, [esp + 0x3c]
push ecx
lea eax, [esp + 0x18]
mov ecx, ebx
mov dword [esp + 0x84], ebp
call fcn.0040a340
xor edx, edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], ebp
mov word [esp + 0x20], dx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x84], 1
push ecx
mov eax, ebx
mov dword [esp + 0x20], ebp
call fcn.0040a1d0
cmp eax, ebp
je 0x41bf2a
mov edx, dword [ebx + 0x54]
mov eax, dword [edx + 0x18]
push eax
lea eax, [ebp + 0x35]
call fcn.0042c450
or eax, edx
je 0x41bf2a
lea ecx, [esp + 0x20]
push ecx
call fcn.00426a60
add esp, 4
test al, al
jne 0x41bf2a
mov byte [ebx + 0x968], al
cmp dword [esp + 0x14], ebp
jne 0x41bf0e
push 0x47ca70
push esi
call fcn.00406860
lea ecx, [esp + 0x20]
call fcn.004044f0
lea ecx, [esp + 0x3c]
call fcn.004044f0
jmp 0x41c0ff
xor edx, edx
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], ebp
mov word [esi], dx
push ebp
or eax, 0xffffffff
lea ecx, [esp + 0x40]
mov edx, esi
call fcn.004043d0
jmp 0x41bef7
mov eax, dword [ebx + 0x54]
mov ecx, dword [eax + 0x18]
push ecx
mov eax, 0xc
call fcn.0042c450
or eax, edx
je 0x41c030
mov ecx, dword [ebx + 0x54]
mov edx, dword [ecx]
mov edx, dword [edx + 0x10]
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x5c]
push eax
call edx
mov byte [esp + 0x80], 2
mov eax, dword [esp + 0x68]
push 0x47ca70
xor edi, edi
lea ecx, [esp + 0x5c]
call fcn.00403a30
test eax, eax
je 0x41c00f
cmp dword [esp + 0x50], 8
mov eax, dword [esp + 0x3c]
jae 0x41bf8a
lea eax, [esp + 0x3c]
mov edi, dword [esp + 0x4c]
push eax
mov eax, dword [esp + 0x6c]
lea ecx, [esp + 0x5c]
call fcn.00403a30
test eax, eax
je 0x41c00f
mov byte [ebx + 0x968], 1
xor eax, eax
mov ebx, 7
mov dword [esi + 0x14], ebx
mov dword [esi + 0x10], ebp
mov word [esi], ax
push ebp
or eax, 0xffffffff
lea ecx, [esp + 0x5c]
mov edx, esi
call fcn.004043d0
mov edi, 8
cmp dword [esp + 0x6c], edi
jb 0x41bfde
mov ecx, dword [esp + 0x58]
push ecx
call fcn.004593e2
add esp, 4
xor edx, edx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x68], ebp
mov word [esp + 0x58], dx
cmp dword [esp + 0x34], edi
jb 0x41c000
mov eax, dword [esp + 0x20]
push eax
call fcn.004593e2
add esp, 4
xor ecx, ecx
cmp dword [esp + 0x50], edi
mov dword [esp + 0x34], ebx
jmp 0x41c0e7
mov byte [esp + 0x80], 1
cmp dword [esp + 0x6c], 8
jb 0x41c02b
mov eax, dword [esp + 0x58]
push eax
call fcn.004593e2
add esp, 4
mov edi, 7
mov byte [ebx + 0x968], 0
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], ebp
cmp dword [esp + 0x14], ebp
jne 0x41c0b1
xor ecx, ecx
mov word [esi], cx
mov edx, 0x47ca70
mov byte [esp + 0x80], 3
test edx, 0xffff0000
jne 0x41c06c
mov eax, edx
movzx ecx, ax
push ecx
mov eax, esi
call fcn.00406620
jmp 0x41c07d
push 0x47ca70
mov ebx, esi
call fcn.00406760
add esp, 4
xor ebp, ebp
mov ebx, 8
cmp dword [esp + 0x34], ebx
jb 0x41c095
mov edx, dword [esp + 0x20]
push edx
call fcn.004593e2
add esp, 4
xor eax, eax
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], ebp
mov word [esp + 0x20], ax
cmp dword [esp + 0x50], ebx
jb 0x41c0ff
mov ecx, dword [esp + 0x3c]
push ecx
jmp 0x41c0f7
xor edx, edx
mov word [esi], dx
push ebp
or eax, 0xffffffff
lea ecx, [esp + 0x40]
mov edx, esi
call fcn.004043d0
mov ebx, 8
cmp dword [esp + 0x34], ebx
jb 0x41c0dd
mov eax, dword [esp + 0x20]
push eax
call fcn.004593e2
add esp, 4
xor ecx, ecx
cmp dword [esp + 0x50], ebx
mov dword [esp + 0x34], edi
mov word [esp + 0x20], cx
mov dword [esp + 0x30], ebp
jb 0x41c0ff
mov edx, dword [esp + 0x3c]
push edx
call fcn.004593e2
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.004593ed
add esp, 0x74
ret