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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x28]
cmp eax, dword [ecx + 8]
jbe 0x59df93
sub esp, 0xa8
mov byte [esp + 0xcc], 0
mov eax, dword [esp + 0xc0]
mov ecx, dword [esp + 0xc4]
mov edx, dword [esp + 0xc8]
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], edx
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
mov byte [esp + 0x46], 0
mov byte [esp + 0x47], 0
lea eax, [esp + 0x90]
mov dword [esp], eax
lea eax, [esp + 0x78]
mov dword [esp + 4], eax
mov byte [esp + 8], 0x30
call fcn.00552500
movzx eax, byte [esp + 0xc]
test al, al
je 0x59db62
mov eax, dword [esp + 0x94]
test eax, eax
je 0x59db00
mov eax, 1
jmp 0x59db67
lea eax, [esp + 0x78]
mov dword [esp], eax
lea ecx, [esp + 0x84]
mov dword [esp + 4], ecx
lea ecx, [esp + 0x46]
mov dword [esp + 8], ecx
mov byte [esp + 0xc], 0xa0
call fcn.005525e0
movzx eax, byte [esp + 0x10]
test al, al
jne 0x59db34
mov eax, 1
jmp 0x59db67
lea eax, [esp + 0x78]
mov dword [esp], eax
lea eax, [esp + 0x9c]
mov dword [esp + 4], eax
lea eax, [esp + 0x47]
mov dword [esp + 8], eax
mov byte [esp + 0xc], 0xa1
call fcn.005525e0
movzx eax, byte [esp + 0x10]
xor eax, 1
jmp 0x59db67
mov eax, 1
test al, al
jne 0x59df4f
mov eax, dword [esp + 0x7c]
test eax, eax
jne 0x59df4f
movzx eax, byte [esp + 0x46]
test al, al
jne 0x59db91
movzx eax, byte [esp + 0x47]
test al, al
je 0x59df0b
mov eax, dword [esp + 0x88]
test eax, eax
jne 0x59dbab
mov eax, dword [esp + 0xa0]
test eax, eax
je 0x59df0b
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
lea eax, [0x59dfa0]
mov dword [esp + 0x70], eax
lea eax, [esp + 0xcc]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x84]
mov ebx, dword [esp + 0x88]
mov ebp, dword [esp + 0x8c]
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
lea edx, [esp + 0x70]
call eax
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x6c], ecx
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x68], ebx
mov ebp, dword [esp + 0x30]
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov edx, ebp
mov ebp, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x64], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0xac]
mov dword [ecx + 0x234], esi
mov dword [ecx + 0x238], edi
mov esi, dword [0xbe5550]
test esi, esi
jne 0x59dc81
mov dword [ecx + 0x230], eax
jmp 0x59dc8c
lea edi, [ecx + 0x230]
call fcn.00462ce0
mov dword [ecx + 0x24c], ebp
mov dword [ecx + 0x250], ebx
mov ebx, dword [0xbe5550]
test ebx, ebx
jne 0x59dcae
mov ebx, dword [esp + 0x6c]
mov dword [ecx + 0x248], ebx
jmp 0x59dcbd
lea edi, [ecx + 0x248]
mov eax, dword [esp + 0x6c]
call fcn.00462ce0
mov ebx, dword [esp + 0x58]
mov dword [ecx + 0x264], ebx
mov ebx, dword [esp + 0x54]
mov dword [ecx + 0x268], ebx
mov ebx, dword [0xbe5550]
test ebx, ebx
jne 0x59dce7
mov ebx, dword [esp + 0x68]
mov dword [ecx + 0x260], ebx
jmp 0x59dcf6
lea edi, [ecx + 0x260]
mov eax, dword [esp + 0x68]
call fcn.00462ce0
mov ebx, dword [esp + 0x50]
mov dword [ecx + 0x27c], ebx
mov ebx, dword [esp + 0x4c]
mov dword [ecx + 0x280], ebx
mov ebx, dword [0xbe5550]
test ebx, ebx
jne 0x59dd1c
mov dword [ecx + 0x278], edx
jmp 0x59dd29
lea edi, [ecx + 0x278]
mov eax, edx
call fcn.00462ce0
mov eax, dword [esp + 0x48]
test eax, eax
jne 0x59dee6
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x9c]
mov ebx, dword [esp + 0xa0]
mov ebp, dword [esp + 0xa4]
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
lea edx, [esp + 0x70]
call eax
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x5c], ecx
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x68], ebx
mov ebp, dword [esp + 0x30]
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov edx, ebp
mov ebp, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x64], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0xac]
mov dword [ecx + 0x240], esi
mov dword [ecx + 0x244], edi
mov esi, dword [0xbe5550]
test esi, esi
jne 0x59dde6
mov dword [ecx + 0x23c], eax
jmp 0x59ddf1
lea edi, [ecx + 0x23c]
call fcn.00462ce0
mov dword [ecx + 0x258], ebp
mov dword [ecx + 0x25c], ebx
mov ebx, dword [0xbe5550]
test ebx, ebx
jne 0x59de13
mov ebx, dword [esp + 0x5c]
mov dword [ecx + 0x254], ebx
jmp 0x59de22
lea edi, [ecx + 0x254]
mov eax, dword [esp + 0x5c]
call fcn.00462ce0
mov ebx, dword [esp + 0x58]
mov dword [ecx + 0x270], ebx
mov ebx, dword [esp + 0x54]
mov dword [ecx + 0x274], ebx
mov ebx, dword [0xbe5550]
test ebx, ebx
jne 0x59de4c
mov ebx, dword [esp + 0x68]
mov dword [ecx + 0x26c], ebx
jmp 0x59de5b
lea edi, [ecx + 0x26c]
mov eax, dword [esp + 0x68]
call fcn.00462ce0
mov ebx, dword [esp + 0x50]
mov dword [ecx + 0x288], ebx
mov ebx, dword [esp + 0x4c]
mov dword [ecx + 0x28c], ebx
mov ebx, dword [0xbe5550]
test ebx, ebx
jne 0x59de81
mov dword [ecx + 0x284], edx
jmp 0x59de8e
lea edi, [ecx + 0x284]
mov eax, edx
call fcn.00462ce0
mov eax, dword [esp + 0x48]
test eax, eax
je 0x59debb
mov byte [esp + 0xcc], 0
mov eax, dword [esp + 0x64]
mov dword [esp + 0xd0], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0xd4], eax
add esp, 0xa8
ret
movzx eax, byte [esp + 0xbc]
mov byte [ecx + 0x22c], al
mov dword [esp + 0xd0], 0
mov dword [esp + 0xd4], 0
add esp, 0xa8
ret
mov byte [esp + 0xcc], 0
mov eax, dword [esp + 0x64]
mov dword [esp + 0xd0], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0xd4], eax
add esp, 0xa8
ret
lea eax, [0x65cd40]
mov dword [esp], eax
call fcn.0040b830
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x26
lea ecx, [0x694054]
mov dword [eax], ecx
mov byte [esp + 0xcc], 0
lea ecx, [0xa54a34]
mov dword [esp + 0xd0], ecx
mov dword [esp + 0xd4], eax
add esp, 0xa8
ret
lea eax, [0x65cd40]
mov dword [esp], eax
call fcn.0040b830
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x27
lea ecx, [0x694509]
mov dword [eax], ecx
mov byte [esp + 0xcc], 0
lea ecx, [0xa54a34]
mov dword [esp + 0xd0], ecx
mov dword [esp + 0xd4], eax
add esp, 0xa8
ret
call fcn.004618d0
jmp fcn.0059da10