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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x14c
mov edi, dword [esp + 0x164]
mov ebp, edx
mov ebx, ecx
lea esi, [esp + 0x5c]
push dword [esp + 0x168]
push esi
call dword [esp + 0x174]
add esp, 8
cmp byte [esp + 0x5c], 0x14
je 0x59b86f
push esi
call fcn.0056cbc0
add esp, 4
mov byte [ebx], 0xe
cmp dword [edi], 0
je 0x59b864
push dword [edi + 4]
push 0
push dword [0x94bf18]
call dword [sym.imp.kernel32.dll_HeapFree]
add esp, 0x14c
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [esp + 0x34], ebp
mov edi, dword [esp + 0x60]
mov ebp, dword [esp + 0x64]
push edi
call dword [ebp + 0x14]
add esp, 4
mov word [esp + 0x10], ax
mov word [esp + 0x14], dx
mov dword [esp + 0x28], edi
push edi
mov dword [esp + 0x28], ebp
call dword [ebp + 0x10]
add esp, 4
mov ebp, eax
mov eax, 1
test edx, edx
mov dword [esp], edx
je 0x59b8cb
js 0x59be4f
movzx eax, byte [0x94bfc5]
mov edx, dword [esp]
xor ecx, ecx
call fcn.0071ee80
mov edx, dword [esp]
test eax, eax
je 0x59be54
mov edi, dword [esp + 0x178]
mov dword [esp + 0x20], ebx
push edx
push ebp
push eax
mov ebp, edx
mov ebx, eax
call fcn.007bd9b0
add esp, 0xc
movzx eax, word [esp + 0x10]
movzx ecx, word [esp + 0x14]
xor edx, edx
mov dword [esp + 4], 0
mov dword [esp + 8], 1
mov dword [esp + 0x14], ebx
mov dword [esp + 0xc], 0
mov word [esp + 0x44], ax
mov word [esp + 0x46], cx
mov byte [esp + 0x48], 2
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebp
lea ecx, [esp + 4]
push 0x20
call fcn.007c54d0
add esp, 4
mov eax, dword [esp + 8]
mov edx, dword [esp + 0xc]
movsd xmm0, qword [edi + 0x18]
movsd qword [eax + edx + 0x18], xmm0
movsd xmm0, qword [edi + 0x10]
movsd qword [eax + edx + 0x10], xmm0
movsd xmm0, qword [edi]
movsd xmm1, qword [edi + 8]
add edi, 0x20
movsd qword [eax + edx + 8], xmm1
movsd qword [eax + edx], xmm0
add edx, 0x20
mov dword [esp + 0xc], edx
mov ecx, dword [esp + 4]
sub ecx, edx
cmp ecx, 0x1f
jbe 0x59bdfa
movsd xmm0, qword [edi + 0x18]
lea ecx, [esp + 0x44]
movsd qword [eax + edx + 0x18], xmm0
movsd xmm0, qword [edi + 0x10]
movsd qword [eax + edx + 0x10], xmm0
movsd xmm0, qword [edi]
movsd xmm1, qword [edi + 8]
movsd qword [eax + edx + 8], xmm1
movsd qword [eax + edx], xmm0
add edx, 0x20
mov dword [esp + 0xc], edx
lea edx, [esp + 4]
call fcn.00571930
mov eax, dword [esp + 4]
mov edi, dword [esp + 0xc]
cmp edi, eax
jne 0x59b9de
lea ecx, [esp + 4]
mov edx, edi
call fcn.00432fc0
mov eax, dword [esp + 4]
mov edi, dword [esp + 0xc]
mov ecx, dword [esp]
mov edx, dword [esp + 8]
mov ebx, dword [esp + 0x170]
mov byte [edx + edi], cl
inc edi
sub eax, edi
mov dword [esp + 0xc], edi
cmp eax, ecx
jb 0x59be15
lea eax, [edx + edi]
mov dword [esp + 0x10], edx
push ecx
push dword [esp + 0x18]
push eax
mov ebp, ecx
call fcn.007bd9b0
add esp, 0xc
mov eax, dword [esp + 0x164]
add edi, ebp
mov dword [esp + 0xc], edi
mov ebp, dword [eax + 4]
push dword [eax + 8]
push ebp
push ebx
mov eax, dword [esp + 0x180]
call dword [eax + 0x18]
add esp, 0xc
test eax, eax
je 0x59bc6b
mov dword [esp + 0x30], ebp
push eax
mov ebp, eax
mov ebx, edx
call dword [edx + 0x1c]
add esp, 4
mov word [esp + 0x1c], ax
mov word [esp + 0x2e], dx
push edi
push dword [esp + 0x14]
push ebp
push esi
call dword [ebx + 0x18]
add esp, 0x10
movzx eax, byte [esp + 0x5c]
mov dword [esp + 0x18], ebp
cmp al, 0x14
jne 0x59bcdf
mov eax, dword [esp + 0x68]
movsd xmm0, qword [esp + 0x60]
movsd xmm1, qword [esp + 0x40]
movzx ecx, word [esp + 0x2e]
lea esi, [esp + 0x5c]
lea edx, [esp + 0xdc]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x57], eax
mov dword [esp + 0xf8], eax
mov eax, dword [esp + 0x48]
movsd qword [esp + 0xf0], xmm0
movsd qword [esp + 0x4f], xmm0
movsd xmm0, qword [esp + 0x38]
movsd qword [esp + 0x68], xmm1
movsd qword [esp + 0xe4], xmm1
movsd xmm2, qword [esp + 0xf4]
mov dword [esp + 0xec], eax
movzx eax, word [esp + 0x1c]
movsd qword [esp + 0x60], xmm0
movsd qword [esp + 0xdc], xmm0
mov dword [esp + 0xdc], 0
movsd xmm3, qword [esp + 0xec]
movsd qword [esp + 0x78], xmm2
mov dword [esp + 0xe0], 1
mov dword [esp + 0xe4], 0
movsd qword [esp + 0x70], xmm3
mov byte [esp + 0xc8], 9
mov dword [esp + 0x5c], 0x80000006
mov word [esp + 0x80], ax
mov word [esp + 0x82], cx
mov ecx, esi
call fcn.00572150
mov eax, dword [esp + 0xe0]
mov edx, dword [esp + 0xdc]
lea edi, [esp + 0xdc]
mov ecx, 0x1c
mov dword [esp], eax
mov eax, dword [esp + 0xe4]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x34]
mov ebp, dword [esp + 0x10]
mov esi, eax
lea eax, [edx - 0x80000000]
cmp eax, 3
ja 0x59bb8e
cmp eax, 1
jne 0x59bbe3
mov eax, dword [edi + 0x18]
push esi
push dword [esp + 4]
push dword [edi + 0x14]
mov ebx, edx
call dword [eax + 0x18]
mov edx, ebx
add esp, 0xc
mov eax, dword [edi]
cmp eax, 0x80000000
je 0x59bbe3
mov ecx, esi
mov esi, dword [edi + 8]
mov dword [esp + 0x1c], ecx
sub eax, esi
cmp eax, ecx
jb 0x59be37
mov eax, dword [edi + 4]
mov ebp, dword [esp + 0x1c]
add eax, esi
push ebp
push dword [esp + 4]
push eax
call fcn.007bd9b0
add esp, 0xc
add esi, ebp
mov edx, ebx
mov dword [edi + 8], esi
mov esi, ebp
mov ebp, dword [esp + 0x10]
mov eax, dword [esp]
mov dword [esp + 0x5c], edx
lea edi, [esp + 0x68]
mov ecx, 0x1c
lea edx, [esp + 0x5c]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], esi
lea esi, [esp + 0xdc]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x160]
mov word [esp + 0xd8], 4
push 0
call fcn.0057c7a0
add esp, 4
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov dword [ecx + 4], eax
mov dword [ecx + 8], edx
mov byte [ecx], 0x14
push dword [esp + 0x18]
mov esi, dword [esp + 0x18]
call dword [esi]
mov eax, esi
add esp, 4
cmp dword [esi + 4], 0
mov esi, dword [esp + 0x164]
je 0x59bd59
cmp dword [eax + 8], 9
jae 0x59bd43
mov eax, dword [esp + 0x18]
jmp 0x59bd4a
mov ebx, dword [esp + 0x10]
movzx eax, byte [0x94bfc5]
xor ecx, ecx
mov edx, 0x18
call fcn.0071ee80
test eax, eax
je 0x59be5e
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 0x164]
mov ebp, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
mov dword [eax + 0x14], 0x79656b20
mov dword [eax + 0x10], 0x676e696e
mov dword [eax + 0xc], 0x67697320
mov dword [eax + 8], 0x656c6269
mov dword [eax + 4], 0x7461706d
mov dword [eax], 0x6f636e69
mov byte [ecx], 0xc
mov dword [ecx + 4], 0x18
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], 0x18
jmp 0x59bd99
movsd xmm1, qword [esp + 0x64]
movsd xmm0, qword [esp + 0x5d]
mov ecx, dword [esp + 0x20]
movsd qword [esp + 0x53], xmm1
movsd qword [esp + 0x4c], xmm0
movsd xmm1, qword [esp + 0x53]
movsd xmm0, qword [esp + 0x4c]
movsd qword [ecx + 8], xmm1
movsd qword [ecx + 1], xmm0
mov byte [ecx], al
push ebp
call dword [ebx]
add esp, 4
cmp dword [ebx + 4], 0
mov edi, dword [esp + 0x164]
mov ebp, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
mov eax, dword [esp]
mov ecx, dword [esp + 0x10]
je 0x59bd9e
cmp dword [ebx + 8], 9
jae 0x59bd81
mov eax, dword [esp + 0x18]
mov ebx, ecx
jmp 0x59bd8a
mov eax, dword [esp + 0x18]
mov eax, dword [eax - 4]
push eax
push 0
push dword [0x94bf18]
call dword [sym.imp.kernel32.dll_HeapFree]
cmp dword [esp + 4], 0
je 0x59bd6f
push ebp
push 0
push dword [0x94bf18]
call dword [sym.imp.kernel32.dll_HeapFree]
cmp dword [esi], 0
je 0x59b864
push dword [esp + 0x30]
jmp 0x59b856
mov eax, dword [esp + 0x18]
mov ebx, ecx
mov eax, dword [eax - 4]
push eax
push 0
push dword [0x94bf18]
call dword [sym.imp.kernel32.dll_HeapFree]
mov eax, dword [esp]
mov ecx, ebx
cmp dword [esp + 4], 0
je 0x59bdb7
push ecx
push 0
push dword [0x94bf18]
call dword [sym.imp.kernel32.dll_HeapFree]
mov eax, dword [esp]
test eax, eax
je 0x59bdcd
push dword [esp + 0x14]
push 0
push dword [0x94bf18]
call dword [sym.imp.kernel32.dll_HeapFree]
push ebp
call dword [esi]
add esp, 4
cmp dword [esi + 4], 0
je 0x59b84e
cmp dword [esi + 8], 9
jb 0x59bde6
mov ebp, dword [ebp - 4]
push ebp
push 0
push dword [0x94bf18]
call dword [sym.imp.kernel32.dll_HeapFree]
jmp 0x59b84e
lea ecx, [esp + 4]
push 0x20
call fcn.007c54d0
add esp, 4
mov eax, dword [esp + 8]
mov edx, dword [esp + 0xc]
jmp 0x59b981
lea ecx, [esp + 4]
mov edx, edi
push dword [esp]
call fcn.007c54d0
mov ecx, dword [esp + 4]
add esp, 4
mov edx, dword [esp + 8]
mov edi, dword [esp + 0xc]
jmp 0x59b9fe
mov ecx, edi
mov edx, esi
push dword [esp + 0x1c]
call fcn.007c54d0
add esp, 4
mov esi, dword [edi + 8]
jmp 0x59bbbf
call fcn.00418cb0
mov ecx, 1
call fcn.007c1490
mov ecx, 1
mov edx, 0x18
call fcn.007c1490
int3