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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
push ebx
push esi
push edi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x10]
mov cl, 0x93
mov dl, 0x8f
call fcn.00564f9c
xor ebx, ebx
jmp 0x597f49
mov edx, dword [ebp + 8]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax + ebx*4]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
cmp byte [eax + 0x3c], 0
je 0x597f48
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x10]
cmp byte [eax + 0x437], 0
je 0x597ad5
mov dword [ebp - 0x1c], ebx
jmp 0x597ab6
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x10]
mov edx, dword [ebp - 0x1c]
call fcn.00563a8c
mov edx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x10]
call fcn.00563b04
mov edi, eax
mov esi, 0x80000000
mov eax, dword [ebp - 0x1c]
mov edx, edi
sub edx, eax
jl 0x597a5b
inc edx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x10]
mov edx, dword [ebp - 0x20]
call fcn.005ef900
test al, al
je 0x597a38
mov esi, dword [ebp - 0x20]
jmp 0x597a5b
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x10]
mov eax, dword [eax + 0xb0]
mov eax, dword [eax + 0x1c]
mov edx, dword [ebp - 0x20]
mov eax, dword [eax + edx*4]
cmp byte [eax + 0x3c], 0
je 0x597a5b
inc dword [ebp - 0x20]
dec dword [ebp - 0x34]
jne 0x597a21
cmp esi, 0x80000000
je 0x597a67
cmp ebx, esi
jne 0x597aa6
sub edi, ebx
jl 0x597a99
inc edi
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x20], ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x10]
mov eax, dword [eax + 0xb0]
mov eax, dword [eax + 0x1c]
mov edx, dword [ebp - 0x20]
mov eax, dword [eax + edx*4]
cmp byte [eax + 0x3c], 0
je 0x597a99
mov byte [eax + 0x3c], 0
inc dword [ebp - 0x20]
dec dword [ebp - 0x34]
jne 0x597a72
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x10]
call fcn.005f0034
jmp 0x597ab6
mov dword [ebp - 0x1c], esi
push ebp
mov eax, dword [ebp - 0x1c]
call fcn.00597764
pop ecx
inc dword [ebp - 0x1c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x10]
mov eax, dword [eax + 0xb0]
mov eax, dword [eax + 0x1c]
mov edx, dword [ebp - 0x1c]
mov eax, dword [eax + edx*4]
cmp byte [eax + 0x3c], 0
jne 0x5979ef
mov eax, dword [ebp - 0x18]
cmp byte [eax + 0x3c], 0
je 0x597f49
call fcn.0064e78c
mov dword [ebp - 4], eax
lea eax, [ebp - 0x5c]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x10]
mov ecx, dword [ebp - 4]
mov edx, ebx
call fcn.005eff84
mov eax, dword [ebp - 4]
cmp dword [eax + 0x18], 0
jle 0x597f3d
push 1
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x10]
mov ecx, dword [ebp - 4]
mov edx, ebx
call fcn.005f05c0
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
add eax, 4
imul edx, dword [eax + 0xd8], 0x27
mov edx, dword [eax + edx*4 + 0x40]
sub edx, dword [eax + 4]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
dec eax
test eax, eax
jl 0x597f35
inc eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
mov edx, dword [ebp - 0x1c]
mov eax, dword [eax + edx*4]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
add eax, 4
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x38]
lea esi, [eax + 0x18]
lea edi, [edx + 0x14]
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 8]
call fcn.00547154
mov edx, dword [ebp - 0x38]
mov dword [edx + 4], eax
mov eax, dword [ebp - 0x38]
cmp dword [eax + 0xc], 0
jne 0x597be8
xor eax, eax
mov edx, dword [ebp - 0x38]
mov edx, dword [edx + 0xd8]
dec edx
cmp edx, 0
jl 0x597bd3
mov dword [ebp - 0x20], edx
imul edx, dword [ebp - 0x20], 0x27
mov ecx, dword [ebp - 0x38]
cmp byte [ecx + edx*4 + 0xf3], 0
je 0x597bca
inc eax
dec dword [ebp - 0x20]
cmp dword [ebp - 0x20], 0xffffffff
jne 0x597bb8
mov edx, dword [ebp - 0x38]
cmp eax, dword [edx + 0xd8]
jne 0x597be8
mov eax, dword [ebp - 0x38]
mov dword [eax + 0xc], 0xb4
cmp dword [ebp - 0x1c], 0
jle 0x597c51
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
mov edx, dword [ebp - 0x1c]
mov eax, dword [eax + edx*4 - 4]
cmp byte [eax + 0x2755], 0
jne 0x597c10
mov eax, dword [ebp - 0x38]
mov byte [eax + 0x2751], 0
jmp 0x597c51
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0xd8]
dec eax
cmp eax, 0
jl 0x597c51
mov dword [ebp - 0x20], eax
imul eax, dword [ebp - 0x20], 0x27
mov edx, dword [ebp - 0x38]
lea eax, [edx + eax*4 + 0xdc]
cmp byte [eax + 0x17], 0
je 0x597c48
cmp byte [eax + 0x16], 0
jne 0x597c48
mov eax, dword [ebp - 0x38]
mov byte [eax + 0x2751], 1
jmp 0x597c51
dec dword [ebp - 0x20]
cmp dword [ebp - 0x20], 0xffffffff
jne 0x597c22
mov eax, dword [ebp - 0x38]
cmp dword [eax + 0xd4], 0x2710
jne 0x597c81
mov eax, dword [ebp - 0x38]
cmp dword [eax + 0xd0], 0x80000000
je 0x597c81
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0xd0]
mov edx, dword [ebp - 0x38]
mov dword [edx + 0xcc], eax
mov eax, dword [ebp - 0x38]
add eax, 0x24
xor edx, edx
call fcn.00597940
mov eax, dword [ebp - 0x38]
add eax, 0x40
xor edx, edx
call fcn.00597940
mov eax, dword [ebp - 0x38]
add eax, 0x5c
xor edx, edx
call fcn.00597940
mov eax, dword [ebp - 0x38]
add eax, 0x78
xor edx, edx
call fcn.00597940
mov eax, dword [ebp - 0x38]
add eax, 0x94
xor edx, edx
call fcn.00597940
mov eax, dword [ebp - 0x38]
add eax, 0xb0
xor edx, edx
call fcn.00597940
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0xd8]
dec eax
cmp eax, 0
jl 0x597f01
mov dword [ebp - 0x20], eax
imul eax, dword [ebp - 0x20], 0x27
mov edx, dword [ebp - 0x38]
lea edi, [edx + eax*4 + 0xdc]
mov edx, dword [ebp - 8]
mov eax, dword [edi]
call fcn.00547154
mov dword [edi], eax
cmp word [edi + 0x90], 0x2710
jne 0x597d26
cmp dword [edi + 0x8c], 0x80000000
je 0x597d26
mov eax, dword [edi + 0x8c]
mov dword [edi + 0x88], eax
cmp dword [ebp - 0x20], 0
jne 0x597d34
mov eax, dword [ebp - 0x10]
add eax, 0x28
jmp 0x597d3c
mov eax, dword [ebp - 0x10]
add eax, 0xb4
lea edx, [edi + 0x18]
xchg edx, eax
call fcn.00597940
cmp dword [ebp - 0x1c], 0
jne 0x597d53
mov eax, dword [ebp - 0x10]
add eax, 0x44
jmp 0x597d5b
mov eax, dword [ebp - 0x10]
add eax, 0x98
lea edx, [edi + 0x34]
xchg edx, eax
call fcn.00597940
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0xd8]
dec eax
cmp eax, dword [ebp - 0x20]
jne 0x597d7b
mov eax, dword [ebp - 0x10]
add eax, 0x60
jmp 0x597d83
mov eax, dword [ebp - 0x10]
add eax, 0xb4
lea edx, [edi + 0x50]
xchg edx, eax
call fcn.00597940
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
dec eax
cmp eax, dword [ebp - 0x1c]
jne 0x597da0
mov eax, dword [ebp - 0x10]
add eax, 0x7c
jmp 0x597da8
mov eax, dword [ebp - 0x10]
add eax, 0x98
lea edx, [edi + 0x6c]
xchg edx, eax
call fcn.00597940
cmp byte [edi + 0x16], 0
je 0x597ef4
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x1c]
inc eax
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x18]
dec edx
sub edx, eax
jl 0x597e79
inc edx
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
mov edx, dword [ebp - 0x24]
mov eax, dword [eax + edx*4]
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x2d], 0
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax + 0xdc]
dec ebx
cmp ebx, 0
jl 0x597e67
imul eax, ebx, 0x27
mov edx, dword [ebp - 0x14]
lea esi, [edx + eax*4 + 0xe0]
mov edx, dword [edi]
mov eax, dword [esi]
call fcn.0054713c
test al, al
je 0x597e61
cmp byte [esi + 0x17], 0
je 0x597e67
cmp byte [esi + 0x16], 0
jne 0x597e67
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
dec eax
cmp ebx, eax
jne 0x597e36
mov eax, dword [ebp - 0x14]
add eax, 0x7c
jmp 0x597e3e
mov eax, dword [ebp - 0x14]
add eax, 0x98
lea edx, [esi + 0x6c]
xchg edx, eax
call fcn.00597940
push esi
push edi
add esi, 0x6c
add edi, 0x6c
mov ecx, 7
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
mov byte [ebp - 0x2d], 1
inc dword [ebp - 0x28]
jmp 0x597e67
dec ebx
cmp ebx, 0xffffffff
jne 0x597dfd
cmp byte [ebp - 0x2d], 0
je 0x597e79
inc dword [ebp - 0x24]
dec dword [ebp - 0x3c]
jne 0x597ddb
mov eax, dword [ebp - 0x1c]
inc eax
mov edx, dword [ebp - 0x28]
sub edx, eax
jl 0x597ef4
inc edx
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
mov edx, dword [ebp - 0x24]
mov eax, dword [eax + edx*4]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax + 0xdc]
dec ebx
cmp ebx, 0
jl 0x597eec
imul eax, ebx, 0x27
mov edx, dword [ebp - 0x14]
lea esi, [edx + eax*4 + 0xe0]
mov edx, dword [edi]
mov eax, dword [esi]
call fcn.0054713c
test al, al
je 0x597ee6
cmp byte [esi + 0x17], 0
je 0x597eec
cmp byte [esi + 0x16], 0
jne 0x597eec
imul eax, dword [ebp - 0x20], 0x27
mov edx, dword [ebp - 0x38]
lea eax, [edx + eax*4 + 0xdc]
mov edx, esi
call fcn.00547108
jmp 0x597eec
dec ebx
cmp ebx, 0xffffffff
jne 0x597ea9
inc dword [ebp - 0x24]
dec dword [ebp - 0x3c]
jne 0x597e8b
dec dword [ebp - 0x20]
cmp dword [ebp - 0x20], 0xffffffff
jne 0x597ce9
mov eax, dword [ebp - 0x38]
imul eax, dword [eax + 0xd8], 0x27
mov edx, dword [ebp - 0x38]
mov eax, dword [edx + eax*4 + 0x40]
mov edx, dword [ebp - 0x38]
sub eax, dword [edx + 4]
cmp eax, dword [ebp - 0x2c]
jne 0x597f29
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x14]
mov edx, dword [ebp - 0x38]
mov dword [edx + 0x10], eax
inc dword [ebp - 0x1c]
dec dword [ebp - 0x34]
jne 0x597b5c
mov eax, dword [ebp - 8]
call fcn.0064edac
mov ebx, dword [ebp - 0x4c]
mov eax, dword [ebp - 4]
call fcn.0064edac
inc ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x10]
mov eax, dword [eax + 0xb0]
cmp ebx, dword [eax + 0x18]
jl 0x5979bb
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x10]
mov edx, 2
call fcn.00565028
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret