Function at 0x481750
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 0x481777
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 0x4817be
test eax, eax
je 0x4817d2
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x24
ret
test eax, eax
je 0x4817d2
cmp word [edx], 1
jle 0x4817d2
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 0x4817ec
cmp dword [ebp + 0x48], 0
je 0x4817ec
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x24
ret
cmp dword [esi + 0x4c], 0
je 0x4817fc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x24
ret
cmp dword [ebp + 0x44], 0
je 0x481810
test ecx, ecx
je 0x481810
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x24
ret
cmp word [eax], 0
jne 0x481820
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x24
ret
test byte [esi + 6], 1
je 0x481830
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x24
ret
test ecx, ecx
je 0x48184c
cmp word [edx], 1
jg 0x481842
mov eax, dword [esp + 0x44]
test eax, eax
je 0x48184c
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 0x48186d
mov eax, dword [esp + 0x48]
test eax, eax
je 0x48186d
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x24
ret
mov eax, dword [ebp + 0x38]
test eax, eax
je 0x481885
mov eax, dword [esi + 0x38]
test eax, eax
je 0x481885
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x24
ret
mov eax, dword [esp + 0x44]
test eax, eax
je 0x48189e
mov eax, dword [esi + 0x38]
test eax, eax
je 0x48189e
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x24
ret
test ecx, ecx
je 0x4818c9
mov eax, dword [ebp + 0x2c]
test eax, eax
je 0x4818b3
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x24
ret
test ecx, ecx
je 0x4818c9
cmp word [esp + 0x3c], 0
je 0x4818c9
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 0x4818e4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x24
ret
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x481967
mov eax, dword [esi + 0x38]
test eax, eax
je 0x4818fc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x24
ret
mov eax, dword [esp + 0x44]
test eax, eax
jne 0x4818f2
cmp word [esp + 0x3c], 0
jne 0x4818f2
cmp word [edx], 1
jne 0x4818f2
test esi, esi
mov eax, esi
je 0x481944
test byte [eax + 6], 5
jne 0x4818f2
mov ecx, dword [eax + 0x3c]
test ecx, ecx
je 0x48192b
cmp byte [eax + 4], 0x71
jne 0x4818f2
mov edx, dword [eax + 0x28]
cmp word [edx], 1
jl 0x4818f2
mov edx, dword [esi]
mov eax, dword [eax]
mov edx, dword [edx]
cmp edx, dword [eax]
jne 0x4818f2
mov eax, ecx
test eax, eax
jne 0x481918
mov eax, dword [ebp + 0x38]
test eax, eax
je 0x481967
mov edx, dword [eax]
xor ecx, ecx
test edx, edx
jle 0x481967
mov eax, dword [eax + 8]
add eax, 0xe
cmp word [eax], 0
je 0x4818f2
inc ecx
add eax, 0x14
cmp ecx, edx
jl 0x481959
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.00472610
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 0x481a22
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.00471db0
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 0x4819f3
mov eax, dword [esp + 0x1c]
jmp 0x481a01
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 0x481d66
mov edx, dword [esp + 0x3c]
mov eax, dword [edx + 0x3c]
test eax, eax
mov dword [esp + 0x3c], eax
jne 0x4819ab
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.00440050
mov ecx, dword [edi]
push ecx
push ebx
call fcn.00440050
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.00440050
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 0x481ade
mov dx, word [eax + 0x28]
cmp dx, 1
jne 0x481ad3
mov edi, dword [esp + 0x38]
mov edx, dword [edi + 0x1b0]
test edx, edx
jne 0x481ac2
mov edx, edi
mov edi, dword [edx + 0x224]
mov dword [eax + 0x44], edi
mov dword [edx + 0x224], eax
jmp 0x481ad8
dec edx
mov word [eax + 0x28], dx
mov dword [ecx], 0
test ebp, ebp
je 0x481d58
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 0x481b0c
mov ecx, dword [esp + 0x28]
mov dl, byte [ecx]
mov byte [esp + 0x38], dl
jmp 0x481b2a
push 0
push 0
push 0
push ebx
call fcn.00475880
add esp, 0x10
mov dword [ebp + 0x28], eax
test eax, eax
mov dword [esp + 0x10], eax
je 0x481d58
cmp edi, 1
jle 0x481b55
mov ecx, dword [esp + 0x40]
lea edx, [edi - 1]
inc ecx
push ecx
push edx
push eax
push ebx
call fcn.00475920
mov dword [ebp + 0x28], eax
mov cl, byte [ebx + 0x38]
add esp, 0x10
mov dword [esp + 0x10], eax
test cl, cl
jne 0x481d58
test edi, edi
jle 0x481bc4
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.00467210
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 0x481b74
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 0x481c2f
mov dword [esp + 0x38], eax
mov edx, dword [edi + 8]
add eax, edx
mov ecx, dword [eax + 4]
test ecx, ecx
jne 0x481c15
mov eax, dword [eax + 8]
push eax
push ebx
call fcn.00451ae0
push eax
mov dword [esp + 0x30], eax
call fcn.004624f0
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 0x481be3
mov ecx, dword [esi]
mov edi, dword [esp + 0x2c]
mov edx, dword [ebp]
push ecx
push edi
push edx
push ebx
call fcn.00481e50
mov eax, dword [esp + 0x54]
add esp, 0x10
test eax, eax
je 0x481c6e
mov eax, dword [esi]
mov ecx, dword [ebp + 0x30]
push eax
push edi
push ecx
push ebx
call fcn.00481e50
mov edx, dword [esi]
mov eax, dword [ebp + 0x34]
push edx
push edi
push eax
push ebx
call fcn.00481d80
add esp, 0x20
mov dword [ebp + 0x34], eax
mov eax, dword [esi + 0x38]
test eax, eax
je 0x481c81
mov dword [ebp + 0x38], eax
mov dword [esi + 0x38], 0
jmp 0x481c96
mov eax, dword [ebp + 0x38]
test eax, eax
je 0x481c96
mov ecx, dword [esi]
push ecx
push edi
push eax
push ebx
call fcn.00481e50
add esp, 0x10
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x481caf
push 0
push eax
push ebx
call fcn.00471920
add esp, 0xc
mov dword [esp + 0x38], eax
jmp 0x481cb7
mov dword [esp + 0x38], 0
mov eax, dword [esp + 0x48]
test eax, eax
je 0x481d08
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.00481d80
mov dword [ebp + 0x34], eax
mov eax, dword [esi + 0x34]
push 0
push eax
push ebx
call fcn.00471920
mov ecx, dword [ebp + 0x34]
push eax
push ecx
push ebx
call fcn.0046ba30
mov dword [ebp + 0x34], eax
mov edx, dword [esi + 0x30]
push 0
push edx
push ebx
call fcn.00471cc0
add esp, 0x34
mov dword [ebp + 0x30], eax
jmp 0x481d2b
mov eax, dword [esi]
mov ecx, dword [ebp + 0x2c]
push eax
push edi
push ecx
push ebx
call fcn.00481d80
mov edx, dword [esp + 0x48]
mov dword [ebp + 0x2c], eax
push edx
push eax
push ebx
call fcn.0046ba30
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 0x481d46
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 0x481ae6
mov ecx, dword [esp + 0x30]
push ecx
push ebx
call fcn.004670e0
add esp, 8
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x24
ret