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

Disassembly:
sub esp, 0x1b4
mov eax, dword [0x1009ad70]
xor eax, esp
mov dword [esp + 0x1b0], eax
mov eax, dword [esp + 0x1c0]
push ebx
push ebp
mov ebp, dword [esp + 0x1c4]
push esi
mov esi, dword [esp + 0x1c4]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x1d4]
push edi
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x1dc]
push 0x6c
mov dword [esp + 0x40], eax
lea eax, [esp + 0x58]
push 0
push eax
mov dword [esp + 0x5c], 0
call fcn.1000a620
add esp, 0xc
mov dword [esp + 0x18], 0
xor eax, eax
mov edx, ebp
mov ecx, esi
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], eax
xor ebx, ebx
call 0x100a6fc3
mov edi, eax
mov dword [esp + 0x14], edi
test edi, edi
je 0x100063d7
mov edx, ebp
mov ecx, dword [esp + 0x1d4]
and edx, 0x30000000
mov dword [esp + 0x64], ebp
neg edx
mov dword [esp + 0x6c], ebx
lea esi, [esp + 0xc0]
mov dword [esp + 0x78], ecx
sbb edx, edx
mov dword [esp + 0xa8], esi
xor eax, eax
mov dword [esp + 0x48], 0xffff
mov word [esp + 0x60], ax
lea esi, [esp + 0x140]
mov eax, ebp
mov dword [esp + 0xac], esi
shr eax, 0x10
and ebp, 3
and eax, 3
mov dword [esp + 0x38], 0xfffe
neg edx
mov dword [esp + 0x44], 0xfffd
mov dword [esp + 0x5c], edx
lea eax, [eax*4]
add eax, ebp
xor ebp, ebp
mov dword [esp + 0x7c], ebp
mov eax, dword [eax*4 + 0x10096690]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x74], eax
xor eax, eax
mov dword [esp + 0xa0], eax
xor esi, esi
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb8], eax
test ecx, ecx
jne 0x10006034
test eax, eax
je 0x10006204
test edx, edx
je 0x1000604b
test eax, eax
je 0x1000604f
cmp word [esp + 0x80], 0x5b
je 0x10006204
test eax, eax
jne 0x1000605d
mov ecx, dword [esp + 0x2c]
cmp word [ecx], 0x5b
je 0x10006204
push 0
sub ebp, eax
mov dword [esp + 0xa8], 0
push ebx
lea edx, [esp + 0x58]
mov dword [esp + 0x3c], ebp
mov ecx, edi
call fcn.10005650
mov ebp, dword [esp + 0xb0]
mov edi, dword [esp + 0x7c]
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x1c], edi
sub edi, dword [esp + 0xa0]
mov ebx, dword [esp + ebp*4 + 0xc0]
mov dword [esp + 0x4c], edx
test edx, edx
je 0x100060c9
movzx eax, bx
cmp ax, word [esp + 0x48]
je 0x10006200
cmp ax, word [esp + 0x38]
je 0x10006200
cmp ax, word [esp + 0x44]
je 0x10006200
cmp byte [esp + ebp*4 + 0xc1], 6
jne 0x100060f2
test dword [esp + 0x64], 0x1000
jne 0x100060f2
xor ebx, ebx
mov dword [esp + 0xb4], ebx
mov dword [esp + 0xb0], ebx
jmp 0x100061e3
cmp dword [esp + 0xa4], 0
je 0x10006199
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x2c]
mov edi, dword [esp + 0x14]
mov dword [esp + 0x28], esi
movzx ecx, word [ecx + eax*2]
mov eax, dword [edi + 8]
movzx eax, byte [eax + ecx*4]
mov ecx, dword [esp + 0x10]
mov ax, word [eax*4 + str.AEUETHssaeuethIJijOEoeD]
mov word [ecx + esi*2], ax
inc esi
inc ebp
mov dword [esp + 0xb0], ebp
cmp esi, 7
jge 0x10006208
mov ax, word [esp + 0x80]
lea edx, [esp + 0x50]
mov word [ecx + esi*2], ax
mov ecx, edi
push 0
mov dword [esp + 0x2c], esi
inc esi
push ebx
mov dword [esp + 0xac], 0
call fcn.10005650
mov eax, dword [esp + 0xb0]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x24], eax
mov ebx, dword [esp + eax*4 + 0xc0]
inc eax
cmp dword [esp + 0xa4], 0
mov dword [esp + 0xb0], eax
jne 0x10006134
mov ebp, dword [esp + 0x7c]
mov edx, dword [esp + 0x5c]
jmp 0x100061eb
mov ecx, dword [esp + 0x34]
mov eax, edi
sub eax, ecx
add eax, esi
cmp eax, 8
jl 0x100061af
mov edi, ecx
sub edi, esi
add edi, 7
sub edi, ecx
lea eax, [edi + edi]
push eax
mov eax, dword [esp + 0x30]
lea eax, [eax + ecx*2]
push eax
mov eax, dword [esp + 0x18]
lea eax, [eax + esi*2]
push eax
call fcn.10009fd0
mov edx, dword [esp + 0x58]
add esp, 0xc
mov dword [esp + 0x28], esi
add esi, edi
mov dword [esp + 0x24], ebp
inc ebp
mov dword [esp + 0xb0], ebp
mov ebp, dword [esp + 0x1c]
mov edi, dword [esp + 0x14]
cmp esi, 7
jge 0x10006204
mov ecx, dword [esp + 0x78]
mov eax, dword [esp + 0xa0]
jmp 0x10006028
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
xor eax, eax
test esi, esi
je 0x100063d9
mov ebx, dword [esp + 0x3c]
mov word [ecx + esi*2], ax
mov eax, dword [esp + 0x28]
lea esi, [eax + eax]
push esi
push ecx
push ebx
call fcn.10009fd0
lea eax, [esi + ebx]
xor ecx, ecx
mov word [eax + 2], cx
add esp, 0xc
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x5c], ecx
movzx ebx, word [esi + eax]
mov esi, dword [esp + 0x24]
and ebx, 0xff00
or ebp, 0xffffffff
movzx eax, bx
lea edx, [esp + 0x50]
mov dword [esp + 0x20], eax
mov ecx, edi
lea eax, [esp + 0x20]
mov dword [esp + 0x78], 1
mov dword [esp + 0x74], eax
lea eax, [esp + 0x30]
mov dword [esp + 0xa8], eax
lea eax, [esp + 0x40]
push 0
push 0
mov dword [esp + 0x84], 0
mov dword [esp + 0xa8], 0
mov dword [esp + 0xb4], eax
mov dword [esp + 0xbc], 0
mov dword [esp + 0xb8], 0
mov dword [esp + 0xc0], 0
call fcn.10005650
mov eax, dword [esp + 0x30]
cmp ax, word [esp + esi*4 + 0xc0]
jbe 0x100062e5
cmp ax, bp
jae 0x100062e5
movzx edx, word [esp + 0x20]
mov ebp, eax
mov dword [esp + 0x18], edx
jmp 0x100062e9
mov edx, dword [esp + 0x18]
inc ebx
cmp bl, 0xff
jne 0x10006252
mov ebx, dword [esp + 0x24]
movzx ecx, bp
movzx eax, word [esp + ebx*4 + 0xc0]
sub ecx, eax
cmp ecx, 0x20
jge 0x1000631a
mov eax, dword [esp + 0x1c]
mov word [eax], dx
mov eax, 1
jmp 0x100063d9
xor esi, esi
lea esp, [esp]
movzx eax, si
lea edx, [esp + 0x50]
mov dword [esp + 0x20], eax
mov ecx, edi
lea eax, [esp + 0x20]
mov dword [esp + 0x78], 1
mov dword [esp + 0x74], eax
lea eax, [esp + 0x30]
mov dword [esp + 0xa8], eax
lea eax, [esp + 0x40]
push 0
push 0
mov dword [esp + 0x84], 0
mov dword [esp + 0xa8], 0
mov dword [esp + 0xb4], eax
mov dword [esp + 0xbc], 0
mov dword [esp + 0xb8], 0
mov dword [esp + 0xc0], 0
call fcn.10005650
mov eax, dword [esp + 0x30]
cmp ax, word [esp + ebx*4 + 0xc0]
jbe 0x100063b3
cmp ax, bp
jae 0x100063b3
movzx ecx, word [esp + 0x20]
mov ebp, eax
mov dword [esp + 0x18], ecx
jmp 0x100063b7
mov ecx, dword [esp + 0x18]
inc esi
cmp esi, 0x10000
jl 0x10006320
test cx, cx
je 0x100063d7
mov eax, dword [esp + 0x1c]
mov word [eax], cx
mov eax, 1
jmp 0x100063d9
xor eax, eax
mov ecx, dword [esp + 0x1c0]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10009fbe
add esp, 0x1b4
ret 0x18