Function at 0x300141b0
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov esi, ecx
mov ebx, 0x10b
push edi
mov dword [ebp - 0xc], esi
mov ecx, dword [esi + 0x18]
mov eax, dword [ecx + 0x3c]
add eax, 0x18
mov dword [ebp - 0x10], eax
test ecx, ecx
je 0x300142b6
call fcn.30003fc0
cmp eax, 1
jne 0x300142b6
mov eax, dword [esi + 0x24]
cmp word [eax + 0x18], bx
jne 0x300142b6
mov dword [eax + 0xd0], 0
mov eax, dword [esi + 0x24]
mov dword [eax + 0xd4], 0
mov eax, dword [esi + 0x24]
mov ecx, dword [eax + 0x74]
cmp ecx, 0x10
jae 0x3001423f
jmp 0x30014220
mov eax, dword [esi + 0x24]
mov dword [eax + ecx*8 + 0x7c], 0
mov eax, dword [esi + 0x24]
mov dword [eax + ecx*8 + 0x78], 0
inc ecx
cmp ecx, 0x10
jb 0x30014220
mov eax, dword [esi + 0x24]
mov dword [eax + 0x74], 0x10
mov ecx, 0xe0
mov eax, dword [esi + 0x24]
xor ebx, ebx
mov word [eax + 0x14], cx
xor eax, eax
mov edx, dword [esi + 0x24]
xor ecx, ecx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ecx
mov dword [ebp - 0x14], edx
movzx edi, word [edx + 6]
cmp bx, di
jae 0x300142a5
mov edx, dword [esi]
mov esi, edi
add edx, 8
mov ecx, dword [edx + 4]
mov ebx, dword [edx]
add ecx, ebx
add eax, dword [ebp - 4]
mov edi, dword [edx + 4]
cmp ecx, eax
jbe 0x30014291
mov eax, edi
mov ecx, ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ecx
jmp 0x30014297
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
add edx, 0x34
sub esi, 1
jne 0x30014274
mov esi, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
add eax, ecx
mov dword [edx + 0x50], eax
mov ebx, dword [esi + 0x24]
movzx eax, word [ebx + 6]
jmp 0x30014380
mov eax, dword [esi + 0x28]
mov dword [eax + 0xe0], 0
mov eax, dword [esi + 0x28]
mov dword [eax + 0xe4], 0
mov eax, dword [esi + 0x28]
mov ecx, dword [eax + 0x84]
cmp ecx, 0x10
jae 0x30014305
mov edi, edi
mov eax, dword [esi + 0x28]
mov dword [eax + ecx*8 + 0x8c], 0
mov eax, dword [esi + 0x28]
mov dword [eax + ecx*8 + 0x88], 0
inc ecx
cmp ecx, 0x10
jb 0x300142e0
mov eax, dword [esi + 0x28]
mov dword [eax + 0x84], 0x10
mov ecx, 0xf0
mov eax, dword [esi + 0x28]
xor ebx, ebx
mov dword [ebp - 8], ebx
mov word [eax + 0x14], cx
xor ecx, ecx
mov eax, dword [esi + 0x24]
mov dword [ebp - 4], ecx
movzx edi, word [eax + 6]
xor eax, eax
cmp ax, di
jae 0x3001436e
mov edx, dword [esi]
mov esi, edi
add edx, 8
lea ebx, [ebx]
mov ecx, dword [edx]
mov eax, dword [ebp - 4]
mov edi, dword [edx + 4]
add ecx, edi
add eax, dword [ebp - 8]
mov ebx, dword [edx]
cmp ecx, eax
jbe 0x3001435d
mov ecx, edi
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ecx
jmp 0x30014363
mov ecx, dword [ebp - 4]
mov ebx, dword [ebp - 8]
add edx, 0x34
sub esi, 1
jne 0x30014340
mov esi, dword [ebp - 0xc]
mov eax, dword [esi + 0x28]
add ecx, ebx
mov dword [eax + 0x50], ecx
mov eax, dword [esi + 0x24]
mov ebx, dword [esi + 0x28]
movzx eax, word [eax + 6]
lea ecx, [eax + eax*4]
xor edx, edx
movzx eax, word [ebx + 0x14]
add eax, dword [ebx + 0x3c]
lea eax, [eax + ecx*8]
mov ecx, dword [ebp - 0x10]
dec ecx
add ecx, eax
mov eax, ecx
div dword [ebx + 0x3c]
sub ecx, edx
mov dword [ebx + 0x54], ecx
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x300143dd
call fcn.30003fc0
cmp eax, 1
jne 0x300143dd
mov eax, dword [esi + 0x24]
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x300143dd
mov ebx, dword [eax + 0xd8]
mov dword [eax + 0xd8], 0
mov eax, dword [esi + 0x24]
mov dword [eax + 0xdc], 0
jmp 0x300143fd
mov eax, dword [esi + 0x28]
mov ebx, dword [eax + 0xe8]
mov dword [eax + 0xe8], 0
mov eax, dword [esi + 0x28]
mov dword [eax + 0xec], 0
test ebx, ebx
je 0x30014439
mov eax, dword [esi + 0x24]
xor ecx, ecx
xor edx, edx
cmp cx, word [eax + 6]
jae 0x30014439
mov edi, edi
movzx eax, dx
imul ecx, eax, 0x34
add ecx, dword [esi]
mov edi, dword [ecx + 0xc]
cmp edi, ebx
ja 0x3001442f
mov eax, dword [ecx + 8]
add eax, edi
cmp eax, ebx
jbe 0x3001442f
or dword [ecx + 0x24], 0xc0000000
mov eax, dword [esi + 0x24]
inc edx
cmp dx, word [eax + 6]
jb 0x30014410
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret