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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [ebp + 0xc]
movzx ebx, word [esi]
mov edx, ebx
mov ecx, 0xc0000001
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 4], 0
mov dword [esi + 8], ecx
mov dword [esi + 0xc], ecx
mov dword [ebp - 0xc], ebx
mov dword [ebp + 0xc], edx
cmp edx, 1
jl 0x100ebd6a
lea eax, [edx + edx*2]
lea eax, [esi + eax*4 + 0x7e]
lea ecx, [esi + edx*4 + 0x10]
mov dword [ebp + 8], eax
mov ebx, dword [esi + 0x70]
movzx ebx, word [ebx + 8]
lea edx, [edx + ebx*8]
mov ebx, dword [edi + 0x3a690]
movsx ebx, word [ebx + edx*2 - 0x10]
mov edx, dword [ecx - 4]
mov dword [ebp - 8], ebx
cmp edx, dword [ecx]
jle 0x100ebcf7
mov dword [ecx], edx
mov edx, dword [ecx + 0x1c]
mov dword [ecx + 0x20], edx
mov edx, dword [ecx + 0x3c]
mov dword [ecx + 0x40], edx
xor edx, edx
mov word [eax - 2], dx
mov dword [eax - 6], edx
mov dx, word [eax - 0xc]
cmp ebx, 0xbb9
jge 0x100ebcc7
inc dx
mov word [eax], dx
mov edx, dword [ebp + 0xc]
cmp edx, 1
je 0x100ebea9
movzx ebx, word [eax - 0xe]
test bx, bx
je 0x100ebea9
mov eax, dword [eax - 0x12]
movsx ebx, bx
cdq
idiv ebx
mov edx, eax
mov eax, dword [ebp + 8]
add edx, dword [eax - 0x16]
mov dword [eax - 0xa], edx
mov edx, dword [ebp + 0xc]
cmp dword [ecx], 0xc0000001
jle 0x100ebd51
mov ebx, dword [esi + 0x70]
movzx ebx, word [ebx + 8]
lea edx, [edx + ebx*8]
mov ebx, dword [edi + 0x3a690]
movsx edx, word [ebx + edx*2 - 0x10]
mov ebx, dword [edi + 0x3a68c]
movsx ebx, word [ebx + edx*2]
mov edx, dword [ecx]
add dword [ecx + 0x20], ebx
add edx, ebx
mov dword [ecx], edx
cmp edx, dword [esi + 8]
jle 0x100ebd3e
mov dword [esi + 8], edx
mov edx, dword [ecx + 0x20]
mov dword [esi + 0xc], edx
mov edx, dword [ecx + 0x40]
mov dword [ebp - 4], edx
cmp dword [ebp - 8], 0xbb9
mov edx, dword [ebp + 0xc]
jge 0x100ebd51
inc word [eax - 2]
add dword [eax - 6], ebx
dec edx
sub eax, 0xc
sub ecx, 4
mov dword [ebp + 0xc], edx
mov dword [ebp + 8], eax
cmp edx, 1
jge 0x100ebc83
mov ebx, dword [ebp - 0xc]
movsx eax, word [ebp + 0x10]
mov ecx, dword [esi + 4]
cmp ecx, dword [edi + eax*4 + 0x3a710]
jne 0x100ebdb3
mov ecx, dword [esi + 0x14]
cmp ecx, dword [edi + eax*4 + 0x3a850]
jle 0x100ebd8d
mov dword [edi + eax*4 + 0x3a850], ecx
mov ecx, dword [esi + 0x18]
cmp ecx, dword [edi + eax*4 + 0x3a850]
jle 0x100ebda0
mov dword [edi + eax*4 + 0x3a850], ecx
mov ecx, dword [esi + 0x1c]
cmp ecx, dword [edi + eax*4 + 0x3a850]
jle 0x100ebdb3
mov dword [edi + eax*4 + 0x3a850], ecx
mov edx, dword [esi + 8]
cmp edx, dword [edi + eax*4 + 0x248]
jle 0x100ebdf3
mov edx, dword [ebp - 4]
mov dword [edi + eax*4 + 0x30958], esi
mov ecx, dword [esi + 8]
mov dword [edi + eax*4 + 0x248], ecx
mov dword [edi + 0xb4], edx
mov ecx, dword [esi + 4]
cmp ecx, dword [edi + eax*4 + 0x3a710]
je 0x100ebdf3
mov edx, dword [edi + eax*4 + 0x248]
mov dword [edi + eax*4 + 0x3a7b0], edx
mov ecx, 0xc0000001
mov dword [esi + 0x10], ecx
mov dword [esi + 0x30], ecx
xor ecx, ecx
mov dword [esi + 0x50], ecx
mov dword [esi + 0x78], ecx
mov dword [esi + 0x74], ecx
xor edx, edx
mov dword [esi + 0x7c], edx
mov ecx, dword [edi + 0xb8]
mov edx, 1
shl edx, cl
mov ecx, edx
shl ecx, 4
sub ecx, edx
sub ecx, dword [edi + eax*4 + 0x3a63c]
add ecx, dword [esi + 8]
cmp ecx, dword [edi + eax*4 + 0x30908]
jle 0x100ebe3c
mov dword [edi + eax*4 + 0x30908], ecx
mov edx, dword [edi + eax*4 + 0x298]
sub edx, dword [esi + 8]
mov ecx, dword [edi + 0xb8]
sar edx, cl
cmp edx, 0x200
jae 0x100ebe5e
inc word [edi + edx*2 + 0x204e8]
mov ecx, dword [edi + 0x3a69c]
test ecx, ecx
je 0x100ebe79
mov edx, dword [esi + ebx*4 + 0x10]
cmp edx, dword [edi + eax*4 + 0x30908]
jg 0x100ebe83
test ecx, ecx
jne 0x100ebea0
cmp dword [esi + ebx*4 + 0x10], 0xc0000001
jle 0x100ebea0
mov eax, dword [edi + 0x3a5e8]
cmp eax, 0x270f
jae 0x100ebea0
lea ecx, [eax + 1]
mov dword [edi + 0x3a5e8], ecx
mov dword [edi + eax*4 + 0x309a8], esi
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [eax - 0x16]
mov dword [eax - 0xa], ebx
jmp 0x100ebcfa