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

Disassembly:
sub esp, 0x5c
push ebx
xor ebx, ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x84]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], 0xc
mov ecx, dword [esp + 0x24]
add ecx, edi
lea eax, [esp + 0x24]
mov dword [0x1002e60c], eax
lea eax, [ecx - 0x18]
mov dword [esp + 0x54], eax
lea edx, [esp + 0x1c]
mov dword [0x1002e608], edx
xor edx, edx
add eax, 3
mov dword [esp + 0x58], edx
adc edx, ebx
mov dword [esp + 0x1c], 0x18
mov dword [0x1002e600], eax
mov eax, dword [esp + 0x7c]
dec eax
mov dword [0x1002e604], edx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], ebx
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x4c]
mov esi, ecx
sub esi, eax
lea eax, [esp + 0x28]
mov dword [0x1002e5f8], eax
mov dword [esp + 0x28], ebx
mov eax, dword [esp + 0x28]
xor edi, edi
and eax, edi
lea edx, [esp + 0x11]
mov dword [0x1002e5f4], edx
lea edx, [eax + eax]
mov dword [esp + 0x2c], edx
movsx edx, byte [esp + 0x2c]
or edx, esi
lea eax, [esp + 0x2c]
mov dword [0x1002e5f0], eax
mov al, byte [esp + 0x84]
mov word [0x1002e5ec], dx
mov edx, dword [esp + 0x1c]
sub al, dl
mov byte [esp + 0x13], al
mov byte [esp + 0x10], 1
mov dword [esp + 0x20], ebx
lea eax, [esp + 0x34]
mov dword [0x1002e5e8], eax
mov byte [esp + 0x12], 0x28
mov byte [esp + 0x12], 0x18
mov dl, byte [esp + 0x12]
mov eax, dword [esp + 0x50]
mov dword [0x1002e5e4], ecx
mov dword [esp + 0x38], ecx
mov cl, byte [esp + 0x4c]
sub cl, dl
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
and al, 0x28
mov dword [esp + 0x30], edx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x48], ebx
mov byte [esp + 0x11], 0xc
mov dword [esp + 0x34], 0x21
and eax, 1
sub edi, eax
mov dword [esp + 0x64], 0xc0000049
mov dword [esp + 0x68], 0xffffffff
mov byte [0x1002e5e0], 2
mov dword [0x1002e5dc], 0x1002e5e0
mov byte [esp + 0x12], cl
mov dword [esp + 0x20], edi
mov dword [esp + 0x30], 0xfffffffe
xor edx, edx
mov dl, byte [esp + 0x20]
lea eax, [esp + 0x30]
mov dword [0x1002e5d8], eax
mov eax, dword [esp + 0x30]
mov ebp, dword [esp + 0x54]
mov edi, dword [esp + 0x84]
mov dword [0x1002e5d4], 0x18
or edx, eax
mov byte [esp + 0x12], dl
movsx edx, byte [esp + 0x12]
mov eax, 1
sub eax, edx
mov dword [0x1002e5d0], eax
mov al, byte [0x1002e5d0]
mov dl, 0xac
imul dl
mov byte [esp + 0x12], al
movzx eax, byte [esp + 0x12]
movzx edx, byte [esp + 0x10]
sub eax, ebp
sub eax, edi
movsx edi, byte [0x1002e5e0]
imul eax, edx
mov edx, dword [esp + 0x80]
add edi, eax
mov eax, dword [0x1002e5d4]
imul eax, esi
mov dword [0x1002e5cc], eax
mov edx, dword [edx]
mov dword [esp + 0x5c], 3
mov dword [esp + 0x60], ebx
mov dword [esp + 0x20], edx
cmp dword [esp + 0x20], ebx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x84], edi
mov byte [0x1002e5c9], bl
jle 0x1000d2ac
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x78]
push eax
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.100073a0
mov ecx, dword [0x1002e5e4]
mov edi, eax
mov eax, dword [0x1002e5cc]
jmp 0x1000d2b0
mov edi, dword [esp + 0x40]
mov edx, dword [esp + 0x58]
mov dword [esp + 0x44], edx
mov edx, dword [0x1002e600]
mov dword [esp + 0x38], edx
mov edx, dword [0x1002e604]
mov dword [esp + 0x3c], edx
cmp ebp, dword [esp + 0x38]
mov dword [esp + 0x14], edi
mov dword [esp + 0x40], ebp
jne 0x1000d2e8
mov edx, dword [esp + 0x3c]
cmp dword [esp + 0x58], edx
je 0x1000d37a
movsx eax, byte [esp + 0x13]
mov ebp, dword [esp + 0x40]
cdq
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], edx
jmp 0x1000d310
mov edi, dword [esp + 0x14]
mov ecx, dword [0x1002e5e4]
jmp 0x1000d310
mov eax, dword [0x1002e5e8]
movsx edx, byte [eax]
mov eax, dword [esp + 0x58]
inc edx
push edx
mov edx, dword [esp + 0x58]
push eax
push edx
sub edi, ecx
mov ecx, dword [0x1002e60c]
mov ecx, dword [ecx]
push edi
lea eax, [esp + 0x5c]
push eax
movsx eax, byte [0x1002e5ec]
cdq
push esi
push edx
mov edx, dword [esp + 0x98]
push eax
call fcn.1000cc00
mov edx, eax
mov eax, dword [esp + 0x44]
add ebp, 1
adc eax, ebx
mov dword [esp + 0x44], eax
mov eax, dword [0x1002e600]
cmp ebp, eax
mov ecx, dword [0x1002e604]
jne 0x1000d2fc
cmp dword [esp + 0x44], ecx
jne 0x1000d2fc
mov edi, dword [esp + 0x14]
mov eax, dword [0x1002e5cc]
jmp 0x1000d37e
mov edx, dword [esp + 0x48]
or edi, edx
mov edx, dword [esp + 0x60]
mov ecx, dword [esp + 0x5c]
add ecx, eax
mov eax, dword [0x1002e5dc]
mov dword [esp + 0x14], edi
movsx edx, byte [eax]
movzx eax, byte [esp + 0x10]
sub eax, edx
mov dl, byte [esp + 0x84]
mov dword [esp + 0x20], eax
mov al, byte [esp + 0x64]
sub al, dl
movsx eax, al
cmp eax, ecx
jae 0x1000d3ee
movsx edx, byte [0x1002e5ec]
push edx
push ebx
lea eax, [esp + 0x6c]
push eax
push ecx
xor ecx, ecx
mov cl, byte [esp + 0x28]
push ebx
push 0xfe
mov edx, 0xc
sub edx, edi
push ecx
push edx
push 0x1002e5cc
call fcn.1000a530
mov edi, dword [esp + 0x14]
movsx eax, al
mov dword [esp + 0x20], eax
sub edi, dword [esp + 0x20]
mov dword [esp + 0x18], edi
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret 0x18