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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xb4
push ebx
mov ebx, dword [0x4a09d8]
push esi
push edi
mov edi, eax
mov al, 1
cmp al, byte [ecx + 1]
mov ecx, dword [0x4a13a4]
push 1
push 0
sbb esi, esi
and esi, dword [0x4a09dc]
push 0xffffffffffffffff
push 0x491918
mov dword [esp + 0x90], ebx
mov dword [esp + 0x98], esi
call fcn.0061dcb0
test ebx, ebx
je 0x5e9f4b
push 1
push 0
push 0xffffffffffffffff
push 0
mov ecx, ebx
call fcn.0061dcb0
xor ebx, ebx
cmp esi, ebx
je 0x5e9f5e
push 1
push ebx
push 0xffffffffffffffff
push ebx
mov ecx, esi
call fcn.0061dcb0
mov edx, dword [0x49d3c8]
xor eax, eax
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
test byte [edx + 0xc8], 1
jne 0x5e9fad
lea eax, [esp + 0x70]
push eax
call dword [fcn.0048d604]
push eax
call dword [fcn.0048d454]
test eax, eax
je 0x5ea30c
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x74]
add dword [ebp + 8], eax
add dword [ebp + 0xc], ecx
add dword [ebp + 0x10], eax
add dword [ebp + 0x14], ecx
push 0x2e
push edi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x34], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
call fcn.0062fff7
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x5ea023
inc esi
push 0x494afc
push esi
call fcn.0062e0b6
add esp, 8
test eax, eax
je 0x5ea00d
push 0x494b00
push esi
call fcn.0062e0b6
add esp, 8
test eax, eax
je 0x5ea00d
push 0x494b04
push esi
call fcn.0062e0b6
add esp, 8
test eax, eax
jne 0x5ea023
mov esi, dword [0x48d4cc]
push 0x31
call esi
push 0x32
mov dword [esp + 0x20], eax
call esi
mov dword [esp + 0x20], eax
mov ebx, edi
mov al, byte [ebx]
cmp al, 0x20
je 0x5ea02f
cmp al, 9
jne 0x5ea032
inc ebx
jmp 0x5ea025
cmp byte [ebx], 0x2a
jne 0x5ea2ca
jmp 0x5ea040
movsx ecx, byte [ebx + 1]
inc ebx
push ecx
call fcn.00631390
add esp, 4
cmp eax, 0x48
je 0x5ea202
cmp eax, 0x57
je 0x5ea196
push 4
push 0x491e4c
push ebx
call fcn.0062ea95
add esp, 0xc
test eax, eax
jne 0x5ea0a7
add ebx, 4
mov eax, ebx
call fcn.005c3670
test al, al
je 0x5ea098
push 0x10
push 0
push ebx
call fcn.0062f994
add esp, 0xc
mov dword [esp + 0x2c], eax
jmp 0x5ea26a
push ebx
call fcn.0062f596
mov dword [esp + 0x30], eax
jmp 0x5ea267
push 5
push 0x494660
push ebx
call fcn.0062ea95
add esp, 0xc
test eax, eax
jne 0x5ea142
push 0x1f
add ebx, 5
lea edx, [esp + 0xa4]
push ebx
push edx
call fcn.00631ce0
add esp, 0xc
mov edi, 0x4918e4
lea eax, [esp + 0xa0]
mov byte [esp + 0xbf], 0
call fcn.005bfff0
test eax, eax
je 0x5ea0f5
mov byte [eax], 0
lea esi, [esp + 0xa0]
call fcn.0061c480
cmp eax, 0xffffffff
jne 0x5ea11e
push 0x10
mov eax, esi
push 0
push eax
call fcn.0062f994
add esp, 0xc
mov dword [esp + 0x24], eax
jmp 0x5ea26a
mov ecx, eax
shr ecx, 8
movzx edx, al
movzx ecx, cl
shl edx, 8
shr eax, 0x10
or ecx, edx
movzx eax, al
shl ecx, 8
or ecx, eax
mov dword [esp + 0x24], ecx
jmp 0x5ea26a
mov eax, ebx
call fcn.005c3670
test al, al
je 0x5ea160
push 0x10
push 0
push ebx
call fcn.0062f994
add esp, 0xc
mov dword [esp + 0x10], eax
jmp 0x5ea16d
push ebx
call fcn.0062f596
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
jns 0x5ea17e
mov dword [esp + 0x10], 0
jmp 0x5ea26a
cmp eax, 0xff
jle 0x5ea26a
mov dword [esp + 0x10], 0xff
jmp 0x5ea26a
lea esi, [ebx + 1]
mov eax, esi
jmp 0x5ea1a0
mov cl, byte [eax]
cmp cl, 0x20
je 0x5ea1ac
cmp cl, 9
jne 0x5ea1af
inc eax
jmp 0x5ea1a0
mov cl, byte [eax]
test cl, cl
je 0x5ea1f6
cmp cl, 0x2d
je 0x5ea1bf
cmp cl, 0x2b
jne 0x5ea1c0
inc eax
cmp byte [eax], 0x30
jne 0x5ea1f6
mov cl, byte [eax + 1]
cmp cl, 0x78
je 0x5ea1d2
cmp cl, 0x58
jne 0x5ea1f6
movsx ecx, byte [eax + 2]
push ecx
call fcn.0062f739
add esp, 4
test eax, eax
je 0x5ea1f6
push 0x10
push 0
push esi
call fcn.0062f994
add esp, 0xc
mov dword [esp + 0x1c], eax
jmp 0x5ea26a
push esi
call fcn.0062f596
mov dword [esp + 0x20], eax
jmp 0x5ea267
lea esi, [ebx + 1]
mov eax, esi
mov cl, byte [eax]
cmp cl, 0x20
je 0x5ea213
cmp cl, 9
jne 0x5ea216
inc eax
jmp 0x5ea207
mov cl, byte [eax]
test cl, cl
je 0x5ea25d
cmp cl, 0x2d
je 0x5ea226
cmp cl, 0x2b
jne 0x5ea227
inc eax
cmp byte [eax], 0x30
jne 0x5ea25d
mov cl, byte [eax + 1]
cmp cl, 0x78
je 0x5ea239
cmp cl, 0x58
jne 0x5ea25d
movsx edx, byte [eax + 2]
push edx
call fcn.0062f739
add esp, 4
test eax, eax
je 0x5ea25d
push 0x10
push 0
push esi
call fcn.0062f994
add esp, 0xc
mov dword [esp + 0x20], eax
jmp 0x5ea26a
push esi
call fcn.0062f596
mov dword [esp + 0x24], eax
add esp, 4
test ebx, ebx
je 0x5ea30c
mov dl, byte [ebx]
test dl, dl
je 0x5ea30c
lea esp, [esp]
mov ecx, 0x4918e4
mov al, 0x20
cmp dl, al
je 0x5ea2a9
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x5ea287
mov dl, byte [ebx + 1]
inc ebx
test dl, dl
jne 0x5ea280
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
lea edi, [ebx + 1]
mov eax, edi
mov edi, edi
mov cl, byte [eax]
cmp cl, 0x20
je 0x5ea2bc
cmp cl, 9
jne 0x5ea2bf
inc eax
jmp 0x5ea2b0
cmp byte [eax], 0x2a
mov ebx, eax
je 0x5ea040
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x20]
push 0
push eax
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x40]
push ecx
push edx
push eax
push edi
call fcn.0061c8c0
mov esi, eax
add esp, 0x18
mov dword [esp + 0x60], esi
test esi, esi
je 0x5ea30c
push 0
call dword [fcn.0048d48c]
mov ebx, eax
mov dword [esp + 0x4c], ebx
test ebx, ebx
jne 0x5ea31a
push esi
call dword [fcn.0048d0f0]
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov edi, dword [fcn.0048d0f0]
xor eax, eax
cmp dword [esp + 0x38], 1
mov dword [esp + 0x64], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x68], eax
mov byte [esp + 0xd], al
jne 0x5ea3a6
lea ecx, [esp + 0x8c]
push ecx
push esi
call dword [fcn.0048d46c]
test eax, eax
je 0x5ea38f
push 1
lea edx, [esp + 0x12]
push edx
mov edx, dword [esp + 0xa0]
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x48]
push ecx
push edx
mov eax, ebx
call fcn.005e9600
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0xb0]
add esp, 0x14
push eax
call edi
mov ecx, dword [esp + 0x98]
push ecx
call edi
push esi
call fcn.0061d0e0
mov esi, eax
add esp, 4
mov dword [esp + 0x60], eax
test esi, esi
je 0x5ea30c
push 8
lea edx, [esp + 0x12]
push edx
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x48]
push ecx
push esi
mov eax, ebx
call fcn.005e9600
add esp, 0x14
mov dword [esp + 0x34], eax
test eax, eax
je 0x5ea607
mov esi, dword [ebp + 0x10]
mov ebx, dword [ebp + 0x14]
mov edx, dword [esp + 0x4c]
sub esi, dword [ebp + 8]
sub ebx, dword [ebp + 0xc]
push edx
inc esi
inc ebx
call dword [fcn.0048d0b4]
mov edi, eax
mov dword [esp + 0x64], edi
test edi, edi
je 0x5ea607
mov eax, dword [esp + 0x4c]
push ebx
push esi
push eax
call dword [fcn.0048d0a8]
mov dword [esp + 0x2c], eax
test eax, eax
je 0x5ea607
mov ecx, eax
push ecx
push edi
call dword [fcn.0048d0d8]
mov dword [esp + 0x68], eax
test eax, eax
je 0x5ea607
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x4c]
push 0xcc0020
push edx
push eax
push ecx
push ebx
push esi
push 0
push 0
push edi
call dword [0x48d0a4]
test eax, eax
je 0x5ea607
push 8
lea edx, [esp + 0x13]
push edx
mov edx, dword [esp + 0x34]
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x34]
push ecx
push edx
mov eax, edi
call fcn.005e9600
mov edx, eax
add esp, 0x14
mov dword [esp + 0x20], edx
test edx, edx
je 0x5ea607
mov ecx, dword [esp + 0x3c]
mov esi, dword [esp + 0x28]
imul ecx, dword [esp + 0x48]
imul esi, dword [esp + 0x58]
cmp byte [esp + 0xe], 0
mov dword [esp + 0x44], ecx
mov dword [esp + 0x50], esi
jne 0x5ea4a1
cmp byte [esp + 0xf], 0
je 0x5ea4de
cmp dword [esp + 0x24], 0xffffffff
je 0x5ea4b0
and dword [esp + 0x24], 0xf8f8f8
xor eax, eax
test esi, esi
jle 0x5ea4c2
and dword [edx + eax*4], 0xf8f8f8
inc eax
cmp eax, esi
jl 0x5ea4b6
mov edi, dword [esp + 0x34]
xor eax, eax
test ecx, ecx
jle 0x5ea4f9
lea esp, [esp]
and dword [edi + eax*4], 0xf8f8f8
inc eax
cmp eax, ecx
jl 0x5ea4d0
jmp 0x5ea4e2
mov edi, dword [esp + 0x34]
test ecx, ecx
jle 0x5ea4f9
lea eax, [edi + 3]
lea esp, [esp]
mov byte [eax], 0
add eax, 4
dec ecx
jne 0x5ea4f0
mov ebx, dword [esp + 0x10]
cmp ebx, 1
jge 0x5ea719
test esi, esi
jle 0x5ea519
lea eax, [edx + 3]
mov ecx, esi
nop
mov byte [eax], 0
add eax, 4
dec ecx
jne 0x5ea510
xor esi, esi
mov dword [esp + 0x18], esi
cmp dword [esp + 0x50], esi
jle 0x5ea907
mov ebx, dword [edi]
mov dword [esp + 0x38], ebx
nop
mov eax, dword [esp + 0x20]
lea edi, [esi*4]
cmp dword [edi + eax], ebx
je 0x5ea557
mov eax, dword [esp + 0x30]
test eax, eax
je 0x5ea54d
cmp dword [eax], 0
jne 0x5ea557
cmp ebx, dword [esp + 0x24]
jne 0x5ea705
mov ecx, dword [esp + 0x28]
mov eax, esi
cdq
idiv ecx
mov esi, dword [esp + 0x58]
sub esi, eax
cmp dword [esp + 0x48], esi
jg 0x5ea701
sub ecx, edx
cmp dword [esp + 0x3c], ecx
jg 0x5ea701
mov esi, dword [esp + 0x18]
xor ebx, ebx
mov byte [esp + 0xd], 1
mov dword [esp + 0x1c], ebx
cmp dword [esp + 0x44], ebx
jle 0x5ea60b
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
sub edx, eax
mov byte [esp + 0xd], 1
mov ecx, esi
mov dword [esp + 0x40], edi
mov dword [esp + 0x54], edx
lea ebx, [ebx]
mov edx, dword [eax]
mov edi, dword [esp + 0x20]
cmp dword [edi + esi*4], edx
je 0x5ea5d6
cmp dword [esp + 0x30], 0
je 0x5ea5cc
mov edi, dword [esp + 0x54]
cmp dword [edi + eax], 0
jne 0x5ea5d6
cmp edx, dword [esp + 0x24]
jne 0x5ea6f8
inc ebx
cmp ebx, dword [esp + 0x3c]
jge 0x5ea5e0
inc esi
jmp 0x5ea5f5
mov edx, dword [esp + 0x28]
lea esi, [edx*4]
add dword [esp + 0x40], esi
xor ebx, ebx
add ecx, edx
mov esi, ecx
mov edx, dword [esp + 0x1c]
inc edx
add eax, 4
mov dword [esp + 0x1c], edx
cmp edx, dword [esp + 0x44]
jl 0x5ea5b0
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x4c]
push edx
push 0
call dword [fcn.0048d5c4]
mov eax, dword [esp + 0x60]
mov ebx, dword [fcn.0048d0f0]
push eax
call ebx
mov edi, dword [esp + 0x64]
test edi, edi
je 0x5ea644
mov eax, dword [esp + 0x68]
test eax, eax
je 0x5ea63d
push eax
push edi
call dword [fcn.0048d0d8]
push edi
call dword [fcn.0048d0c8]
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x5ea64f
push eax
call ebx
mov eax, dword [esp + 0x34]
test eax, eax
je 0x5ea660
push eax
call fcn.0062f9bf
add esp, 4
mov eax, dword [esp + 0x30]
test eax, eax
je 0x5ea671
push eax
call fcn.0062f9bf
add esp, 4
mov eax, dword [esp + 0x20]
test eax, eax
je 0x5ea682
push eax
call fcn.0062f9bf
add esp, 4
cmp byte [esp + 0xd], 0
je 0x5ea30c
mov ecx, dword [esp + 0x80]
test ecx, ecx
je 0x5ea6b4
mov eax, esi
cdq
idiv dword [esp + 0x28]
push 0x18
mov eax, edx
sub eax, dword [esp + 0x74]
add eax, dword [ebp + 8]
cdq
push edx
push eax
mov eax, ecx
call fcn.005b84d0
mov ecx, dword [esp + 0x88]
test ecx, ecx
je 0x5ea6d9
mov eax, esi
cdq
idiv dword [esp + 0x28]
push 0x18
sub eax, dword [esp + 0x78]
add eax, dword [ebp + 0xc]
cdq
push edx
push eax
mov eax, ecx
call fcn.005b84d0
mov ecx, dword [0x4a13a4]
push 1
push 0
push 0xffffffffffffffff
push 0x4900b0
call fcn.0061dcb0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov ebx, dword [esp + 0x38]
mov byte [esp + 0xd], 0
mov esi, dword [esp + 0x18]
inc esi
mov dword [esp + 0x18], esi
cmp esi, dword [esp + 0x50]
jl 0x5ea530
jmp 0x5ea907
xor esi, esi
mov dword [esp + 0x18], esi
cmp dword [esp + 0x50], esi
jle 0x5ea907
mov ecx, dword [esp + 0x28]
lea ecx, [ecx]
mov eax, esi
cdq
idiv ecx
mov edi, dword [esp + 0x58]
sub edi, eax
cmp dword [esp + 0x48], edi
jg 0x5ea8f8
mov eax, ecx
sub eax, edx
cmp dword [esp + 0x3c], eax
jg 0x5ea8f8
xor eax, eax
mov byte [esp + 0xd], 1
mov dword [esp + 0x5c], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x40], esi
cmp dword [esp + 0x44], eax
jle 0x5ea60b
mov eax, dword [esp + 0x34]
lea ecx, [esi*4]
mov dword [esp + 0x6c], ecx
mov ecx, dword [esp + 0x30]
sub ecx, eax
mov byte [esp + 0xd], 1
mov dword [esp + 0x38], esi
mov edi, eax
mov dword [esp + 0x54], ecx
movzx eax, byte [edi + 2]
mov dl, byte [edi + 1]
cmp ebx, eax
jle 0x5ea7a6
mov byte [esp + 0xe], 0
jmp 0x5ea7ae
mov cl, al
sub cl, bl
mov byte [esp + 0xe], cl
movzx edx, dl
mov dword [esp + 0x84], edx
cmp ebx, edx
jle 0x5ea7c3
mov byte [esp + 0x16], 0
jmp 0x5ea7d1
mov ebx, dword [esp + 0x10]
mov cl, dl
sub cl, byte [esp + 0x10]
mov byte [esp + 0x16], cl
movzx ecx, byte [edi]
cmp ebx, ecx
jle 0x5ea7df
mov byte [esp + 0x14], 0
jmp 0x5ea7f0
mov dl, cl
sub dl, byte [esp + 0x10]
mov byte [esp + 0x14], dl
mov edx, dword [esp + 0x84]
mov ebx, dword [esp + 0x10]
mov esi, 0xff
sub esi, eax
cmp ebx, esi
jle 0x5ea80a
mov eax, 0xff
mov byte [esp + 0x17], al
jmp 0x5ea815
add al, bl
mov byte [esp + 0x17], al
mov eax, 0xff
mov esi, eax
sub esi, edx
cmp ebx, esi
jle 0x5ea823
mov byte [esp + 0x15], al
jmp 0x5ea829
add dl, bl
mov byte [esp + 0x15], dl
mov edx, eax
sub edx, ecx
cmp ebx, edx
jle 0x5ea837
mov byte [esp + 0xf], al
jmp 0x5ea83d
add cl, bl
mov byte [esp + 0xf], cl
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x40]
mov cl, byte [eax + esi*4 + 2]
mov dl, byte [eax + esi*4 + 1]
mov al, byte [eax + esi*4]
cmp cl, byte [esp + 0xe]
jb 0x5ea874
cmp cl, byte [esp + 0x17]
ja 0x5ea874
cmp dl, byte [esp + 0x16]
jb 0x5ea874
cmp dl, byte [esp + 0x15]
ja 0x5ea874
cmp al, byte [esp + 0x14]
jb 0x5ea874
cmp al, byte [esp + 0xf]
jbe 0x5ea88d
cmp dword [esp + 0x30], 0
je 0x5ea885
mov eax, dword [esp + 0x54]
cmp dword [edi + eax], 0
jne 0x5ea88d
mov ecx, dword [esp + 0x24]
cmp dword [edi], ecx
jne 0x5ea8e7
mov eax, dword [esp + 0x5c]
inc eax
mov dword [esp + 0x5c], eax
cmp eax, dword [esp + 0x3c]
jge 0x5ea8a3
inc esi
mov dword [esp + 0x40], esi
jmp 0x5ea8c8
mov eax, dword [esp + 0x28]
lea ecx, [eax*4]
add dword [esp + 0x6c], ecx
mov ecx, dword [esp + 0x38]
add ecx, eax
mov dword [esp + 0x5c], 0
mov dword [esp + 0x38], ecx
mov dword [esp + 0x40], ecx
mov eax, dword [esp + 0x1c]
inc eax
add edi, 4
mov dword [esp + 0x1c], eax
cmp eax, dword [esp + 0x44]
jge 0x5ea607
mov ebx, dword [esp + 0x10]
jmp 0x5ea794
mov ebx, dword [esp + 0x10]
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x28]
mov byte [esp + 0xd], 0
inc esi
mov dword [esp + 0x18], esi
cmp esi, dword [esp + 0x50]
jl 0x5ea730
mov ecx, dword [0x4a13a4]
push 1
push 0
push 0xffffffffffffffff
push 0x4916f4
call fcn.0061dcb0
jmp 0x5ea60b