Function at 0x40fd90
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x4394c4]
xor eax, ebp
mov dword [ebp - 4], eax
inc word [0x43cd62]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x34], edi
mov esi, dword [edi + 4]
movzx eax, byte [esi]
add eax, 0xfffffffe
cmp eax, 0x87
ja case.0x40fdce.3
movzx eax, byte [eax + 0x4108e0]
jmp dword [eax*4 + 0x4108c8]
cmp word [edi + 0xa], 0x18
jae 0x40fe04
push edi
call fcn.00409370
inc word [0x43cd6a]
add esp, 4
inc word [0x43cd66]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00417bc2
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0xc]
mov dword [ebp - 0x14], ecx
mov ecx, dword [esi + 0x10]
mov dword [ebp - 0x18], eax
and eax, 0xc0ff
mov dword [ebp - 0x10], ecx
mov ecx, dword [esi + 0x14]
mov dword [ebp - 0xc], ecx
cmp eax, 0x80fe
je 0x40fe2c
xor ch, ch
jmp 0x40fe34
mov ch, byte [ebx + 0xba]
inc ch
mov eax, dword [0x43d22c]
mov byte [ebp - 8], ch
cmp byte [eax + 7], 0xff
jne 0x40ffee
cmp byte [esi + 1], 0
jne 0x40ffee
cmp byte [ebp - 0x18], 0xff
je 0x40ffee
cmp byte [0x43d24c], 0xff
jne 0x40ff42
xor cl, cl
mov byte [ebp - 0x24], cl
nop dword [eax]
movsx eax, cl
mov dl, byte [ebx + eax + 0x94]
test dl, dl
je 0x40feb0
cmp dl, 0x40
je 0x40feb0
mov edx, dword [esi + 8]
lea eax, [eax + eax*2]
cmp edx, dword [ebx + eax*8 + 0x4c]
jne 0x40feb0
mov edx, dword [esi + 0xc]
cmp edx, dword [ebx + eax*8 + 0x50]
jne 0x40feb0
mov edx, dword [esi + 0x10]
cmp edx, dword [ebx + eax*8 + 0x54]
jne 0x40feb0
mov edx, dword [esi + 0x14]
cmp edx, dword [ebx + eax*8 + 0x58]
jne 0x40feb0
cmp ch, byte [ebx + eax*8 + 0x5c]
je 0x40ff1d
inc cl
mov byte [ebp - 0x24], cl
cmp cl, 3
jl 0x40fe70
movzx edx, word [edi + 0xa]
cmp edx, 0x1a
jb 0x40fddc
movzx eax, byte [esi + 0x19]
lea ecx, [eax*8 + 0x18]
cmp edx, ecx
jb 0x40fddc
lea eax, [ebp - 0x18]
push eax
call fcn.0040fa20
add esp, 4
test al, al
js 0x4108ae
test byte [esi + 4], 0x20
je 0x4108ae
movzx ecx, byte [ebx + 0xb4]
movsx eax, al
imul eax, eax, 0x2c
push ecx
lea ecx, [esi + 0x1a]
push ecx
add eax, 0x43d058
push eax
call fcn.00418e40
add esp, 0xc
jmp 0x4108ae
push 0x40
push dword [ebp - 0x24]
push ebx
call fcn.00409cd0
push edi
call fcn.00409370
add esp, 0x10
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00417bc2
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x18]
push eax
call fcn.0040fa20
mov dl, al
add esp, 4
mov byte [ebp - 0x24], dl
test dl, dl
js 0x4108ae
test byte [esi + 4], 0x20
jne 0x40ff70
movsx eax, dl
imul ecx, eax, 0x2c
cmp byte [ecx + 0x43d064], 1
jne 0x40ffb9
cmp word [edi + 0xa], 0x1a
jb 0x40fddc
movzx eax, byte [esi + 0x19]
lea ecx, [eax*8 + 0x18]
movzx eax, word [edi + 0xa]
cmp eax, ecx
jb 0x40fddc
movsx eax, dl
imul ecx, eax, 0x2c
movzx eax, byte [ebx + 0xb4]
push eax
lea eax, [esi + 0x1a]
push eax
mov dword [ebp - 0x2c], ecx
lea eax, [ecx + 0x43d058]
push eax
call fcn.00418e40
mov ecx, dword [ebp - 0x2c]
add esp, 0xc
cmp dword [ecx + 0x43d060], 0
mov eax, dword [0x439008]
mov dword [ecx + 0x43d054], ebx
mov byte [ecx + 0x43d064], 2
mov dword [ecx + 0x43d068], eax
je 0x4108ae
push dword [ebp - 0x24]
call fcn.004112a0
add esp, 4
jmp 0x4108ae
push edi
call fcn.00409370
inc word [0x43cd70]
add esp, 4
inc word [0x43cd66]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00417bc2
mov esp, ebp
pop ebp
ret
movzx ecx, word [edi + 0xa]
cmp ecx, 0x18
jb 0x40fddc
mov eax, dword [esi + 8]
mov dword [ebp - 0x18], eax
mov edx, dword [esi + 0xc]
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x14], edx
mov edx, dword [esi + 0x10]
mov dword [ebp - 0x2c], eax
and eax, 0xc0ff
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x10], edx
mov edx, dword [esi + 0x14]
mov dword [ebp - 0x38], edx
mov dword [ebp - 0xc], edx
cmp eax, 0x80fe
je 0x410057
xor al, al
jmp 0x41005f
mov al, byte [ebx + 0xba]
inc al
mov byte [ebp - 8], al
mov byte [ebp - 0x19], al
mov eax, dword [0x43d22c]
cmp byte [eax + 7], 0xff
jne 0x40ffee
cmp byte [esi + 1], 0
jne 0x40ffee
cmp byte [ebp - 0x18], 0xff
je 0x40ffee
cmp ecx, 0x1a
jb 0x4100ab
movzx eax, byte [esi + 0x19]
lea edx, [esi + 0x18]
xor esi, esi
lea ecx, [eax*8 + 0x18]
movzx eax, word [edi + 0xa]
cmp eax, ecx
cmovae esi, edx
mov dword [ebp - 0x20], esi
jmp 0x4100b2
mov dword [ebp - 0x20], 0
mov esi, dword [ebp - 0x2c]
xor dl, dl
nop word [eax + eax]
movsx ecx, dl
mov al, byte [ebx + ecx + 0x94]
test al, 0x10
jne 0x4100f6
test al, 8
je 0x410123
cmp dword [0x43d234], 0
jne 0x410123
cmp dword [0x43d238], 0
jne 0x410123
cmp dword [0x43d23c], 0
jne 0x410123
cmp dword [0x43d240], 0
jne 0x410123
lea eax, [ecx + ecx*2]
cmp esi, dword [ebx + eax*8 + 0x4c]
jne 0x410123
mov ecx, dword [ebp - 0x28]
cmp ecx, dword [ebx + eax*8 + 0x50]
jne 0x410123
mov ecx, dword [ebp - 0x30]
cmp ecx, dword [ebx + eax*8 + 0x54]
jne 0x410123
mov ecx, dword [ebp - 0x38]
cmp ecx, dword [ebx + eax*8 + 0x58]
jne 0x410123
mov ch, byte [ebp - 0x19]
cmp ch, byte [ebx + eax*8 + 0x5c]
je 0x41012f
inc dl
cmp dl, 3
jl 0x4100c0
jmp 0x4108ae
cmp dword [0x43d234], 0
jne 0x410211
cmp dword [0x43d238], 0
jne 0x410211
cmp dword [0x43d23c], 0
jne 0x410211
cmp dword [0x43d240], 0
jne 0x410211
mov edi, dword [ebp - 0x2c]
lea eax, [ebx + 0x94]
xor cl, cl
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x24], cl
lea esi, [ebx + 0x54]
cmp byte [eax], 0
je 0x4101f4
cmp edi, dword [esi - 8]
jne 0x4101f4
mov eax, dword [ebp - 0x28]
cmp eax, dword [esi - 4]
mov eax, dword [ebp - 0x20]
jne 0x4101f4
mov edx, dword [ebp - 0x30]
cmp edx, dword [esi]
lea edx, [esi - 8]
jne 0x4101f4
mov eax, dword [ebp - 0x38]
cmp eax, dword [esi + 4]
mov eax, dword [ebp - 0x20]
jne 0x4101f4
cmp ch, byte [esi + 8]
jne 0x4101f4
push 0x22
push edx
push ebx
call fcn.00410f50
mov eax, dword [ebp - 0x20]
add esp, 0xc
test byte [eax], 8
je 0x4101d9
push 0x40
push dword [ebp - 0x24]
push ebx
call fcn.00409cd0
mov eax, dword [ebp - 0xc]
add esp, 0xc
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x20]
jmp 0x4101e5
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x38], edx
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x30], edx
mov edx, dword [ebp - 0x14]
mov cl, byte [ebp - 0x24]
mov edi, dword [ebp - 0x18]
mov ch, byte [ebp - 8]
mov dword [ebp - 0x28], edx
inc cl
inc eax
add esi, 0x18
mov byte [ebp - 0x24], cl
mov dword [ebp - 0x20], eax
cmp cl, 3
jl 0x410177
mov edi, dword [ebp - 0x34]
jmp 0x4108ae
cmp dword [ebp - 0x20], 0
je 0x40ffee
push 0x43d234
call fcn.0040fa20
add esp, 4
test al, al
js 0x410265
movsx eax, al
imul esi, eax, 0x2c
cmp byte [esi + 0x43d064], 1
jne 0x410303
mov dword [esi + 0x43d054], ebx
movzx eax, byte [ebx + 0xb4]
push eax
mov eax, dword [ebp - 0x20]
add eax, 2
push eax
lea eax, [esi + 0x43d058]
push eax
call fcn.00418e40
jmp 0x4102ef
call fcn.004109a0
test al, al
jns 0x41028f
push edi
call fcn.00409370
add esp, 4
inc word [0x43cd6c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00417bc2
mov esp, ebp
pop ebp
ret
movsx eax, al
imul esi, eax, 0x2c
mov dword [esi + 0x43d054], ebx
movzx eax, byte [ebx + 0xb4]
push eax
mov eax, dword [ebp - 0x20]
add eax, 2
push eax
lea eax, [esi + 0x43d058]
push eax
call fcn.00418e40
mov eax, dword [0x43d234]
mov dword [esi + 0x43d040], eax
mov eax, dword [0x43d238]
mov dword [esi + 0x43d044], eax
mov eax, dword [0x43d23c]
mov dword [esi + 0x43d048], eax
mov eax, dword [0x43d240]
mov dword [esi + 0x43d04c], eax
movzx eax, byte [0x43d244]
mov byte [esi + 0x43d050], al
mov dword [esi + 0x43d068], 5
add esp, 0xc
mov byte [esi + 0x43d064], 4
push 0x60
lea eax, [ebp - 0x18]
push eax
push ebx
call fcn.00410f50
add esp, 0xc
jmp 0x4108ae
cmp word [edi + 0xa], 0x10
jb 0x40fddc
mov eax, dword [0x43d234]
and eax, 0xc0ff
cmp eax, 0x80fe
jne 0x40ffee
mov eax, dword [0x43d22c]
cmp byte [eax + 7], 0xff
jne 0x40ffee
cmp byte [esi + 1], 0
jne 0x40ffee
cmp byte [ebx + 0xbb], 3
jb 0x410366
push ebx
call fcn.00411390
add esp, 4
test al, al
jne 0x41036d
mov byte [ebx + 0xbb], 0
push ebx
push 0x43d234
call fcn.0040fd20
mov dl, al
add esp, 8
test dl, dl
jns 0x410399
push ebx
push 0x43d234
call fcn.00410c00
mov dl, al
add esp, 8
test dl, dl
js 0x41026e
movzx ecx, word [esi + 6]
mov eax, ecx
mov byte [ebp - 0x23], cl
shr eax, 8
mov byte [ebp - 0x24], al
movsx eax, dl
lea edx, [eax + eax*2]
movzx eax, word [ebp - 0x24]
shl edx, 2
mov dword [ebp - 0x30], edx
mov dword [edx + 0x43cd84], eax
mov eax, dword [esi + 0xc]
test eax, eax
je 0x4103d3
push eax
call fcn.00412780
add esp, 4
mov dword [0x43900c], eax
mov eax, dword [esi + 8]
test eax, eax
je 0x4103e8
push eax
call fcn.00412780
add esp, 4
mov dword [0x439008], eax
mov al, byte [esi + 5]
mov esi, 0x10
mov byte [edx + 0x43cd88], al
cmp word [edi + 8], 0x12
mov dword [ebp - 0x28], esi
jb 0x4108ae
lea eax, [esi + 1]
push eax
push edi
call fcn.00409860
add esp, 8
test eax, eax
jle 0x4105e8
movzx eax, al
mov dword [ebp - 0x34], eax
shl eax, 3
movzx edx, ax
movzx eax, word [edi + 8]
movzx ecx, si
mov dword [ebp - 0x2c], ecx
mov ecx, eax
sub ecx, dword [ebp - 0x2c]
cmp edx, ecx
jg 0x4105e8
movzx eax, word [edi + 8]
cmp word [edi + 0xa], ax
jne 0x41044e
mov esi, dword [edi + 4]
add esi, dword [ebp - 0x2c]
jmp 0x410480
cmp edx, 0x20
jbe 0x41046a
push esi
push edi
call fcn.00409490
add esp, 8
cmp al, 0x19
jne 0x4105e8
mov edx, 0x20
push dword [ebp - 0x28]
mov esi, 0x439f24
push edx
push esi
push edi
call fcn.00409280
add esp, 0x10
movzx edx, ax
movzx eax, byte [esi]
dec eax
cmp eax, 0x17
ja case.0x410494.2
movzx eax, byte [eax + 0x41097c]
jmp dword [eax*4 + 0x410968]
cmp dx, 8
jb 0x4105e8
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 0x43cd80]
test ecx, ecx
je case.0x410494.24
cmp byte [ecx + 0x24], 1
jne case.0x410494.24
movzx eax, byte [ebx + 0xb4]
push eax
lea eax, [esi + 2]
push eax
lea eax, [ecx + 0x18]
push eax
call fcn.00418e40
mov ecx, dword [ebp - 0x30]
add esp, 0xc
mov eax, dword [ecx + 0x43cd80]
mov byte [eax + 0x24], 2
mov ecx, dword [ecx + 0x43cd80]
mov eax, dword [0x439008]
mov dword [ecx + 0x28], eax
jmp case.0x410494.24
cmp dx, 8
jb 0x4105e8
push dword [esi + 4]
call fcn.00412780
add esp, 4
cmp eax, 0x500
jb case.0x410494.24
mov word [ebx + 0xac], ax
jmp case.0x410494.24
cmp dx, 0x20
jb 0x4105e8
mov ecx, dword [esi + 0x10]
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x18]
mov dword [ebp - 0x18], ecx
and ecx, 0xc0ff
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 0x1c]
mov dword [ebp - 0xc], eax
cmp ecx, 0x80fe
je 0x41055a
mov byte [ebp - 8], 0
jmp 0x410565
mov al, byte [ebx + 0xba]
inc al
mov byte [ebp - 8], al
cmp ecx, 0x80fe
je case.0x410494.24
cmp byte [esi + 3], 0
jge case.0x410494.24
cmp byte [esi + 2], 0x40
jne case.0x410494.24
push dword [esi + 4]
call fcn.00412780
mov esi, eax
lea eax, [ebp - 0x18]
push ebx
push eax
call fcn.0040fcc0
add esp, 0xc
test al, al
jns 0x4105a9
test esi, esi
je 0x4105a5
lea eax, [ebp - 0x18]
push ebx
push eax
call fcn.00410b40
add esp, 8
test al, al
js case.0x410494.24
movsx ecx, al
lea eax, [ecx*8]
sub eax, ecx
mov dword [eax*4 + 0x43cdd8], esi
jmp case.0x410494.24
inc word [0x43cd70]
mov esi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x34]
movzx ecx, word [edi + 8]
lea esi, [esi + eax*8]
movzx eax, si
sub ecx, eax
mov dword [ebp - 0x28], esi
cmp ecx, 2
jge 0x410404
jmp 0x4108ae
inc word [0x43cd6a]
jmp 0x4108a7
movzx edx, word [edi + 0xa]
cmp edx, 0x28
jb 0x40fddc
mov ecx, dword [esi + 0x18]
mov eax, dword [esi + 0x1c]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x20]
mov dword [ebp - 0x18], ecx
and ecx, 0xc0ff
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 0x24]
mov dword [ebp - 0xc], eax
cmp ecx, 0x80fe
je 0x41062d
mov byte [ebp - 8], 0
jmp 0x410638
mov al, byte [ebx + 0xba]
inc al
mov byte [ebp - 8], al
mov eax, dword [0x43d234]
and eax, 0xc0ff
cmp eax, 0x80fe
jne 0x40ffee
mov eax, dword [0x43d22c]
cmp byte [eax + 7], 0xff
jne 0x40ffee
cmp byte [esi + 1], 0
jne 0x40ffee
cmp byte [ebp - 0x18], 0xff
je 0x40ffee
mov dword [ebp - 0x20], 0
cmp edx, 0x2a
jb 0x410699
movzx eax, byte [esi + 0x29]
lea edx, [esi + 0x28]
lea ecx, [eax*8 + 0x28]
movzx eax, word [edi + 0xa]
cmp eax, ecx
mov eax, dword [ebp - 0x20]
cmovae eax, edx
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x18]
push eax
call fcn.0040f9c0
mov ch, al
add esp, 4
test ch, ch
js 0x4108ae
mov eax, dword [esi + 0xc]
mov edx, dword [esi + 8]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x10]
mov esi, dword [esi + 0x14]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x10], eax
mov eax, edx
and eax, 0xc0ff
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x30], esi
mov dword [ebp - 0xc], esi
cmp eax, 0x80fe
je 0x4106e5
xor cl, cl
jmp 0x4106ed
mov cl, byte [ebx + 0xba]
inc cl
movsx eax, ch
mov byte [ebp - 8], cl
mov byte [ebp - 0x19], cl
lea eax, [eax + eax*2]
shl eax, 4
mov dword [eax + 0x43ce74], edx
mov edx, dword [ebp - 0x2c]
mov dword [eax + 0x43ce78], edx
mov edx, dword [ebp - 0x28]
mov dword [eax + 0x43ce7c], edx
mov dword [eax + 0x43ce80], esi
mov esi, dword [ebp - 0x20]
mov byte [eax + 0x43ce84], cl
test esi, esi
je 0x4108ae
cmp byte [esi], 2
jne 0x4108ae
lea eax, [ebp - 0x18]
push eax
call fcn.0040fa20
add esp, 4
test al, al
jns 0x4107c2
call fcn.004109a0
mov byte [ebp - 0x21], al
test al, al
js 0x4108ae
movsx eax, al
imul esi, eax, 0x2c
mov dword [esi + 0x43d054], ebx
movzx eax, byte [ebx + 0xb4]
push eax
mov eax, dword [ebp - 0x20]
add eax, 2
push eax
lea eax, [esi + 0x43d058]
push eax
call fcn.00418e40
mov eax, dword [ebp - 0x34]
add esp, 0xc
mov dword [esi + 0x43d040], eax
mov eax, dword [ebp - 0x2c]
mov dword [esi + 0x43d044], eax
mov eax, dword [ebp - 0x28]
mov dword [esi + 0x43d048], eax
mov eax, dword [ebp - 0x30]
mov dword [esi + 0x43d04c], eax
mov al, byte [ebp - 0x19]
mov byte [esi + 0x43d050], al
mov al, byte [ebp - 0x21]
mov byte [esi + 0x43d064], 4
mov dword [esi + 0x43d068], 5
mov esi, dword [ebp - 0x20]
movsx eax, al
imul ecx, eax, 0x2c
mov dword [ebp - 0x34], ecx
cmp byte [ecx + 0x43d064], 1
jne 0x4108ae
movzx eax, byte [ebx + 0xb4]
push eax
lea eax, [esi + 2]
push eax
lea eax, [ecx + 0x43d058]
push eax
call fcn.00418e40
mov eax, dword [ebp - 0x34]
add esp, 0xc
mov byte [eax + 0x43d064], 4
mov dword [eax + 0x43d068], 5
jmp 0x4108ae
cmp word [edi + 0xa], 0x30
jb 0x40fddc
mov eax, dword [esi + 0x24]
mov ecx, dword [esi + 0x20]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x28]
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 0x2c]
mov dword [ebp - 0xc], eax
mov eax, ecx
and eax, 0xc0ff
mov dword [ebp - 0x18], ecx
cmp eax, 0x80fe
je 0x410859
and ecx, 0x8fff
cmp ecx, 0x1ff
je 0x410859
cmp ecx, 0x2ff
je 0x410859
mov byte [ebp - 8], 0
jmp 0x410864
mov al, byte [ebx + 0xba]
inc al
mov byte [ebp - 8], al
lea eax, [ebp - 0x18]
push eax
call fcn.0040f9c0
mov bl, al
add esp, 4
test bl, bl
js 0x4108ae
push dword [esi + 4]
call fcn.00412780
mov edx, 0xffff
movzx ecx, ax
add esp, 4
cmp eax, edx
movsx eax, bl
cmovb edx, ecx
lea eax, [eax + eax*2]
shl eax, 4
mov word [eax + 0x43ce88], dx
jmp 0x4108ae
inc word [0x43cd70]
inc word [0x43cd66]
push edi
call fcn.00409370
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00417bc2
mov esp, ebp
pop ebp
ret