Function at 0x441440
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x4eb018]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0x18]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x250], edx
mov dl, byte [ebp + 0x1c]
push edi
mov dword [ebp - 0x258], eax
mov dword [ebp - 0x254], ecx
mov byte [ebp - 0x260], dl
test esi, esi
je 0x441902
test eax, eax
je 0x441902
test ecx, ecx
je 0x441902
push 0x20
call fcn.00442750
mov ebx, eax
add esp, 4
mov dword [ebp - 0x248], ebx
test ebx, ebx
je 0x4414c4
xor eax, eax
mov dword [ebx], eax
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], eax
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebx + 4], eax
mov cx, word [esi + 6]
mov word [ebx], cx
mov dx, word [esi + 8]
mov word [ebx + 2], dx
mov eax, dword [ebx + 4]
lea eax, [eax + eax*2]
mov dword [ebp - 0x25c], ebx
cmp eax, 0x64
jle 0x4414f1
mov ecx, 0x64
jmp 0x4414f7
mov eax, dword [ebx + 4]
lea ecx, [eax + eax*2]
mov dword [ebp - 0x244], ecx
test ecx, ecx
jle 0x441525
mov eax, 0x20
movzx edx, ax
mov eax, edx
shl edx, 0x10
or eax, edx
shr ecx, 1
lea edi, [ebp - 0x240]
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
mov ecx, dword [ebp - 0x244]
movzx eax, word [ebx + 2]
movzx edx, word [ebx]
push eax
push edx
push str.__04X__04X_
lea edx, [ebp + ecx*2 - 0x240]
call fcn.004018a0
add esp, 0xc
lea edi, [ebp - 0x240]
call fcn.0043e0d0
mov dword [ebx + 8], eax
mov eax, dword [esi + 0xc]
cmp eax, 0x19
je 0x44155c
test eax, eax
jne 0x4415b5
movzx eax, word [esi + 6]
movzx ecx, word [esi + 8]
shl eax, 0x10
or eax, ecx
lea edx, [ebp - 0x244]
mov dword [ebp - 0x244], eax
call fcn.0044ff30
mov edi, dword [0x4f88a0]
lea ecx, [edi + 0x1c]
lea ebx, [ebp - 0x244]
lea eax, [ebp - 0x24c]
call fcn.00456ac0
mov eax, dword [ebp - 0x24c]
cmp eax, dword [edi + 0x20]
jne 0x4415ab
mov dword [ebp - 0x244], 0
jmp 0x4415bb
mov edx, dword [eax + 0x10]
movzx eax, byte [edx + 0x4f07c8]
mov dword [ebp - 0x244], eax
mov eax, dword [ebp - 0x244]
mov ecx, eax
shl ecx, 5
push 0
lea ebx, [ecx + eax + 0x4bb800]
call fcn.0043e140
mov ebx, dword [ebp - 0x248]
mov dword [ebx + 0xc], eax
mov eax, dword [esi + 0x18]
add esp, 4
lea edx, [ebp - 0x34]
cmp eax, 0xffffffff
jne 0x4415fa
push str.Undefined
call fcn.00438aa0
add esp, 4
jmp 0x441608
push eax
push 0x4bdda4
call fcn.00438aa0
add esp, 8
lea edi, [ebp - 0x34]
call fcn.0043e0d0
mov dword [ebx + 0x14], eax
movzx edx, word [esi + 6]
movzx eax, word [esi + 8]
shl edx, 0x10
or edx, eax
mov dword [ebp - 0x24c], edx
lea edx, [ebp - 0x24c]
call fcn.0044ff30
mov edi, dword [0x4f88a0]
lea ecx, [edi + 0x1c]
lea ebx, [ebp - 0x24c]
lea eax, [ebp - 0x264]
call fcn.00456ac0
mov eax, dword [ebp - 0x264]
cmp eax, dword [edi + 0x20]
jne 0x44165d
mov ebx, 0x4f94ec
jmp 0x441667
mov ecx, dword [eax + 0x10]
mov ebx, dword [ecx*4 + 0x4f1610]
push 0
call fcn.0043e140
mov edi, dword [ebp - 0x248]
mov dword [edi + 0x18], eax
mov ecx, dword [esi + 0x18]
mov eax, dword [esi + 0x1c]
xor ebx, ebx
add esp, 4
test ecx, ecx
setne bl
test eax, eax
je 0x4416be
cmp dword [eax], 0
je 0x4416be
mov edx, dword [eax]
movzx eax, word [esi + 6]
push 0
push 0
push ecx
mov ecx, dword [ebp - 0x254]
push edx
mov edx, dword [ebp - 0x244]
push eax
push esi
call fcn.00440a40
mov dword [edi + 0x1c], eax
movzx ebx, word [esi + 0x10]
add esp, 0x18
jmp case.0x441769.5
mov edi, dword [ebp - 0x250]
test edi, edi
je 0x44180a
mov eax, dword [esi + 0x14]
test eax, eax
jle 0x44180a
test ecx, ecx
jle 0x44180a
push 0
push eax
push edi
call dword [0x4b72f0]
mov eax, dword [esi + 0x18]
add esp, 0xc
cmp eax, 0x100
jle 0x4416fb
mov eax, 0x100
push edi
push eax
lea ecx, [ebp - 0x140]
push 1
push ecx
call dword [0x4b732c]
cmp dword [esi + 0x18], 0x100
mov edi, dword [ebp - 0x244]
setg dl
movzx ecx, dl
mov edx, dword [ebp - 0x260]
push ecx
movzx ecx, word [esi + 6]
push edx
push eax
mov byte [ebp + eax - 0x140], 0
lea eax, [ebp - 0x140]
push eax
push ecx
mov ecx, dword [ebp - 0x254]
push esi
mov edx, edi
call fcn.00440a40
mov edx, dword [ebp - 0x248]
mov dword [edx + 0x1c], eax
lea eax, [edi - 4]
add esp, 0x28
cmp eax, 0x17
ja case.0x441769.5
movzx eax, byte [eax + 0x441928]
jmp dword [eax*4 + 0x441914]
mov eax, dword [esi + 0x18]
cdq
and edx, 7
lea ebx, [edx + eax]
sar ebx, 3
jmp case.0x441769.5
mov eax, dword [esi + 0x18]
cdq
and edx, 3
lea ebx, [edx + eax]
sar ebx, 2
jmp case.0x441769.5
mov eax, dword [esi + 0x18]
cdq
sub eax, edx
mov ebx, eax
sar ebx, 1
jmp case.0x441769.5
mov ecx, dword [esi + 0x14]
mov edx, dword [ebp - 0x250]
xor ebx, ebx
push ebx
push ecx
push edx
call dword [0x4b72f0]
mov edi, dword [esi + 0x18]
add esp, 0xc
test edi, edi
jle 0x441807
mov eax, 0x100
cmp edi, 0x100
jg 0x4417d0
mov eax, edi
mov ecx, dword [ebp - 0x250]
push ecx
push eax
lea edx, [ebp - 0x140]
push 1
push edx
call dword [0x4b732c]
mov byte [ebp + eax - 0x140], 0
sub edi, eax
add esp, 0x10
lea eax, [ebp - 0x140]
call fcn.00452270
lea ebx, [ebx + eax - 1]
test edi, edi
jg 0x4417c1
inc ebx
jmp case.0x441769.5
mov edi, 0x4bc0d0
call fcn.0043e0d0
mov ecx, dword [ebp - 0x248]
mov dword [ecx + 0x1c], eax
push ebx
push 0x4bdda4
lea edx, [ebp - 0x14]
call fcn.004195a0
add esp, 8
lea edi, [ebp - 0x14]
call fcn.0043e0d0
mov edx, dword [ebp - 0x248]
mov ebx, dword [ebp - 0x258]
mov dword [edx + 0x10], eax
mov eax, dword [ebx + 4]
lea ecx, [ebp - 0x25c]
cmp ecx, eax
jae 0x441881
mov ecx, dword [ebx]
lea edx, [ebp - 0x25c]
cmp ecx, edx
ja 0x441881
mov edi, edx
sub edi, ecx
sar edi, 2
cmp eax, dword [ebx + 8]
jne 0x441871
mov eax, ebx
call fcn.00441df0
mov eax, dword [ebx + 4]
test eax, eax
je 0x44189c
mov ecx, dword [ebx]
mov edx, dword [ecx + edi*4]
mov dword [eax], edx
jmp 0x44189c
cmp eax, dword [ebx + 8]
jne 0x44188d
mov eax, ebx
call fcn.00441df0
mov eax, dword [ebx + 4]
test eax, eax
je 0x44189c
mov ecx, dword [ebp - 0x248]
mov dword [eax], ecx
add dword [ebx + 4], 4
mov eax, esi
xor edi, edi
call fcn.00452300
test eax, eax
jle 0x441902
mov edx, dword [ebp + 0x14]
inc edx
mov dword [ebp - 0x258], edx
mov eax, dword [esi + 0x20]
test eax, eax
je 0x4418ce
mov ecx, dword [eax]
test ecx, ecx
jle 0x4418ce
cmp edi, ecx
jge 0x4418ce
mov eax, dword [eax + edi*4 + 4]
jmp 0x4418d0
xor eax, eax
mov ecx, dword [ebp - 0x260]
mov edx, dword [ebp - 0x250]
push ecx
mov ecx, dword [ebp - 0x258]
push edx
mov edx, dword [ebp - 0x254]
push ecx
push eax
push edx
push ebx
call fcn.00441440
add esp, 0x18
mov eax, esi
inc edi
call fcn.00452300
cmp edi, eax
jl 0x4418b7
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004ab7a3
mov esp, ebp
pop ebp
ret