Function at 0x481810
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x24
mov eax, dword [esp + 0x28]
push ebx
push ebp
push esi
mov ebx, dword [eax]
mov ecx, dword [eax + 0x204]
push edi
mov dword [esp + 0x20], ecx
test byte [ebx + 0x34], 1
je 0x481837
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x24
ret
mov eax, dword [esp + 0x40]
mov ebp, dword [esp + 0x3c]
mov edx, dword [ebp + 0x28]
lea edi, [eax + eax*8]
shl edi, 3
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], edi
mov eax, dword [edi + edx + 0x34]
mov esi, dword [edi + edx + 0x1c]
mov dword [esp + 0x2c], eax
lea eax, [edi + edx + 0x1c]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x44]
test eax, eax
mov eax, dword [esp + 0x48]
je 0x48187e
test eax, eax
je 0x481892
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x24
ret
test eax, eax
je 0x481892
cmp word [edx], 1
jle 0x481892
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x24
ret
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x28]
test ecx, ecx
je 0x4818ac
cmp dword [ebp + 0x48], 0
je 0x4818ac
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x24
ret
cmp dword [esi + 0x4c], 0
je 0x4818bc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x24
ret
cmp dword [ebp + 0x44], 0
je 0x4818d0
test ecx, ecx
je 0x4818d0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x24
ret
cmp word [eax], 0
jne 0x4818e0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x24
ret
test byte [esi + 6], 1
je 0x4818f0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x24
ret
test ecx, ecx
je 0x48190c
cmp word [edx], 1
jg 0x481902
mov eax, dword [esp + 0x44]
test eax, eax
je 0x48190c
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x24
ret
mov ax, word [ebp + 6]
and ax, 1
mov word [esp + 0x3c], ax
je 0x48192d
mov eax, dword [esp + 0x48]
test eax, eax
je 0x48192d
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x24
ret
mov eax, dword [ebp + 0x38]
test eax, eax
je 0x481945
mov eax, dword [esi + 0x38]
test eax, eax
je 0x481945
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x24
ret
mov eax, dword [esp + 0x44]
test eax, eax
je 0x48195e
mov eax, dword [esi + 0x38]
test eax, eax
je 0x48195e
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x24
ret
test ecx, ecx
je 0x481989
mov eax, dword [ebp + 0x2c]
test eax, eax
je 0x481973
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x24
ret
test ecx, ecx
je 0x481989
cmp word [esp + 0x3c], 0
je 0x481989
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x24
ret
mov cl, byte [edi + edx + 0x28]
lea eax, [edi + edx + 0x28]
test cl, 0x20
mov dword [esp + 0x28], eax
je 0x4819a4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x24
ret
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x481a27
mov eax, dword [esi + 0x38]
test eax, eax
je 0x4819bc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x24
ret
mov eax, dword [esp + 0x44]
test eax, eax
jne 0x4819b2
cmp word [esp + 0x3c], 0
jne 0x4819b2
cmp word [edx], 1
jne 0x4819b2
test esi, esi
mov eax, esi
je 0x481a04
test byte [eax + 6], 5
jne 0x4819b2
mov ecx, dword [eax + 0x3c]
test ecx, ecx
je 0x4819eb
cmp byte [eax + 4], 0x71
jne 0x4819b2
mov edx, dword [eax + 0x28]
cmp word [edx], 1
jl 0x4819b2
mov edx, dword [esi]
mov eax, dword [eax]
mov edx, dword [edx]
cmp edx, dword [eax]
jne 0x4819b2
mov eax, ecx
test eax, eax
jne 0x4819d8
mov eax, dword [ebp + 0x38]
test eax, eax
je 0x481a27
mov edx, dword [eax]
xor ecx, ecx
test edx, edx
jle 0x481a27
mov eax, dword [eax + 8]
add eax, 0xe
cmp word [eax], 0
je 0x4819b2
inc ecx
add eax, 0x14
cmp ecx, edx
jl 0x481a19
mov eax, dword [esp + 0x10]
push 0
push 0
push 0
mov ecx, dword [edi + eax + 0x10]
lea edi, [edi + eax + 0x10]
mov eax, dword [esp + 0x44]
push 0x15
push eax
mov dword [esp + 0x38], edi
mov dword [eax + 0x204], ecx
call fcn.004726d0
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x34]
add esp, 0x14
mov dword [eax + 0x204], edx
mov eax, dword [esi + 0x3c]
test eax, eax
mov dword [esp + 0x3c], eax
je 0x481ae2
mov ecx, dword [ebp + 0x3c]
mov esi, dword [ebp + 0x38]
mov edi, dword [ebp + 0x48]
xor eax, eax
push eax
push ebp
push ebx
mov dword [esp + 0x28], ecx
mov dword [ebp + 0x38], eax
mov dword [ebp + 0x28], eax
mov dword [ebp + 0x3c], eax
mov dword [ebp + 0x48], eax
call fcn.00471e70
mov edx, dword [esp + 0x1c]
add esp, 0xc
test eax, eax
mov dword [ebp + 0x48], edi
mov dword [ebp + 0x38], esi
mov dword [ebp + 0x28], edx
mov byte [ebp + 4], 0x71
mov dword [ebp + 0x44], 0
jne 0x481ab3
mov eax, dword [esp + 0x1c]
jmp 0x481ac1
mov ecx, dword [esp + 0x1c]
mov dword [eax + 0x44], 0
mov dword [eax + 0x3c], ecx
mov dword [ebp + 0x3c], eax
mov al, byte [ebx + 0x38]
test al, al
jne 0x481e26
mov edx, dword [esp + 0x3c]
mov eax, dword [edx + 0x3c]
test eax, eax
mov dword [esp + 0x3c], eax
jne 0x481a6b
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov esi, dword [eax]
lea eax, [ecx + edx + 0xc]
mov dword [esp + 0x30], esi
mov dword [esp + 0x24], eax
mov dword [esp + 0x3c], esi
mov eax, dword [eax]
push eax
push ebx
call fcn.00440110
mov ecx, dword [edi]
push ecx
push ebx
call fcn.00440110
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
mov ecx, dword [edx + eax + 0x14]
lea eax, [edx + eax + 0x14]
push ecx
push ebx
mov dword [esp + 0x38], eax
call fcn.00440110
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x30]
add esp, 0x18
mov dword [edx], 0
mov edx, dword [esp + 0x14]
mov dword [eax], 0
mov eax, dword [esp + 0x10]
mov dword [ecx], 0
mov dword [edi], 0
lea ecx, [edx + eax + 0x18]
mov eax, dword [edx + eax + 0x18]
test eax, eax
je 0x481b9e
mov dx, word [eax + 0x28]
cmp dx, 1
jne 0x481b93
mov edi, dword [esp + 0x38]
mov edx, dword [edi + 0x1b0]
test edx, edx
jne 0x481b82
mov edx, edi
mov edi, dword [edx + 0x224]
mov dword [eax + 0x44], edi
mov dword [edx + 0x224], eax
jmp 0x481b98
dec edx
mov word [eax + 0x28], dx
mov dword [ecx], 0
test ebp, ebp
je 0x481e18
mov eax, dword [esi + 0x28]
mov byte [esp + 0x38], 0
mov dword [esp + 0x24], eax
movsx edi, word [eax]
mov eax, dword [ebp + 0x28]
test eax, eax
mov dword [esp + 0x10], eax
je 0x481bcc
mov ecx, dword [esp + 0x28]
mov dl, byte [ecx]
mov byte [esp + 0x38], dl
jmp 0x481bea
push 0
push 0
push 0
push ebx
call fcn.00475940
add esp, 0x10
mov dword [ebp + 0x28], eax
test eax, eax
mov dword [esp + 0x10], eax
je 0x481e18
cmp edi, 1
jle 0x481c15
mov ecx, dword [esp + 0x40]
lea edx, [edi - 1]
inc ecx
push ecx
push edx
push eax
push ebx
call fcn.004759e0
mov dword [ebp + 0x28], eax
mov cl, byte [ebx + 0x38]
add esp, 0x10
mov dword [esp + 0x10], eax
test cl, cl
jne 0x481e18
test edi, edi
jle 0x481c84
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x24]
add ecx, 8
mov dword [esp + 0x20], edi
lea eax, [edx + eax + 8]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], eax
mov edi, dword [esp + 0x18]
mov ecx, dword [edi + 0x34]
push ecx
push ebx
call fcn.004672d0
mov esi, dword [esp + 0x24]
mov edx, dword [esp + 0x24]
mov ecx, 0x12
xor eax, eax
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x20]
mov ecx, 0x12
mov edi, edx
add esp, 8
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x20]
add esi, 0x48
add edx, 0x48
dec eax
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], eax
jne 0x481c34
mov esi, dword [esp + 0x3c]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov cl, byte [esp + 0x38]
mov byte [edx + eax + 0x28], cl
mov edi, dword [ebp]
xor eax, eax
mov ecx, dword [edi]
mov dword [esp + 0x3c], eax
cmp ecx, eax
jle 0x481cef
mov dword [esp + 0x38], eax
mov edx, dword [edi + 8]
add eax, edx
mov ecx, dword [eax + 4]
test ecx, ecx
jne 0x481cd5
mov eax, dword [eax + 8]
push eax
push ebx
call fcn.00451ba0
push eax
mov dword [esp + 0x30], eax
call fcn.004625b0
mov ecx, dword [edi + 8]
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x30]
add esp, 0xc
mov dword [eax + ecx + 4], edx
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
mov edx, dword [edi]
inc ecx
add eax, 0x14
cmp ecx, edx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x38], eax
jl 0x481ca3
mov ecx, dword [esi]
mov edi, dword [esp + 0x2c]
mov edx, dword [ebp]
push ecx
push edi
push edx
push ebx
call fcn.00481f10
mov eax, dword [esp + 0x54]
add esp, 0x10
test eax, eax
je 0x481d2e
mov eax, dword [esi]
mov ecx, dword [ebp + 0x30]
push eax
push edi
push ecx
push ebx
call fcn.00481f10
mov edx, dword [esi]
mov eax, dword [ebp + 0x34]
push edx
push edi
push eax
push ebx
call fcn.00481e40
add esp, 0x20
mov dword [ebp + 0x34], eax
mov eax, dword [esi + 0x38]
test eax, eax
je 0x481d41
mov dword [ebp + 0x38], eax
mov dword [esi + 0x38], 0
jmp 0x481d56
mov eax, dword [ebp + 0x38]
test eax, eax
je 0x481d56
mov ecx, dword [esi]
push ecx
push edi
push eax
push ebx
call fcn.00481f10
add esp, 0x10
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x481d6f
push 0
push eax
push ebx
call fcn.004719e0
add esp, 0xc
mov dword [esp + 0x38], eax
jmp 0x481d77
mov dword [esp + 0x38], 0
mov eax, dword [esp + 0x48]
test eax, eax
je 0x481dc8
mov edx, dword [ebp + 0x2c]
mov eax, dword [esp + 0x38]
mov dword [ebp + 0x34], edx
mov dword [ebp + 0x2c], eax
mov ecx, dword [esi]
push ecx
push edi
push edx
push ebx
call fcn.00481e40
mov dword [ebp + 0x34], eax
mov eax, dword [esi + 0x34]
push 0
push eax
push ebx
call fcn.004719e0
mov ecx, dword [ebp + 0x34]
push eax
push ecx
push ebx
call fcn.0046baf0
mov dword [ebp + 0x34], eax
mov edx, dword [esi + 0x30]
push 0
push edx
push ebx
call fcn.00471d80
add esp, 0x34
mov dword [ebp + 0x30], eax
jmp 0x481deb
mov eax, dword [esi]
mov ecx, dword [ebp + 0x2c]
push eax
push edi
push ecx
push ebx
call fcn.00481e40
mov edx, dword [esp + 0x48]
mov dword [ebp + 0x2c], eax
push edx
push eax
push ebx
call fcn.0046baf0
add esp, 0x1c
mov dword [ebp + 0x2c], eax
mov al, byte [esi + 6]
and eax, 1
or word [ebp + 6], ax
mov eax, dword [esi + 0x48]
test eax, eax
je 0x481e06
mov dword [ebp + 0x48], eax
mov dword [esi + 0x48], 0
mov ebp, dword [ebp + 0x3c]
mov esi, dword [esi + 0x3c]
test ebp, ebp
mov dword [esp + 0x3c], esi
jne 0x481ba6
mov ecx, dword [esp + 0x30]
push ecx
push ebx
call fcn.004671a0
add esp, 8
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x24
ret