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

Disassembly:
push 0xffffffffffffffff
push 0x447596
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
mov eax, dword [0x4581b0]
xor eax, esp
mov dword [esp + 0xe0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4581b0]
xor eax, esp
push eax
lea eax, [esp + 0xfc]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x10c]
xor esi, esi
mov eax, 7
mov ebx, ecx
mov edi, edx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x48], esi
mov word [esp + 0x38], si
mov dword [esp + 0x68], eax
mov dword [esp + 0x64], esi
mov word [esp + 0x54], si
xor eax, eax
mov dword [esp + 0x104], esi
push 0x80
mov dword [esp + 0x70], eax
mov word [esp + 0x74], ax
lea eax, [esp + 0x78]
push esi
push eax
call fcn.00434f20
movzx ecx, byte [edi + 5]
movzx edx, byte [edi + 4]
movzx eax, byte [edi + 3]
add esp, 0xc
push ecx
movzx ecx, byte [edi + 2]
push edx
movzx edx, byte [edi + 1]
push eax
movzx eax, byte [edi]
push ecx
push edx
push eax
lea ecx, [esp + 0x8c]
push str._02x_02x_02x_02x_02x_02x
push ecx
lea edx, [esi + 0x40]
call fcn.00412dd0
lea eax, [esp + 0x94]
add esp, 0x20
lea ecx, [eax + 2]
jmp 0x413450
mov dx, word [eax]
add eax, 2
cmp dx, si
jne 0x413450
sub eax, ecx
sar eax, 1
push eax
lea edx, [esp + 0x78]
push edx
lea esi, [esp + 0x58]
call fcn.00401aa0
movzx eax, byte [edi]
movzx ecx, byte [edi + 1]
movzx edx, byte [edi + 2]
mov byte [esp + 0x6c], al
movzx eax, byte [edi + 3]
mov byte [esp + 0x6d], cl
movzx ecx, byte [edi + 4]
mov byte [esp + 0x6e], dl
movzx edx, byte [edi + 5]
lea edi, [esp + 0x14]
mov byte [esp + 0x6f], al
mov byte [esp + 0x70], cl
mov byte [esp + 0x71], dl
mov dword [esp + 0x14], 0x7b
call fcn.0040db40
lea edi, [esp + 0x14]
mov esi, eax
mov dword [esp + 0x14], 0x7d
call fcn.0040db40
cmp esi, eax
jae 0x413518
cmp esi, 0xffffffff
je 0x413518
cmp eax, 0xffffffff
je 0x413518
sub eax, esi
add eax, 1
push eax
mov ecx, esi
push ebx
lea esi, [esp + 0x20]
call fcn.0040db10
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x10c], 1
call fcn.004019b0
mov edi, 8
mov byte [esp + 0x104], 0
cmp dword [esp + 0x30], edi
jb 0x41351d
mov eax, dword [esp + 0x1c]
push eax
call fcn.00433114
add esp, 4
jmp 0x41351d
mov edi, 8
xor ebx, ebx
lea esi, [ebp + 0x10]
xor ebp, ebp
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x4135bf
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 6
cmp ebx, eax
jae 0x4135bf
test ecx, ecx
je 0x41354f
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 6
cmp ebx, eax
jb 0x413554
call fcn.004338e0
cmp dword [esp + 0x68], edi
mov ecx, dword [esi + 4]
mov eax, dword [esp + 0x54]
lea ecx, [ecx + ebp + 0x1c]
jae 0x413569
lea eax, [esp + 0x54]
mov edi, dword [esp + 0x64]
push eax
mov eax, dword [ecx + 0x14]
call fcn.004099b0
test eax, eax
je 0x413587
add ebx, 1
add ebp, 0x40
mov edi, 8
jmp 0x413524
mov esi, 8
cmp dword [esp + 0x68], esi
jb 0x41359f
mov edx, dword [esp + 0x54]
push edx
call fcn.00433114
add esp, 4
xor eax, eax
cmp dword [esp + 0x4c], esi
mov dword [esp + 0x68], 7
mov dword [esp + 0x64], eax
mov word [esp + 0x54], ax
jb 0x413601
mov eax, dword [esp + 0x38]
push eax
jmp 0x4135f9
lea ebx, [esp + 0x34]
call fcn.00414400
cmp dword [esp + 0x68], edi
jb 0x4135db
mov ecx, dword [esp + 0x54]
push ecx
call fcn.00433114
add esp, 4
xor eax, eax
cmp dword [esp + 0x4c], edi
mov dword [esp + 0x68], 7
mov dword [esp + 0x64], eax
mov word [esp + 0x54], ax
jb 0x413601
mov edx, dword [esp + 0x38]
push edx
call fcn.00433114
add esp, 4
mov ecx, dword [esp + 0xfc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xe0]
xor ecx, esp
call fcn.004337a7
add esp, 0xf4
ret 4