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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
push ebx
mov eax, edx
mov dword [esp + 0x14], 0
push esi
mov esi, ecx
mov dword [esp + 0x1c], eax
xor ecx, ecx
mov edx, dword [eax + 0x28]
push edi
mov edi, dword [esi + 8]
mov dword [esp + 0x34], edi
mov dword [esp + 0x28], ecx
mov byte [eax], 1
mov dword [esp + 0x30], ecx
mov dword [esp + 0x10], edx
cmp dword [eax + 0x2c], ecx
jle 0x1008e0ce
mov eax, dword [edx]
mov dword [esp + 0x18], 0
mov eax, dword [eax + 0x14]
mov dword [esp + 0x2c], eax
test eax, eax
je 0x1008de02
mov ebx, dword [eax]
mov ecx, dword [esi + 0x3c]
mov edx, dword [esi + 0x40]
mov dword [esp + 0x14], ebx
mov dword [esp + 0xc], edx
cmp ebx, ecx
jg 0x1008ddd6
lea eax, [edx + ebx]
sub ecx, ebx
mov dword [esi + 0x40], eax
mov dword [esi + 0x3c], ecx
jmp 0x1008dde5
mov eax, dword [esi + 0x4c]
lea edx, [eax + 1]
add eax, ebx
mov dword [esp + 0xc], edx
mov dword [esi + 0x4c], eax
push 1
push 0
push edx
mov edx, dword [esp + 0x38]
mov ecx, esi
call fcn.1006aa10
mov ebx, dword [esp + 0x18]
add esp, 0xc
mov edx, dword [esp + 0x10]
jmp 0x1008de10
xor ebx, ebx
mov dword [esp + 0x14], 0
mov dword [esp + 0xc], ebx
cmp dword [edx + 0xc], 0
jl 0x1008de7c
mov ebx, dword [edi + 0x18]
mov ecx, dword [ebx + 0x74]
mov dword [esp + 0x18], ecx
lea eax, [ecx + 1]
mov dword [ebx + 0x74], eax
lea eax, [ecx - 1]
test ecx, eax
jne 0x1008de4f
mov edx, dword [ebx + 0x78]
lea eax, [ecx*8 + 4]
mov ecx, dword [ebx]
push 0
push eax
call fcn.10033d80
mov ecx, dword [esp + 0x20]
add esp, 8
mov edx, dword [esp + 0x10]
mov dword [ebx + 0x78], eax
mov eax, dword [ebx + 0x78]
test eax, eax
je 0x1008de5d
mov dword [eax + ecx*4], 0xffffffff
mov ebx, dword [esp + 0xc]
not ecx
mov edx, dword [edx + 0xc]
push ebx
push 1
mov dword [esp + 0x20], ecx
push ecx
mov ecx, esi
call fcn.100872d0
mov edx, dword [esp + 0x1c]
add esp, 0xc
mov ecx, dword [edx + 4]
mov dword [esp + 0x24], ecx
test byte [ecx + 2], 0x20
je 0x1008df69
mov eax, dword [esp + 0x2c]
xor ecx, ecx
mov dword [esp + 0x24], ecx
xor ebx, ebx
mov eax, dword [eax + 4]
mov dword [esp + 0x2c], eax
cmp ebx, dword [esp + 0x14]
jge 0x1008df07
mov edx, dword [eax]
mov ecx, esi
call fcn.10065c50
mov ecx, eax
inc ebx
mov eax, dword [esp + 0x2c]
add eax, 0x18
mov dword [esp + 0x24], ecx
mov dword [esp + 0x2c], eax
test ecx, ecx
je 0x1008dea0
mov ebx, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
test ecx, ecx
jne 0x1008dee4
mov eax, dword [esp + 0x20]
cmp dword [eax + 0x24], ecx
je 0x1008dee4
inc dword [esi + 0x4c]
mov ecx, dword [esi + 0x4c]
mov dword [esp + 0x1c], ecx
mov eax, dword [edi + 0x18]
mov edx, dword [edi + 0x20]
cmp dword [eax + 0x58], edx
jg 0x1008df12
push 0
push 0
push ecx
mov edx, 0x22
mov ecx, edi
call fcn.10051a30
add esp, 0xc
mov edx, eax
jmp 0x1008df4d
test ecx, ecx
jne 0x1008dec5
mov eax, dword [esi]
mov ebx, dword [eax + 8]
jmp 0x1008dec9
lea eax, [edx + 1]
mov dword [edi + 0x20], eax
lea ecx, [edx + edx*4]
mov eax, dword [edi + 4]
mov edi, dword [esp + 0x1c]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x34]
mov word [eax + ecx*4], 0x22
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
push 0xfffffffffffffffc
push ebx
mov ecx, edi
call fcn.10052770
mov edx, dword [esp + 0x18]
add esp, 8
mov ebx, dword [esp + 0xc]
mov eax, dword [edx + 4]
mov dword [esp + 0x24], eax
mov eax, dword [edi + 0x18]
mov ecx, dword [edx + 8]
mov edx, dword [edi + 0x20]
mov dword [esp + 0x2c], ecx
cmp dword [eax + 0x58], edx
jg 0x1008df92
push ecx
push ebx
push 0
mov edx, 0x8f
mov ecx, edi
call fcn.10051a30
add esp, 0xc
mov edx, eax
jmp 0x1008dfc5
lea eax, [edx + 1]
mov dword [edi + 0x20], eax
lea ecx, [edx + edx*4]
mov eax, dword [edi + 4]
mov dword [eax + ecx*4 + 8], ebx
mov ebx, dword [esp + 0x2c]
mov word [eax + ecx*4], 0x8f
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 0xc], ebx
mov dword [eax + ecx*4 + 0x10], 0
push 0xfffffffffffffffb
push dword [esp + 0x28]
mov ecx, edi
call fcn.10052770
mov eax, dword [edi]
add esp, 8
mov ebx, dword [esp + 0x14]
cmp byte [eax + 0x45], 0
jne 0x1008dfee
mov eax, dword [edi + 0x20]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov byte [eax + ecx*4 - 0x11], bl
mov edx, dword [esp + 0xc]
mov ecx, esi
push ebx
call fcn.10069210
mov edx, dword [esp + 0x10]
add esp, 4
mov ecx, esi
push ebx
call fcn.10069210
add esp, 4
cmp ebx, dword [esi + 0x3c]
jle 0x1008e01b
mov eax, dword [esp + 0xc]
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], eax
mov eax, dword [esp + 0x18]
test eax, eax
je 0x1008e049
mov edx, dword [edi + 0x18]
mov ecx, dword [edx + 0x78]
test ecx, ecx
je 0x1008e03b
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [edi + 0x20]
mov dword [ecx], eax
mov eax, dword [edi + 0x20]
mov ecx, esi
dec eax
mov dword [edx + 0x60], eax
call fcn.10069520
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x20]
inc ecx
mov edx, dword [esp + 0x10]
add edx, 0x10
mov dword [esp + 0x30], ecx
mov dword [esp + 0x10], edx
cmp ecx, dword [eax + 0x2c]
jl 0x1008dda0
mov edx, dword [esp + 0x1c]
test edx, edx
je 0x1008e0ce
mov eax, dword [edi + 0x18]
mov ebx, dword [edi + 0x20]
mov dword [esp + 0x28], ebx
cmp dword [eax + 0x58], ebx
jg 0x1008e09b
push 0
push 0
push edx
mov edx, 0x2d
mov ecx, edi
call fcn.10051a30
add esp, 0xc
mov dword [esp + 0x28], eax
jmp 0x1008e0ce
lea eax, [ebx + 1]
mov dword [edi + 0x20], eax
lea ecx, [ebx + ebx*4]
mov eax, dword [edi + 4]
mov word [eax + ecx*4], 0x2d
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, esi
call fcn.10069520
mov eax, dword [esp + 0x20]
cmp dword [eax + 0x24], 0
mov ebx, dword [eax + 0x1c]
jle 0x1008e107
add ebx, 0x14
xor edi, edi
push dword [ebx - 4]
mov edx, dword [ebx]
mov ecx, esi
call fcn.1006a9b0
mov eax, dword [esp + 0x24]
lea ebx, [ebx + 0x18]
inc edi
add esp, 4
cmp edi, dword [eax + 0x24]
jl 0x1008e0e7
mov edi, dword [esp + 0x34]
mov ecx, esi
mov byte [eax], 0
call fcn.10069520
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x1008e152
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0x20]
dec ecx
mov dword [eax + 0x60], ecx
mov eax, dword [edi]
mov edx, dword [edi + 0x20]
cmp byte [eax + 0x45], 0
je 0x1008e13d
mov eax, 0x100fe494
mov dword [eax + 8], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test ebx, ebx
lea eax, [edx - 1]
cmovns eax, ebx
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov dword [eax + ecx*4 + 8], edx
lea eax, [eax + ecx*4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret