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

Disassembly:
push 0xffffffffffffffff
push 0x47c4ab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x258
mov eax, dword [0x48b114]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x274]
push edi
mov dword [esp + 0x264], eax
mov eax, dword [0x4938c0]
mov ebp, dword [eax + 0xd7c]
push esi
mov edi, ecx
mov dword [esp + 0x28], eax
call fcn.004107b0
lea ecx, [esi + 0x5c]
mov dword [esp + 0x10], ecx
lea eax, [esi + 0x17304]
lea ecx, [esi + 0x1f410]
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x18], 3
xor ebx, ebx
mov edi, edi
mov eax, dword [ecx + 0xfc]
cmp eax, 0xffffffff
mov ecx, dword [ecx]
mov dword [esp + 0x1c], ecx
je 0x41354b
push eax
lea ecx, [edi + 0x2a32c4]
call fcn.0043a7a0
mov esi, eax
push 0x80
mov ecx, esi
call fcn.0043cfe0
mov ecx, eax
call fcn.00453ad0
mov eax, dword [esi + 0x228]
cmp eax, ebx
jne 0x4134c1
cmp dword [esi + 0x188], ebx
jne 0x4134bc
xor ecx, ecx
jmp 0x4134c7
mov ecx, dword [esi + 0x7c]
jmp 0x4134c7
mov ecx, dword [esi + 0x1bc]
cmp eax, ebx
jne 0x4134dc
cmp dword [esi + 0x188], ebx
jne 0x4134d7
xor eax, eax
jmp 0x4134e2
mov eax, dword [esi + 0x78]
jmp 0x4134e2
mov eax, dword [esi + 0x1c0]
push ebx
push ebx
push ebx
push ecx
push eax
push ebx
push ebx
mov ecx, esi
call fcn.0043cbc0
push 0x384
push ebx
lea edx, [edi + 0x5ba5d0]
push edx
mov ecx, edi
call fcn.00410f70
mov ecx, dword [esp + 0x278]
mov dword [edi + 0x5ba5dc], ebx
mov edx, dword [ecx + 0x1ecd8]
mov eax, 1
cmp edx, eax
jne 0x413522
xor eax, eax
mov edx, dword [esp + 0x10]
push eax
push 0x1e
push 0x1e
push edx
push esi
lea ecx, [edi + 0x2b24f4]
call fcn.0041ceb0
mov eax, dword [esp + 0x10]
push ebx
push ebx
push eax
push esi
mov ecx, edi
call fcn.00411eb0
mov ecx, dword [esp + 0x1c]
cmp ecx, 0xffffffff
je 0x413681
push ecx
lea ecx, [edi + 0x2a32c4]
call fcn.0043a7a0
mov esi, eax
mov eax, dword [esi + 0x228]
cmp eax, ebx
jne 0x41357d
cmp dword [esi + 0x188], ebx
jne 0x413578
xor ecx, ecx
jmp 0x413583
mov ecx, dword [esi + 0x7c]
jmp 0x413583
mov ecx, dword [esi + 0x1bc]
cmp eax, ebx
jne 0x413598
cmp dword [esi + 0x188], ebx
jne 0x413593
xor eax, eax
jmp 0x41359e
mov eax, dword [esi + 0x78]
jmp 0x41359e
mov eax, dword [esi + 0x1c0]
xor edx, edx
mov dl, byte [ebp + 0x1acac]
push edx
xor edx, edx
mov dl, byte [ebp + 0x1aca8]
push edx
xor edx, edx
mov dl, byte [ebp + 0x1aca4]
push edx
push ecx
push eax
push ebx
push ebx
mov ecx, esi
call fcn.0043cbc0
xor eax, eax
mov al, byte [ebp + 0x1acb0]
mov ecx, esi
push eax
push 0x244
push 0x30c
push ebx
push ebx
call fcn.0043cfe0
mov ecx, eax
call fcn.00453b10
lea ecx, [esp + 0x28]
call fcn.004474e0
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx + 0xe0c]
push eax
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x3c], esp
push 0xa
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push 0x47f45c
mov dword [esp + 0x298], ebx
mov byte [ecx + 4], bl
call fcn.00403fa0
lea ecx, [esp + 0x48]
call fcn.004472f0
mov edx, dword [esp + 0x14]
cmp dword [edx], 1
push 2
jne 0x413646
push ebx
push ebx
lea eax, [esp + 0x34]
push eax
push 0x244
jmp 0x413656
push 0x244
push ebx
lea ecx, [esp + 0x34]
push ecx
push 0xb4
push 0x320
push ebx
mov ecx, esi
push ebx
call fcn.00445b90
lea ecx, [esp + 0x28]
call fcn.00447400
lea ecx, [esp + 0x28]
mov dword [esp + 0x270], 0xffffffff
call fcn.00446e60
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
add ecx, 0x54
add esi, 0x7b3c
add edx, 0x58
dec eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], eax
jne 0x413470
mov edx, dword [esp + 0x278]
mov eax, dword [edx + 0x1f6b0]
cmp eax, 0xffffffff
je 0x4136e5
push eax
lea ecx, [edi + 0x2a32c4]
call fcn.0043a7a0
push 0x80
mov ecx, eax
call fcn.0043cfe0
mov ecx, eax
call fcn.00453cf0
mov ecx, dword [esp + 0x268]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x264]
mov eax, 1
call fcn.0045a5f9
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x264
ret 4