Function at 0x410120
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a1248
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
mov eax, dword [0x4d4524]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov edi, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 4], 0
xor al, al
mov esi, 8
mov byte [ebp - 0x26], al
cmp ebx, esi
mov byte [ebp - 0x21], 0
lea eax, [ebp - 0x20]
mov byte [ebp - 0x22], 0
cmovl esi, ebx
mov dword [ebp - 0xac], 0
push esi
push edi
push eax
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xa0], 1
mov dword [ebp - 0x9c], 0xa
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 1
mov dword [ebp - 0x70], 0xa
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xbc], 1
mov dword [ebp - 0xb8], 0xa
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0x90], 0xffffffff
call fcn.00485f00
add esp, 0xc
mov dword [ebp - 0x18], 0x474e5089
lea eax, [edi + esi]
mov dword [ebp - 0x14], 0xa1a0a0d
sub ebx, esi
mov dword [0x4dbb00], eax
mov dword [0x4dbb04], ebx
lea ecx, [ebp - 0x20]
lea edx, [ebp - 0x18]
mov esi, 4
nop dword [eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x4102a5
add ecx, 4
add edx, 4
sub esi, 4
jae 0x410290
xor eax, eax
jmp 0x4102ca
cmp al, byte [edx]
jne 0x4102c5
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x4102c5
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x4102c5
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
jne 0x4102c5
xor eax, eax
jmp 0x4102ca
sbb eax, eax
or eax, 1
test eax, eax
jne 0x410912
lea ecx, [ebp - 0x88]
call fcn.00410040
test eax, eax
jne 0x4102ff
mov ecx, dword [ebp - 0x54]
test ecx, ecx
je 0x4102f7
mov eax, dword [ebp - 0x4c]
sub eax, ecx
sar eax, 3
push eax
push ecx
call fcn.00410be0
or eax, 0xffffffff
jmp 0x410918
cmp eax, 0x52444849
jne 0x4108b8
cmp dword [ebp - 0x84], 0x19
jne 0x4108b8
mov ecx, dword [ebp - 0x88]
movzx edx, byte [ecx + 8]
movzx eax, byte [ecx + 9]
movzx ebx, byte [ecx + 0xc]
shl edx, 8
add edx, eax
shl ebx, 8
movzx eax, byte [ecx + 0xa]
shl edx, 8
add edx, eax
movzx eax, byte [ecx + 0xb]
shl edx, 8
add edx, eax
movzx eax, byte [ecx + 0xd]
add ebx, eax
mov dword [ebp - 0x60], edx
movzx eax, byte [ecx + 0xe]
shl ebx, 8
add ebx, eax
mov dword [ebp - 0x58], edx
movzx eax, byte [ecx + 0xf]
shl ebx, 8
add ebx, eax
mov dword [ebp - 0x14], ebx
mov edi, ebx
test edx, edx
je 0x410934
cmp edx, 0x4000
ja 0x410934
test ebx, ebx
je 0x410934
cmp ebx, 0x4000
ja 0x410934
mov eax, ebx
mov dword [ebp - 0x3c], 0
imul eax, edx
xor esi, esi
push ecx
push ebx
push edx
lea ecx, [ebp - 0xac]
mov dword [ebp - 0x38], 0
shl eax, 2
mov dword [ebp - 0x64], 1
mov dword [ebp - 0x48], 0xa
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x8c], eax
call fcn.0040fb10
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0xac]
push esi
push eax
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x30]
call fcn.0040fdf0
add esp, 0x10
test eax, eax
jne 0x410895
push ecx
push ebx
push dword [ebp - 0x60]
lea ecx, [ebp - 0x80]
call fcn.0040fb10
cmp dword [0x4dbb04], esi
jle 0x410895
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x44], eax
lea ecx, [ebp - 0x20]
call fcn.00410040
test eax, eax
je 0x410895
mov ebx, dword [ebp - 0x20]
cmp eax, 0x4c546361
jne 0x410463
mov dl, byte [ebp - 0x26]
test dl, dl
jne 0x410785
cmp byte [ebp - 0x21], dl
jne 0x410785
mov byte [ebp - 0x21], 1
mov byte [ebp - 0x22], 1
push ebx
call fcn.00425f05
add esp, 4
cmp dword [0x4dbb04], 0
jg 0x410416
jmp 0x410895
cmp eax, 0x4c546366
jne 0x4106f7
mov dl, byte [ebp - 0x26]
test dl, dl
je 0x410576
cmp byte [ebp - 0x21], 0
je 0x410785
mov edx, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x30]
call fcn.0040ffa0
test eax, eax
jne 0x410882
push ecx
push dword [ebp - 0x14]
lea ecx, [ebp - 0xc8]
push dword [ebp - 0x60]
call fcn.0040fb10
cmp esi, 2
mov esi, dword [ebp - 0xb4]
jne 0x4104c5
push dword [ebp - 0x8c]
push dword [ebp - 0x6c]
push esi
call fcn.00485f00
add esp, 0xc
mov edx, dword [ebp - 0x94]
mov ecx, dword [ebp - 0x44]
push edi
push dword [ebp - 0x58]
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
push dword [ebp - 0x40]
call fcn.0040fca0
mov eax, dword [ebp - 0x64]
add esp, 0x14
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0x80]
push eax
call fcn.00410a90
cmp dword [ebp - 0x34], 2
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x44], eax
je 0x41056a
push dword [ebp - 0x8c]
push dword [ebp - 0x6c]
push esi
call fcn.00485f00
add esp, 0xc
cmp dword [ebp - 0x34], 1
jne 0x41056a
test edi, edi
je 0x41056a
mov eax, dword [ebp - 0x58]
mov edx, dword [ebp - 0x44]
lea ebx, [eax*4]
mov eax, dword [ebp - 0x3c]
lea ecx, [eax*4]
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x48], ecx
lea esi, [edx + eax*4]
mov eax, dword [esi]
push ebx
add eax, ecx
push 0
push eax
call fcn.00486480
mov ecx, dword [ebp - 0x48]
lea esi, [esi + 4]
add esp, 0xc
sub edi, 1
jne 0x410546
mov ebx, dword [ebp - 0x20]
mov esi, dword [ebp - 0xb4]
mov dl, byte [ebp - 0x26]
mov dword [ebp - 0x6c], esi
mov esi, dword [ebp - 0x44]
mov dword [ebp - 0x68], esi
movzx ecx, byte [ebx + 0xc]
movzx eax, byte [ebx + 0xd]
movzx edi, byte [ebx + 0x10]
movzx esi, byte [ebx + 0x14]
shl ecx, 8
add ecx, eax
shl esi, 8
movzx eax, byte [ebx + 0xe]
shl ecx, 8
add ecx, eax
shl edi, 8
movzx eax, byte [ebx + 0xf]
shl ecx, 8
add ecx, eax
movzx eax, byte [ebx + 0x11]
add edi, eax
mov dword [ebp - 0x58], ecx
movzx eax, byte [ebx + 0x12]
shl edi, 8
add edi, eax
movzx eax, byte [ebx + 0x13]
shl edi, 8
add edi, eax
movzx eax, byte [ebx + 0x15]
add esi, eax
movzx eax, byte [ebx + 0x16]
shl esi, 8
add esi, eax
movzx eax, byte [ebx + 0x17]
shl esi, 8
add esi, eax
movzx eax, byte [ebx + 0x19]
mov dword [ebp - 0x3c], esi
movzx esi, byte [ebx + 0x18]
shl esi, 8
add esi, eax
movzx eax, byte [ebx + 0x1a]
shl esi, 8
add esi, eax
movzx eax, byte [ebx + 0x1b]
shl esi, 8
add esi, eax
movzx eax, byte [ebx + 0x1d]
mov dword [ebp - 0x38], esi
movzx esi, byte [ebx + 0x1c]
shl esi, 8
add esi, eax
movzx eax, byte [ebx + 0x1f]
mov dword [ebp - 0x64], esi
movzx esi, byte [ebx + 0x1e]
shl esi, 8
add esi, eax
movzx eax, byte [ebx + 0x21]
mov dword [ebp - 0x48], esi
movzx esi, byte [ebx + 0x20]
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x40], eax
test ecx, ecx
je 0x41069d
cmp ecx, 0x4000
ja 0x41069d
test edi, edi
je 0x41069d
cmp edi, 0x4000
ja 0x41069d
mov eax, dword [ebp - 0x3c]
add eax, ecx
cmp eax, dword [ebp - 0x60]
ja 0x41069d
mov eax, dword [ebp - 0x38]
add eax, edi
cmp eax, dword [ebp - 0x14]
ja 0x41069d
cmp esi, 2
ja 0x41069d
cmp dword [ebp - 0x40], 1
ja 0x41069d
test dl, dl
je 0x4106ab
mov ecx, dword [ebp - 0x88]
lea edx, [ebp - 0x2c]
mov eax, dword [ebx + 0xc]
mov dword [ecx + 8], eax
mov eax, dword [ebx + 0x10]
mov dword [ecx + 0xc], eax
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x88]
push eax
push dword [ebp - 0x26]
lea eax, [ebp - 0xac]
push eax
lea ecx, [ebp - 0x30]
call fcn.0040fdf0
add esp, 0x10
test eax, eax
je 0x4106af
lea ecx, [ebp - 0x80]
call fcn.0040f740
push ebx
jmp 0x41088d
mov byte [ebp - 0x22], 0
mov eax, dword [ebp - 0x5c]
mov ecx, dword [eax + 4]
sub ecx, dword [eax]
mov eax, 0x92492493
imul ecx
xor eax, eax
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp byte [ebp - 0x22], al
setne al
cmp ecx, eax
jne 0x41044c
mov dword [ebp - 0x40], 0
cmp esi, 2
jne 0x41044c
mov esi, 1
mov dword [ebp - 0x34], esi
jmp 0x41044c
cmp eax, 0x54414449
jne 0x41071d
push dword [ebp - 0x1c]
mov edx, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x30]
push ebx
mov byte [ebp - 0x26], 1
call fcn.0040ff40
add esp, 8
test eax, eax
jne 0x41069d
jmp 0x41044c
cmp eax, 0x54416466
jne 0x410777
cmp byte [ebp - 0x21], 0
je 0x410782
mov esi, dword [ebp - 0x1c]
lea edx, [ebx + 4]
lea ecx, [esi - 0x10]
mov eax, ecx
mov byte [edx + 3], cl
shr eax, 0x18
mov byte [edx], al
mov eax, ecx
shr eax, 0x10
mov byte [edx + 1], al
mov eax, ecx
shr eax, 8
mov byte [edx + 2], al
lea eax, [esi - 4]
push eax
mov dword [ebx + 8], 0x54414449
mov ecx, dword [ebp - 0x30]
push edx
mov edx, dword [ebp - 0x2c]
call fcn.0040ff40
add esp, 8
test eax, eax
jne 0x41069d
mov esi, dword [ebp - 0x34]
jmp 0x41044c
cmp eax, 0x444e4549
je 0x410834
mov dl, byte [ebp - 0x26]
mov al, byte [ebx + 4]
cmp al, 0x41
jb 0x4106a5
cmp al, 0x7a
ja 0x4106a5
cmp al, 0x5a
jbe 0x4107a4
cmp al, 0x61
jb 0x4106a5
mov al, byte [ebx + 5]
cmp al, 0x41
jb 0x4106a5
cmp al, 0x7a
ja 0x4106a5
cmp al, 0x5a
jbe 0x4107c3
cmp al, 0x61
jb 0x4106a5
mov al, byte [ebx + 6]
cmp al, 0x41
jb 0x4106a5
cmp al, 0x7a
ja 0x4106a5
cmp al, 0x5a
jbe 0x4107e2
cmp al, 0x61
jb 0x4106a5
mov al, byte [ebx + 7]
cmp al, 0x41
jb 0x4106a5
cmp al, 0x7a
ja 0x4106a5
cmp al, 0x5a
jbe 0x410801
cmp al, 0x61
jb 0x4106a5
test dl, dl
jne 0x41044c
push dword [ebp - 0x1c]
mov edx, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x30]
push ebx
call fcn.0040ff40
add esp, 8
test eax, eax
jne 0x41069d
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x54]
call fcn.00410950
jmp 0x410455
mov al, byte [ebp - 0x26]
test al, al
je 0x410882
mov edx, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x30]
call fcn.0040ffa0
test eax, eax
jne 0x410882
mov edx, dword [ebp - 0x94]
mov ecx, dword [ebp - 0x44]
push edi
push dword [ebp - 0x58]
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
push dword [ebp - 0x40]
call fcn.0040fca0
mov eax, dword [ebp - 0x64]
add esp, 0x14
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0x80]
push eax
call fcn.00410a90
jmp 0x41088a
lea ecx, [ebp - 0x80]
call fcn.0040f740
push dword [ebp - 0x20]
call fcn.00425f05
add esp, 4
lea ecx, [ebp - 0xac]
call fcn.0040f740
mov ecx, dword [ebp - 0x5c]
mov eax, dword [ecx]
cmp eax, dword [ecx + 4]
je 0x4108b8
xor eax, eax
cmp byte [ebp - 0x22], al
sete al
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x50]
xor esi, esi
mov ecx, dword [ebp - 0x54]
sub eax, ecx
sar eax, 3
test eax, eax
je 0x4108eb
nop dword [eax]
push dword [ecx + esi*8]
call fcn.00425f05
mov eax, dword [ebp - 0x50]
inc esi
mov ecx, dword [ebp - 0x54]
add esp, 4
sub eax, ecx
sar eax, 3
cmp esi, eax
jb 0x4108d0
push dword [ebp - 0x88]
mov dword [ebp - 0x50], ecx
call fcn.00425f05
mov edx, dword [ebp - 0x54]
add esp, 4
test edx, edx
je 0x410912
mov ecx, dword [ebp - 0x4c]
sub ecx, edx
sar ecx, 3
push ecx
push edx
call fcn.00410be0
mov eax, dword [ebp - 0x90]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044cfd8
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x54]
call fcn.00410a60
or eax, 0xffffffff
jmp 0x410918