Function at 0x418010
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
xor esi, esi
sub esp, 0x9c
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x40], 0xffffffff
mov dword [ebp - 0x3c], 0xffffffff
mov dword [ebp - 0x38], 0xfffffffd
mov word [ebp - 0x34], si
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 8]
and eax, 0x3000
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x2c], eax
mov dword [esp], str.PRINTF_EXPONENT_DIGITS
call sub.msvcrt.dll_getenv
test eax, eax
je 0x418455
movsx edx, byte [eax]
mov eax, 2
sub edx, 0x30
cmp edx, 2
ja 0x418455
mov esi, dword [ebp + 0x14]
xor ebx, ebx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], 0xfffffffd
mov word [ebp - 0x20], bx
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x58], esi
jmp 0x4180c1
mov ebx, esi
add esi, 1
mov dword [ebp - 0x58], esi
cmp byte [ebx], 0
je 0x4181b0
cmp byte [esi], 0x25
jne 0x4180b0
lea eax, [esi + 1]
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x58]
call fcn.00416ae0
test eax, eax
mov edi, eax
jne 0x418470
mov ebx, dword [ebp - 0x58]
movzx ecx, byte [ebx]
cmp cl, 0x24
je 0x418d75
mov dword [ebp - 0x74], esi
mov esi, ecx
jmp 0x418106
add ebx, 1
movzx esi, byte [ebx]
mov eax, esi
mov dword [esp], str.__0
movsx edi, al
mov dword [esp + 4], edi
call sub.msvcrt.dll_strchr
test eax, eax
jne 0x418100
mov ecx, esi
mov esi, dword [ebp - 0x74]
cmp cl, 0x2a
je 0x418683
lea edx, [edi - 0x30]
cmp edx, 9
ja 0x418145
add ebx, 1
movsx eax, byte [ebx]
mov ecx, eax
sub eax, 0x30
cmp eax, 9
jbe 0x418135
cmp cl, 0x2e
je 0x418650
lea eax, [ebp - 0x58]
mov dword [ebp - 0x58], ebx
call fcn.00416480
mov ebx, dword [ebp - 0x58]
movzx edi, byte [ebx]
mov dword [esp], str.aAeEfFgGcCdiouxXnpsS
mov eax, edi
movsx eax, al
mov dword [esp + 4], eax
call sub.msvcrt.dll_strchr
test eax, eax
je 0x41818f
sub eax, str.aAeEfFgGcCdiouxXnpsS
cdq
and edx, 7
add edx, eax
sar edx, 3
cmp edx, 0xffffffff
jne 0x418d75
mov eax, edi
cmp al, 0x25
je 0x418557
mov ebx, esi
mov esi, dword [ebp - 0x70]
mov dword [ebp - 0x58], esi
cmp byte [ebx], 0
jne 0x4180c1
lea esi, [esi]
mov ecx, dword [ebp - 0x6c]
lea eax, [ecx*4 + 0x12]
shr eax, 4
shl eax, 4
call fcn.0040ba00
mov edi, 0xffffffff
sub esp, eax
test ecx, ecx
lea eax, [esp + 0xc]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x80], eax
je 0x418583
lea edx, [ecx + ecx]
mov dword [ebp - 0x88], esp
lea eax, [edx + 0x10]
shr eax, 4
shl eax, 4
call fcn.0040ba00
mov esi, dword [ebp + 0x14]
sub esp, eax
lea edi, [esp + 0xc]
mov dword [ebp - 0x54], esi
mov eax, edi
add edx, edi
xor ecx, ecx
add eax, 2
mov word [eax - 2], cx
cmp edx, eax
jne 0x418205
mov dword [ebp - 0x70], edi
jmp 0x418231
mov ebx, esi
add esi, 1
mov dword [ebp - 0x54], esi
cmp byte [ebx], 0
je 0x4183c0
cmp byte [esi], 0x25
jne 0x418220
lea eax, [esi + 1]
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x54]
call fcn.00416ae0
test eax, eax
mov dword [ebp - 0x74], eax
jle 0x418bbe
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
lea ebx, [eax + 1]
mov dword [ebp - 0x54], ebx
jmp 0x418273
add ebx, 1
movsx eax, byte [ebx]
mov dword [esp], str.__0
mov dword [esp + 4], eax
call sub.msvcrt.dll_strchr
test eax, eax
jne 0x418270
mov dword [ebp - 0x54], ebx
movzx ecx, byte [ebx]
cmp cl, 0x2a
je 0x418d8c
movsx edx, cl
lea eax, [ebx + 1]
sub edx, 0x30
cmp edx, 9
ja 0x4182c5
mov esi, esi
lea edi, [edi]
mov dword [ebp - 0x54], eax
movsx edx, byte [eax]
mov ebx, eax
add eax, 1
mov ecx, edx
sub edx, 0x30
cmp edx, 9
jbe 0x4182b0
cmp cl, 0x2e
je 0x418caf
lea eax, [ebp - 0x54]
call fcn.00416480
cmp eax, 1
mov edx, eax
je 0x418afc
cmp eax, 4
je 0x418afc
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x8c], edx
mov ebx, dword [ebp - 0x54]
test eax, eax
je 0x418b12
movsx eax, byte [ebx]
mov byte [ebp - 0x8d], al
mov dword [esp + 4], eax
mov dword [esp], str.aAeEfFgGcCdiouxXnpsS
call sub.msvcrt.dll_strchr
test eax, eax
movzx ecx, byte [ebp - 0x8d]
je 0x418b15
sub eax, str.aAeEfFgGcCdiouxXnpsS
mov edi, eax
sar edi, 0x1f
and edi, 7
add edi, eax
sar edi, 3
add edi, 1
test edi, edi
jle 0x418b15
mov edx, dword [ebp - 0x8c]
mov byte [ebp - 0x5c], cl
lea ecx, [ebp - 0x5c]
mov eax, ecx
mov esi, edx
mov byte [ebp - 0x5b], dl
call fcn.00416b90
mov ecx, dword [ebp - 0x70]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x74]
lea edx, [ecx + eax*2 - 2]
cmp word [edx], 0
jne 0x418cfb
mov eax, edi
mov byte [edx], al
mov eax, esi
mov byte [edx + 1], al
lea eax, [ebp - 0x50]
lea esi, [ebp - 0x48]
mov edx, dword [eax]
lea ecx, [edx - 1]
test edx, edx
mov dword [eax], ecx
jle 0x4183a3
mov edi, dword [ebp - 0x70]
lea edx, [edi + ecx*2]
cmp word [edx], 0
jne 0x4183a3
mov edi, 0x64
mov word [edx], di
add eax, 4
cmp esi, eax
jne 0x418384
lea esi, [ebx + 1]
mov dword [ebp - 0x54], esi
cmp byte [ebx], 0
jne 0x418231
lea esi, [esi]
mov edi, dword [ebp - 0x70]
mov edx, dword [ebp - 0x6c]
xor eax, eax
nop
lea esi, [esi]
cmp word [edi + eax*2], 0
je 0x418570
add eax, 1
cmp eax, edx
jl 0x4183d0
mov esi, dword [ebp - 0x6c]
test esi, esi
je 0x418577
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp - 0x78]
lea eax, [edi + 1]
lea esi, [edi + esi*2 + 1]
jmp 0x41842f
cmp bl, 3
je 0x418b80
movzx ebx, byte [eax]
cmp bl, 2
je 0x418b80
cmp bl, 3
jne 0x418b80
add ecx, 8
add eax, 2
add edx, 4
cmp esi, eax
je 0x418577
movzx ebx, byte [eax - 1]
mov dword [edx], ecx
cmp bl, 1
jne 0x418400
movzx ebx, byte [eax]
cmp ebx, 0x4c
je 0x418450
test byte [0x4d2a71], 1
je 0x41841e
cmp ebx, 2
jne 0x41841e
add ecx, 0xc
jmp 0x418421
xor eax, eax
test byte [0x4d2a70], 1
sete al
add eax, 2
jmp 0x418080
mov eax, dword [ebp - 0x58]
lea ebx, [eax + 1]
mov dword [ebp - 0x58], ebx
jmp 0x418483
add ebx, 1
movsx eax, byte [ebx]
mov dword [esp], str.__0
mov dword [esp + 4], eax
call sub.msvcrt.dll_strchr
test eax, eax
jne 0x418480
mov dword [ebp - 0x58], ebx
movzx ecx, byte [ebx]
cmp cl, 0x2a
je 0x418b88
movsx edx, cl
lea eax, [ebx + 1]
sub edx, 0x30
cmp edx, 9
ja 0x4184d5
mov esi, esi
lea edi, [edi]
mov dword [ebp - 0x58], eax
movsx edx, byte [eax]
mov ebx, eax
add eax, 1
mov ecx, edx
sub edx, 0x30
cmp edx, 9
jbe 0x4184c0
cmp cl, 0x2e
jne 0x418513
lea eax, [ebx + 1]
mov dword [ebp - 0x58], eax
movsx eax, byte [ebx + 1]
cmp al, 0x2a
je 0x418c5b
sub eax, 0x30
add ebx, 2
cmp eax, 9
ja 0x418513
mov esi, esi
lea edi, [edi]
mov eax, ebx
mov dword [ebp - 0x58], ebx
add ebx, 1
movsx eax, byte [eax]
sub eax, 0x30
cmp eax, 9
jbe 0x418500
lea eax, [ebp - 0x58]
call fcn.00416480
mov ebx, dword [ebp - 0x58]
movsx eax, byte [ebx]
mov byte [ebp - 0x74], al
mov dword [esp + 4], eax
mov dword [esp], str.aAeEfFgGcCdiouxXnpsS
call sub.msvcrt.dll_strchr
test eax, eax
movzx ecx, byte [ebp - 0x74]
je 0x418560
sub eax, str.aAeEfFgGcCdiouxXnpsS
cdq
and edx, 7
add edx, eax
sar edx, 3
cmp edx, 0xffffffff
je 0x418560
cmp dword [ebp - 0x6c], edi
jge 0x418557
mov dword [ebp - 0x6c], edi
lea esi, [ebx + 1]
jmp 0x4180b5
cmp cl, 0x25
jne 0x418199
jmp 0x418557
mov dword [ebp - 0x6c], 0
mov eax, dword [ebp - 0x6c]
mov esp, dword [ebp - 0x88]
lea edi, [eax - 1]
mov edx, dword [ebp + 0x14]
lea esi, [edx + 1]
mov dword [ebp + 0x14], esi
movsx eax, byte [edx]
test eax, eax
je 0x418620
cmp eax, 0x25
jne 0x418610
mov ebx, dword [ebp - 0x6c]
mov ecx, esi
test ebx, ebx
je 0x4185be
lea eax, [ebp + 0x14]
call fcn.00416b60
test eax, eax
jle 0x4185bb
mov ecx, dword [ebp - 0x80]
mov eax, dword [ecx + eax*4 - 4]
mov dword [ebp + 0x18], eax
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x3c], 0xffffffff
mov dword [ebp - 0x40], 0xffffffff
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x44], eax
cmp byte [ecx], 0
lea eax, [ebp - 0x40]
mov dword [ebp - 0x78], eax
je 0x4186dc
lea edx, [ecx + 1]
mov dword [ebp + 0x14], edx
movsx ebx, byte [ecx]
mov eax, ebx
sub eax, 0x20
cmp al, 0x5a
ja case.0x418608.1
movzx eax, al
jmp dword [eax*4 + 0x499f80]
lea edx, [ebp - 0x48]
call fcn.00416760
jmp 0x418583
mov eax, dword [ebp - 0x6c]
test eax, eax
je 0x41863a
mov esi, esi
lea edi, [edi]
sub edi, 1
lea eax, [edi + 1]
test eax, eax
jg 0x418630
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call fcn.0041a988
mov eax, dword [ebp - 0x30]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
movsx eax, byte [ebx + 1]
cmp al, 0x2a
je 0x418bb6
sub eax, 0x30
add ebx, 1
cmp eax, 9
ja 0x41814e
nop
lea esi, [esi]
add ebx, 1
movsx eax, byte [ebx]
sub eax, 0x30
cmp eax, 9
jbe 0x418670
jmp 0x41814e
movzx ecx, byte [ebx + 1]
add ebx, 1
jmp 0x418145
lea eax, [ebp + 0x14]
mov dword [ebp + 0x14], ecx
call fcn.00416480
cmp ebx, 0x6c
mov dword [ebp - 0x74], eax
mov edx, dword [ebp + 0x14]
jne 0x4188de
test byte [0x4d2a71], 1
je 0x4188de
cmp eax, 2
jne 0x4188de
mov dword [ebp - 0x74], 2
or dword [ebp - 0x44], 4
mov dword [ebp - 0x70], 4
mov ecx, edx
cmp byte [ecx], 0
jne 0x4185ef
mov edx, ecx
jmp 0x418586
mov ecx, dword [ebp - 0x70]
test ecx, ecx
je 0x418d1b
cmp dword [ebp - 0x70], 4
jne 0x418c45
mov dword [ebp + 0x14], esi
lea edx, [ebp - 0x48]
mov eax, 0x25
call fcn.00416760
mov edx, dword [ebp + 0x14]
jmp 0x418586
mov eax, dword [ebp - 0x74]
sub eax, 2
cmp eax, 1
jbe case.0x418608.51
mov eax, dword [ebp + 0x18]
add dword [ebp + 0x18], 4
mov ebx, dword [eax]
test ebx, ebx
je 0x418e43
mov dword [esp], ebx
call sub.msvcrt.dll_strlen
mov edx, eax
mov eax, ebx
lea ecx, [ebp - 0x48]
call fcn.004168e0
mov edx, dword [ebp + 0x14]
jmp 0x418586
mov edx, dword [ebp - 0x70]
test edx, edx
jne 0x41875f
mov eax, dword [ebp - 0x7c]
cmp eax, dword [ebp - 0x44]
je 0x418e8d
mov eax, dword [ebp + 0x18]
add dword [ebp + 0x18], 4
mov eax, dword [eax]
mov dword [ebp - 0x4c], 0
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x48]
mov edx, dword [ebp - 0x50]
mov dword [esp], eax
mov eax, 0x78
call fcn.00417ce0
mov edx, dword [ebp + 0x14]
jmp 0x418586
mov eax, dword [ebp - 0x70]
test eax, eax
jne 0x4186d1
or dword [ebp - 0x44], 0x800
mov ecx, edx
jmp 0x4186d3
cmp dword [ebp - 0x74], 4
mov eax, dword [ebp + 0x18]
je 0x418eb9
cmp dword [ebp - 0x74], 1
je 0x418ef4
cmp dword [ebp - 0x74], 2
je 0x4187d0
cmp dword [ebp - 0x74], 3
je 0x418e52
add dword [ebp + 0x18], 4
mov ecx, dword [ebp - 0x30]
mov eax, dword [eax]
mov dword [eax], ecx
jmp 0x418586
mov eax, dword [ebp - 0x44]
or eax, 0x20
test al, 4
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x18]
je 0x418a21
fld xword [eax]
add dword [ebp + 0x18], 0xc
lea eax, [ebp - 0x48]
fstp xword [esp]
call fcn.004175c0
mov edx, dword [ebp + 0x14]
jmp 0x418586
mov eax, dword [ebp - 0x44]
or eax, 0x20
test al, 4
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x18]
je 0x418984
fld xword [eax]
add dword [ebp + 0x18], 0xc
lea eax, [ebp - 0x48]
fstp xword [esp]
call fcn.004174f0
mov edx, dword [ebp + 0x14]
jmp 0x418586
mov eax, dword [ebp - 0x44]
or eax, 0x20
test al, 4
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x18]
je 0x4189ab
fld xword [eax]
add dword [ebp + 0x18], 0xc
lea eax, [ebp - 0x48]
fstp xword [esp]
call fcn.00417440
mov edx, dword [ebp + 0x14]
jmp 0x418586
or dword [ebp - 0x44], 0x80
cmp dword [ebp - 0x74], 3
mov eax, dword [ebp + 0x18]
je 0x418ecc
cmp dword [ebp - 0x74], 2
je 0x418d55
add dword [ebp + 0x18], 4
mov eax, dword [eax]
mov dword [ebp - 0x50], eax
sar eax, 0x1f
cmp dword [ebp - 0x74], 1
mov dword [ebp - 0x4c], eax
je 0x418e68
cmp dword [ebp - 0x74], 4
je 0x418f05
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x50]
lea ecx, [ebp - 0x48]
call fcn.00416cf0
mov edx, dword [ebp + 0x14]
jmp 0x418586
mov ebx, dword [ebp - 0x70]
test ebx, ebx
jne 0x4186d1
or dword [ebp - 0x44], 0x40
mov ecx, edx
jmp 0x4186d3
cmp dword [ebp - 0x70], 1
jbe 0x418df6
mov dword [ebp - 0x70], 4
mov ecx, edx
jmp 0x4186d3
mov eax, dword [ebp - 0x70]
test eax, eax
jne 0x4186d1
or dword [ebp - 0x44], 0x400
mov ecx, edx
jmp 0x4186d3
mov eax, dword [ebp - 0x70]
test eax, eax
jne 0x4186d1
or dword [ebp - 0x44], 0x100
mov ecx, edx
jmp 0x4186d3
mov eax, dword [ebp - 0x78]
test eax, eax
je 0x4188de
test byte [ebp - 0x70], 5
jne 0x418d29
mov eax, dword [ebp - 0x6c]
test eax, eax
je 0x418dba
lea eax, [ebp + 0x14]
call fcn.00416b60
test eax, eax
jle 0x418db7
mov ecx, dword [ebp - 0x80]
mov edx, dword [ebp + 0x14]
mov eax, dword [ecx + eax*4 - 4]
mov ecx, dword [ebp - 0x78]
mov eax, dword [eax]
mov dword [ecx], eax
jmp 0x418dc8
mov eax, dword [ebp - 0x70]
test eax, eax
jne 0x4186d1
or dword [ebp - 0x44], 1
mov ecx, edx
jmp 0x4186d3
mov eax, dword [ebp - 0x44]
test al, 4
mov eax, dword [ebp + 0x18]
jne 0x418821
fld qword [eax]
add dword [ebp + 0x18], 8
lea eax, [ebp - 0x48]
fstp xword [esp]
call fcn.004174f0
mov edx, dword [ebp + 0x14]
jmp 0x418586
mov eax, dword [ebp - 0x44]
test al, 4
mov eax, dword [ebp + 0x18]
jne 0x41884e
fld qword [eax]
add dword [ebp + 0x18], 8
lea eax, [ebp - 0x48]
fstp xword [esp]
call fcn.00417440
mov edx, dword [ebp + 0x14]
jmp 0x418586
mov dword [ebp - 0x3c], 0xffffffff
mov eax, dword [ebp + 0x18]
lea ecx, [ebp - 0x48]
mov edx, 1
add dword [ebp + 0x18], 4
mov eax, dword [eax]
mov word [ebp - 0x50], ax
lea eax, [ebp - 0x50]
call fcn.004167c0
mov edx, dword [ebp + 0x14]
jmp 0x418586
mov eax, dword [ebp - 0x44]
test al, 4
mov eax, dword [ebp + 0x18]
je 0x418a4a
fld xword [eax]
add dword [ebp + 0x18], 0xc
lea eax, [ebp - 0x48]
fstp xword [esp]
call fcn.00417740
mov edx, dword [ebp + 0x14]
jmp 0x418586
mov eax, dword [ebp - 0x44]
test al, 4
mov eax, dword [ebp + 0x18]
jne 0x4187f4
fld qword [eax]
add dword [ebp + 0x18], 8
lea eax, [ebp - 0x48]
fstp xword [esp]
call fcn.004175c0
mov edx, dword [ebp + 0x14]
jmp 0x418586
mov eax, dword [ebp - 0x44]
or eax, 0x20
test al, 4
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x18]
jne 0x4189fa
fld qword [eax]
add dword [ebp + 0x18], 8
lea eax, [ebp - 0x48]
fstp xword [esp]
call fcn.00417740
mov edx, dword [ebp + 0x14]
jmp 0x418586
cmp dword [ebp - 0x74], 3
mov eax, dword [ebp + 0x18]
je 0x418ee0
cmp dword [ebp - 0x74], 2
je 0x418d40
add dword [ebp + 0x18], 4
cmp dword [ebp - 0x74], 1
mov eax, dword [eax]
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x50], eax
je 0x418e7a
cmp dword [ebp - 0x74], 4
je 0x418f17
cmp ebx, 0x75
je 0x4188a8
mov edx, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x4c]
lea eax, [ebp - 0x48]
mov dword [esp], eax
mov eax, ebx
call fcn.00417ce0
mov edx, dword [ebp + 0x14]
jmp 0x418586
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x3c], 0xffffffff
sub eax, 2
cmp eax, 1
jbe 0x4189cb
mov eax, dword [ebp + 0x18]
lea ecx, [ebp - 0x48]
mov edx, 1
add dword [ebp + 0x18], 4
mov eax, dword [eax]
mov byte [ebp - 0x50], al
lea eax, [ebp - 0x50]
call fcn.004168e0
mov edx, dword [ebp + 0x14]
jmp 0x418586
mov eax, dword [ebp - 0x74]
xor edx, edx
mov ebx, dword [ebp - 0x54]
mov dword [ebp - 0x8c], edx
test eax, eax
jne 0x4182fe
movzx ecx, byte [ebx]
cmp cl, 0x25
je 0x4183aa
mov ebx, esi
mov esi, dword [ebp - 0x84]
jmp 0x418225
mov ecx, dword [ebp - 0x70]
cmp ecx, 4
je 0x4186f8
lea eax, [ebx - 0x30]
cmp eax, 9
ja 0x4186f8
test ecx, ecx
jne 0x418c45
mov dword [ebp - 0x70], 1
mov eax, dword [ebp - 0x78]
test eax, eax
je 0x4186d1
mov ecx, dword [eax]
sub ebx, 0x30
xor eax, eax
test ecx, ecx
jle 0x418b6d
lea eax, [ecx + ecx*4]
add eax, eax
mov ecx, dword [ebp - 0x78]
add eax, ebx
mov dword [ecx], eax
mov ecx, edx
jmp 0x4186d3
add ecx, 4
jmp 0x418421
lea eax, [ebp - 0x58]
add ebx, 1
mov dword [ebp - 0x58], ebx
call fcn.00416ae0
test eax, eax
je 0x418d75
cmp edi, eax
jge 0x418ba4
mov edi, eax
mov eax, dword [ebp - 0x58]
lea ebx, [eax + 1]
mov dword [ebp - 0x58], ebx
movzx ecx, byte [eax + 1]
jmp 0x4184d5
add ebx, 2
jmp 0x41814e
mov ebx, dword [ebp - 0x54]
mov dword [ebp - 0x74], esi
jmp 0x418bd3
add ebx, 1
movzx edi, byte [ebx]
mov dword [esp], str.__0
mov eax, edi
movsx esi, al
mov dword [esp + 4], esi
call sub.msvcrt.dll_strchr
test eax, eax
jne 0x418bd0
mov ecx, edi
mov edi, esi
mov esi, dword [ebp - 0x74]
cmp cl, 0x2a
je 0x418d69
lea edx, [edi - 0x30]
cmp edx, 9
ja 0x418c20
mov esi, esi
lea edi, [edi]
add ebx, 1
movsx eax, byte [ebx]
mov ecx, eax
sub eax, 0x30
cmp eax, 9
jbe 0x418c10
cmp cl, 0x2e
je 0x418e11
lea eax, [ebp - 0x54]
mov dword [ebp - 0x54], ebx
call fcn.00416480
mov ebx, dword [ebp - 0x54]
cmp byte [ebx], 0x25
jne 0x418b1e
jmp 0x4183aa
cmp dword [ebp - 0x70], 2
jne 0x418b52
mov dword [ebp - 0x70], 3
jmp 0x418b52
lea eax, [ebp - 0x58]
add ebx, 2
mov dword [ebp - 0x58], ebx
call fcn.00416ae0
test eax, eax
je 0x418d75
cmp edi, eax
jl 0x418d35
add dword [ebp - 0x58], 1
jmp 0x418513
mov eax, dword [ebp + 0x18]
add dword [ebp + 0x18], 4
mov ebx, dword [eax]
test ebx, ebx
je 0x418f2a
mov dword [esp], ebx
call sub.msvcrt.dll_wcslen
lea ecx, [ebp - 0x48]
mov edx, eax
mov eax, ebx
call fcn.004167c0
mov edx, dword [ebp + 0x14]
jmp 0x418586
lea eax, [ebx + 1]
mov dword [ebp - 0x54], eax
movsx eax, byte [ebx + 1]
cmp al, 0x2a
je 0x418f34
sub eax, 0x30
add ebx, 2
cmp eax, 9
ja 0x4182ce
mov eax, ebx
mov dword [ebp - 0x54], ebx
add ebx, 1
movsx eax, byte [eax]
sub eax, 0x30
cmp eax, 9
jbe 0x418cd0
lea eax, [ebp - 0x54]
call fcn.00416480
cmp eax, 1
mov edx, eax
jne 0x4182e1
jmp 0x418afc
mov eax, edx
mov dword [ebp - 0x74], edx
call fcn.00416b90
mov ecx, dword [ebp - 0x84]
mov edx, dword [ebp - 0x74]
cmp ecx, eax
jbe 0x41837e
jmp 0x418375
or dword [ebp - 0x44], 0x200
mov ecx, edx
jmp 0x4186d3
mov dword [ebp - 0x78], 0
jmp 0x4188de
mov edi, eax
add dword [ebp - 0x58], 1
jmp 0x418513
add dword [ebp + 0x18], 4
mov eax, dword [eax]
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x50], eax
jmp 0x418a9e
add dword [ebp + 0x18], 4
mov eax, dword [eax]
mov dword [ebp - 0x50], eax
sar eax, 0x1f
mov dword [ebp - 0x4c], eax
jmp 0x4188a8
movzx ecx, byte [ebx + 1]
add ebx, 1
jmp 0x418c20
lea eax, [ebp - 0x5c]
mov edi, 0xffffffff
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x80], eax
jmp 0x418583
lea eax, [ebp - 0x54]
add ebx, 1
mov dword [ebp - 0x54], ebx
call fcn.00416ae0
test eax, eax
mov dword [ebp - 0x50], eax
jne 0x418e9f
mov ebx, dword [ebp - 0x54]
mov dword [ebp - 0x74], 0
movzx ecx, byte [ebx]
jmp 0x4182c5
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp - 0x78]
add dword [ebp + 0x18], 4
mov eax, dword [eax]
mov dword [ecx], eax
test eax, eax
mov dword [ebp - 0x78], 0
jns 0x4186d1
mov eax, dword [ebp - 0x70]
test eax, eax
jne 0x418f52
or dword [ebp - 0x44], 0x400
neg dword [ebp - 0x40]
mov ecx, edx
mov dword [ebp - 0x78], eax
jmp 0x4186d3
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x70], 2
mov ecx, edx
mov dword [ebp - 0x78], eax
jmp 0x4186d3
movsx eax, byte [ebx + 1]
cmp al, 0x2a
je 0x418eb1
sub eax, 0x30
add ebx, 1
cmp eax, 9
ja 0x418c29
lea esi, [esi]
add ebx, 1
movsx eax, byte [ebx]
sub eax, 0x30
cmp eax, 9
jbe 0x418e30
jmp 0x418c29
mov edx, 6
mov eax, str._null_
jmp 0x41873c
add dword [ebp + 0x18], 4
mov ecx, dword [ebp - 0x30]
mov eax, dword [eax]
mov dword [eax], ecx
sar ecx, 0x1f
mov dword [eax + 4], ecx
jmp 0x418586
movsx eax, word [ebp - 0x50]
mov dword [ebp - 0x50], eax
sar eax, 0x1f
mov dword [ebp - 0x4c], eax
jmp 0x4188a8
movzx eax, word [ebp - 0x50]
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x50], eax
jmp 0x418a9e
or ah, 2
mov dword [ebp - 0x3c], 8
mov dword [ebp - 0x44], eax
jmp 0x41875f
mov eax, dword [ebp - 0x54]
lea ebx, [eax + 1]
mov dword [ebp - 0x54], ebx
movzx ecx, byte [eax + 1]
jmp 0x4182c5
add ebx, 2
jmp 0x418c29
mov edx, dword [ebp - 0x30]
mov eax, dword [eax]
add dword [ebp + 0x18], 4
mov byte [eax], dl
mov edx, dword [ebp + 0x14]
jmp 0x418586
mov edx, dword [eax + 4]
mov eax, dword [eax]
add dword [ebp + 0x18], 8
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], edx
jmp 0x4188a8
mov edx, dword [eax + 4]
mov eax, dword [eax]
add dword [ebp + 0x18], 8
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], edx
jmp 0x418a9e
mov eax, dword [eax]
mov ecx, dword [ebp - 0x30]
add dword [ebp + 0x18], 4
mov word [eax], cx
jmp 0x418586
movsx eax, byte [ebp - 0x50]
mov dword [ebp - 0x50], eax
sar eax, 0x1f
mov dword [ebp - 0x4c], eax
jmp 0x4188a8
movzx eax, byte [ebp - 0x50]
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x50], eax
jmp 0x418a9e
mov ebx, 0x499f4a
jmp 0x418c93
lea eax, [ebp - 0x54]
add ebx, 2
mov dword [ebp - 0x54], ebx
call fcn.00416ae0
test eax, eax
mov dword [ebp - 0x4c], eax
je 0x418f60
add dword [ebp - 0x54], 1
jmp 0x4182ce
mov dword [ebp - 0x3c], 0xffffffff
mov ecx, edx
jmp 0x4186d3
lea eax, [ebp - 0x54]
call fcn.00416480
mov ebx, dword [ebp - 0x54]
movzx ecx, byte [ebx]
jmp 0x418b15