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

Disassembly:
sub esp, 0x10
push ebx
mov ebx, eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff4
cmp eax, 0xfff3
push ebp
push esi
ja 0x1001c6ae
push 0x6c
call dword [0x10138fd4]
mov esi, eax
xor ebp, ebp
add esp, 4
cmp esi, ebp
jne 0x1001c4b7
push ebp
push ebp
push ebp
push 0xf
jmp 0x1001c6b5
mov eax, dword [esp + 0x24]
add eax, 2
push eax
mov dword [esp + 0x10], eax
call dword [0x10138fd4]
add esp, 4
cmp eax, ebp
mov dword [esi + 0x3c], eax
je 0x1001c52b
mov eax, dword [edi + 0x78]
cmp eax, 1
jge 0x1001c506
push esi
call dword [0x10138fdc]
mov edx, dword [ebx + 4]
mov eax, dword [ebx]
add esp, 4
push ebp
push ebp
push ebp
push 3
push edx
call eax
add esp, 0x14
push ebx
call dword [0x10138fdc]
add esp, 4
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
lea ecx, [eax*8]
push ecx
call dword [0x10138fd4]
add esp, 4
cmp eax, ebp
mov dword [esi + 0x5c], eax
jne 0x1001c556
mov edx, dword [esi + 0x3c]
push edx
call dword [0x10138fdc]
add esp, 4
push esi
call dword [0x10138fdc]
mov eax, dword [ebx + 4]
mov ecx, dword [ebx]
add esp, 4
push ebp
push ebp
push ebp
push 0xf
push eax
call ecx
add esp, 0x14
push ebx
call dword [0x10138fdc]
add esp, 4
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov eax, dword [esp + 0x20]
xor edx, edx
mov dh, byte [eax]
mov dl, byte [eax + 1]
mov eax, dword [esp + 0x24]
mov ecx, eax
sar ecx, 8
mov dword [esi + 4], ebp
mov dword [esi + 8], ebp
push eax
mov word [esi], dx
mov edx, dword [esi + 0x3c]
mov byte [edx], cl
mov ecx, dword [esi + 0x3c]
mov edx, dword [esp + 0x24]
mov byte [ecx + 1], al
mov eax, dword [esi + 0x3c]
push edx
add eax, 2
push eax
call fcn.10024b20
mov ecx, dword [esp + 0x18]
mov edx, dword [esi + 0x3c]
mov dword [esi + 0x40], ecx
mov ecx, dword [esp + 0x30]
add edx, 2
mov dword [esi + 0x44], edx
mov dword [esi + 0x48], ecx
mov dword [esi + 0x4c], 0x1001b8e0
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebp
mov eax, dword [edi + 0x190]
add esp, 0xc
mov dword [esi + 0x58], eax
cmp dword [edi + 0x10], 1
jne 0x1001c5d9
mov eax, dword [edi + 0x190]
add eax, 1
cdq
idiv dword [edi + 0x78]
mov dword [edi + 0x190], edx
xor eax, eax
cmp dword [edi + 0x78], ebp
jle 0x1001c5f5
mov edx, dword [esi + 0x5c]
mov dword [edx + eax*8], ebp
mov edx, dword [esi + 0x5c]
mov dword [edx + eax*8 + 4], ebp
add eax, 1
cmp eax, dword [edi + 0x78]
jl 0x1001c5e0
mov eax, dword [edi]
test eax, 0x100
je 0x1001c603
mov edx, dword [edi + 0x38]
jmp 0x1001c608
mov edx, 0x200
test al, 1
jne 0x1001c614
cmp ecx, edx
jg 0x1001c614
xor eax, eax
jmp 0x1001c619
mov eax, 1
mov dword [esi + 0x60], eax
mov dword [esi + 0x64], 0xb
mov dword [esi + 0x68], ebp
mov dword [esi + 0xc], ebp
mov dword [esi + 0x10], ebp
mov dword [esi + 0x14], esi
mov dword [esi + 0x18], ebp
mov dword [esi + 0x1c], ebp
mov dword [esi + 0x20], esi
mov dword [esi + 0x24], ebp
mov dword [esi + 0x28], ebp
mov dword [esi + 0x2c], esi
lea ecx, [esi + 0x30]
lea eax, [esi + 0xc]
mov dword [ecx], ebp
mov dword [ecx + 8], esi
lea edx, [edi + 0x194]
mov dword [ecx + 4], edx
mov ebx, dword [edx]
mov dword [ecx], ebx
mov ebx, dword [edx]
mov dword [ebx + 4], ecx
mov dword [edx], ecx
movzx ecx, word [esi]
and ecx, 0x800007ff
jns 0x1001c673
dec ecx
or ecx, 0xfffff800
inc ecx
lea ecx, [ecx + ecx*2]
lea ecx, [edi + ecx*4 + 0x1a0]
mov dword [eax + 4], ecx
mov edx, dword [ecx]
mov dword [eax], edx
mov edx, dword [ecx]
mov dword [edx + 4], eax
mov dword [ecx], eax
call fcn.1001b9a0
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
push eax
push esi
push edi
mov dword [esp + 0x20], edx
call fcn.100151b0
add esp, 0xc
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
xor ebp, ebp
push ebp
push ebp
push ebp
push 7
mov ecx, dword [ebx + 4]
mov edx, dword [ebx]
push ecx
call edx
add esp, 0x14
push ebx
call dword [0x10138fdc]
add esp, 4
pop esi
pop ebp
pop ebx
add esp, 0x10
ret