Function at 0x426c8f
Capabilities:
Get file size

Disassembly:
sub esp, 0x34
or dword [esp + 8], 0xffffffff
push ebx
push ebp
push esi
push edi
push 0x238e
xor ebx, ebx
or esi, 0xffffffff
push 0x640
mov dword [esp + 0x40], ebx
call fcn.00401286
mov ebp, eax
mov dword [esp + 0x40], ebp
test ebp, ebp
je 0x4276ad
push dword [esp + 0x4c]
lea eax, [ebp + 0x410]
mov dword [esp + 0x40], eax
add eax, 0x50
mov dword [esp + 0x18], eax
add eax, 0x50
mov dword [esp + 0x24], eax
lea edx, [eax + 0x50]
mov dword [esp + 0x14], edx
call fcn.00403edb
mov dword [esp + 0x2c], eax
cmp eax, esi
jne 0x426d17
push dword [esp + 0x4c]
push 2
call fcn.00404b1d
push eax
push ebp
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push ebx
push ebp
push dword [esp + 0x50]
call fcn.00403461
jmp 0x4276a9
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
push 0x238f
lea eax, [esi + 0x64]
imul eax, eax, 3
push eax
call fcn.00401286
mov dword [esp + 0x38], eax
test eax, eax
je 0x4276a9
push esi
lea edi, [eax + 0x64]
push eax
add edi, esi
mov esi, dword [esp + 0x34]
push esi
call fcn.00403eb1
test eax, eax
jns 0x426d79
push dword [esp + 0x4c]
push 4
call fcn.00404b1d
push eax
push ebp
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push ebx
push ebp
push dword [esp + 0x50]
call fcn.00403461
jmp 0x4276ad
mov ecx, dword [esp + 0x38]
push esi
mov byte [eax + ecx], bl
call fcn.00403e76
push dword [esp + 0x50]
or dword [esp + 0x30], 0xffffffff
call fcn.00403e93
mov edx, eax
mov dword [esp + 0x18], edx
cmp edx, 0xffffffff
jne 0x426daa
push dword [esp + 0x50]
push 3
jmp 0x426cf7
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov ebp, dword [esp + 0x38]
mov dword [esp + 0x1c], ebx
mov byte [esi + 0xf0], bl
mov byte [esi + 0xa0], bl
mov byte [esi + 0x50], bl
mov byte [edi], bl
mov dword [esp + 0x30], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x50], ebx
mov byte [eax + 0x50], bl
mov ecx, ebp
mov al, byte [ecx]
inc ecx
cmp al, 0x20
je 0x426de4
cmp al, 9
je 0x426de4
cmp al, 0xd
je 0x426df7
cmp al, 0xa
jne 0x426e14
cmp dword [esp + 0x28], ebx
jne 0x426e03
cmp dword [esp + 0x24], ebx
je 0x426e14
xor eax, eax
inc eax
push eax
push edi
push edx
call fcn.00408685
mov byte [edi], bl
mov dword [esp + 0x24], ebx
push ebp
call fcn.00407289
cmp byte [eax], bl
je 0x42768e
push 0x50
push dword [esp + 0x18]
push eax
call fcn.00426763
mov ebp, eax
mov eax, dword [esp + 0x14]
cmp byte [eax], bl
je 0x42700a
cmp byte [edi], bl
jne 0x426f03
push str.switch
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x426e75
mov ecx, dword [esp + 0x1c]
mov al, byte [esp + 0x50]
inc ecx
inc al
mov dword [esp + 0x1c], ecx
mov byte [ecx + esi + 0xa0], al
mov byte [ecx + esi + 0xf0], bl
mov byte [ecx + esi + 0x50], bl
push dword [esp + 0x14]
call fcn.00426c5f
test eax, eax
je 0x426e94
mov eax, dword [esp + 0x1c]
cmp byte [eax + esi + 0x50], bl
je 0x426e94
dec dword [esp + 0x50]
mov byte [eax + esi + 0x50], bl
cmp byte [esp + 0x48], 0x7b
je 0x426eb4
push dword [esp + 0x14]
call fcn.00426c5f
test eax, eax
je 0x426eb4
push 0x4294f4
push edi
call dword [sym.imp.KERNEL32.dll_lstrcatA]
cmp dword [esp + 0x28], ebx
je 0x426ec9
cmp byte [ebp], 0x3a
je 0x426ec9
mov esi, dword [esp + 0x50]
add esi, 2
jmp 0x426ecd
mov esi, dword [esp + 0x50]
push edi
call fcn.0040500b
push eax
push esi
push ebx
call fcn.00428072
push dword [esp + 0x14]
call fcn.00426c5f
mov esi, dword [esp + 0x20]
test eax, eax
je 0x426f13
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x10]
inc eax
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x50], eax
mov byte [ecx + edx + 0x50], al
jmp 0x426f13
mov esi, dword [esp + 0x20]
cmp byte [esi], bl
je 0x426f17
push 0x20
push edi
call fcn.00401000
mov eax, dword [esp + 0x14]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcatA]
cmp dword [esp + 0x28], ebx
je 0x426f5e
xor eax, eax
inc eax
push eax
push edi
call fcn.00407289
push eax
call fcn.00406666
cmp byte [eax], bl
jne 0x426f90
cmp byte [ebp], 0x3a
je 0x426f90
push edi
call fcn.0040500b
push eax
push 0x18
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push ebx
call fcn.004280b8
mov eax, dword [esp + 0x14]
mov byte [eax], bl
jmp 0x426f94
cmp dword [esp + 0x24], ebx
je 0x426f90
push 0x42a8d4
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x426f90
cmp byte [ebp], 0x28
je 0x426f90
push edi
call fcn.0040500b
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push edi
call esi
push eax
push edi
call esi
jmp 0x426f4f
mov eax, dword [esp + 0x14]
push 0x42a7e0
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
mov ecx, dword [esp + 0x34]
test eax, eax
push 1
pop eax
push str._asm
push dword [esp + 0x18]
cmove ecx, eax
mov dword [esp + 0x3c], ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
mov ecx, dword [esp + 0x28]
test eax, eax
push 1
pop eax
cmove ecx, eax
push edi
mov dword [esp + 0x2c], ecx
call fcn.00407289
mov esi, eax
push str.pragma
push esi
call fcn.00402727
test eax, eax
jne 0x427001
inc eax
push eax
push eax
push esi
call fcn.00406666
push eax
call fcn.00406666
cmp byte [eax], bl
jne 0x427001
push 0x20
push edi
call fcn.00401000
mov byte [esp + 0x4c], bl
jmp 0x42766b
mov al, byte [ebp]
lea esi, [ebp + 1]
mov dl, byte [esi]
mov byte [esp + 0x4c], al
movsx eax, al
cmp eax, 0x2f
jg 0x42730a
je 0x42716d
sub eax, 0x22
je 0x427165
sub eax, 1
je 0x427144
push 4
pop ecx
sub eax, ecx
je 0x427123
sub eax, 1
je 0x4270b5
sub eax, 1
je 0x427075
sub eax, 3
jne 0x427614
push 0x2c
push edi
call fcn.00401000
cmp dword [esp + 0x28], ebx
jne 0x42706e
push 0x20
push edi
call fcn.00401000
mov ebp, esi
jmp 0x42766b
push 0x29
push edi
call fcn.00401000
sub dword [esp + 0x30], 1
mov ebp, esi
jne 0x42766b
mov esi, dword [esp + 0x10]
cmp byte [esi], bl
je 0x4270aa
push ebp
call fcn.0042805c
push eax
call fcn.00405607
test eax, eax
je 0x4270aa
push 0x20
push edi
call fcn.00401000
mov byte [esi], bl
mov dword [esp + 0x34], ebx
jmp 0x42766f
mov ecx, dword [esp + 0x30]
mov eax, ecx
mov ebp, dword [esp + 0x20]
inc ecx
mov dword [esp + 0x30], ecx
test eax, eax
jne 0x4270d4
mov edx, dword [esp + 0x10]
push ebp
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x42a7d4
push ebp
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x427114
push 0x42a7e0
push ebp
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x427114
push str.while
push ebp
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x427114
push str.switch
push ebp
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x42711c
push 0x20
push edi
call fcn.00401000
push 0x28
jmp 0x427068
push ebp
call fcn.00427ffe
mov esi, eax
mov eax, esi
sub eax, ebp
inc eax
push eax
push ebp
push edi
call fcn.0040500b
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
jmp 0x42706e
cmp byte [edi], bl
jne 0x427623
push edi
push dword [esp + 0x54]
xor eax, eax
inc eax
push ebx
mov dword [esp + 0x30], eax
call fcn.00428072
push 0x23
jmp 0x427068
push ebp
call fcn.0042802d
jmp 0x427129
cmp dl, 0x2a
jne 0x42724e
push ebp
call fcn.00427f98
mov esi, eax
sub esi, ebp
cmp dword [esp + 0x54], ebx
jne 0x427669
push 0xa
push esi
push ebp
call fcn.00406e48
test eax, eax
jle 0x4271bc
lea eax, [esi + 1]
push eax
push ebp
push edi
call fcn.0040500b
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
xor eax, eax
inc eax
push eax
push edi
push dword [esp + 0x20]
call fcn.00408685
jmp 0x427247
lea ecx, [esi + ebp]
mov al, byte [ecx]
inc ecx
cmp al, 0x20
je 0x4271bf
cmp al, 9
je 0x4271bf
cmp al, 0xd
je 0x4271e9
cmp al, 0xa
je 0x4271e9
lea eax, [esi + 1]
push eax
push ebp
push edi
call fcn.0040500b
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
jmp 0x427669
push edi
cmp byte [edi], bl
je 0x427206
call fcn.0040500b
push eax
push 0x50
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push ebx
call fcn.004280b8
jmp 0x427210
push dword [esp + 0x54]
push ebx
call fcn.00428072
push 0x2f
push edi
call fcn.00401000
push 0x2f
push edi
call fcn.00401000
lea eax, [esi - 3]
push eax
lea eax, [ebp + 2]
push eax
push edi
call fcn.0040500b
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
xor eax, eax
inc eax
push eax
push edi
push dword [esp + 0x20]
call fcn.00408685
mov dword [esp + 0x24], ebx
mov byte [edi], bl
jmp 0x427669
cmp dl, 0x2f
jne 0x4272b9
push ebp
call fcn.00427fc0
mov esi, eax
sub esi, ebp
cmp dword [esp + 0x54], ebx
jne 0x427669
push edi
cmp byte [edi], bl
je 0x427284
call fcn.0040500b
push eax
push 0x50
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push ebx
call fcn.004280b8
jmp 0x42728e
push dword [esp + 0x54]
push ebx
call fcn.00428072
lea eax, [esi + 1]
push eax
push ebp
push edi
call fcn.0040500b
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
xor eax, eax
inc eax
push eax
push edi
push dword [esp + 0x20]
call fcn.00408685
mov byte [edi], bl
mov dword [esp + 0x24], ebx
jmp 0x427669
cmp byte [esp + 0x48], 0x29
je 0x427303
mov eax, dword [esp + 0x20]
cmp byte [eax], bl
jne 0x427303
mov dh, bl
jmp 0x4272e6
cmp dl, 0x2f
jne 0x4272d6
cmp dh, 0x5c
jne 0x4272f7
xor ecx, ecx
movzx eax, dl
cmp dh, 0x5c
cmovne ecx, eax
inc esi
mov dh, cl
mov dl, byte [esi]
test dl, dl
jne 0x4272cc
jmp 0x42712b
cmp al, 0x7a
ja 0x42712b
inc esi
mov al, byte [esi]
cmp al, 0x61
jae 0x4272ef
jmp 0x42712b
push 0x2f
jmp 0x427068
sub eax, 0x3a
je 0x4275c3
sub eax, 1
je 0x42756b
sub eax, 0x21
je 0x427533
sub eax, 0x1f
je 0x42742a
dec eax
sub eax, 1
jne 0x427614
cmp dword [esp + 0x24], ebx
je 0x427345
push 0x7d
jmp 0x427068
mov edx, dword [esp + 0x10]
mov ebp, dword [esp + 0x1c]
mov ecx, dword [esp + 0x50]
movzx eax, byte [edx + ebp + 0x50]
cmp eax, ecx
jne 0x427368
cmp byte [edx + ebp + 0xf0], bl
jne 0x427368
dec ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x28], ebx
cmp byte [edi], bl
je 0x427382
xor eax, eax
inc eax
push eax
push edi
push dword [esp + 0x20]
call fcn.00408685
mov ecx, dword [esp + 0x50]
push edi
push ecx
push ebx
call fcn.00428072
push 0x7d
push edi
call fcn.00401000
push esi
call fcn.00407289
mov ebp, eax
mov cl, byte [ebp]
mov byte [esp + 0x48], cl
cmp cl, 0x3b
jne 0x4273aa
push 0x3b
jmp 0x4273b1
cmp cl, 0x2c
jne 0x4273bc
push 0x2c
push edi
call fcn.00401000
mov cl, byte [esp + 0x48]
inc ebp
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x50]
movzx eax, byte [eax + esi + 0x50]
cmp eax, edx
mov eax, dword [esp + 0x1c]
jne 0x4273e7
cmp byte [eax + esi + 0xf0], bl
je 0x4273e7
mov byte [eax + esi + 0xf0], bl
jmp 0x427400
movzx eax, byte [eax + esi + 0xa0]
cmp eax, edx
jne 0x4273f7
dec dword [esp + 0x1c]
test edx, edx
jle 0x427402
dec edx
mov dword [esp + 0x50], edx
test edx, edx
je 0x42740d
cmp cl, 0x2f
je 0x42766f
xor eax, eax
push 4
inc eax
test edx, edx
pop ecx
cmove eax, ecx
push eax
push edi
push dword [esp + 0x20]
call fcn.00408685
mov byte [edi], bl
jmp 0x42766f
cmp dword [esp + 0x24], ebx
je 0x427437
push 0x7b
jmp 0x427068
push esi
call fcn.0042805c
mov ebp, dword [esp + 0x20]
push 0x42a7e4
push ebp
mov byte [esp + 0x50], al
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x427495
push 0x20
push edi
call fcn.00401000
push 0x20
push edi
call fcn.00401000
push 0x7b
push edi
call fcn.00401000
cmp byte [esp + 0x48], 0x2f
je 0x427484
xor eax, eax
inc eax
push eax
push edi
push dword [esp + 0x20]
call fcn.00408685
mov byte [edi], bl
inc dword [esp + 0x50]
push esi
call fcn.00407289
mov ebp, eax
jmp 0x42766b
push str.else
push ebp
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x427465
push str._asm
push ebp
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x427465
push str.return
push ebp
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x427465
mov ebp, dword [esp + 0x18]
cmp byte [edi], bl
je 0x4274d8
xor eax, eax
inc eax
push eax
push edi
push ebp
call fcn.00408685
push dword [esp + 0x20]
call fcn.00426c5f
test eax, eax
je 0x4274fd
mov eax, dword [esp + 0x1c]
xor ecx, ecx
mov edx, dword [esp + 0x10]
inc ecx
mov byte [eax + edx + 0xf0], cl
mov eax, dword [esp + 0x50]
jmp 0x427506
mov eax, dword [esp + 0x50]
inc eax
mov dword [esp + 0x50], eax
push edi
push eax
push ebx
call fcn.00428072
push 0x7b
push edi
call fcn.00401000
cmp byte [esp + 0x48], 0x2f
je 0x427488
xor eax, eax
inc eax
push eax
push edi
push ebp
call fcn.00408685
mov byte [edi], bl
jmp 0x427488
cmp dl, 0xd
je 0x427541
cmp dl, 0xa
jne 0x427614
push 0x5c
push edi
call fcn.00401000
xor eax, eax
inc eax
push eax
push edi
push dword [esp + 0x20]
call fcn.00408685
mov eax, dword [esp + 0x50]
push edi
inc eax
mov byte [edi], bl
push eax
push ebx
call fcn.00428072
jmp 0x427488
push 0x3b
push edi
call fcn.00401000
mov ebp, esi
push ebp
call fcn.0042805c
cmp dword [esp + 0x24], ebx
je 0x42758e
push 0x20
push edi
call fcn.00401000
jmp 0x42766b
cmp dword [esp + 0x34], ebx
je 0x4275a6
cmp al, 0x29
je 0x42766b
cmp al, 0x3b
je 0x42766b
jmp 0x427581
cmp al, 0x2f
je 0x42766b
xor eax, eax
inc eax
push eax
push edi
push dword [esp + 0x20]
call fcn.00408685
mov byte [edi], bl
jmp 0x42766b
push 0x50
push dword [esp + 0x40]
push edi
call fcn.00407289
push eax
call fcn.00426763
push str.case
push dword [esp + 0x40]
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x4275fa
push dword [esp + 0x3c]
push dword [esp + 0x24]
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x427614
push esi
call fcn.0042805c
cmp al, 0x2f
je 0x427614
cmp al, 0x3b
je 0x427614
push 0x3a
push edi
call fcn.00401000
mov ebp, esi
jmp 0x4275ae
cmp byte [edi], bl
jne 0x427623
push edi
push dword [esp + 0x54]
push ebx
call fcn.00428072
mov al, byte [esp + 0x4c]
xor ecx, ecx
inc ecx
mov esi, ecx
cmp al, 0x26
je 0x427634
cmp al, 0x7c
jne 0x427648
mov esi, ebx
inc esi
cmp byte [esi + ebp], al
je 0x427636
cmp esi, ecx
jle 0x427648
push 0x20
push edi
call fcn.00401000
lea eax, [esi + 1]
push eax
push ebp
push edi
call fcn.0040500b
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
xor eax, eax
inc eax
cmp esi, eax
jle 0x427669
push 0x20
push edi
call fcn.00401000
add ebp, esi
mov esi, dword [esp + 0x10]
push dword [esp + 0x14]
push dword [esp + 0x24]
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov al, byte [esp + 0x4c]
mov edx, dword [esp + 0x18]
mov byte [esp + 0x48], al
jmp 0x426de2
cmp byte [edi], bl
je 0x4276a0
xor eax, eax
inc eax
push eax
push edi
push dword [esp + 0x20]
call fcn.00408685
mov ebp, dword [esp + 0x40]
xor eax, eax
lea ebx, [eax + 1]
mov esi, dword [esp + 0x2c]
push esi
call fcn.00403e76
push dword [esp + 0x18]
call fcn.00403e76
push ebp
call fcn.00404070
push dword [esp + 0x38]
call fcn.00404070
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x34
ret 0x10