Function at 0x42ee1a
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, dword [edi + 8]
xor eax, eax
mov ax, word [edi + 6]
test al, 1
mov dword [ebp - 0x10], eax
je 0x42ee41
push edi
push dword [edi + 0xc]
call fcn.0042ed94
mov eax, dword [edi + 0x18]
add eax, dword [edi + 0x10]
mov ecx, dword [edi + 0x14]
lea ebx, [edi + 0x1c]
and eax, 0xfff
lea edi, [eax + ecx + 0xfff]
shr edi, 0xc
cmp dword [0x4809d4], 1
mov edx, ebx
mov dword [ebp - 8], edx
mov dword [ebp - 0x18], edi
jne 0x42ee78
push edi
push dword [ebp + 8]
call fcn.0042bf06
mov edx, ebx
test esi, esi
je 0x42ee95
mov eax, edi
neg eax
add esi, 0x12c
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xc], esi
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
xadd dword [ecx], eax
test byte [ebp - 0xf], 8
jne 0x42f02e
lea ecx, [edx + edi*4]
mov dword [ebp - 0xc], ecx
mov eax, dword [edx]
cmp eax, 0xffffffff
je 0x42eec0
imul eax, eax, 0x1c
add eax, dword [0x480b48]
mov dword [edx], eax
add edx, 4
cmp edx, ecx
jb 0x42eea5
jmp 0x42eecf
cmp edx, ebx
jne 0x42eecc
mov eax, dword [ebp + 8]
jmp 0x42f1a6
mov dword [ebp - 0xc], edx
cmp edi, 0x10
mov esi, ebx
ja 0x42ef30
mov ecx, 0x472fd8
call fcn.00469fdc
mov ebx, eax
test ebx, ebx
mov dword [ebp - 0x14], ebx
je 0x42ef30
mov ecx, dword [ebp - 0xc]
mov ax, word [ebp - 0x10]
sub ecx, esi
sar ecx, 2
mov word [ebx + 4], ax
mov eax, dword [ebp + 8]
mov word [ebx + 6], cx
lea edi, [ebx + 8]
rep movsd dword es:[edi], dword [esi]
and byte [eax + 6], 0xfd
mov dword [ebp + 8], 0x472fe0
mov esi, dword [0x472fe0]
mov dword [ebp - 0x10], esi
mov dword [ebx], esi
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x14]
cmpxchg dword [ecx], edx
cmp eax, esi
jne 0x42ef10
jmp 0x42f1aa
call dword [fcn.00400714]
test byte [ebp - 0x10], 0x80
mov byte [ebp - 1], al
je 0x42efc8
mov edi, dword [esi]
mov eax, dword [edi + 0x10]
or dword [edi + 0xc], 1
mov ecx, dword [edi + 0xc]
mov edx, dword [edi + 0x14]
and eax, 0x400
xor ebx, ebx
or eax, ebx
jne 0x42ef77
test cl, 4
jne 0x42ef77
test edx, edx
je 0x42ef77
cmp edx, 0xffffffff
je 0x42ef77
push edx
push dword [edi + 0x10]
call fcn.00447a22
and dword [edi + 0x14], ebx
mov ax, word [edi + 0xe]
cmp ax, 2
jne 0x42ef93
cmp dword [edi + 8], 1
jb 0x42ef8d
dec dword [0x472fe4]
dec word [edi + 0xe]
jmp 0x42efbb
cmp ax, 1
je 0x42efa0
dec eax
mov word [edi + 0xe], ax
jmp 0x42efbb
mov eax, edi
sub eax, dword [0x480b48]
push 0x1c
cdq
pop ecx
idiv ecx
dec dword [0x472fe4]
mov ecx, eax
call fcn.00447540
add esi, 4
cmp esi, dword [ebp - 0xc]
jb 0x42ef43
mov edi, dword [ebp - 0x18]
jmp 0x42f014
mov eax, dword [esi]
mov cx, word [eax + 0xe]
cmp cx, 2
jne 0x42efe6
cmp dword [eax + 8], 1
jb 0x42efe0
dec dword [0x472fe4]
dec word [eax + 0xe]
jmp 0x42f00c
cmp cx, 1
je 0x42eff3
dec ecx
mov word [eax + 0xe], cx
jmp 0x42f00c
sub eax, dword [0x480b48]
push 0x1c
cdq
pop ecx
idiv ecx
dec dword [0x472fe4]
mov ecx, eax
call fcn.00447540
add esi, 4
cmp esi, dword [ebp - 0xc]
jb 0x42efc8
cmp edi, 0x10
ja 0x42f020
push 3
call fcn.0042c06c
mov cl, byte [ebp - 1]
call dword [fcn.0040071c]
jmp 0x42eec4
lea edi, [edx + edi*4]
mov dword [ebp - 0xc], edi
call dword [fcn.00400714]
test byte [ebp - 0x10], 0x80
mov byte [ebp - 1], al
je 0x42f111
mov eax, dword [ebp - 8]
mov esi, dword [eax]
cmp esi, 0xffffffff
je 0x42f196
cmp esi, dword [0x480ba0]
ja 0x42f0fc
mov edx, dword [0x47c12c]
mov eax, esi
shr eax, 5
mov eax, dword [edx + eax*4]
mov ecx, esi
and ecx, 0x1f
shr eax, cl
xor ebx, ebx
inc ebx
and eax, ebx
mov dword [ebp - 0x18], eax
je 0x42f0fc
imul esi, esi, 0x1c
add esi, dword [0x480b48]
xor edi, edi
mov eax, dword [esi + 0x10]
or dword [esi + 0xc], ebx
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 0x14]
and eax, 0x400
or eax, edi
jne 0x42f0ba
test cl, 4
jne 0x42f0ba
test edx, edx
je 0x42f0ba
cmp edx, 0xffffffff
je 0x42f0ba
push edx
push dword [esi + 0x10]
call fcn.00447a22
and dword [esi + 0x14], edi
mov ax, word [esi + 0xe]
cmp ax, 2
jne 0x42f0d5
cmp dword [esi + 8], ebx
jb 0x42f0cf
dec dword [0x472fe4]
dec word [esi + 0xe]
jmp 0x42f0fc
cmp ax, bx
je 0x42f0e1
dec eax
mov word [esi + 0xe], ax
jmp 0x42f0fc
mov eax, esi
sub eax, dword [0x480b48]
push 0x1c
cdq
pop ecx
idiv ecx
dec dword [0x472fe4]
mov ecx, eax
call fcn.00447540
add dword [ebp - 8], 4
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0xc]
jb 0x42f047
jmp 0x42f196
mov eax, dword [ebp - 8]
mov eax, dword [eax]
cmp eax, 0xffffffff
je 0x42f196
cmp eax, dword [0x480ba0]
ja 0x42f189
mov esi, dword [0x47c12c]
mov edx, eax
shr edx, 5
mov edx, dword [esi + edx*4]
mov ecx, eax
and ecx, 0x1f
shr edx, cl
and edx, 1
mov dword [ebp - 0x18], edx
je 0x42f189
mov ecx, dword [0x480b48]
imul eax, eax, 0x1c
add eax, ecx
mov dx, word [eax + 0xe]
cmp dx, 2
jne 0x42f167
cmp dword [eax + 8], 1
jb 0x42f161
dec dword [0x472fe4]
dec word [eax + 0xe]
jmp 0x42f189
cmp dx, 1
je 0x42f174
dec edx
mov word [eax + 0xe], dx
jmp 0x42f189
sub eax, ecx
push 0x1c
cdq
pop ecx
idiv ecx
dec dword [0x472fe4]
mov ecx, eax
call fcn.00447540
add dword [ebp - 8], 4
cmp dword [ebp - 8], edi
jb 0x42f111
mov cl, byte [ebp - 1]
call dword [fcn.0040071c]
mov eax, dword [ebp + 8]
and byte [eax + 7], 0xf7
and byte [eax + 6], 0xfd
pop edi
pop esi
pop ebx
leave
ret 4