Function at 0x10004750
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x18
push ebx
push ebp
push esi
push edi
push 0x30d40
call fcn.10002480
mov esi, eax
push 0x186a0
mov dword [esp + 0x1c], esi
call fcn.10002480
mov ebp, eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x14], ebp
test eax, eax
mov dword [ebp], esi
je 0x100047cd
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], 0x17
mov dword [ebp + 4], ecx
mov edx, dword [0x10012ee0]
xor ecx, ecx
mov eax, dword [edx + eax*4]
mov edx, dword [ebp]
mov cx, word [eax + 1]
lea ecx, [edx + ecx*4]
xor edx, edx
mov dword [esp + 0x10], ecx
mov dx, word [eax + 1]
mov eax, dword [esp + 0x30]
mov ecx, dword [ebp]
push edx
push eax
push ecx
call fcn.10002780
jmp case.default.0x10004837
mov edx, dword [esp + 0x30]
add edx, 0xfffffffc
mov dword [ebp + 4], edx
mov dword [esp + 0x10], esi
mov eax, dword [ebp + 4]
lea esi, [ebp + 4]
add eax, 4
mov dword [esi], eax
mov edi, dword [eax]
mov eax, dword [esp + 0x10]
mov ecx, dword [0x10012ee0]
mov ebx, dword [ecx + edi*4]
test ebx, ebx
jne 0x10004803
push edi
call fcn.10004720
mov eax, dword [esp + 0x10]
cmp edi, 0x1b
jae 0x10004ac3
cmp edi, 6
lea ecx, [eax - 4]
jb 0x1000485e
cmp edi, 0x17
jae 0x100049ec
cmp edi, 0xa
jb 0x100048c7
cmp edi, 0xe
jb 0x1000490f
add edi, 0xfffffff2
cmp edi, 8
ja case.default.0x10004837
jmp dword [edi*4 + 0x10004dac]
mov ebx, dword [esi]
add ebx, 4
mov eax, ebx
mov dword [esi], ebx
mov edx, dword [eax]
lea eax, [edx*4 + 4]
mov ecx, eax
mov eax, dword [esp + 0x10]
mov edx, eax
sub edx, ecx
mov edi, dword [edx]
jmp 0x100047ec
mov eax, dword [esi]
mov edx, 4
add eax, edx
mov dword [esi], eax
mov ebx, dword [ecx]
mov eax, dword [eax]
test ebx, ebx
je 0x1000487c
cmp edi, 2
je 0x1000489a
cmp edi, edx
jne 0x10004886
jmp 0x1000489a
cmp edi, 3
je 0x1000489a
cmp edi, 5
je 0x1000489a
mov ecx, dword [ebp + 0xc]
cmp edi, edx
mov ecx, dword [ecx + 7]
lea eax, [ecx + eax*4 - 4]
mov dword [esi], eax
jb case.0x10004837.19
add dword [esp + 0x10], edx
cmp edi, edx
jae 0x100048be
mov eax, dword [ebp + 0xc]
xor ecx, ecx
xor edx, edx
mov cx, word [eax + 0xb]
mov dx, word [eax + 1]
mov eax, dword [ebp]
add ecx, edx
lea ecx, [eax + ecx*4]
mov dword [esp + 0x10], ecx
jmp case.default.0x10004837
sub dword [esp + 0x10], edx
jmp case.default.0x10004837
cmp edi, 9
jne 0x100048d7
mov eax, dword [esi]
add eax, 4
mov dword [esi], eax
mov edi, dword [eax]
jmp 0x100048da
add edi, 0xfffffffb
mov edx, edi
dec edi
test edx, edx
je case.default.0x10004837
lea ecx, [edi + 1]
mov edx, 4
mov ebx, dword [esi]
add ebx, edx
mov eax, ebx
mov dword [esi], ebx
mov edi, dword [esp + 0x10]
mov eax, dword [eax]
mov dword [edi], eax
mov edi, dword [esp + 0x10]
add edi, edx
dec ecx
mov dword [esp + 0x10], edi
jne 0x100048ed
jmp case.default.0x10004837
cmp edi, 0xd
jne 0x1000491f
mov eax, dword [esi]
add eax, 4
mov dword [esi], eax
mov edi, dword [eax]
jmp 0x10004922
add edi, 0xfffffff7
mov ecx, edi
dec edi
test ecx, ecx
je case.default.0x10004837
lea ecx, [edi + 1]
mov edx, 4
mov ebx, dword [esi]
mov edi, dword [ebp]
add ebx, edx
mov eax, ebx
mov dword [esi], ebx
mov eax, dword [eax]
mov eax, dword [edi + eax*4]
mov edi, dword [esp + 0x10]
mov dword [edi], eax
mov edi, dword [esp + 0x10]
add edi, edx
dec ecx
mov dword [esp + 0x10], edi
jne 0x10004935
jmp case.default.0x10004837
mov ecx, dword [esi]
mov edx, dword [ebp]
add ecx, 4
mov dword [esi], ecx
mov esi, ecx
mov ecx, dword [esi]
lea eax, [edx + ecx*4]
jmp 0x100049d6
mov edx, dword [esi]
mov eax, dword [ebp]
add edx, 4
mov dword [esi], edx
mov ecx, dword [ecx]
mov esi, edx
mov edx, dword [esi]
mov dword [eax + edx*4], ecx
mov eax, dword [esp + 0x10]
sub eax, 4
mov dword [esp + 0x10], eax
jmp case.default.0x10004837
mov edx, dword [ecx]
mov dword [eax], edx
mov eax, dword [esp + 0x10]
add eax, 4
mov dword [esp + 0x10], eax
jmp case.default.0x10004837
mov esi, dword [ecx]
mov edx, dword [eax - 8]
mov dword [eax - 8], esi
mov dword [ecx], edx
jmp case.default.0x10004837
mov edx, dword [ecx]
mov dword [eax - 8], edx
mov eax, dword [esp + 0x10]
sub eax, 4
mov dword [esp + 0x10], eax
jmp case.default.0x10004837
mov ecx, dword [esi]
add ecx, 4
mov dword [esi], ecx
mov esi, ecx
mov eax, dword [esi]
mov ecx, dword [esp + 0x10]
mov dword [ecx], eax
mov eax, dword [esp + 0x10]
add eax, 4
mov dword [esp + 0x10], eax
jmp case.default.0x10004837
jne 0x10004a44
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x10004a13
cmp word [ecx + 0xb], 0
je 0x10004a13
mov eax, dword [ebp]
xor edx, edx
mov dx, word [ecx + 1]
lea edx, [eax + edx*4]
push edx
push ecx
call fcn.10004200
mov eax, dword [esp + 0x10]
cmp ebp, dword [esp + 0x14]
je 0x10004d86
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x10004a35
mov ecx, dword [ebp]
mov edx, dword [eax - 4]
mov dword [ecx], edx
mov eax, dword [ebp]
add eax, 4
mov dword [ebp], eax
mov eax, dword [ebp]
sub ebp, 0x10
mov dword [esp + 0x10], eax
jmp case.default.0x10004837
cmp edi, 0x18
je 0x10004a6c
cmp edi, 0x19
je 0x10004a6c
cmp edi, 0x1a
jne case.default.0x10004837
mov ecx, dword [esi]
mov edx, dword [ecx + 4]
push edx
call fcn.10003000
mov ecx, dword [esi]
mov dword [ecx + 4], eax
jmp case.default.0x10004837
mov ecx, dword [esi]
add ecx, 4
mov dword [esi], ecx
mov edx, dword [esp + 0x10]
mov eax, ecx
add eax, 4
mov dword [edx], eax
mov eax, dword [esp + 0x10]
add eax, 4
mov dword [esp + 0x10], eax
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, eax
mov ebx, eax
and dl, 3
neg dl
sbb edx, edx
neg edx
shr ebx, 2
add edx, ebx
cmp edi, 0x19
lea ecx, [ecx + edx*4]
mov dword [esi], ecx
jne case.default.0x10004837
mov edx, dword [esp + 0x10]
mov dword [edx], eax
mov eax, dword [esp + 0x10]
add eax, 4
mov dword [esp + 0x10], eax
jmp case.default.0x10004837
mov cl, byte [ebx]
test cl, cl
mov byte [esp + 0x30], cl
jne 0x10004adf
mov dword [eax], edi
mov eax, dword [esp + 0x10]
add eax, 4
mov dword [esp + 0x10], eax
jmp case.default.0x10004837
cmp cl, 2
jbe 0x10004d2a
cmp cl, 0x10
jne 0x10004b60
mov cl, byte [ebx + 5]
test cl, cl
je 0x10004b09
mov ebx, dword [ebx + 1]
mov dword [eax], ebx
mov eax, dword [esp + 0x10]
add eax, 4
mov dword [esp + 0x10], eax
jmp case.default.0x10004837
mov ecx, dword [ebx + 6]
cmp ecx, 4
jne 0x10004b28
mov ecx, dword [ebx + 1]
mov ebx, dword [ecx]
mov dword [eax], ebx
mov eax, dword [esp + 0x10]
add eax, 4
mov dword [esp + 0x10], eax
jmp case.default.0x10004837
cmp ecx, 2
jne 0x10004b47
mov edx, dword [ebx + 1]
xor ebx, ebx
mov bx, word [edx]
mov dword [eax], ebx
mov eax, dword [esp + 0x10]
add eax, 4
mov dword [esp + 0x10], eax
jmp case.default.0x10004837
mov ecx, dword [ebx + 1]
xor ebx, ebx
mov bl, byte [ecx]
mov dword [eax], ebx
mov eax, dword [esp + 0x10]
add eax, 4
mov dword [esp + 0x10], eax
jmp case.default.0x10004837
mov edx, dword [ebx + 7]
cmp cl, 3
jne 0x10004b75
lea eax, [esp + 0x10]
push esi
push eax
call edx
jmp case.default.0x10004837
xor esi, esi
mov si, word [ebx + 1]
neg esi
cmp cl, 5
lea eax, [eax + esi*4]
mov dword [esp + 0x10], eax
jne 0x10004b99
mov ecx, dword [eax]
push ecx
call edx
mov edx, dword [esp + 0x10]
mov dword [edx], eax
jmp 0x10004d0f
cmp cl, 6
jne 0x10004bac
mov ecx, dword [eax + 4]
mov eax, dword [eax]
push ecx
push eax
call edx
jmp 0x10004d09
cmp cl, 4
jne 0x10004bbe
call edx
mov edx, dword [esp + 0x10]
mov dword [edx], eax
jmp 0x10004d0f
cmp cl, 7
jne 0x10004bd5
mov ecx, dword [eax + 8]
push ecx
mov ecx, dword [eax + 4]
mov eax, dword [eax]
push ecx
push eax
call edx
jmp 0x10004d09
cmp cl, 8
jne 0x10004bf0
mov ecx, dword [eax + 0xc]
push ecx
mov ecx, dword [eax + 8]
push ecx
mov ecx, dword [eax + 4]
mov eax, dword [eax]
push ecx
push eax
call edx
jmp 0x10004d09
mov ecx, dword [esp + 0x30]
and ecx, 0xff
add ecx, 0xfffffff7
cmp ecx, 6
ja case.default.0x10004c06
jmp dword [ecx*4 + 0x10004dd0]
mov ecx, dword [eax + 0x10]
push ecx
mov ecx, dword [eax + 0xc]
push ecx
mov ecx, dword [eax + 8]
push ecx
mov ecx, dword [eax + 4]
mov eax, dword [eax]
push ecx
push eax
call edx
jmp 0x10004d09
mov ecx, dword [eax + 0x14]
push ecx
mov ecx, dword [eax + 0x10]
push ecx
mov ecx, dword [eax + 0xc]
push ecx
mov ecx, dword [eax + 8]
push ecx
mov ecx, dword [eax + 4]
mov eax, dword [eax]
push ecx
push eax
call edx
jmp 0x10004d09
mov ecx, dword [eax + 0x18]
push ecx
mov ecx, dword [eax + 0x14]
push ecx
mov ecx, dword [eax + 0x10]
push ecx
mov ecx, dword [eax + 0xc]
push ecx
mov ecx, dword [eax + 8]
push ecx
mov ecx, dword [eax + 4]
mov eax, dword [eax]
push ecx
push eax
call edx
jmp 0x10004d09
mov ecx, dword [eax + 0x1c]
push ecx
mov ecx, dword [eax + 0x18]
push ecx
mov ecx, dword [eax + 0x14]
push ecx
mov ecx, dword [eax + 0x10]
push ecx
mov ecx, dword [eax + 0xc]
push ecx
mov ecx, dword [eax + 8]
push ecx
mov ecx, dword [eax + 4]
mov eax, dword [eax]
push ecx
push eax
call edx
jmp 0x10004d09
mov ecx, dword [eax + 0x20]
push ecx
mov ecx, dword [eax + 0x1c]
push ecx
mov ecx, dword [eax + 0x18]
push ecx
mov ecx, dword [eax + 0x14]
push ecx
mov ecx, dword [eax + 0x10]
push ecx
mov ecx, dword [eax + 0xc]
push ecx
mov ecx, dword [eax + 8]
push ecx
mov ecx, dword [eax + 4]
mov eax, dword [eax]
push ecx
push eax
call edx
jmp 0x10004d09
mov ecx, dword [eax + 0x24]
push ecx
mov ecx, dword [eax + 0x20]
push ecx
mov ecx, dword [eax + 0x1c]
push ecx
mov ecx, dword [eax + 0x18]
push ecx
mov ecx, dword [eax + 0x14]
push ecx
mov ecx, dword [eax + 0x10]
push ecx
mov ecx, dword [eax + 0xc]
push ecx
mov ecx, dword [eax + 8]
push ecx
mov ecx, dword [eax + 4]
mov eax, dword [eax]
push ecx
push eax
call edx
jmp 0x10004d09
mov ecx, dword [eax + 0x28]
push ecx
mov ecx, dword [eax + 0x24]
push ecx
mov ecx, dword [eax + 0x20]
push ecx
mov ecx, dword [eax + 0x1c]
push ecx
mov ecx, dword [eax + 0x18]
push ecx
mov ecx, dword [eax + 0x14]
push ecx
mov ecx, dword [eax + 0x10]
push ecx
mov ecx, dword [eax + 0xc]
push ecx
mov ecx, dword [eax + 8]
push ecx
mov ecx, dword [eax + 4]
mov eax, dword [eax]
push ecx
push eax
call edx
mov ecx, dword [esp + 0x10]
mov dword [ecx], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [ebx + 3]
test ecx, ecx
je case.default.0x10004837
add eax, 4
mov dword [esp + 0x10], eax
jmp case.default.0x10004837
mov edx, dword [ebx + 7]
add ebp, 0x10
sub edx, 4
xor eax, eax
mov dword [ebp + 4], edx
mov ax, word [ebx + 1]
mov ecx, dword [esp + 0x10]
neg eax
lea eax, [ecx + eax*4]
xor ecx, ecx
mov dword [esp + 0x10], eax
mov dword [ebp], eax
mov edx, dword [ebx + 3]
xor eax, eax
mov dword [ebp + 8], edx
mov dword [ebp + 0xc], ebx
mov ax, word [ebx + 0xb]
mov cx, word [ebx + 1]
mov edx, dword [esp + 0x10]
add eax, ecx
xor ecx, ecx
lea eax, [edx + eax*4]
mov dword [esp + 0x10], eax
mov cx, word [ebx + 1]
mov edx, dword [ebp]
lea eax, [edx + ecx*4]
push eax
push ebx
call fcn.10004180
jmp case.default.0x10004837
mov ecx, dword [esp + 0x18]
mov esi, dword [eax - 4]
push ecx
call fcn.100025b0
mov edx, dword [esp + 0x14]
push edx
call fcn.100025b0
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 8