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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x58]
cmp eax, dword [ecx + 8]
jbe 0x5d9de5
sub esp, 0xd8
mov eax, dword [esp + 0xdc]
mov ecx, dword [eax + 0x44]
mov edx, dword [eax]
mov dword [esp + 0x5c], edx
mov ebx, dword [eax + 0x48]
mov ecx, dword [ecx + 0x1c]
mov dword [esp], ebx
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call ecx
mov eax, dword [esp + 0xdc]
mov ecx, dword [eax + 0x44]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x58], edx
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x38], ebx
mov ebp, dword [esp + 0x18]
mov dword [esp + 0x3c], ebp
mov esi, dword [eax + 0x48]
mov ecx, dword [ecx + 0x14]
mov dword [esp], esi
call ecx
lea eax, [0x692280]
mov dword [esp], eax
call fcn.0040b800
mov eax, dword [esp + 4]
mov word [eax], 0xfe
mov byte [eax + 2], 0
mov ecx, dword [esp + 0x38]
mov byte [eax + 3], cl
mov edx, dword [esp + 0xdc]
mov ebx, dword [edx + 0x44]
mov ebp, dword [edx + 0x48]
mov ebx, dword [ebx + 0x20]
mov dword [esp], ebp
mov dword [esp + 4], eax
mov dword [esp + 8], 4
mov dword [esp + 0xc], 4
call ebx
mov eax, dword [esp + 0xdc]
mov ecx, dword [eax + 0x44]
mov edx, dword [eax + 0x48]
mov ecx, dword [ecx + 0x20]
mov dword [esp], edx
mov edx, dword [esp + 0x58]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x38]
mov dword [esp + 8], ebx
mov ebp, dword [esp + 0x3c]
mov dword [esp + 0xc], ebp
call ecx
mov eax, dword [esp + 0xdc]
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x74], ecx
mov edx, dword [eax + 0x44]
mov ebx, dword [eax + 0x48]
mov dword [esp + 0x70], ebx
lea ebp, [0x69e120]
mov dword [esp], ebp
mov dword [esp + 4], edx
call fcn.004092e0
lea eax, [0x751bd8]
mov dword [esp], eax
mov ecx, dword [esp + 0x74]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x70]
mov dword [esp + 0xc], ecx
call fcn.005f07d0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
test eax, eax
jne 0x5d94ec
mov ecx, dword [esp + 0xdc]
mov ebx, dword [ecx + 0xc]
movzx ebp, word [ebx + 0x80]
test bp, bp
jne 0x5d943e
mov ebp, dword [ebx + 0x74]
test ebp, ebp
jne 0x5d943e
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov byte [esp + 4], 0x2f
call fcn.005cf040
lea eax, [0x6a08e0]
mov dword [esp], eax
call fcn.0040b800
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x39
lea ecx, [0x6e23b0]
mov dword [eax], ecx
lea ecx, [0x751118]
mov dword [esp + 0xe0], ecx
mov dword [esp + 0xe4], eax
add esp, 0xd8
ret
mov eax, dword [ebx + 0x74]
mov ebp, dword [ebx + 0x78]
mov ebx, dword [ebx + 0x7c]
test eax, eax
je 0x5d9477
mov esi, dword [ecx + 0x10]
mov dword [esi + 0xbc], ebp
mov dword [esi + 0xc0], ebx
mov ebx, dword [0x90e260]
test ebx, ebx
jne 0x5d946c
mov dword [esi + 0xb8], eax
jmp 0x5d9477
lea edi, [esi + 0xb8]
call fcn.004630d0
mov ebx, dword [ecx + 0xc]
movzx ebp, word [ebx + 0x54]
test bp, bp
jne 0x5d949f
movzx ebx, word [ebx + 0x80]
test bx, bx
je 0x5d9501
mov eax, dword [ecx + 0x10]
mov edx, dword [eax + 0x4c]
mov eax, dword [eax + 0x50]
xor ebp, ebp
jmp 0x5d9b5a
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov byte [esp + 4], 0x32
call fcn.005cf040
lea eax, [0x6a08e0]
mov dword [esp], eax
call fcn.0040b800
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x2b
lea ecx, [0x6dec64]
mov dword [eax], ecx
lea ecx, [0x751118]
mov dword [esp + 0xe0], ecx
mov dword [esp + 0xe4], eax
add esp, 0xd8
ret
mov dword [esp + 0xe0], ecx
mov dword [esp + 0xe4], edx
add esp, 0xd8
ret
mov edi, dword [ecx + 0x10]
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov ebx, dword [0x90e260]
test ebx, ebx
jne 0x5d9524
mov dword [edi], 0
jmp 0x5d952b
xor eax, eax
call fcn.004630d0
mov ebx, dword [ecx + 0x10]
mov ebp, dword [ebx + 0xe4]
test ebp, ebp
je 0x5d9554
mov ebp, dword [ecx + 0x1c]
movzx ebp, word [ebp + 0xe]
mov esi, dword [0x8e0ba0]
mov eax, ebx
mov ebx, dword [0x8e0ba4]
xor edx, edx
jmp 0x5d9762
mov eax, dword [ecx]
mov dword [esp + 0x6c], eax
mov edx, dword [ecx + 0x10]
mov dword [esp + 0x68], edx
mov ebx, dword [ecx + 0x44]
mov ebp, dword [ecx + 0x48]
mov dword [esp + 0x70], ebp
lea esi, [0x69e120]
mov dword [esp], esi
mov dword [esp + 4], ebx
call fcn.004092e0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x6c]
mov dword [esp], ecx
lea ecx, [0x751ae8]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x68]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x10], eax
call fcn.005cfc20
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
test eax, eax
jne 0x5d974a
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 0
call fcn.005cfef0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0xc]
mov esi, dword [esp + 0x10]
test eax, eax
jne 0x5d9735
lea ecx, [0x6a3000]
cmp ebp, ecx
je 0x5d960a
mov ebx, 0
jne 0x5d967f
mov ecx, dword [0x90e260]
test ecx, ecx
jne 0x5d9622
mov eax, dword [esp + 0xdc]
mov dword [eax + 0xc], ebx
jmp 0x5d9635
mov ecx, dword [esp + 0xdc]
lea edi, [ecx + 0xc]
mov eax, ebx
call fcn.004630d0
mov eax, ecx
mov dword [esp], eax
call fcn.005d8f00
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
test eax, eax
je 0x5d9662
mov dword [esp + 0xe0], ecx
mov dword [esp + 0xe4], edx
add esp, 0xd8
ret
mov dword [esp + 0xe0], 0
mov dword [esp + 0xe4], 0
add esp, 0xd8
ret
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x70], ebp
mov dword [esp + 0x50], esi
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov byte [esp + 4], 0xa
call fcn.005cf040
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov eax, dword [esp + 0x70]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x7c], eax
lea eax, [0x6a3000]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x84], eax
lea eax, [0x6e3a1a]
mov dword [esp], eax
mov dword [esp + 4], 0x49
lea eax, [esp + 0x78]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004beaf0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xe0], eax
mov dword [esp + 0xe4], ecx
add esp, 0xd8
ret
mov dword [esp + 0xe0], ecx
mov dword [esp + 0xe4], edx
add esp, 0xd8
ret
mov dword [esp + 0xe0], ecx
mov dword [esp + 0xe4], edx
add esp, 0xd8
ret
inc edx
mov ecx, edi
cmp edx, ebx
jge 0x5d9772
mov edi, ecx
mov ecx, dword [esi + edx*4]
cmp word [ecx], bp
jne 0x5d975f
jmp 0x5d9776
mov edi, ecx
xor ecx, ecx
test ecx, ecx
je 0x5d9b22
mov ebx, dword [edi + 0x40]
mov ecx, dword [ecx + 0xc]
cmp dword [ebx + 0xc], ecx
jne 0x5d9a9e
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax + 0x28]
mov ecx, dword [ecx + 8]
test ecx, ecx
jne 0x5d97a1
lea ecx, [0x6f1ac8]
mov eax, dword [ecx]
mov edx, ecx
call eax
lea edi, [esp + 0xb0]
lea esi, [esp]
call fcn.0046384e
lea edi, [esp + 0x88]
lea esi, [esp + 0xb0]
call fcn.0046384e
lea edi, [esp + 0xc4]
lea esi, [esp + 0x88]
call fcn.0046384e
mov eax, dword [esp + 0xdc]
mov ecx, dword [eax + 0x1c]
test byte [ecx], al
lea esi, [ecx + 0x34]
lea edi, [esp + 0x9c]
call fcn.0046384e
lea edi, [esp]
lea esi, [esp + 0xc4]
call fcn.0046384e
lea edi, [esp + 0x14]
lea esi, [esp + 0x9c]
call fcn.0046384e
call fcn.004aca70
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov dword [esp + 4], eax
mov dword [esp], ecx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0xf4240
call fcn.0045d880
mov eax, dword [esp + 0xdc]
mov ecx, dword [eax + 0x10]
mov ebx, dword [eax + 0x1c]
mov ebp, dword [esp + 0x10]
mov esi, dword [ecx + 0xe4]
mov ecx, dword [ecx + 0xe0]
add ebp, dword [ebx + 0x80]
test esi, esi
jbe 0x5d9b50
mov dword [ecx + 0xc], ebp
mov ecx, dword [eax + 0x40]
mov ecx, dword [ecx + 0xc]
mov dword [esp], ecx
call fcn.004ef860
mov eax, dword [esp + 4]
mov dword [esp + 0x70], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x48], ecx
mov edx, dword [esp + 4]
mov dword [esp + 0x34], edx
lea ebx, [0x692280]
mov dword [esp], ebx
call fcn.0040b800
mov eax, dword [esp + 4]
mov word [eax], 0xfe
mov byte [eax + 2], 0
mov ecx, dword [esp + 0x38]
mov byte [eax + 3], cl
mov edx, dword [esp + 0x34]
mov ebx, dword [edx + 0x20]
mov ebp, dword [esp + 0x48]
mov dword [esp], ebp
mov dword [esp + 4], eax
mov dword [esp + 8], 4
mov dword [esp + 0xc], 4
call ebx
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 0x20]
mov edx, dword [esp + 0x48]
mov dword [esp], edx
mov ebx, dword [esp + 0x58]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x38]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0xc], ebx
call ecx
mov eax, dword [esp + 0xdc]
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x74], ecx
mov edx, dword [eax + 0x44]
mov ebx, dword [eax + 0x48]
mov dword [esp + 0x64], ebx
lea ebp, [0x69e120]
mov dword [esp], ebp
mov dword [esp + 4], edx
call fcn.004092e0
lea eax, [0x751bd8]
mov dword [esp], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0xc], eax
call fcn.005f07d0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
test eax, eax
jne 0x5d9a89
mov eax, dword [esp + 0xdc]
mov ecx, dword [eax + 0x10]
mov dword [esp], ecx
call fcn.005e2060
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
test eax, eax
jne 0x5d9a74
mov eax, dword [esp + 0x34]
mov eax, dword [eax + 0x20]
mov ecx, dword [esp + 0x48]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 0xdc]
mov ecx, dword [eax + 0x40]
mov edx, dword [eax + 0x2c]
mov ebx, dword [eax + 0x30]
mov ebp, dword [eax + 0x34]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebp
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x14], ecx
call fcn.005f2770
mov eax, dword [esp + 0x18]
mov dword [esp + 0x60], eax
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x44], ecx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x40], edx
lea ebx, [0x691700]
mov dword [esp], ebx
call fcn.0040b800
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x44]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x40]
mov dword [edi + 8], eax
mov eax, dword [0x90e260]
test eax, eax
jne 0x5d9a14
mov eax, dword [esp + 0x60]
mov dword [edi], eax
jmp 0x5d9a1d
mov eax, dword [esp + 0x60]
call fcn.004630d0
mov eax, dword [esp + 0xdc]
mov ecx, dword [eax + 0x10]
mov dword [esp], ecx
mov dword [esp + 4], edi
mov dword [esp + 8], 1
mov dword [esp + 0xc], 1
call fcn.005e2140
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
test eax, eax
jne 0x5d9a5f
mov edi, dword [esp + 0xdc]
jmp 0x5d9b1b
mov dword [esp + 0xe0], ecx
mov dword [esp + 0xe4], edx
add esp, 0xd8
ret
mov dword [esp + 0xe0], ecx
mov dword [esp + 0xe4], edx
add esp, 0xd8
ret
mov dword [esp + 0xe0], ecx
mov dword [esp + 0xe4], edx
add esp, 0xd8
ret
mov dword [eax + 0xe4], 0
mov dword [eax + 0xe8], 0
mov ecx, dword [0x90e260]
test ecx, ecx
jne 0x5d9ac8
mov dword [eax + 0xe0], 0
jmp 0x5d9adb
lea ecx, [eax + 0xe0]
xor eax, eax
mov edx, edi
mov edi, ecx
call fcn.004630d0
mov edi, edx
mov ecx, dword [edi + 0x10]
mov dword [ecx + 0xf0], 0
mov dword [ecx + 0xf4], 0
mov edx, dword [0x90e260]
test edx, edx
jne 0x5d9b08
mov dword [ecx + 0xec], 0
jmp 0x5d9b1b
add ecx, 0xec
xor eax, eax
mov edx, edi
mov edi, ecx
call fcn.004630d0
mov edi, edx
mov ecx, edi
jmp 0x5d9554
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov byte [esp + 4], 0x50
call fcn.005cf040
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0xe0], eax
mov dword [esp + 0xe4], ecx
add esp, 0xd8
ret
xor eax, eax
mov ecx, eax
call fcn.00463150
inc ebp
cmp ebp, eax
jge 0x5d9d98
lea esi, [edx + ebp*2]
cmp word [esi], bx
jne 0x5d9b59
mov word [esp + 0x32], bx
mov eax, dword [ecx + 0x14]
mov edx, dword [ecx + 0x18]
mov eax, dword [eax + 0x10]
mov dword [esp], edx
call eax
movzx eax, word [esp + 0x32]
cmp word [esp + 4], ax
je 0x5d9d4b
mov word [esp], ax
call fcn.005f2ef0
movzx eax, byte [esp + 0xc]
movzx ecx, word [esp + 0x32]
cmp cx, 0x1d
je 0x5d9bf7
test al, al
jne 0x5d9bf7
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov byte [esp + 4], 0x50
call fcn.005cf040
lea eax, [0x6a08e0]
mov dword [esp], eax
call fcn.0040b800
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x30
lea ecx, [0x6e0592]
mov dword [eax], ecx
lea ecx, [0x751118]
mov dword [esp + 0xe0], ecx
mov dword [esp + 0xe4], eax
add esp, 0xd8
ret
mov eax, dword [esp + 0x5c]
mov edx, dword [eax + 0x28]
mov ebx, dword [edx]
mov edx, dword [edx + 4]
test ebx, ebx
jne 0x5d9c13
mov ebx, dword [0x8e6698]
mov edx, dword [0x8e669c]
mov dword [esp], ebx
mov dword [esp + 4], edx
mov word [esp + 8], cx
call fcn.005f2b90
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0xc]
mov esi, dword [esp + 0xc]
test eax, eax
jne 0x5d9d15
mov ecx, dword [esp + 0xdc]
mov dword [ecx + 0x14], ebp
mov edx, dword [0x90e260]
test edx, edx
jne 0x5d9c5d
mov dword [ecx + 0x18], ebx
jmp 0x5d9c67
lea edi, [ecx + 0x18]
mov eax, ebx
call fcn.004630d0
mov eax, dword [esi + 0x14]
mov dword [esp], ebx
call eax
mov eax, dword [esp + 4]
mov dword [esp + 0x60], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x44], ecx
mov edx, dword [esp + 0xc]
mov dword [esp + 0x40], edx
lea ebx, [0x6917c0]
mov dword [esp], ebx
call fcn.0040b800
mov eax, dword [esp + 4]
movzx ecx, word [esp + 0x32]
mov word [eax], cx
mov ecx, dword [esp + 0x44]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x40]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x90e260]
test ecx, ecx
jne 0x5d9cc2
mov ecx, dword [esp + 0x60]
mov dword [eax + 4], ecx
jmp 0x5d9cd2
lea edi, [eax + 4]
mov ecx, eax
mov eax, dword [esp + 0x60]
call fcn.004630d0
mov eax, ecx
mov ecx, dword [esp + 0xdc]
mov ebx, dword [ecx + 0x10]
mov dword [ebx + 0xc8], 1
mov dword [ebx + 0xcc], 1
mov ebp, dword [0x90e260]
test ebp, ebp
jne 0x5d9d05
mov dword [ebx + 0xc4], eax
jmp 0x5d9501
lea edi, [ebx + 0xc4]
call fcn.004630d0
jmp 0x5d9501
mov dword [esp + 0x54], edx
mov dword [esp + 0x70], ecx
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov byte [esp + 4], 0x50
call fcn.005cf040
mov eax, dword [esp + 0x70]
mov dword [esp + 0xe0], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0xe4], eax
add esp, 0xd8
ret
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov byte [esp + 4], 0x2f
call fcn.005cf040
lea eax, [0x6a08e0]
mov dword [esp], eax
call fcn.0040b800
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x3b
lea ecx, [0x6e26e4]
mov dword [eax], ecx
lea ecx, [0x751118]
mov dword [esp + 0xe0], ecx
mov dword [esp + 0xe4], eax
add esp, 0xd8
ret
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov byte [esp + 4], 0x2f
call fcn.005cf040
lea eax, [0x6a08e0]
mov dword [esp], eax
call fcn.0040b800
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x26
lea ecx, [0x6dd2a0]
mov dword [eax], ecx
lea ecx, [0x751118]
mov dword [esp + 0xe0], ecx
mov dword [esp + 0xe4], eax
add esp, 0xd8
ret
call fcn.00461cc0
jmp fcn.005d9280