Function at 0x10004234
Capabilities:
Enumerate pe sections

Disassembly:
pop ebp
mov esi, dword [esp + 0x40]
xorps xmm0, xmm0
lea ebx, [esp + 8]
movups xmmword [ebx + 0x10], xmm0
movups xmmword [ebx], xmm0
mov edi, esp
push 0x20
push ebx
push esi
push edi
call fcn.1000173d
add esp, 0x10
mov al, byte [edi]
cmp al, 4
je 0x100041de
movzx eax, al
mov eax, dword [eax*4 + 0x10004224]
add eax, ebp
jmp eax
mov esi, dword [esp + 4]
cmp esi, 0x21
jae 0x10004216
push esi
push ebx
push dword [esp + 0x4c]
call fcn.10007b74
add esp, 0xc
mov eax, dword [esp + 0x3c]
mov dword [eax + 4], esi
mov byte [eax], 4
jmp 0x1000420e
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x1004a9e4
push 0x20
push esi
call fcn.10049950
nop
test dword [eax], eax
add byte [eax], al
inc edx
add byte [eax], al
add byte [esi], dh
add byte [eax], al
add byte [esi], dh
add byte [eax], al
add byte [ebp + 0x53], dl
push ebp
push ebx
push edi
push esi
sub esp, 0x34
call 0x10004240
pop ebx
mov edi, dword [esp + 0x48]
mov edx, dword [esp + 0x50]
mov eax, dword [edx]
mov esi, dword [edx + 8]
cmp dword [esp + 0x54], 0
mov dword [esp + 0x28], eax
je 0x100042b1
mov ebp, dword [esp + 0x58]
mov ecx, ebp
add ecx, 0x400
jb 0x10004299
mov edx, ecx
and edx, 0x1fff
mov ebp, 0x2000
sub ebp, edx
add ebp, ecx
setb al
test edx, edx
setne dl
cmove ebp, ecx
mov dword [esp], ebp
mov ebp, dword [esp + 0x58]
and dl, al
mov eax, dword [esp + 0x28]
cmp dl, 1
mov edx, dword [esp + 0x50]
jne 0x100042a0
mov dword [esp], 0x2000
test ebp, ebp
jne 0x10004320
mov ecx, eax
sub ecx, esi
mov eax, esi
cmp ecx, 0x20
jb 0x100042c3
jmp 0x10004322
mov ecx, eax
sub ecx, esi
mov dword [esp], 0x2000
mov eax, esi
cmp ecx, 0x1f
ja 0x10004322
lea ebp, [esp + 0xc]
push edx
push dword [esp + 0x50]
push ebp
call fcn.10004170
add esp, 0xc
mov al, byte [ebp]
cmp al, 4
jne 0x100042f0
cmp dword [esp + 0x10], 0
je 0x1000449d
mov edx, dword [esp + 0x50]
mov eax, dword [edx + 8]
jmp 0x10004322
mov cl, byte [esp + 0xf]
mov byte [esp + 6], cl
movzx ecx, word [esp + 0xd]
mov word [esp + 4], cx
mov ecx, dword [esp + 0x10]
mov byte [edi], al
movzx eax, word [esp + 4]
mov word [edi + 1], ax
mov al, byte [esp + 6]
mov byte [edi + 3], al
mov dword [edi + 4], ecx
jmp 0x100044b4
mov eax, esi
mov dword [esp + 0x24], esi
xor esi, esi
mov ebp, dword [esp + 0x4c]
mov edi, dword [edx]
cmp eax, edi
jne 0x10004367
cmp edi, dword [esp + 0x28]
jne 0x10004367
push edx
push ebp
lea eax, [esp + 0x14]
push eax
mov edi, edx
call fcn.10004170
add esp, 0xc
mov al, byte [esp + 0xc]
cmp al, 4
jne 0x100044be
cmp dword [esp + 0x10], 0
mov eax, dword [edi + 8]
je 0x100044a6
mov edx, edi
mov edi, dword [edi]
cmp eax, edi
jne 0x10004390
push 0x20
push edi
push edx
mov ebp, edx
call fcn.10007c03
add esp, 0xc
cmp eax, 0x80000001
jne 0x100044ec
mov edi, dword [ebp]
mov eax, dword [ebp + 8]
mov edx, ebp
mov ebp, dword [esp + 0x4c]
sub edi, eax
add eax, dword [edx + 4]
mov ecx, dword [esp]
cmp edi, ecx
cmovae edi, ecx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], esi
sub esp, 4
lea esi, [esp + 0x10]
push esi
push ebp
lea eax, [esp + 0x28]
push eax
call fcn.100040a6
add esp, 0x10
mov al, byte [esp + 0x1c]
cmp al, 4
je 0x10004411
movzx eax, al
mov eax, dword [eax*4 + 0x10004510]
add eax, ebx
jmp eax
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov esi, ecx
sub esi, edx
jb 0x100044f7
mov eax, dword [esp + 0x10]
cmp ecx, eax
ja 0x10004503
mov ebp, dword [esp + 0x50]
mov eax, dword [ebp + 8]
test edx, edx
je 0x100044a6
add eax, edx
mov dword [ebp + 8], eax
cmp dword [esp + 0x54], 0
jne 0x10004484
cmp ecx, edi
mov ecx, dword [esp]
mov ebp, 0xffffffff
cmovne ecx, ebp
cmp edx, edi
mov ebp, dword [esp + 0x4c]
jne 0x10004478
cmp edi, ecx
mov edx, dword [esp + 0x50]
jb 0x10004470
test ecx, ecx
lea ecx, [ecx + ecx]
mov edi, 0xffffffff
cmovs ecx, edi
mov dword [esp], ecx
jmp 0x1000432c
mov dword [esp], ecx
mov edx, dword [esp + 0x50]
jmp 0x1000432c
mov edx, dword [esp + 0x50]
jmp 0x10004328
mov dword [edi + 4], 0
jmp 0x100044b1
sub eax, dword [esp + 0x24]
mov edi, dword [esp + 0x48]
mov dword [edi + 4], eax
mov byte [edi], 4
mov eax, edi
add esp, 0x34
pop esi
pop edi
pop ebx
pop ebp
ret
mov cl, byte [esp + 0xf]
mov byte [esp + 0xa], cl
movzx ecx, word [esp + 0xd]
mov word [esp + 8], cx
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0x48]
mov byte [edi], al
movzx eax, word [esp + 8]
mov word [edi + 1], ax
mov al, byte [esp + 0xa]
jmp 0x10004315
mov edi, dword [esp + 0x48]
mov word [edi], 0x2601
jmp 0x100044b4
push 0x1004a9f4
push ecx
push edx
call fcn.10049970
push 0x1004a9f4
push eax
push ecx
call fcn.10049950
nop
dec ebp
add al, byte [eax]
add byte [ecx + eax + 0x19d0000], ch
add byte [eax], al
popfd
add dword [eax], eax
invalid