Function at 0x10016450
Capabilities:
Enumerate pe sections

Disassembly:
push 0xffffffffffffffff
push 0x10045780
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x10054020]
xor eax, esp
mov dword [esp + 0x70], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10054020]
xor eax, esp
push eax
lea eax, [esp + 0x8c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x9c]
lea ecx, [esp + 0x3c]
mov dword [esp + 0x2c], ebp
call fcn.10016240
xor ebx, ebx
push 0x38
mov dword [esp + 0x98], ebx
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
cmp eax, ebx
je 0x100164c4
call fcn.10026520
mov esi, eax
cmp esi, ebx
je 0x100164c6
lea edi, [esi + 8]
mov dword [esp + 0x28], edi
jmp 0x100164cc
xor esi, esi
mov dword [esp + 0x28], ebx
mov edi, ebx
cmp edi, ebx
mov dword [esp + 0x38], edi
je 0x100164dd
mov eax, dword [edi]
mov edx, dword [eax + 4]
mov ecx, edi
call edx
push 3
push 1
push 0x80000000
add esi, 0x18
lea ebx, [esp + 0x48]
mov byte [esp + 0xa0], 1
call fcn.100290b0
test al, al
jne 0x1001652d
test edi, edi
mov byte [esp + 0x94], al
je 0x10016512
mov eax, dword [edi]
mov edx, dword [eax + 8]
mov ecx, edi
call edx
cmp dword [esp + 0x54], 8
jb 0x10016526
mov eax, dword [esp + 0x40]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
xor al, al
jmp 0x10016a37
xor ebx, ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
lea eax, [ebx + 0x70]
lea ecx, [esp + 0x18]
mov byte [esp + 0x94], 2
call fcn.10017520
mov eax, dword [esp + 0x1c]
cmp eax, ebx
mov esi, dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov dword [esp + 0x30], ebx
je 0x10016569
mov ecx, dword [esp + 0x20]
sub ecx, eax
jne 0x1001656f
call esi
mov eax, dword [esp + 0x1c]
mov edx, dword [edi]
mov edx, dword [edx + 0x10]
lea ecx, [esp + 0x30]
push ecx
push 0x70
push eax
mov ecx, edi
call edx
test eax, eax
je 0x100165d0
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x10016595
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov byte [esp + 0x94], bl
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov eax, dword [edi]
mov edx, dword [eax + 8]
mov ecx, edi
call edx
cmp dword [esp + 0x54], 8
jb 0x10016526
mov eax, dword [esp + 0x40]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
xor al, al
jmp 0x10016a37
cmp dword [esp + 0x30], 0x70
je 0x10016623
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x100165e8
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov byte [esp + 0x94], bl
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov edx, dword [edi]
mov eax, dword [edx + 8]
mov ecx, edi
call eax
cmp dword [esp + 0x54], 8
jb 0x10016526
mov ecx, dword [esp + 0x40]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
xor al, al
jmp 0x10016a37
mov edx, dword [esp + 0x1c]
cmp edx, ebx
jne 0x1001662f
xor edi, edi
jmp 0x1001663b
mov eax, dword [esp + 0x20]
sub eax, edx
cmp eax, ebx
mov edi, eax
ja 0x10016641
call esi
mov edx, dword [esp + 0x1c]
lea eax, [edi - 0x10]
lea ecx, [esp + 0x74]
mov ebx, edx
lea edi, [esp + 0x58]
call fcn.100246f0
cmp dword [esp + 0x6c], 0
jne 0x1001668d
mov ecx, edi
call fcn.10001f30
lea esi, [esp + 0x18]
call fcn.1002d270
mov ecx, dword [esp + 0x28]
mov byte [esp + 0x94], 0
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
lea ecx, [esp + 0x3c]
call fcn.10001f30
xor al, al
jmp 0x10016a37
mov eax, dword [esp + 0x1c]
test eax, eax
mov ecx, dword [esp + 0x20]
jne 0x1001669d
xor edx, edx
jmp 0x100166a1
mov edx, ecx
sub edx, eax
test eax, eax
lea esi, [edx - 0x10]
je 0x100166b0
mov edx, ecx
sub edx, eax
cmp esi, edx
jb 0x100166be
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
add esi, eax
mov edx, 0x10
lea edi, [esp + 0x74]
lea esp, [esp]
mov ebx, dword [edi]
cmp ebx, dword [esi]
jne 0x100166e8
sub edx, 4
add esi, 4
add edi, 4
cmp edx, 4
jae 0x100166d0
test edx, edx
je 0x10016755
movzx ebp, byte [edi]
movzx ebx, byte [esi]
sub ebp, ebx
jne 0x10016737
sub edx, 1
add esi, 1
add edi, 1
test edx, edx
je 0x10016751
movzx ebp, byte [edi]
movzx ebx, byte [esi]
sub ebp, ebx
jne 0x10016737
sub edx, 1
add esi, 1
add edi, 1
test edx, edx
je 0x10016751
movzx ebp, byte [edi]
movzx ebx, byte [esi]
sub ebp, ebx
jne 0x10016737
sub edx, 1
add esi, 1
add edi, 1
test edx, edx
je 0x10016751
movzx ebp, byte [edi]
movzx edx, byte [esi]
sub ebp, edx
je 0x10016751
mov edi, dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
xor esi, esi
cmp ebp, esi
mov ebp, dword [esp + 0x2c]
mov edx, 1
jg 0x1001675f
or edx, 0xffffffff
jmp 0x1001675f
mov ebp, dword [esp + 0x2c]
mov edi, dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
xor edx, edx
xor esi, esi
cmp edx, esi
je 0x100167c5
mov ebx, 8
cmp dword [esp + 0x70], ebx
jb 0x1001677f
mov eax, dword [esp + 0x5c]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
mov eax, dword [esp + 0x20]
add esp, 4
cmp eax, esi
mov dword [esp + 0x70], 7
mov dword [esp + 0x6c], esi
mov word [esp + 0x5c], si
je 0x1001679d
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov ecx, dword [esp + 0x28]
mov byte [esp + 0x94], 0
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
cmp dword [esp + 0x54], ebx
jmp 0x10016609
cmp eax, esi
je 0x100167cf
mov edx, ecx
sub edx, eax
jne 0x100167d9
call edi
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
movzx esi, byte [eax]
mov edx, ecx
sub edx, eax
shl esi, 0x18
cmp edx, 1
ja 0x100167f2
call edi
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
movzx edx, byte [eax + 1]
shl edx, 0x10
or esi, edx
mov edx, ecx
sub edx, eax
cmp edx, 2
ja 0x1001680e
call edi
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
xor edx, edx
mov dh, byte [eax + 2]
or esi, edx
mov edx, ecx
sub edx, eax
cmp edx, 3
ja 0x10016828
call edi
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
movzx edx, byte [eax + 3]
or edx, esi
mov dword [ebp + 4], edx
mov edx, ecx
sub edx, eax
cmp edx, 4
mov dword [ebp], 0
ja 0x1001684b
call edi
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
movzx esi, byte [eax + 4]
mov edx, ecx
sub edx, eax
shl esi, 0x18
cmp edx, 5
ja 0x10016865
call edi
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
movzx edx, byte [eax + 5]
shl edx, 0x10
or esi, edx
mov edx, ecx
sub edx, eax
cmp edx, 6
ja 0x10016881
call edi
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
xor edx, edx
mov dh, byte [eax + 6]
or esi, edx
mov edx, ecx
sub edx, eax
cmp edx, 7
ja 0x1001689b
call edi
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
movzx edx, byte [eax + 7]
or esi, edx
or dword [ebp], esi
mov edx, ecx
sub edx, eax
mov ebx, 8
cmp edx, ebx
ja 0x100168bb
call edi
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
movzx edx, byte [eax + 8]
shl edx, 0x18
mov dword [ebp + 8], edx
mov edx, ecx
sub edx, eax
cmp edx, 9
ja 0x100168d8
call edi
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
movzx edx, byte [eax + 9]
shl edx, 0x10
or dword [ebp + 8], edx
mov edx, ecx
sub edx, eax
cmp edx, 0xa
ja 0x100168f5
call edi
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
xor edx, edx
mov dh, byte [eax + 0xa]
or dword [ebp + 8], edx
mov edx, ecx
sub edx, eax
cmp edx, 0xb
ja 0x10016910
call edi
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
movzx edx, byte [eax + 0xb]
or dword [ebp + 8], edx
mov edx, ecx
sub edx, eax
cmp edx, 0xc
ja 0x1001692a
call edi
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
movzx edx, byte [eax + 0xc]
shl edx, 0x18
mov dword [ebp + 0xc], edx
mov edx, ecx
sub edx, eax
cmp edx, 0xd
ja 0x10016947
call edi
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
movzx edx, byte [eax + 0xd]
shl edx, 0x10
or dword [ebp + 0xc], edx
mov edx, ecx
sub edx, eax
cmp edx, 0xe
ja 0x10016964
call edi
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
xor edx, edx
mov dh, byte [eax + 0xe]
or dword [ebp + 0xc], edx
mov edx, ecx
sub edx, eax
cmp edx, 0xf
ja 0x1001697f
call edi
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
movzx edx, byte [eax + 0xf]
or dword [ebp + 0xc], edx
mov edx, ecx
sub edx, eax
cmp edx, 0x10
ja 0x10016999
call edi
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
mov edx, dword [eax + 0x10]
mov dword [ebp + 0x10], edx
mov edx, dword [eax + 0x14]
mov dword [ebp + 0x14], edx
mov edx, dword [eax + 0x18]
mov dword [ebp + 0x18], edx
mov edx, dword [eax + 0x1c]
sub ecx, eax
cmp ecx, 0x14
mov dword [ebp + 0x1c], edx
ja 0x100169be
call edi
mov eax, dword [esp + 0x1c]
cmp dword [esp + 0x70], ebx
lea esi, [eax + 0x14]
lea edi, [ebp + 0x20]
mov ecx, 0x10
rep movsd dword es:[edi], dword [esi]
jb 0x100169e2
mov eax, dword [esp + 0x5c]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
mov eax, dword [esp + 0x20]
add esp, 4
xor ecx, ecx
cmp eax, ecx
mov dword [esp + 0x70], 7
mov dword [esp + 0x6c], ecx
mov word [esp + 0x5c], cx
je 0x10016a02
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov ecx, dword [esp + 0x28]
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov byte [esp + 0x94], al
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
cmp dword [esp + 0x54], ebx
jb 0x10016a35
mov ecx, dword [esp + 0x40]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x8c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.1003ec9d
add esp, 0x84
ret 4