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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x59d821
sub esp, 0x44
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x48]
mov ebx, dword [esp + 0x50]
mov ebp, dword [0x81ff08]
lea esi, [0x81ff08]
cmp dword [esi + 4], ecx
jne 0x59cda0
xor eax, eax
jmp 0x59cd8b
inc eax
cmp eax, ecx
jge 0x59cdb5
jae 0x59d81b
mov esi, dword [edx + eax*4]
lea edi, [ebp + eax*4]
cmp dword [edi], esi
je 0x59cd8a
mov ebp, dword [0x81ff18]
lea esi, [0x81ff18]
cmp dword [esi + 4], ecx
jne 0x59cdf0
xor eax, eax
jmp 0x59cddb
mov dword [esp + 0xa8], 9
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
add esp, 0x44
ret
inc eax
cmp eax, ecx
jge 0x59ce05
jae 0x59d816
mov esi, dword [edx + eax*4]
lea edi, [ebp + eax*4]
cmp dword [edi], esi
je 0x59cdda
mov ebp, dword [0x81ff28]
lea esi, [0x81ff28]
cmp dword [esi + 4], ecx
jne 0x59ce40
xor eax, eax
jmp 0x59ce2b
mov dword [esp + 0xa8], 0xa
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
add esp, 0x44
ret
inc eax
cmp eax, ecx
jge 0x59ce55
jae 0x59d811
mov esi, dword [edx + eax*4]
lea edi, [ebp + eax*4]
cmp dword [edi], esi
je 0x59ce2a
mov ebp, dword [0x81ff38]
lea esi, [0x81ff38]
cmp dword [esi + 4], ecx
jne 0x59ce90
xor eax, eax
jmp 0x59ce7b
mov dword [esp + 0xa8], 0xb
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
add esp, 0x44
ret
inc eax
cmp eax, ecx
jge 0x59cea5
jae 0x59d80c
mov esi, dword [edx + eax*4]
lea edi, [ebp + eax*4]
cmp dword [edi], esi
je 0x59ce7a
mov ebp, dword [0x81ffc8]
lea esi, [0x81ffc8]
cmp dword [esi + 4], ecx
jne 0x59cee0
xor eax, eax
jmp 0x59cecb
mov dword [esp + 0xa8], 0xc
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
add esp, 0x44
ret
inc eax
cmp eax, ecx
jge 0x59cefc
jae 0x59d807
mov esi, dword [edx + eax*4]
lea edi, [ebp + eax*4]
cmp dword [edi], esi
je 0x59ceca
mov ebp, dword [0x81ffd8]
lea esi, [0x81ffd8]
cmp dword [esi + 4], ecx
jne 0x59d185
xor eax, eax
jmp 0x59d16c
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x78]
mov ebx, dword [esp + 0x80]
mov ebp, dword [0x81ff48]
cmp dword [0x81ff4c], ecx
jne 0x59cf33
xor eax, eax
jmp 0x59cf1e
inc eax
cmp eax, ecx
jge 0x59cf48
jae 0x59d166
mov esi, dword [edx + eax*4]
lea edi, [ebp + eax*4]
cmp dword [edi], esi
je 0x59cf1d
mov ebp, dword [0x81ff58]
lea esi, [0x81ff58]
cmp dword [esi + 4], ecx
jne 0x59cf83
xor eax, eax
jmp 0x59cf6e
mov dword [esp + 0xa8], 3
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
add esp, 0x44
ret
inc eax
cmp eax, ecx
jge 0x59cf98
jae 0x59d161
mov esi, dword [edx + eax*4]
lea edi, [ebp + eax*4]
cmp dword [edi], esi
je 0x59cf6d
mov ebp, dword [0x81ff68]
lea esi, [0x81ff68]
cmp dword [esi + 4], ecx
jne 0x59cfd3
xor eax, eax
jmp 0x59cfbe
mov dword [esp + 0xa8], 4
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
add esp, 0x44
ret
inc eax
cmp eax, ecx
jge 0x59cfeb
jae 0x59d15c
mov esi, dword [edx + eax*4]
lea edi, [ebp + eax*4]
cmp dword [edi], esi
je 0x59cfbd
mov ebp, dword [0x81ff78]
lea esi, [0x81ff78]
cmp dword [esi + 4], ecx
jne 0x59d010
xor eax, eax
jmp 0x59d11c
mov dword [esp + 0xa8], 5
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
add esp, 0x44
ret
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
call fcn.005645e0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x20], ecx
mov edx, dword [esp + 0x48]
mov ebx, dword [esp + 0x4c]
mov ebp, dword [esp + 0x50]
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
call fcn.005645e0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov edx, dword [esp + 0x28]
mov dword [esp], edx
mov edx, dword [esp + 0x20]
mov dword [esp + 4], edx
call fcn.00408df0
mov eax, dword [esp + 8]
lea ecx, [0x60c800]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 4], eax
call fcn.00408df0
mov eax, dword [esp + 8]
lea ecx, [0x60c800]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], eax
lea eax, [0x654835]
mov dword [esp], eax
mov dword [esp + 4], 0x38
lea eax, [esp + 0x34]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004bad30
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xa8], 0xffffffff
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], ecx
add esp, 0x44
ret
inc eax
cmp eax, ecx
jge 0x59d132
jae 0x59d157
mov esi, dword [edx + eax*4]
lea edi, [ebp + eax*4]
cmp dword [edi], esi
je 0x59d11b
jmp 0x59d010
mov dword [esp + 0xa8], 6
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
add esp, 0x44
ret
call fcn.0045e9c0
call fcn.0045e9c0
call fcn.0045e9c0
call fcn.0045e9c0
inc eax
cmp eax, ecx
jge 0x59cefc
jae 0x59d802
mov esi, dword [edx + eax*4]
lea edi, [ebp + eax*4]
cmp dword [edi], esi
je 0x59d16b
mov ebp, dword [0x81ffe8]
lea esi, [0x81ffe8]
cmp dword [esi + 4], ecx
jne 0x59d1b4
xor eax, eax
jmp 0x59d19b
inc eax
cmp eax, ecx
jge 0x59cefc
jae 0x59d7fd
mov esi, dword [edx + eax*4]
lea edi, [ebp + eax*4]
cmp dword [edi], esi
je 0x59d19a
mov ebp, dword [0x81fff8]
lea esi, [0x81fff8]
cmp dword [esi + 4], ecx
jne 0x59d1e3
xor eax, eax
jmp 0x59d1ca
inc eax
cmp eax, ecx
jge 0x59cefc
jae 0x59d7f8
mov esi, dword [edx + eax*4]
lea edi, [ebp + eax*4]
cmp dword [edi], esi
je 0x59d1c9
mov ebp, dword [0x820008]
lea esi, [0x820008]
cmp dword [esi + 4], ecx
jne 0x59d212
xor eax, eax
jmp 0x59d1f9
inc eax
cmp eax, ecx
jge 0x59cefc
jae 0x59d7f3
mov esi, dword [edx + eax*4]
lea edi, [ebp + eax*4]
cmp dword [edi], esi
je 0x59d1f8
mov ebp, dword [0x81fee8]
lea esi, [0x81fee8]
cmp dword [esi + 4], ecx
jne 0x59d23d
xor eax, eax
jmp 0x59d228
inc eax
cmp eax, ecx
jge 0x59d259
jae 0x59d7ee
mov esi, dword [edx + eax*4]
lea edi, [ebp + eax*4]
cmp dword [edi], esi
je 0x59d227
mov ebp, dword [0x81fef8]
lea esi, [0x81fef8]
cmp dword [esi + 4], ecx
jne 0x59d43b
xor eax, eax
jmp 0x59d422
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x78]
mov ebx, dword [esp + 0x80]
mov ebp, dword [0x81ff48]
lea esi, [0x81ff48]
cmp dword [esi + 4], ecx
jne 0x59d293
xor eax, eax
jmp 0x59d27e
inc eax
cmp eax, ecx
jge 0x59d2ab
jae 0x59d41c
mov esi, dword [edx + eax*4]
lea edi, [ebp + eax*4]
cmp dword [edi], esi
je 0x59d27d
mov ebp, dword [0x81ff58]
lea esi, [0x81ff58]
cmp dword [esi + 4], ecx
jne 0x59d2d0
xor eax, eax
jmp 0x59d3dc
mov dword [esp + 0xa8], 7
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
add esp, 0x44
ret
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
call fcn.005645e0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x20], ecx
mov edx, dword [esp + 0x48]
mov ebx, dword [esp + 0x4c]
mov ebp, dword [esp + 0x50]
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
call fcn.005645e0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov edx, dword [esp + 0x28]
mov dword [esp], edx
mov edx, dword [esp + 0x20]
mov dword [esp + 4], edx
call fcn.00408df0
mov eax, dword [esp + 8]
lea ecx, [0x60c800]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 4], eax
call fcn.00408df0
mov eax, dword [esp + 8]
lea ecx, [0x60c800]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], eax
lea eax, [0x654835]
mov dword [esp], eax
mov dword [esp + 4], 0x38
lea eax, [esp + 0x34]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004bad30
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xa8], 0xffffffff
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], ecx
add esp, 0x44
ret
inc eax
cmp eax, ecx
jge 0x59d3f2
jae 0x59d417
mov esi, dword [edx + eax*4]
lea edi, [ebp + eax*4]
cmp dword [edi], esi
je 0x59d3db
jmp 0x59d2d0
mov dword [esp + 0xa8], 8
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
add esp, 0x44
ret
call fcn.0045e9c0
call fcn.0045e9c0
inc eax
cmp eax, ecx
jge 0x59d259
jae 0x59d7e9
mov esi, dword [edx + eax*4]
lea edi, [ebp + eax*4]
cmp dword [edi], esi
je 0x59d421
mov ebp, dword [0x81ff98]
lea esi, [0x81ff98]
cmp dword [esi + 4], ecx
jne 0x59d466
xor eax, eax
jmp 0x59d451
inc eax
cmp eax, ecx
jge 0x59d482
jae 0x59d7e4
mov esi, dword [edx + eax*4]
lea edi, [ebp + eax*4]
cmp dword [edi], esi
je 0x59d450
mov ebp, dword [0x81ffa8]
lea esi, [0x81ffa8]
cmp dword [esi + 4], ecx
jne 0x59d70e
xor eax, eax
jmp 0x59d6f5
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x78]
mov ebx, dword [esp + 0x80]
mov ebp, dword [0x81ff48]
lea esi, [0x81ff48]
cmp dword [esi + 4], ecx
jne 0x59d4bc
xor eax, eax
jmp 0x59d4a7
inc eax
cmp eax, ecx
jge 0x59d4d1
jae 0x59d6ef
mov esi, dword [edx + eax*4]
lea edi, [ebp + eax*4]
cmp dword [edi], esi
je 0x59d4a6
mov ebp, dword [0x81ff58]
lea esi, [0x81ff58]
cmp dword [esi + 4], ecx
jne 0x59d50c
xor eax, eax
jmp 0x59d4f7
mov dword [esp + 0xa8], 9
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
add esp, 0x44
ret
inc eax
cmp eax, ecx
jge 0x59d521
jae 0x59d6ea
mov esi, dword [edx + eax*4]
lea edi, [ebp + eax*4]
cmp dword [edi], esi
je 0x59d4f6
mov ebp, dword [0x81ff68]
lea esi, [0x81ff68]
cmp dword [esi + 4], ecx
jne 0x59d55c
xor eax, eax
jmp 0x59d547
mov dword [esp + 0xa8], 0xa
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
add esp, 0x44
ret
inc eax
cmp eax, ecx
jge 0x59d574
jae 0x59d6e5
mov esi, dword [edx + eax*4]
lea edi, [ebp + eax*4]
cmp dword [edi], esi
je 0x59d546
mov ebp, dword [0x81ff78]
lea esi, [0x81ff78]
cmp dword [esi + 4], ecx
jne 0x59d599
xor eax, eax
jmp 0x59d6a5
mov dword [esp + 0xa8], 0xb
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
add esp, 0x44
ret
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
call fcn.005645e0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x20], ecx
mov edx, dword [esp + 0x48]
mov ebx, dword [esp + 0x4c]
mov ebp, dword [esp + 0x50]
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
call fcn.005645e0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov edx, dword [esp + 0x28]
mov dword [esp], edx
mov edx, dword [esp + 0x20]
mov dword [esp + 4], edx
call fcn.00408df0
mov eax, dword [esp + 8]
lea ecx, [0x60c800]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 4], eax
call fcn.00408df0
mov eax, dword [esp + 8]
lea ecx, [0x60c800]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], eax
lea eax, [0x654835]
mov dword [esp], eax
mov dword [esp + 4], 0x38
lea eax, [esp + 0x34]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004bad30
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xa8], 0xffffffff
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], ecx
add esp, 0x44
ret
inc eax
cmp eax, ecx
jge 0x59d6bb
jae 0x59d6e0
mov esi, dword [edx + eax*4]
lea edi, [ebp + eax*4]
cmp dword [edi], esi
je 0x59d6a4
jmp 0x59d599
mov dword [esp + 0xa8], 0xc
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
add esp, 0x44
ret
call fcn.0045e9c0
call fcn.0045e9c0
call fcn.0045e9c0
call fcn.0045e9c0
inc eax
cmp eax, ecx
jge 0x59d482
jae 0x59d7df
mov esi, dword [edx + eax*4]
lea edi, [ebp + eax*4]
cmp dword [edi], esi
je 0x59d6f4
mov ebp, dword [0x81ffb8]
lea esi, [0x81ffb8]
cmp dword [esi + 4], ecx
jne 0x59d726
xor eax, eax
jmp 0x59d7c0
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
call fcn.005645e0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00408df0
mov eax, dword [esp + 8]
lea ecx, [0x60c800]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], eax
lea eax, [0x64e067]
mov dword [esp], eax
mov dword [esp + 4], 0x1f
lea eax, [esp + 0x2c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004bad30
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xa8], 0xffffffff
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], ecx
add esp, 0x44
ret
inc eax
cmp eax, ecx
jge 0x59d482
jae 0x59d7da
mov esi, dword [edx + eax*4]
lea edi, [ebp + eax*4]
cmp dword [edi], esi
je 0x59d7bf
jmp 0x59d726
call fcn.0045e9c0
call fcn.0045e9c0
call fcn.0045e9c0
call fcn.0045e9c0
call fcn.0045e9c0
call fcn.0045e9c0
call fcn.0045e9c0
call fcn.0045e9c0
call fcn.0045e9c0
call fcn.0045e9c0
call fcn.0045e9c0
call fcn.0045e9c0
call fcn.0045e9c0
call fcn.0045e9c0
nop
call fcn.0045d530
jmp fcn.0059cd50