Function at 0x481993
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x28
mov eax, dword [esp + 0x2c]
push esi
mov esi, dword [eax]
mov ecx, dword [eax + 0x204]
mov dword [esp + 0x20], ecx
mov dword [esp + 4], esi
test byte [esi + 0xc], 1
je 0x4819b8
xor eax, eax
jmp 0x481ef0
push ebx
mov ebx, dword [esp + 0x38]
xor ecx, ecx
push ebp
push edi
mov edi, dword [esp + 0x44]
inc ecx
mov ebp, dword [ebx + 8]
shl edi, 6
cmp dword [esp + 0x48], 0
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], edi
mov eax, dword [edi + ebp + 0x28]
mov dword [esp + 0x20], eax
mov eax, dword [edi + ebp + 0x18]
mov dword [esp + 0x28], ecx
je 0x4819f9
cmp dword [esp + 0x4c], 0
je 0x481a06
xor eax, eax
jmp 0x481eed
cmp dword [esp + 0x4c], 0
je 0x481a06
cmp word [ebp], cx
jg 0x4819f2
mov ecx, dword [eax + 0x28]
mov edx, dword [eax + 8]
test ecx, ecx
je 0x481a16
cmp dword [ebx + 0x28], 0
jne 0x4819f2
cmp dword [eax + 0x2c], 0
jne 0x4819f2
cmp dword [ebx + 0x24], 0
je 0x481a26
test ecx, ecx
jne 0x4819f2
xor esi, esi
cmp word [edx], si
mov esi, dword [esp + 0x10]
je 0x4819f2
test byte [eax + 6], 1
jne 0x4819f2
test ecx, ecx
je 0x481a4b
xor edx, edx
inc edx
cmp word [ebp], dx
jg 0x4819f2
cmp dword [esp + 0x48], 0
jne 0x4819f2
mov dx, word [ebx + 6]
and dx, word [esp + 0x28]
je 0x481a5d
cmp dword [esp + 0x4c], 0
jne 0x4819f2
cmp dword [ebx + 0x18], 0
je 0x481a69
cmp dword [eax + 0x18], 0
jne 0x4819f2
cmp dword [esp + 0x48], 0
je 0x481a7a
cmp dword [eax + 0x18], 0
jne 0x4819f2
test ecx, ecx
je 0x481a95
cmp dword [ebx + 0xc], 0
jne 0x4819f2
test ecx, ecx
je 0x481a95
test dx, dx
jne 0x4819f2
test byte [edi + ebp + 0x24], 0x20
jne 0x4819f2
lea ecx, [eax + 0x1c]
cmp dword [ecx], 0
mov dword [esp + 0x24], ecx
je 0x481b38
xor ecx, ecx
cmp dword [eax + 0x18], ecx
jne 0x4819f2
cmp dword [esp + 0x48], ecx
jne 0x4819f2
test dx, dx
jne 0x4819f2
xor edx, edx
inc edx
cmp word [ebp], dx
jne 0x4819f2
test byte [eax + 6], 5
jne 0x4819f2
mov ecx, dword [eax + 0x1c]
test ecx, ecx
je 0x481af6
cmp byte [eax + 4], 0x71
jne 0x4819f2
mov eax, dword [eax + 8]
test eax, eax
je 0x4819f2
cmp word [eax], dx
jne 0x4819f2
mov eax, ecx
test eax, eax
jne 0x481adb
mov edx, dword [ebx + 0x18]
test edx, edx
je 0x481b38
cmp dword [edx], eax
jle 0x481b38
mov eax, dword [edx + 0xc]
add eax, 0xe
xor esi, esi
cmp word [eax], si
mov esi, dword [esp + 0x10]
je 0x4819f2
inc ecx
add eax, 0x14
cmp ecx, dword [edx]
jl 0x481b21
mov ecx, dword [esp + 0x3c]
mov eax, dword [edi + ebp + 0xc]
mov dword [ecx + 0x204], eax
xor eax, eax
push eax
push eax
push eax
push 0x15
push ecx
call fcn.0048d627
mov eax, dword [esp + 0x50]
add esp, 0x14
mov ecx, dword [esp + 0x2c]
mov dword [eax + 0x204], ecx
mov eax, dword [esp + 0x24]
mov eax, dword [eax]
mov dword [esp + 0x24], eax
test eax, eax
je 0x481be4
xor edx, edx
mov eax, dword [ebx + 0x1c]
mov edi, dword [ebx + 0x18]
mov esi, dword [ebx + 0x28]
push edx
push ebx
push dword [esp + 0x18]
mov dword [esp + 0x28], eax
mov dword [ebx + 0x18], edx
mov dword [ebx + 8], edx
mov dword [ebx + 0x1c], edx
mov dword [ebx + 0x28], edx
call fcn.0049fe32
xor edx, edx
mov dword [ebx + 0x28], esi
add esp, 0xc
mov dword [ebx + 0x18], edi
mov dword [ebx + 8], ebp
mov byte [ebx + 4], 0x71
mov dword [ebx + 0x24], edx
test eax, eax
jne 0x481bb7
mov eax, dword [esp + 0x1c]
jmp 0x481bc1
mov ecx, dword [esp + 0x1c]
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x24], edx
mov esi, dword [esp + 0x10]
mov dword [ebx + 0x1c], eax
cmp byte [esi + 0x1e], dl
jne 0x481eea
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0x1c]
mov dword [esp + 0x24], eax
test eax, eax
jne 0x481b74
mov edi, dword [esp + 0x18]
mov eax, dword [edi + ebp + 0x18]
mov ebp, eax
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x2c], ebp
push dword [edi + eax + 8]
push esi
call fcn.00491da8
mov eax, dword [esp + 0x1c]
push dword [edi + eax + 0xc]
push esi
call fcn.00491da8
mov eax, dword [esp + 0x24]
push dword [edi + eax + 0x10]
push esi
call fcn.00491da8
mov edx, dword [esp + 0x2c]
xor eax, eax
add esp, 0x18
mov ecx, dword [edi + edx + 0x14]
mov dword [edi + edx + 8], eax
mov dword [edi + edx + 0xc], eax
mov dword [edi + edx + 0x10], eax
mov dword [edi + edx + 0x18], eax
test ecx, ecx
je 0x481c7f
movzx eax, word [ecx + 0x20]
cmp ax, word [esp + 0x28]
jne 0x481c74
mov eax, dword [esp + 0x3c]
mov ebx, dword [esp + 0x3c]
mov eax, dword [eax + 0x1a8]
test eax, eax
cmovne ebx, eax
mov eax, ebx
mov eax, dword [eax + 0x220]
mov dword [ecx + 0x48], eax
mov eax, ebx
mov ebx, dword [esp + 0x40]
mov dword [eax + 0x220], ecx
jmp 0x481c79
dec eax
mov word [ecx + 0x20], ax
xor eax, eax
mov dword [edi + edx + 0x14], eax
mov ecx, dword [ebx + 8]
mov byte [esp + 0x3c], al
mov eax, dword [ebp + 8]
mov dword [esp + 0x28], eax
mov dword [esp + 0x1c], ecx
movsx edi, word [eax]
mov dword [esp + 0x30], edi
test ecx, ecx
je 0x481caa
mov eax, dword [esp + 0x18]
mov al, byte [eax + edx + 0x24]
mov byte [esp + 0x3c], al
jmp 0x481cc9
xor eax, eax
push eax
push eax
push eax
push esi
call fcn.004a0098
mov ecx, eax
add esp, 0x10
mov dword [esp + 0x1c], ecx
mov dword [ebx + 8], ecx
test ecx, ecx
je 0x481ede
xor eax, eax
inc eax
cmp edi, eax
jle 0x481cf7
mov eax, dword [esp + 0x44]
inc eax
push eax
lea eax, [edi - 1]
push eax
push ecx
push esi
call fcn.004a041d
mov ecx, eax
add esp, 0x10
mov dword [ebx + 8], ecx
cmp byte [esi + 0x1e], 0
mov dword [esp + 0x1c], ecx
jne 0x481ede
test edi, edi
jle 0x481d60
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x18]
add esi, 8
mov ebx, dword [esp + 0x10]
add edi, 8
mov ebp, dword [esp + 0x30]
add edi, ecx
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], edi
push dword [edi + 0x28]
push ebx
call fcn.004977ef
push 0x10
pop ecx
push 0x40
xor eax, eax
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x30]
push eax
push esi
call fcn.004b6030
mov edi, dword [esp + 0x3c]
add esi, 0x40
add edi, 0x40
mov dword [esp + 0x38], esi
add esp, 0x14
mov dword [esp + 0x28], edi
dec ebp
jne 0x481d1b
mov ebx, dword [esp + 0x40]
mov ebp, dword [esp + 0x2c]
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov dl, byte [esp + 0x3c]
mov byte [eax + ecx + 0x24], dl
xor edx, edx
mov eax, dword [ebx]
mov ecx, edx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x28], ecx
cmp dword [eax], edx
jle 0x481dba
mov edi, edx
mov edx, dword [eax + 0xc]
cmp dword [edx + edi + 4], 0
jne 0x481dae
mov edx, dword [edx + edi + 8]
test edx, edx
je 0x481dae
push edx
push esi
call fcn.00491f99
pop ecx
pop ecx
mov ecx, dword [esp + 0x3c]
mov ecx, dword [ecx + 0xc]
mov dword [ecx + edi + 4], eax
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x28]
inc ecx
add edi, 0x14
mov dword [esp + 0x28], ecx
cmp ecx, dword [eax]
jl 0x481d80
push dword [ebp]
mov edi, dword [esp + 0x24]
push edi
push dword [ebx]
push esi
call fcn.004adaaf
add esp, 0x10
cmp dword [esp + 0x48], 0
je 0x481df4
push dword [ebp]
push edi
push dword [ebx + 0x10]
push esi
call fcn.004adaaf
push dword [ebp]
push edi
push dword [ebx + 0x14]
push esi
call fcn.004ad9f4
add esp, 0x20
mov dword [ebx + 0x14], eax
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x481e05
mov dword [ebx + 0x18], eax
xor eax, eax
mov dword [ebp + 0x18], eax
jmp 0x481e1d
cmp dword [ebx + 0x18], 0
je 0x481e1b
push dword [ebp]
push edi
push dword [ebx + 0x18]
push esi
call fcn.004adaaf
add esp, 0x10
xor eax, eax
cmp dword [ebp + 0xc], 0
je 0x481e30
push eax
push dword [ebp + 0xc]
push esi
call fcn.00494701
add esp, 0xc
cmp dword [esp + 0x4c], 0
mov edi, eax
je 0x481e81
mov eax, dword [ebx + 0xc]
mov dword [ebx + 0x14], eax
mov eax, dword [esp + 0x20]
mov dword [ebx + 0xc], edi
push dword [ebp]
push eax
push dword [ebx + 0x14]
push esi
call fcn.004ad9f4
xor edi, edi
mov dword [ebx + 0x14], eax
push edi
push dword [ebp + 0x14]
push esi
call fcn.00494701
push eax
push dword [ebx + 0x14]
push esi
call fcn.00493215
push edi
mov dword [ebx + 0x14], eax
push dword [ebp + 0x10]
push esi
call fcn.00494d95
add esp, 0x34
mov dword [ebx + 0x10], eax
jmp 0x481ea3
push dword [ebp]
mov eax, dword [esp + 0x24]
push eax
push dword [ebx + 0xc]
push esi
call fcn.004ad9f4
push edi
push eax
push esi
mov dword [ebx + 0xc], eax
call fcn.00493215
add esp, 0x1c
mov dword [ebx + 0xc], eax
mov ax, word [ebp + 6]
xor ecx, ecx
inc ecx
and ax, cx
or word [ebx + 6], ax
mov eax, dword [ebp + 0x28]
test eax, eax
je 0x481ec2
mov dword [ebx + 0x28], eax
xor eax, eax
mov dword [ebp + 0x28], eax
jmp 0x481ec4
xor eax, eax
mov ebx, dword [ebx + 0x1c]
mov ebp, dword [ebp + 0x1c]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x2c], ebp
test ebx, ebx
jne 0x481c7f
push dword [esp + 0x34]
push esi
call fcn.0049fe14
pop ecx
pop ecx
xor eax, eax
inc eax
pop edi
pop ebp
pop ebx
pop esi
add esp, 0x28
ret