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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c
push ebx
push esi
push edi
mov edi, edx
mov ebx, ecx
mov edx, dword [ebp + 8]
mov dword [esp + 0x10], edi
mov dword [esp + 0x18], ebx
mov ecx, dword [edi]
mov esi, dword [ebx + 8]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], esi
mov al, byte [ecx]
cmp al, 0x35
je 0x1008b566
cmp al, 0x2d
je 0x1008b566
cmp al, 0x32
jne 0x1008aef8
mov ebx, dword [ebp + 0x14]
mov edx, 0x49
push ebx
push 0
mov ecx, esi
call fcn.100293c0
add esp, 8
jmp 0x1008b531
mov edx, dword [edx + 0x48]
xor edi, edi
xor ebx, ebx
mov dword [esp + 0x2c], edi
mov edi, dword [ebp + 0xc]
mov dword [esp + 0x34], 5
test dword [edx + 0x24], 0x400
mov dword [esp + 0x1c], edx
jne 0x1008af38
mov eax, dword [edx + 0x20]
test eax, eax
je 0x1008af38
mov eax, dword [eax + 0x1c]
cmp byte [edi + eax], bl
je 0x1008af38
xor ecx, ecx
cmp dword [ebp + 0x10], ecx
sete cl
mov dword [esp + 0x28], ecx
jmp 0x1008af3f
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x28], eax
xor eax, eax
test edi, edi
jle 0x1008af68
mov edx, dword [edx + 0x30]
mov ecx, dword [edx + eax*4]
test ecx, ecx
je 0x1008af5f
mov esi, dword [esp + 0x20]
cmp dword [ecx], esi
mov esi, dword [esp + 0x24]
je 0x1008b012
inc eax
cmp eax, edi
jl 0x1008af48
mov edx, dword [esp + 0x1c]
movzx edi, word [edx + 0x28]
mov ecx, dword [ebp + 0xc]
cmp ecx, edi
jge 0x1008af9b
mov eax, dword [edx + 0x30]
sub edi, ecx
mov esi, dword [esp + 0x20]
lea edx, [eax + ecx*4]
nop
mov eax, dword [edx]
lea ecx, [ebx + 1]
lea edx, [edx + 4]
cmp dword [eax], esi
cmovne ecx, ebx
mov ebx, ecx
sub edi, 1
jne 0x1008af80
mov esi, dword [esp + 0x24]
mov ecx, dword [ebp + 0xc]
mov edx, dword [esp + 0x20]
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x30], eax
test dword [edx + 4], 0x800
je 0x1008b0a5
mov eax, dword [edx + 0x14]
mov eax, dword [eax + 0x1c]
cmp dword [eax], 1
je 0x1008b0a5
mov eax, dword [esp + 0x18]
push edx
mov edx, ecx
mov ecx, dword [esp + 0x1c]
mov edi, dword [eax]
mov eax, dword [esp + 0x20]
push eax
mov dword [esp + 0x4c], edi
call fcn.1008ac80
add esp, 8
mov dword [esp + 0x38], eax
cmp byte [edi + 0x53], 0
jne 0x1008b084
mov ecx, dword [esp + 0x18]
lea eax, [ebx*4]
push 0
push eax
mov ecx, dword [ecx]
test ecx, ecx
je 0x1008b028
call fcn.10005060
mov edi, eax
mov dword [esp + 0x34], edi
jmp 0x1008b033
mov edx, dword [esp + 0x10]
mov ecx, dword [ebp + 8]
call fcn.1008ab40
mov eax, dword [ebp + 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.100049e0
mov edi, eax
mov dword [esp + 0x34], eax
add esp, 8
test edi, edi
je 0x1008b04d
lea eax, [ebx*4]
push eax
push 0
push edi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov edx, dword [esp + 0x38]
lea eax, [esp + 0x30]
mov ecx, dword [esp + 0x18]
push eax
push edi
push 0
push 4
call fcn.10044080
mov ecx, dword [esp + 0x40]
add esp, 0x10
mov edi, dword [esp + 0x44]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x14], ecx
mov eax, dword [eax]
mov dword [eax + 0x1c], ecx
mov eax, dword [esp + 0x38]
test eax, eax
je 0x1008b091
mov edx, eax
mov ecx, edi
call fcn.10042580
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov eax, dword [eax]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x34]
jmp 0x1008b0c8
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x30]
push eax
push 0
push 0
push 4
call fcn.10044080
mov edi, dword [esp + 0x40]
add esp, 0x10
mov dword [esp + 0x34], eax
mov dword [esp + 0x14], edi
cmp eax, 4
jne 0x1008b0dc
xor eax, eax
cmp dword [esp + 0x28], eax
sete al
mov dword [esp + 0x28], eax
jmp 0x1008b0e0
mov eax, dword [esp + 0x28]
mov ecx, dword [esi + 0x74]
xor edx, edx
test eax, eax
sete dl
lea edx, [edx*4 + 0x22]
cmp dword [esi + 0x78], ecx
jg 0x1008b107
push 0
push 0
push edi
mov ecx, esi
call fcn.10029250
add esp, 0xc
jmp 0x1008b131
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov byte [eax + ecx*4], dl
xor edx, edx
mov word [eax + ecx*4 + 2], dx
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], edx
mov byte [eax + ecx*4 + 1], dl
mov ecx, dword [esp + 0x1c]
mov edi, dword [ebp + 8]
or dword [ecx + 0x24], 0x800
cmp dword [edi + 0x40], 0
jne 0x1008b152
mov eax, dword [esp + 0x18]
dec dword [eax + 0x38]
mov eax, dword [eax + 0x38]
mov dword [edi + 0x10], eax
mov edx, dword [ebp + 0xc]
test edx, edx
jle 0x1008b16b
mov eax, dword [ecx + 0x24]
test eax, 0x100000
jne 0x1008b16b
or eax, 0x40000
mov dword [ecx + 0x24], eax
mov eax, dword [edi + 0x40]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x40], eax
add eax, ebx
mov dword [edi + 0x40], eax
mov dword [esp + 0x38], 0
mov ecx, dword [ecx]
lea edi, [eax + eax*4]
mov dword [esp + 0x44], ecx
mov eax, dword [ebp + 8]
shl edi, 2
mov ebx, dword [eax + 0x44]
test ebx, ebx
jne 0x1008b1a4
xor eax, eax
push eax
push edi
call fcn.10005060
jmp 0x1008b1f7
cmp ebx, dword [ecx + 0x164]
jae 0x1008b1ec
cmp ebx, dword [ecx + 0x15c]
jb 0x1008b1c6
cmp edi, 0x80
ja 0x1008b1ec
mov edi, ebx
mov dword [eax + 0x44], edi
jmp 0x1008b25c
cmp ebx, dword [ecx + 0x160]
jb 0x1008b1ec
movzx eax, word [ecx + 0x136]
cdq
cmp dword [esp + 0x38], edx
ja 0x1008b1ec
jb 0x1008b1e2
cmp edi, eax
ja 0x1008b1ec
mov eax, dword [ebp + 8]
mov edi, ebx
mov dword [eax + 0x44], edi
jmp 0x1008b259
xor eax, eax
mov edx, ebx
push eax
push edi
call fcn.10005150
mov edi, eax
add esp, 8
test edi, edi
jne 0x1008b24f
test ebx, ebx
je 0x1008b24f
mov ecx, dword [esp + 0x44]
mov edx, ebx
call fcn.10004cc0
mov eax, dword [ebp + 8]
mov dword [eax + 0x44], edi
mov dword [eax + 0x40], 0
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x2c]
mov ecx, dword [eax]
test ebx, ebx
je 0x1008b52a
test ecx, ecx
je 0x1008b4db
cmp dword [ecx + 0x210], 0
je 0x1008b4a3
mov edx, ebx
call fcn.10004c70
jmp 0x1008b52a
mov eax, dword [ebp + 8]
mov dword [eax + 0x44], edi
test edi, edi
je 0x1008b215
mov edx, dword [ebp + 0xc]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x1c]
lea eax, [eax + eax*4]
lea eax, [eax + 4]
lea ebx, [edi + eax*4]
movzx eax, word [ecx + 0x28]
cmp edx, eax
jge 0x1008b435
mov edi, dword [ebp + 0x14]
lea eax, [edx*4]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x30], eax
mov eax, edi
sub eax, edx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x38], eax
mov eax, edx
sub eax, edi
mov dword [esp + 0x44], eax
nop
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x30]
mov eax, dword [eax + 0x30]
mov eax, dword [esi + eax]
mov esi, dword [esp + 0x20]
cmp dword [eax], esi
mov esi, dword [esp + 0x24]
jne 0x1008b40d
cmp dword [esp + 0x34], 1
jne 0x1008b313
mov edx, dword [esi + 0x74]
cmp dword [esi + 0x78], edx
jg 0x1008b2ea
push 0
push edi
push dword [esp + 0x1c]
mov edx, 0x85
mov ecx, esi
call fcn.10029250
add esp, 0xc
mov edx, eax
jmp 0x1008b380
lea eax, [edx + 1]
mov dword [esi + 0x74], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x70]
mov esi, dword [esp + 0x14]
mov dword [eax + ecx*4], 0x85
mov dword [eax + ecx*4 + 4], esi
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], 0
jmp 0x1008b374
test ecx, ecx
je 0x1008b326
mov ecx, dword [esp + 0x3c]
mov eax, dword [ecx]
add ecx, 4
mov dword [esp + 0x3c], ecx
jmp 0x1008b328
xor eax, eax
mov edx, dword [esi + 0x74]
mov dword [esp + 0x40], eax
cmp dword [esi + 0x78], edx
jg 0x1008b34d
push edi
push eax
push dword [esp + 0x1c]
mov edx, 0x5c
mov ecx, esi
call fcn.10029250
add esp, 0xc
mov edx, eax
jmp 0x1008b380
lea eax, [edx + 1]
mov dword [esi + 0x74], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x70]
mov esi, dword [esp + 0x14]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x40]
mov dword [eax + ecx*4], 0x5c
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], edi
mov esi, dword [esp + 0x24]
mov dword [eax + ecx*4 + 0x10], 0
mov dword [ebx - 0xc], edx
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x1008b3a1
push 0
push 0
push edi
mov edx, 0x32
mov ecx, esi
call fcn.10029250
add esp, 0xc
jmp 0x1008b3d0
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x32
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x44]
mov edx, dword [ebp + 0xc]
add ecx, edi
cmp ecx, edx
jne 0x1008b407
cmp dword [esp + 0x28], 0
mov eax, dword [esp + 0x14]
mov dword [ebx - 0x10], eax
sete al
add al, 4
mov byte [ebx], al
test edx, edx
jle 0x1008b400
mov eax, dword [esp + 0x38]
mov dword [ebx - 8], eax
mov dword [ebx - 4], ecx
jmp 0x1008b40a
xor ecx, ecx
mov dword [ebx - 4], ecx
jmp 0x1008b40a
mov byte [ebx], 0xb3
add ebx, 0x14
mov eax, dword [esp + 0x1c]
inc edi
mov ecx, dword [esp + 0x44]
add dword [esp + 0x30], 4
add ecx, edi
dec dword [esp + 0x38]
movzx eax, word [eax + 0x28]
cmp ecx, eax
mov ecx, dword [esp + 0x2c]
jl 0x1008b2a0
mov ecx, dword [esp + 0x1c]
test edx, edx
jle 0x1008b21c
test dword [ecx + 0x24], 0x100400
jne 0x1008b21c
mov eax, dword [ebp + 8]
mov ecx, dword [esi + 0x74]
mov edi, dword [ebp + 0xc]
mov edx, dword [eax + 8]
cmp dword [esi + 0x78], ecx
jg 0x1008b473
push edi
push 0
push edx
mov edx, 0x7b
mov ecx, esi
call fcn.10029250
add esp, 0xc
jmp 0x1008b21c
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x7b
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], edi
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x1008b21c
cmp ebx, dword [ecx + 0x164]
jae 0x1008b4db
cmp ebx, dword [ecx + 0x15c]
jb 0x1008b4c3
mov eax, dword [ecx + 0x158]
mov dword [ebx], eax
mov dword [ecx + 0x158], ebx
jmp 0x1008b52a
cmp ebx, dword [ecx + 0x160]
jb 0x1008b4db
mov eax, dword [ecx + 0x150]
mov dword [ebx], eax
mov dword [ecx + 0x150], ebx
jmp 0x1008b52a
cmp dword [0x1011d0f8], 0
je 0x1008b55d
mov eax, dword [0x1011f3e8]
test eax, eax
je 0x1008b4f7
push eax
call dword [0x1011d148]
add esp, 4
push ebx
call dword [0x1011d124]
sub dword [0x1011f200], eax
add esp, 4
dec dword [0x1011f224]
push ebx
call dword [0x1011d11c]
mov eax, dword [0x1011f3e8]
add esp, 4
test eax, eax
je 0x1008b52a
push eax
call dword [0x1011d150]
add esp, 4
mov ebx, dword [ebp + 0x14]
mov edi, dword [esp + 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x48]
test dword [ecx + 0x24], 0x200000
je 0x1008b54b
mov ecx, 0x800
test word [edi + 0xc], cx
jne 0x1008b554
mov edx, edi
mov ecx, eax
call fcn.1008ab40
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
push ebx
call dword [0x1011d11c]
jmp 0x1008b527
mov edx, dword [ecx + 0x10]
mov ecx, ebx
push dword [ebp + 0x14]
call fcn.10047340
add esp, 4
mov ebx, eax
jmp 0x1008b531