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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x24]
cmp eax, dword [ecx + 8]
jbe 0x5ecb89
sub esp, 0xa4
mov eax, dword [esp + 0xa8]
mov ecx, dword [eax + 0x3c]
mov edx, dword [eax]
mov dword [esp + 0x5c], edx
mov ebx, dword [eax + 0x40]
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 + 0xa8]
mov ecx, dword [eax + 0x3c]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x44], edx
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x40], ebx
mov ebp, dword [esp + 0x10]
mov dword [esp + 0x58], ebp
mov esi, dword [eax + 0x40]
mov ecx, dword [ecx + 0x14]
mov dword [esp], esi
call ecx
lea eax, [0x8d8fa0]
mov dword [esp], eax
call fcn.0040ae10
mov eax, dword [esp + 4]
mov ecx, dword [0xa4401c]
mov dword [eax], ecx
mov ecx, dword [esp + 0x40]
mov byte [eax + 3], cl
mov edx, dword [esp + 0xa8]
mov ebx, dword [edx + 0x3c]
mov ebp, dword [edx + 0x40]
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 + 0xa8]
mov ecx, dword [eax + 0x3c]
mov edx, dword [eax + 0x40]
mov ecx, dword [ecx + 0x20]
mov dword [esp], edx
mov edx, dword [esp + 0x58]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x40]
mov dword [esp + 8], ebx
mov ebp, dword [esp + 0x44]
mov dword [esp + 0xc], ebp
call ecx
mov eax, dword [esp + 0xa8]
mov ecx, dword [eax + 4]
mov dword [esp], ecx
call fcn.005f1490
mov eax, dword [esp + 0xa8]
mov ecx, dword [eax + 0x3c]
mov edx, dword [eax + 0x40]
mov ecx, dword [ecx + 0x20]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 0xa8]
mov ecx, dword [eax + 4]
movzx edx, word [ecx + 0x60]
test dx, dx
jne 0x5ecb32
movzx ecx, word [ecx + 0x80]
test cx, cx
je 0x5ecae5
mov edx, dword [eax + 8]
mov ebx, dword [edx + 0x50]
mov edx, dword [edx + 0x54]
xor ebp, ebp
jmp 0x5ec2b3
inc ebp
cmp ebp, edx
jge 0x5eca98
movzx esi, word [ebx + ebp*2]
cmp si, cx
jne 0x5ec2b2
mov word [esp + 0x32], cx
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 0x10]
mov ecx, dword [ecx + 0x10]
mov dword [esp], edx
call ecx
movzx eax, word [esp + 0x32]
cmp word [esp + 4], ax
je 0x5eca4b
mov word [esp], ax
call fcn.00602060
movzx eax, byte [esp + 0xc]
movzx ecx, word [esp + 0x32]
cmp cx, 0x1d
je 0x5ec308
test al, al
je 0x5ec9fe
mov eax, dword [esp + 0x5c]
mov edx, dword [eax + 0x24]
mov ebx, dword [edx]
mov edx, dword [edx + 4]
test ebx, ebx
je 0x5ec9ed
mov dword [esp], ebx
mov dword [esp + 4], edx
mov word [esp + 8], cx
call fcn.00601e20
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x18]
test eax, eax
jne 0x5ec9b7
mov ebx, dword [esp + 0xa8]
mov dword [ebx + 0xc], edx
mov ebp, dword [0xdd7ec0]
test ebp, ebp
jne 0x5ec9a8
mov dword [ebx + 0x10], ecx
mov eax, dword [edx + 0x14]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 8]
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x68], ecx
mov edx, dword [esp + 0xc]
mov dword [esp + 0x48], edx
lea ebx, [0x8d50a0]
mov dword [esp], ebx
call fcn.0040ae10
mov eax, dword [esp + 4]
movzx ecx, word [esp + 0x32]
mov word [eax], cx
mov ecx, dword [esp + 0x4c]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x48]
mov dword [eax + 0xc], ecx
mov ecx, dword [0xdd7ec0]
test ecx, ecx
jne 0x5ec993
mov ecx, dword [esp + 0x68]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0xa8]
mov edx, dword [ecx + 8]
mov dword [edx + 0xcc], 1
mov dword [edx + 0xd0], 1
mov ebx, dword [0xdd7ec0]
test ebx, ebx
jne 0x5ec983
mov dword [edx + 0xc8], eax
mov edx, dword [ecx + 8]
mov ebx, dword [ecx + 4]
mov ebp, dword [ebx + 0x7c]
mov esi, dword [ebx + 0x78]
mov eax, dword [ebx + 0x74]
mov dword [edx + 0xc0], esi
mov dword [edx + 0xc4], ebp
mov ebx, dword [0xdd7ec0]
test ebx, ebx
jne 0x5ec973
mov dword [edx + 0xbc], eax
mov edi, dword [ecx + 8]
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov edx, dword [0xdd7ec0]
test edx, edx
jne 0x5ec967
mov dword [edi], 0
mov eax, dword [ecx + 8]
mov eax, dword [eax + 0xe8]
test eax, eax
jg 0x5ec640
mov eax, dword [ecx + 8]
mov dword [esp], eax
call fcn.005ef2d0
mov eax, dword [esp + 0xa8]
mov ecx, dword [eax + 0x3c]
mov edx, dword [eax + 0x40]
mov ecx, dword [ecx + 0x20]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 0xa8]
mov ecx, dword [eax + 8]
mov dword [esp], ecx
call fcn.005ef2d0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x5c]
mov dword [esp], ebx
mov byte [esp + 4], 0x16
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
call fcn.005e37a0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
test eax, eax
jne 0x5ec62b
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
call fcn.005e3880
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0xc]
test ebx, ebx
jne 0x5ec616
lea edx, [0x90ef20]
cmp edx, ecx
jne 0x5ec60a
mov ebx, eax
jne 0x5ec560
mov ecx, dword [0xdd7ec0]
test ecx, ecx
jne 0x5ec54f
mov ecx, dword [esp + 0xa8]
mov dword [ecx + 4], eax
mov dword [esp], ecx
call fcn.005ebd60
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
test ecx, ecx
je 0x5ec532
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], eax
add esp, 0xa4
ret
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
add esp, 0xa4
ret
mov ecx, dword [esp + 0xa8]
lea edi, [ecx + 4]
call fcn.00456fe0
jmp 0x5ec509
mov dword [esp + 0x64], ebx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov byte [esp + 4], 0xa
call fcn.005e2e30
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov eax, dword [esp + 0x38]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x70], eax
lea eax, [0x90ef20]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x78], eax
lea eax, [0x9a9cc4]
mov dword [esp], eax
mov dword [esp + 4], 0x49
lea eax, [esp + 0x6c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004c6610
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], eax
add esp, 0xa4
ret
mov ebx, eax
mov eax, 0
jmp 0x5ec4f3
mov dword [esp + 0xac], ebx
mov dword [esp + 0xb0], edx
add esp, 0xa4
ret
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], ecx
add esp, 0xa4
ret
mov eax, dword [ecx + 0x14]
movzx eax, word [eax + 0xe]
mov word [esp], ax
call fcn.005dda10
mov eax, dword [esp + 4]
test eax, eax
je 0x5ec939
mov ecx, dword [esp + 0xa8]
mov ebx, dword [ecx + 0x38]
mov ebx, dword [ebx + 0xc]
cmp dword [eax + 0xc], ebx
jne 0x5ec8c0
mov ebx, dword [esp + 0x5c]
mov ebp, dword [ebx + 0x24]
lea edi, [esp + 0x7c]
xor eax, eax
call fcn.004572ab
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x5ec8b5
mov eax, dword [ecx]
mov edx, ecx
call eax
lea edi, [esp + 0x7c]
mov esi, esp
call fcn.0045778e
mov eax, dword [esp + 0xa8]
mov ecx, dword [eax + 0x14]
test byte [ecx], al
lea esi, [ecx + 0x34]
lea edi, [esp + 0x90]
call fcn.0045778e
mov edi, esp
lea esi, [esp + 0x7c]
call fcn.0045778e
lea edi, [esp + 0x14]
lea esi, [esp + 0x90]
call fcn.0045778e
call fcn.004b1020
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], 0xf4240
mov dword [esp + 0xc], 0
call fcn.00451a90
mov eax, dword [esp + 0xa8]
mov ecx, dword [eax + 8]
mov ebx, dword [eax + 0x14]
mov ebp, dword [esp + 0x10]
mov esi, dword [ecx + 0xe8]
mov ecx, dword [ecx + 0xe4]
add ebp, dword [ebx + 0x68]
test esi, esi
jbe 0x5ecb7f
mov dword [ecx + 0xc], ebp
mov ecx, dword [eax + 0x38]
mov ecx, dword [ecx + 0xc]
mov dword [esp], ecx
call fcn.00535b20
mov eax, dword [esp + 8]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x34], ecx
lea edx, [0x8d8fa0]
mov dword [esp], edx
call fcn.0040ae10
mov eax, dword [0xa44020]
mov ecx, dword [esp + 4]
mov dword [ecx], eax
mov eax, dword [esp + 0x40]
mov byte [ecx + 3], al
mov edx, dword [esp + 0x34]
mov ebx, dword [edx + 0x20]
mov ebp, dword [esp + 0x50]
mov dword [esp], ebp
mov dword [esp + 4], ecx
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 + 0x50]
mov dword [esp], edx
mov ebx, dword [esp + 0x58]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x40]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0x44]
mov dword [esp + 0xc], ebx
call ecx
mov eax, dword [esp + 0xa8]
mov ecx, dword [eax + 4]
mov dword [esp], ecx
call fcn.005f1490
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 0x20]
mov edx, dword [esp + 0x50]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 0xa8]
mov ecx, dword [eax + 8]
mov dword [esp], ecx
call fcn.005ef530
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 0x20]
mov edx, dword [esp + 0x50]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 0xa8]
mov ecx, dword [eax + 0x38]
mov edx, dword [eax + 0x2c]
mov ebx, dword [eax + 0x28]
mov ebp, dword [eax + 0x24]
mov dword [esp], ecx
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x14], ecx
call fcn.00601b70
mov eax, dword [esp + 0x20]
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x68], ecx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x48], edx
lea ebx, [0x8d4f60]
mov dword [esp], ebx
call fcn.0040ae10
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x48]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x4c]
mov dword [edi + 8], eax
mov eax, dword [0xdd7ec0]
test eax, eax
jne 0x5ec8aa
mov eax, dword [esp + 0x68]
mov dword [edi], eax
mov eax, dword [esp + 0xa8]
mov ecx, dword [eax + 8]
mov dword [esp], ecx
mov dword [esp + 4], edi
mov dword [esp + 8], 1
mov dword [esp + 0xc], 1
call fcn.005ef5c0
mov ecx, dword [esp + 0xa8]
jmp 0x5ec454
mov eax, dword [esp + 0x68]
call fcn.00456fe0
jmp 0x5ec878
lea ecx, [0x9b2c60]
jmp 0x5ec68f
mov edx, dword [ecx + 8]
mov dword [edx + 0xe8], 0
mov dword [edx + 0xec], 0
mov ebx, dword [0xdd7ec0]
test ebx, ebx
jne 0x5ec92a
mov dword [edx + 0xe4], 0
mov edx, dword [ecx + 8]
mov dword [edx + 0xf4], 0
mov dword [edx + 0xf8], 0
mov ebx, dword [0xdd7ec0]
test ebx, ebx
jne 0x5ec918
mov dword [edx + 0xf0], 0
jmp 0x5ec89e
lea edi, [edx + 0xf0]
xor eax, eax
call fcn.00456fe0
jmp 0x5ec89e
lea edi, [edx + 0xe4]
xor eax, eax
call fcn.00456fe0
jmp 0x5ec8eb
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov byte [esp + 4], 0x50
call fcn.005e2e30
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], ecx
add esp, 0xa4
ret
xor eax, eax
call fcn.00456fe0
jmp 0x5ec443
lea edi, [edx + 0xbc]
call fcn.00456fe0
jmp 0x5ec41e
lea edi, [edx + 0xc8]
call fcn.00456fe0
jmp 0x5ec3ef
lea edi, [eax + 4]
mov ecx, eax
mov eax, dword [esp + 0x68]
call fcn.00456fe0
mov eax, ecx
jmp 0x5ec3bd
lea edi, [ebx + 0x10]
mov eax, ecx
call fcn.00456fe0
jmp 0x5ec360
mov dword [esp + 0x3c], eax
mov dword [esp + 0x54], ebx
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov byte [esp + 4], 0x50
call fcn.005e2e30
mov eax, dword [esp + 0x3c]
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0xb0], eax
add esp, 0xa4
ret
mov edx, dword [0xdc1bcc]
mov ebx, dword [0xdc1bc8]
jmp 0x5ec31c
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov byte [esp + 4], 0x50
call fcn.005e2e30
lea eax, [0x909320]
mov dword [esp], eax
call fcn.0040ae10
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x30
lea ecx, [0x9a2e82]
mov dword [eax], ecx
lea ecx, [0xa4d860]
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], eax
add esp, 0xa4
ret
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov byte [esp + 4], 0x2f
call fcn.005e2e30
lea eax, [0x909320]
mov dword [esp], eax
call fcn.0040ae10
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x39
lea ecx, [0x9a6ddb]
mov dword [eax], ecx
lea ecx, [0xa4d860]
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], eax
add esp, 0xa4
ret
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov byte [esp + 4], 0x2f
call fcn.005e2e30
lea eax, [0x909320]
mov dword [esp], eax
call fcn.0040ae10
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x26
lea ecx, [0x99d316]
mov dword [eax], ecx
lea ecx, [0xa4d860]
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], eax
add esp, 0xa4
ret
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov byte [esp + 4], 0x6d
call fcn.005e2e30
lea eax, [0x909320]
mov dword [esp], eax
call fcn.0040ae10
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x36
lea ecx, [0x9a5bd5]
mov dword [eax], ecx
lea ecx, [0xa4d860]
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], eax
add esp, 0xa4
ret
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov byte [esp + 4], 0x32
call fcn.005e2e30
lea eax, [0x909320]
mov dword [esp], eax
call fcn.0040ae10
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x2b
lea ecx, [0x9a017f]
mov dword [eax], ecx
lea ecx, [0xa4d860]
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], eax
add esp, 0xa4
ret
xor eax, eax
mov ecx, esi
call fcn.00457060
nop
call fcn.004557a0
jmp fcn.005ec160