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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x284]
cmp eax, dword [ecx + 8]
jbe 0x5ed486
sub esp, 0x304
mov ecx, dword [esp + 0x308]
mov edx, dword [ecx + 0x138]
mov eax, dword [ecx + 0x13c]
test edx, edx
je 0x5ec973
nop
movzx ebx, byte [0x8c98d0]
test bl, bl
je 0x5ec939
mov dword [0x8c98d4], edx
mov ebx, dword [0x8ef4b0]
test ebx, ebx
jne 0x5ec92e
mov dword [0x8c98d8], eax
jmp 0x5ec939
lea edi, [0x8c98d8]
call fcn.00463ab0
mov dword [esp + 0x248], edx
mov dword [esp + 0x24c], eax
mov edx, dword [esp + 0x248]
test edx, edx
je 0x5ec96b
nop
movzx ebx, byte [edx + 0xf]
mov ebp, ebx
and ebx, 0x1f
xchg ebp, eax
test al, 0x20
xchg ebp, eax
jne 0x5ec979
or ebx, 0x80
jmp 0x5ec979
xor ebx, ebx
xor edx, edx
xor eax, eax
jmp 0x5ec979
xor ebx, ebx
xor edx, edx
xor eax, eax
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 0x1f
call fcn.004b95d0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
and eax, 0x1f
mov dword [esp + 0x64], eax
cmp eax, 9
ja 0x5ec9cc
cmp eax, 7
jne 0x5ec9b0
mov ecx, dword [ecx]
xor ebx, ebx
jmp 0x5ec9f2
cmp eax, 8
jne 0x5ec9bc
movzx ecx, byte [ecx]
xor ebx, ebx
jmp 0x5ec9f2
cmp eax, 9
jne 0x5ed44b
movzx ecx, word [ecx]
xor ebx, ebx
jmp 0x5ec9f2
cmp eax, 0xa
jne 0x5ec9d7
mov ecx, dword [ecx]
xor ebx, ebx
jmp 0x5ec9f2
cmp eax, 0xb
jne 0x5ec9e5
mov edx, dword [ecx]
mov ebx, dword [ecx + 4]
mov ecx, edx
jmp 0x5ec9f2
cmp eax, 0xc
jne 0x5ed44b
mov ecx, dword [ecx]
xor ebx, ebx
test ebx, ebx
sete dl
test ecx, ecx
sete bl
and edx, ebx
test dl, dl
jne 0x5ecf2e
mov dword [esp + 0x24], ecx
mov edx, dword [esp + 0x308]
movzx ebx, byte [edx + 0x294]
test bl, bl
je 0x5eca53
lea edi, [esp + 0x68]
xor eax, eax
call fcn.00463d18
mov ecx, dword [edx + 0x78]
mov esi, dword [edx + 0x7c]
lea ebx, [0x69e9e0]
cmp ecx, ebx
jne 0x5ed435
lea edi, [esp + 0x68]
call fcn.00464030
mov ecx, dword [esp + 0x84]
mov ebx, dword [esp + 0x24]
sub ebx, ecx
jmp 0x5eca8e
lea edi, [esp + 0x148]
xor eax, eax
call fcn.00463d14
mov ecx, dword [edx + 0x78]
mov esi, dword [edx + 0x7c]
lea ebx, [0x69e4a0]
cmp ecx, ebx
jne 0x5ed41f
lea edi, [esp + 0x148]
call fcn.00464008
mov ecx, dword [esp + 0x160]
mov ebx, dword [esp + 0x24]
sub ebx, ecx
mov dword [esp], edx
mov dword [esp + 4], ebx
call fcn.005e5c90
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x308]
mov edx, dword [ecx + 0x2ac]
add edx, 0xfffffffc
cmp eax, edx
jbe 0x5ecabc
mov edx, dword [0x8c9058]
xor ebx, ebx
jmp 0x5ecaf4
mov edx, dword [ecx + 0x28c]
mov ebx, dword [ecx + 0x288]
mov ebp, dword [ecx + 0x290]
cmp edx, eax
jb 0x5ed418
sub edx, eax
sub ebp, eax
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, eax
cmp edx, 3
jbe 0x5ed40c
mov ebx, dword [ebp + ebx]
xor edx, edx
test edx, edx
jne 0x5ecf1c
mov dword [esp + 0x50], eax
mov dword [esp + 0x30], ebx
lea eax, [0x697220]
mov dword [esp], eax
call fcn.0040bcc0
mov eax, dword [esp + 4]
mov dword [esp + 0x240], eax
mov ecx, dword [esp + 0x30]
cmp ecx, 1
je 0x5ecbb8
cmp ecx, 2
je 0x5ecb8b
cmp ecx, 3
jne 0x5ecb61
lea eax, [0x697220]
mov dword [esp], eax
call fcn.00409410
mov eax, dword [esp + 8]
lea ecx, [0x697220]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004c1310
mov eax, dword [esp + 8]
jmp 0x5ecbe3
lea eax, [0x697220]
mov dword [esp], eax
call fcn.00409410
mov eax, dword [esp + 8]
lea ecx, [0x697220]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004c1310
mov eax, dword [esp + 8]
jmp 0x5ecbe3
lea eax, [0x697220]
mov dword [esp], eax
call fcn.00409410
mov eax, dword [esp + 8]
lea ecx, [0x697220]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004c1310
mov eax, dword [esp + 8]
add eax, 0xfffffffc
jmp 0x5ecbe3
lea eax, [0x697220]
mov dword [esp], eax
call fcn.00409410
mov eax, dword [esp + 8]
lea ecx, [0x697220]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004c1310
mov eax, dword [esp + 8]
add eax, 0xfffffff8
mov ecx, dword [esp + 0x50]
lea edx, [eax + ecx]
cmp ecx, edx
setb bl
test eax, eax
xchg ebp, ebx
seta bl
xchg ebp, ebx
xchg ebp, eax
cmp al, bl
xchg ebp, eax
jne 0x5eceaa
mov ebx, dword [esp + 0x308]
mov ebp, dword [ebx + 0x2ac]
cmp ebp, ecx
jbe 0x5ecc17
cmp ebp, edx
jae 0x5ecc82
mov dword [esp + 0x250], 0
mov dword [esp + 0x254], 0
lea eax, [0x66c280]
mov dword [esp + 0x250], eax
lea eax, [0x710000]
mov dword [esp + 0x254], eax
mov eax, dword [ebx + 0x2c0]
mov dword [esp], eax
lea eax, [esp + 0x250]
mov dword [esp + 4], eax
mov dword [esp + 8], 1
mov dword [esp + 0xc], 1
call fcn.00523710
mov dword [esp + 0x30c], 0
add esp, 0x304
ret
mov dword [esp + 0x38], eax
mov dword [esp + 0x34], edx
lea eax, [0x697220]
mov dword [esp], eax
mov ecx, dword [esp + 0x240]
mov dword [esp + 4], ecx
call fcn.00409410
mov eax, dword [esp + 8]
lea ecx, [0x697220]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004c1310
mov eax, dword [esp + 8]
mov dword [esp + 0x44], eax
lea ecx, [0x66c440]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0044ab50
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x308]
mov edx, dword [ecx + 0x290]
mov ebx, dword [ecx + 0x288]
mov ebp, dword [esp + 0x34]
cmp edx, ebp
jb 0x5ed405
mov esi, dword [esp + 0x50]
cmp esi, ebp
ja 0x5ed3fc
sub edx, esi
neg edx
sar edx, 0x1f
and edx, esi
add edx, ebx
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x44]
cmp ebx, ebp
jl 0x5ecd1b
mov ebx, ebp
mov dword [esp + 0x23c], eax
cmp eax, edx
je 0x5ecd36
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
call fcn.00464440
lea eax, [0x6841e0]
mov dword [esp], eax
call fcn.0040bcc0
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x44]
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov eax, dword [0x8ef4b0]
test eax, eax
jne 0x5ecd67
mov eax, dword [esp + 0x23c]
mov dword [edi], eax
jmp 0x5ecd73
mov eax, dword [esp + 0x23c]
call fcn.00463ab0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xffffffff
lea eax, [0x710584]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [0x71198c]
mov dword [esp + 8], eax
lea eax, [0x8ef150]
mov dword [esp + 0xc], eax
lea eax, [0x65a460]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x240]
mov dword [esp + 0x14], eax
call fcn.004bffa0
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x5ece38
lea eax, [0x6850e0]
mov dword [esp], eax
call fcn.0040bcc0
mov eax, dword [esp + 4]
mov dword [esp + 0x244], eax
lea ecx, [0x697220]
mov dword [esp], ecx
mov edx, dword [esp + 0x240]
mov dword [esp + 4], edx
call fcn.00409410
mov eax, dword [esp + 8]
lea ecx, [0x697220]
mov edx, dword [esp + 0x244]
mov dword [edx], ecx
mov ecx, dword [0x8ef4b0]
test ecx, ecx
jne 0x5ece1f
mov dword [edx + 4], eax
jmp 0x5ece27
lea edi, [edx + 4]
call fcn.00463ab0
mov eax, dword [esp + 0x240]
mov ecx, dword [eax + 4]
xor ebx, ebx
jmp 0x5ecf7b
mov dword [esp + 0x250], 0
mov dword [esp + 0x254], 0
lea eax, [0x66c280]
mov dword [esp + 0x250], eax
lea eax, [0x710008]
mov dword [esp + 0x254], eax
mov eax, dword [esp + 0x308]
mov eax, dword [eax + 0x2c0]
mov dword [esp], eax
lea eax, [esp + 0x250]
mov dword [esp + 4], eax
mov dword [esp + 8], 1
mov dword [esp + 0xc], 1
call fcn.00523710
mov dword [esp + 0x30c], 0
add esp, 0x304
ret
mov dword [esp + 0x250], 0
mov dword [esp + 0x254], 0
lea eax, [0x66c280]
mov dword [esp + 0x250], eax
lea eax, [0x710000]
mov dword [esp + 0x254], eax
mov eax, dword [esp + 0x308]
mov eax, dword [eax + 0x2c0]
mov dword [esp], eax
lea eax, [esp + 0x250]
mov dword [esp + 4], eax
mov dword [esp + 8], 1
mov dword [esp + 0xc], 1
call fcn.00523710
mov dword [esp + 0x30c], 0
add esp, 0x304
ret
mov dword [esp + 0x30c], 0
add esp, 0x304
ret
mov dword [esp + 0x30c], 0
add esp, 0x304
ret
mov ecx, ebp
xchg ebp, ebx
setne bl
xchg ebp, ebx
mov dword [eax + 0xc], esi
lea esi, [esi + esi*2]
mov dword [edi + esi*4 - 0xc], ecx
mov dword [edi + esi*4 - 8], edx
lea esi, [edi + esi*4 - 4]
xchg ebp, eax
mov byte [esi], al
xchg ebp, eax
mov ebp, dword [esp + 0x4c]
lea ebx, [ebp + 1]
mov ebp, dword [esp + 0x40]
lea ecx, [ebp + 8]
mov eax, dword [esp + 0x240]
mov edx, dword [esp + 0x244]
cmp dword [eax + 8], ebx
jle 0x5ed12b
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x40], ecx
mov eax, dword [esp + 0x308]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.005e5c90
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x308]
mov edx, dword [ecx + 0x2ac]
add edx, 0xfffffffc
cmp eax, edx
jbe 0x5ecfc1
mov ebx, dword [0x8c9058]
xor ebp, ebp
jmp 0x5ecff8
mov ebx, dword [ecx + 0x28c]
mov ebp, dword [ecx + 0x288]
mov esi, dword [ecx + 0x290]
cmp ebx, eax
jb 0x5ed3f5
sub ebx, eax
sub esi, eax
xchg esi, ebx
neg ebx
xchg esi, ebx
sar esi, 0x1f
and esi, eax
cmp ebx, 3
jbe 0x5ed3e9
mov ebp, dword [esi + ebp]
xor ebx, ebx
test ebx, ebx
jne 0x5ed11d
test ebp, 1
je 0x5ed00f
mov ebx, ebp
and ebp, 0xfffffffe
jmp 0x5ed011
mov ebx, ebp
mov dword [esp + 0x54], ebp
lea esi, [eax + 4]
cmp edx, esi
jae 0x5ed026
mov eax, dword [0x8c9058]
xor edx, edx
jmp 0x5ed067
mov edx, dword [ecx + 0x28c]
mov edi, dword [ecx + 0x288]
mov ebp, dword [ecx + 0x290]
cmp edx, esi
jb 0x5ed3e0
sub ebp, eax
sub edx, eax
add ebp, 0xfffffffc
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and esi, ebp
add edx, 0xfffffffc
cmp edx, 3
jbe 0x5ed3d4
mov edx, dword [esi + edi]
mov ebp, dword [esp + 0x54]
xor eax, eax
test eax, eax
jne 0x5ed10d
mov eax, dword [esp + 0x244]
mov esi, dword [eax + 0xc]
inc esi
mov edi, dword [eax + 8]
mov ecx, dword [eax + 0x10]
cmp ecx, esi
jb 0x5ed08f
test ebx, 1
jmp 0x5ecf40
mov dword [esp + 0x60], ebx
mov dword [esp + 0x2c], edx
mov dword [esp], edi
mov dword [esp + 4], esi
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
lea eax, [0x684ce0]
mov dword [esp + 0x10], eax
call fcn.0044acd0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x244]
mov dword [ebx + 0x10], edx
mov edx, dword [0x8ef4b0]
test edx, edx
jne 0x5ed0e8
mov dword [ebx + 8], eax
mov edx, dword [esp + 0x60]
test edx, 1
jmp 0x5ed0fa
lea edi, [ebx + 8]
call fcn.00463ab0
mov edx, dword [esp + 0x60]
test edx, 1
mov edx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x54]
mov esi, ecx
mov edi, eax
mov eax, ebx
jmp 0x5ecf40
mov eax, dword [esp + 0x240]
mov edx, dword [esp + 0x244]
jmp 0x5ed12b
mov eax, dword [esp + 0x240]
mov edx, dword [esp + 0x244]
mov eax, dword [eax + 0x28]
test eax, eax
je 0x5ed136
xor ecx, ecx
jmp 0x5ed157
mov dword [esp + 0x30c], edx
add esp, 0x304
ret
mov ebp, dword [esp + 0x48]
lea ecx, [ebp + 1]
add ebx, 4
mov edx, dword [esp + 0x244]
mov eax, ebx
cmp ecx, 0x400
jge 0x5ed136
mov dword [esp + 0x48], ecx
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0x308]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.005e5c90
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x308]
mov edx, dword [ecx + 0x2ac]
add edx, 0xfffffffc
cmp eax, edx
jbe 0x5ed19c
mov edx, dword [0x8c9058]
xor ebx, ebx
jmp 0x5ed1d3
mov edx, dword [ecx + 0x28c]
mov ebx, dword [ecx + 0x288]
mov ebp, dword [ecx + 0x290]
cmp edx, eax
jb 0x5ed3cd
sub edx, eax
sub ebp, eax
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and eax, ebp
cmp edx, 3
jbe 0x5ed3c1
mov ebx, dword [eax + ebx]
xor edx, edx
test edx, edx
jne 0x5ed2ff
mov dword [esp + 0x28], ebx
lea edi, [esp + 0x280]
xor eax, eax
call fcn.00463d45
mov ecx, dword [esp + 0x308]
mov edx, dword [ecx + 0xac]
mov ebp, dword [ecx + 0xb0]
mov dword [esp + 0x5c], ebp
mov esi, dword [esp + 0x3c]
xor edi, edi
jmp 0x5ed324
lea edi, [esp + 0x280]
call fcn.00463d45
lea edi, [esp + 0x2ac]
lea esi, [esp + 0x280]
call fcn.004641f2
mov ecx, dword [esp + 0x2b0]
mov edx, dword [esp + 0x2b4]
mov ebp, dword [esp + 0x244]
mov esi, ecx
mov ecx, dword [ebp + 0x18]
inc ecx
mov edi, edx
mov edx, dword [ebp + 0x14]
mov ebx, dword [ebp + 0x1c]
cmp ebx, ecx
jae 0x5ed2c0
mov dword [esp + 0x5c], edi
mov dword [esp + 0x238], esi
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
lea eax, [0x684d60]
mov dword [esp + 0x10], eax
call fcn.0044acd0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x244]
mov dword [ebx + 0x1c], edx
mov edx, dword [0x8ef4b0]
test edx, edx
jne 0x5ed2a7
mov dword [ebx + 0x14], eax
jmp 0x5ed2af
lea edi, [ebx + 0x14]
call fcn.00463ab0
mov ebp, ebx
mov esi, dword [esp + 0x238]
mov edi, dword [esp + 0x5c]
mov edx, eax
xor eax, eax
mov dword [ebp + 0x18], ecx
dec ecx
shl ecx, 4
mov ebx, dword [esp + 0x3c]
mov dword [edx + ecx], ebx
mov ebp, dword [esp + 0x28]
mov dword [edx + ecx + 4], ebp
mov dword [edx + ecx + 0xc], edi
mov ebp, dword [0x8ef4b0]
lea edi, [edx + ecx + 8]
test ebp, ebp
jne 0x5ed2f1
mov dword [edx + ecx + 8], esi
jmp 0x5ed144
mov eax, esi
call fcn.00463ab0
xor eax, eax
jmp 0x5ed144
mov edx, dword [esp + 0x244]
jmp 0x5ed136
add edx, 0x2c
mov ecx, dword [esp + 0x58]
inc ecx
mov ebp, dword [esp + 0x5c]
mov ebx, esi
mov esi, edi
mov edi, ecx
mov ecx, dword [esp + 0x308]
cmp edi, ebp
jge 0x5ed20f
mov dword [esp + 0x58], edi
lea edi, [esp + 0x2d8]
mov esi, edx
call fcn.004641f2
mov ecx, dword [esp + 0x2e4]
mov esi, ebx
mov ebx, dword [esp + 0x2e8]
mov edi, dword [esp + 0x3c]
xor eax, eax
mov dword [esp + 0x20], eax
xor eax, eax
jmp 0x5ed377
mov esi, dword [esp + 0x23c]
add esi, 0x28
inc ebp
mov edi, ecx
mov dword [esp + 0x20], ebp
mov ecx, esi
mov ebp, dword [esp + 0x5c]
mov esi, dword [esp + 0x28]
mov ebp, dword [esp + 0x20]
cmp ebp, ebx
jge 0x5ed30b
mov dword [esp + 0x23c], ecx
lea edi, [esp + 0x258]
mov esi, ecx
call fcn.004641fc
mov ecx, dword [esp + 0x3c]
cmp dword [esp + 0x278], ecx
jne 0x5ed35c
lea edi, [esp + 0x280]
lea esi, [esp + 0x2d8]
call fcn.004641f2
mov ebx, dword [esp + 0x28]
mov esi, dword [esp + 0x3c]
jmp 0x5ed21b
mov eax, 3
mov ecx, edx
call fcn.00463b30
mov ecx, edx
call fcn.00463ba0
mov eax, 3
mov ecx, edx
call fcn.00463b30
mov eax, esi
mov ecx, edx
call fcn.00463ba0
mov eax, 3
mov ecx, ebx
call fcn.00463b30
mov ecx, ebx
call fcn.00463ba0
mov eax, esi
mov ecx, ebp
call fcn.00463ba0
mov ecx, ebp
call fcn.00463b80
mov eax, 3
mov ecx, edx
call fcn.00463b30
mov ecx, edx
call fcn.00463ba0
mov dword [esp], ecx
mov dword [esp + 4], ebx
lea eax, [0x66bb80]
mov dword [esp + 8], eax
call fcn.00409250
mov dword [esp], ecx
mov dword [esp + 4], ebx
lea eax, [0x66bb80]
mov dword [esp + 8], eax
call fcn.00409250
lea eax, [0x67df60]
mov dword [esp], eax
call fcn.0040bcc0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x12
lea ecx, [0x6ace63]
mov dword [eax], ecx
mov ecx, dword [esp + 0x64]
mov dword [eax + 8], ecx
lea ecx, [0x674140]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00435e60
nop
call fcn.004626a0
jmp fcn.005ec8d0