Function at 0x414b20
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x9c
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x40], 0xffffffff
mov dword [ebp - 0x3c], 0xffffffff
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x38], 0xfffffffd
and eax, 0x3000
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x44], eax
xor eax, eax
mov word [ebp - 0x34], ax
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 0x414b88
movsx edx, byte [eax]
mov eax, 2
sub edx, 0x30
cmp edx, 2
jbe 0x414b98
mov edx, dword [0x4f8a2c]
mov eax, 3
and edx, 1
sub eax, edx
mov esi, dword [ebp + 0x14]
xor edi, edi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], 0xfffffffd
mov word [ebp - 0x20], di
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x60], 0
jmp 0x414bd0
mov ebx, esi
mov esi, edi
mov dword [ebp - 0x50], esi
cmp byte [ebx], 0
je 0x414cc0
cmp byte [esi], 0x25
lea edi, [esi + 1]
jne 0x414bc0
lea eax, [ebp - 0x50]
mov dword [ebp - 0x50], edi
call fcn.00413430
mov dword [ebp - 0x5c], eax
test eax, eax
jne 0x414ed0
mov ebx, dword [ebp - 0x50]
movzx edx, byte [ebx]
cmp dl, 0x24
je 0x4157bf
mov dword [ebp - 0x5c], esi
mov esi, edx
mov dword [ebp - 0x64], edi
jmp 0x414c17
movzx esi, byte [ebx + 1]
add ebx, 1
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 0x414c10
mov edx, esi
mov ecx, edi
mov esi, dword [ebp - 0x5c]
mov edi, dword [ebp - 0x64]
cmp dl, 0x2a
je 0x415000
sub ecx, 0x30
cmp ecx, 9
ja 0x414c61
lea esi, [esi]
nop
movsx eax, byte [ebx + 1]
add ebx, 1
mov edx, eax
sub eax, 0x30
cmp eax, 9
jbe 0x414c50
cmp dl, 0x2e
je 0x415010
lea eax, [ebp - 0x50]
mov dword [ebp - 0x50], ebx
call fcn.00412e10
mov ebx, dword [ebp - 0x50]
movsx eax, byte [ebx]
mov byte [ebp - 0x5c], al
mov dword [esp + 4], eax
mov dword [esp], str.aAeEfFgGcCdiouxXnpsS
call sub.msvcrt.dll_strchr
movzx edx, byte [ebp - 0x5c]
test eax, eax
je 0x414ca4
sub eax, 0x4b4cb5
cmp eax, 7
ja 0x4157bf
cmp dl, 0x25
jne 0x414bc0
lea esi, [ebx + 1]
mov dword [ebp - 0x50], esi
cmp byte [ebx], 0
jne 0x414bd0
lea esi, [esi]
mov ecx, dword [ebp - 0x60]
lea eax, [ecx*4 + 0xf]
shr eax, 4
shl eax, 4
call fcn.00417b40
sub esp, eax
lea eax, [esp + 0xc]
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x74], eax
test ecx, ecx
je 0x41505d
lea edx, [ecx + ecx]
mov dword [ebp - 0x7c], esp
lea eax, [edx + 0xf]
shr eax, 4
shl eax, 4
call fcn.00417b40
mov ebx, dword [ebp + 0x14]
sub esp, eax
mov dword [ebp - 0x50], ebx
lea eax, [esp + 0xc]
add edx, eax
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x70], edx
lea esi, [esi]
xor esi, esi
add eax, 2
mov word [eax - 2], si
cmp edx, eax
jne 0x414d18
cmp byte [ebx], 0x25
lea edi, [ebx + 1]
je 0x414d48
lea esi, [esi]
mov eax, ebx
mov ebx, edi
mov dword [ebp - 0x50], ebx
cmp byte [eax], 0
je 0x415048
cmp byte [ebx], 0x25
lea edi, [ebx + 1]
jne 0x414d30
lea eax, [ebp - 0x50]
mov dword [ebp - 0x50], edi
call fcn.00413430
mov dword [ebp - 0x5c], eax
test eax, eax
jle 0x415280
mov eax, dword [ebp - 0x50]
lea esi, [eax + 1]
mov dword [ebp - 0x50], esi
jmp 0x414d73
add esi, 1
movsx eax, byte [esi]
mov dword [esp], str.__0
mov dword [esp + 4], eax
call sub.msvcrt.dll_strchr
test eax, eax
jne 0x414d70
mov dword [ebp - 0x50], esi
movzx edx, byte [esi]
cmp dl, 0x2a
je 0x4157ca
movsx eax, dl
lea ecx, [esi + 1]
sub eax, 0x30
cmp eax, 9
ja 0x414dc5
lea esi, [esi]
nop
mov dword [ebp - 0x50], ecx
movsx eax, byte [ecx]
mov esi, ecx
lea ecx, [ecx + 1]
mov edx, eax
sub eax, 0x30
cmp eax, 9
jbe 0x414db0
mov dword [ebp - 0x84], 0
cmp dl, 0x2e
je 0x4157f8
mov dword [ebp - 0x88], 0
lea eax, [ebp - 0x50]
call fcn.00412e10
mov esi, eax
cmp eax, 1
je 0x415871
xor eax, eax
cmp esi, 4
sete al
sub eax, 1
and esi, eax
mov edx, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x5c]
movsx eax, byte [edx]
mov byte [ebp - 0x6c], al
test ecx, ecx
je 0x4151d0
mov dword [ebp - 0x8c], edx
mov dword [esp + 4], eax
mov dword [esp], str.aAeEfFgGcCdiouxXnpsS
call sub.msvcrt.dll_strchr
mov edx, dword [ebp - 0x8c]
test eax, eax
je 0x4151d0
sub eax, str.aAeEfFgGcCdiouxXnpsS
mov ecx, eax
sar ecx, 0x1f
and ecx, 7
add ecx, eax
sar ecx, 3
add ecx, 1
test ecx, ecx
jle 0x4151d0
movzx eax, byte [ebp - 0x6c]
mov edi, esi
mov byte [ebp - 0x54], al
mov eax, esi
mov esi, dword [ebp - 0x5c]
mov byte [ebp - 0x53], al
mov eax, dword [ebp - 0x80]
lea esi, [eax + esi*2 - 2]
cmp word [esi], 0
jne 0x41590c
mov eax, edi
mov byte [esi], cl
mov byte [esi + 1], al
mov eax, dword [ebp - 0x84]
test eax, eax
jle 0x414e9f
mov ecx, dword [ebp - 0x80]
lea eax, [ecx + eax*2 - 2]
cmp word [eax], 0
jne 0x414e9f
mov edi, 0x64
mov word [eax], di
mov eax, dword [ebp - 0x88]
test eax, eax
jle 0x414ebe
mov ecx, dword [ebp - 0x80]
lea eax, [ecx + eax*2 - 2]
cmp word [eax], 0
jne 0x414ebe
mov esi, 0x64
mov word [eax], si
lea edi, [edx + 1]
mov ebx, edx
jmp 0x414d30
mov eax, dword [ebp - 0x50]
lea ebx, [eax + 1]
mov dword [ebp - 0x50], ebx
jmp 0x414ee3
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 0x414ee0
mov dword [ebp - 0x50], ebx
movzx ecx, byte [ebx]
cmp cl, 0x2a
je 0x414fc8
movsx edx, cl
lea eax, [ebx + 1]
sub edx, 0x30
cmp edx, 9
ja 0x414f35
lea esi, [esi]
nop
mov dword [ebp - 0x50], eax
movsx edx, byte [eax]
mov ebx, eax
add eax, 1
mov ecx, edx
sub edx, 0x30
cmp edx, 9
jbe 0x414f20
cmp cl, 0x2e
jne 0x414f73
lea eax, [ebx + 1]
mov dword [ebp - 0x50], eax
movsx eax, byte [ebx + 1]
cmp al, 0x2a
je 0x415160
sub eax, 0x30
add ebx, 2
cmp eax, 9
ja 0x414f73
lea esi, [esi]
nop
mov eax, ebx
mov dword [ebp - 0x50], ebx
add ebx, 1
movsx eax, byte [eax]
sub eax, 0x30
cmp eax, 9
jbe 0x414f60
lea eax, [ebp - 0x50]
call fcn.00412e10
mov ebx, dword [ebp - 0x50]
movsx eax, byte [ebx]
mov byte [ebp - 0x64], al
mov dword [esp + 4], eax
mov dword [esp], str.aAeEfFgGcCdiouxXnpsS
call sub.msvcrt.dll_strchr
movzx edx, byte [ebp - 0x64]
test eax, eax
je 0x414ca4
sub eax, 0x4b4cb5
cmp eax, 7
jbe 0x414ca4
mov eax, dword [ebp - 0x5c]
cmp dword [ebp - 0x60], eax
jge 0x414cad
mov dword [ebp - 0x60], eax
lea esi, [ebx + 1]
jmp 0x414cb0
add ebx, 1
lea eax, [ebp - 0x50]
mov dword [ebp - 0x50], ebx
call fcn.00413430
test eax, eax
je 0x4157bf
cmp dword [ebp - 0x5c], eax
jge 0x414fe6
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x50]
lea ebx, [eax + 1]
mov dword [ebp - 0x50], ebx
movzx ecx, byte [eax + 1]
jmp 0x414f35
movzx edx, byte [ebx + 1]
add ebx, 1
cmp dl, 0x2e
jne 0x414c6a
movsx eax, byte [ebx + 1]
cmp al, 0x2a
je 0x415194
sub eax, 0x30
add ebx, 1
cmp eax, 9
ja 0x414c6a
lea esi, [esi]
nop
movsx eax, byte [ebx + 1]
add ebx, 1
sub eax, 0x30
cmp eax, 9
jbe 0x415030
jmp 0x414c6a
mov edx, dword [ebp - 0x70]
mov eax, dword [ebp - 0x78]
nop
cmp word [eax], 0
jne 0x4151e8
mov esp, dword [ebp - 0x7c]
mov eax, dword [ebp + 0x14]
mov edi, 0xffffffff
lea esi, [eax + 1]
mov dword [ebp + 0x14], esi
movsx eax, byte [eax]
mov dword [ebp - 0x60], 0
test eax, eax
je 0x415121
mov dword [ebp - 0x70], edi
mov edi, dword [ebp + 0x18]
jmp 0x4150a0
lea edx, [ebp - 0x48]
call fcn.00412fd0
mov eax, dword [ebp + 0x14]
lea esi, [eax + 1]
mov dword [ebp + 0x14], esi
movsx eax, byte [eax]
test eax, eax
je 0x415108
cmp eax, 0x25
jne 0x415088
mov ebx, dword [ebp - 0x60]
test ebx, ebx
jne 0x415140
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x3c], 0xffffffff
mov dword [ebp - 0x40], 0xffffffff
mov dword [ebp - 0x44], eax
cmp byte [ecx], 0
je 0x415369
lea eax, [ebp - 0x40]
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x64], 0
lea eax, [ecx + 1]
mov dword [ebp + 0x14], eax
movsx ebx, byte [ecx]
mov edx, ebx
sub edx, 0x20
cmp dl, 0x5a
ja case.0x4150fe.1
movzx edx, dl
jmp dword [edx*4 + 0x4b4d18]
mov eax, dword [ebp - 0x60]
mov edi, dword [ebp - 0x70]
test eax, eax
je 0x415121
lea esi, [esi]
mov eax, edi
sub edi, 1
test eax, eax
jg 0x415118
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call fcn.0040fad0
mov eax, dword [ebp - 0x30]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
lea eax, [ebp + 0x14]
call fcn.004134b0
test eax, eax
jle 0x4150b0
mov ecx, dword [ebp - 0x74]
mov edi, dword [ecx + eax*4 - 4]
jmp 0x4150b0
add ebx, 2
lea eax, [ebp - 0x50]
mov dword [ebp - 0x50], ebx
call fcn.00413430
test eax, eax
je 0x4157bf
cmp dword [ebp - 0x5c], eax
jl 0x415188
add dword [ebp - 0x50], 1
jmp 0x414f73
add dword [ebp - 0x50], 1
mov dword [ebp - 0x5c], eax
jmp 0x414f73
add ebx, 2
jmp 0x414c6a
add esi, 2
lea eax, [ebp - 0x50]
mov dword [ebp - 0x50], esi
call fcn.00413430
mov dword [ebp - 0x88], eax
test eax, eax
jne 0x415903
lea eax, [ebp - 0x50]
call fcn.00412e10
mov edx, dword [ebp - 0x50]
movzx eax, byte [edx]
mov byte [ebp - 0x6c], al
lea esi, [esi]
cmp byte [ebp - 0x6c], 0x25
jne 0x414d30
lea edi, [edx + 1]
mov ebx, edx
jmp 0x414d30
add eax, 2
cmp edx, eax
jne 0x415050
mov esi, dword [ebp - 0x60]
mov eax, dword [ebp - 0x64]
mov edx, dword [ebp - 0x80]
mov ecx, dword [ebp + 0x18]
lea edi, [esi - 1]
lea esi, [eax + esi*4]
add edx, 1
jmp 0x415227
cmp bl, 3
je 0x41521a
cmp byte [edx], 3
je 0x415250
add ecx, 4
add eax, 4
add edx, 2
cmp esi, eax
je 0x41525d
movzx ebx, byte [edx - 1]
mov dword [eax], ecx
cmp bl, 1
jne 0x415210
movzx ebx, byte [edx]
cmp ebx, 0x4c
je 0x415301
test byte [0x4f8a2d], 1
je 0x415250
cmp ebx, 2
je 0x415301
add eax, 4
add ecx, 8
add edx, 2
cmp esi, eax
jne 0x415227
mov eax, dword [ebp + 0x14]
mov esp, dword [ebp - 0x7c]
lea esi, [eax + 1]
mov dword [ebp + 0x14], esi
movsx eax, byte [eax]
test eax, eax
jne 0x41507d
jmp 0x415118
mov dword [ebp - 0x5c], ebx
mov esi, dword [ebp - 0x50]
mov dword [ebp - 0x6c], edi
jmp 0x415293
add esi, 1
movsx edi, byte [esi]
mov dword [esp], str.__0
mov dword [esp + 4], edi
call sub.msvcrt.dll_strchr
test eax, eax
jne 0x415290
mov edx, edi
mov ecx, edi
mov ebx, dword [ebp - 0x5c]
mov edi, dword [ebp - 0x6c]
cmp dl, 0x2a
je 0x415838
sub ecx, 0x30
cmp ecx, 9
ja 0x4152d9
lea esi, [esi]
movsx eax, byte [esi + 1]
add esi, 1
mov edx, eax
sub eax, 0x30
cmp eax, 9
jbe 0x4152c8
cmp dl, 0x2e
je 0x4158a0
lea eax, [ebp - 0x50]
mov dword [ebp - 0x50], esi
call fcn.00412e10
mov eax, dword [ebp - 0x50]
cmp byte [eax], 0x25
jne 0x414d30
lea ebx, [eax + 1]
jmp 0x414d34
add ecx, 0xc
jmp 0x41521d
mov ecx, dword [ebp - 0x5c]
cmp ecx, 4
je 0x4154c4
lea edx, [ebx - 0x30]
cmp edx, 9
ja 0x4154c4
test ecx, ecx
jne 0x415878
mov dword [ebp - 0x5c], 1
mov edx, dword [ebp - 0x6c]
mov ecx, eax
test edx, edx
je 0x415360
mov edx, dword [edx]
sub ebx, 0x30
test edx, edx
jle 0x41534f
lea edx, [edx + edx*4]
lea ebx, [ebx + edx*2]
mov ecx, dword [ebp - 0x6c]
mov dword [ecx], ebx
mov ecx, eax
lea esi, [esi]
lea esi, [esi]
cmp byte [ecx], 0
jne 0x4150e4
mov eax, ecx
jmp 0x415093
lea eax, [ebp + 0x14]
mov dword [ebp + 0x14], ecx
call fcn.00412e10
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x64], eax
cmp ebx, 0x6c
je 0x41597e
mov dword [ebp - 0x5c], 4
jmp 0x415360
cmp dword [ebp - 0x64], 3
je 0x4159d0
cmp dword [ebp - 0x64], 2
mov eax, dword [edi]
lea edx, [edi + 4]
je 0x4153bb
cmp dword [ebp - 0x64], 1
je 0x415950
cmp dword [ebp - 0x64], 4
jne 0x4153bb
movzx eax, al
mov dword [ebp - 0x50], eax
mov edi, edx
mov dword [ebp - 0x4c], 0
cmp ebx, 0x75
je 0x41542e
lea ecx, [ebp - 0x48]
mov eax, dword [ebp - 0x50]
mov edx, dword [ebp - 0x4c]
mov dword [esp], ecx
mov ecx, edx
mov edx, eax
mov eax, ebx
call fcn.00414720
mov eax, dword [ebp + 0x14]
jmp 0x415093
or dword [ebp - 0x44], 0x80
cmp dword [ebp - 0x64], 3
je 0x4159a0
mov ecx, dword [edi]
add edi, 4
mov eax, ecx
cdq
cmp dword [ebp - 0x64], 2
je 0x4158cf
cmp dword [ebp - 0x64], 1
je 0x415964
cmp dword [ebp - 0x64], 4
jne 0x4158cf
movsx ecx, cl
mov dword [ebp - 0x50], ecx
sar ecx, 0x1f
mov dword [ebp - 0x4c], ecx
mov eax, dword [ebp - 0x50]
mov edx, dword [ebp - 0x4c]
lea ecx, [ebp - 0x48]
call fcn.00413650
mov eax, dword [ebp + 0x14]
jmp 0x415093
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x3c], 0xffffffff
mov edx, edi
lea eax, [edi + 4]
sub ecx, 2
cmp ecx, 1
jbe 0x41578b
mov edi, eax
mov eax, dword [edx]
lea ecx, [ebp - 0x48]
mov edx, 1
mov byte [ebp - 0x50], al
lea eax, [ebp - 0x50]
call fcn.00413160
mov eax, dword [ebp + 0x14]
jmp 0x415093
mov ecx, dword [ebp - 0x64]
mov edx, edi
lea eax, [edi + 4]
sub ecx, 2
cmp ecx, 1
jbe 0x415847
mov ebx, dword [edx]
mov edi, eax
test ebx, ebx
je 0x4159c1
mov dword [esp], ebx
call sub.msvcrt.dll_strlen
mov edx, eax
mov eax, ebx
lea ecx, [ebp - 0x48]
call fcn.00413160
mov eax, dword [ebp + 0x14]
jmp 0x415093
cmp dword [ebp - 0x5c], 4
jne 0x415878
mov dword [ebp + 0x14], esi
mov eax, 0x25
lea edx, [ebp - 0x48]
call fcn.00412fd0
mov eax, dword [ebp + 0x14]
jmp 0x415093
mov edx, dword [ebp - 0x5c]
test edx, edx
jne 0x4154ba
or dword [ebp - 0x44], 0x200
mov ecx, eax
jmp 0x415360
mov eax, dword [ebp - 0x44]
test al, 4
je 0x415639
fld xword [edi]
lea eax, [ebp - 0x48]
lea ebx, [edi + 0xc]
mov edi, ebx
fstp xword [esp]
call fcn.00414170
mov eax, dword [ebp + 0x14]
jmp 0x415093
mov eax, dword [ebp - 0x44]
or eax, 0x20
mov dword [ebp - 0x44], eax
test al, 4
je 0x415581
fld xword [edi]
lea eax, [ebp - 0x48]
lea ebx, [edi + 0xc]
mov edi, ebx
fstp xword [esp]
call fcn.00413f10
mov eax, dword [ebp + 0x14]
jmp 0x415093
mov eax, dword [ebp - 0x44]
or eax, 0x20
mov dword [ebp - 0x44], eax
test al, 4
je 0x4155c7
fld xword [edi]
lea eax, [ebp - 0x48]
lea ebx, [edi + 0xc]
mov edi, ebx
fstp xword [esp]
call fcn.00413e60
mov eax, dword [ebp + 0x14]
jmp 0x415093
mov ecx, eax
mov eax, dword [ebp - 0x5c]
test eax, eax
jne 0x415360
or dword [ebp - 0x44], 1
jmp 0x415360
mov eax, dword [ebp - 0x44]
test al, 4
jne 0x415523
fld qword [edi]
lea eax, [ebp - 0x48]
lea ebx, [edi + 8]
mov edi, ebx
fstp xword [esp]
call fcn.00413f10
mov eax, dword [ebp + 0x14]
jmp 0x415093
mov eax, dword [ebp - 0x44]
test al, 4
je 0x415767
fld xword [edi]
lea eax, [ebp - 0x48]
lea ebx, [edi + 0xc]
mov edi, ebx
fstp xword [esp]
call fcn.00413fe0
mov eax, dword [ebp + 0x14]
jmp 0x415093
mov eax, dword [ebp - 0x44]
test al, 4
jne 0x41554a
fld qword [edi]
lea eax, [ebp - 0x48]
lea ebx, [edi + 8]
mov edi, ebx
fstp xword [esp]
call fcn.00413e60
mov eax, dword [ebp + 0x14]
jmp 0x415093
cmp dword [ebp - 0x5c], 1
jbe 0x4158da
mov dword [ebp - 0x5c], 4
mov ecx, eax
jmp 0x415360
mov ebx, dword [ebp - 0x5c]
mov ecx, eax
test ebx, ebx
jne 0x415360
or dword [ebp - 0x44], 0x40
jmp 0x415360
mov ecx, eax
mov eax, dword [ebp - 0x5c]
test eax, eax
jne 0x415360
or dword [ebp - 0x44], 0x800
jmp 0x415360
mov eax, dword [ebp - 0x44]
or eax, 0x20
mov dword [ebp - 0x44], eax
test al, 4
jne 0x4154fc
fld qword [edi]
lea eax, [ebp - 0x48]
lea ebx, [edi + 8]
mov edi, ebx
fstp xword [esp]
call fcn.00414170
mov eax, dword [ebp + 0x14]
jmp 0x415093
mov ecx, eax
mov eax, dword [ebp - 0x5c]
test eax, eax
jne 0x415360
or dword [ebp - 0x44], 0x100
jmp 0x415360
mov ecx, eax
mov eax, dword [ebp - 0x5c]
test eax, eax
jne 0x415360
or dword [ebp - 0x44], 0x400
jmp 0x415360
mov ebx, dword [ebp - 0x6c]
test ebx, ebx
je 0x4155eb
test byte [ebp - 0x5c], 5
jne 0x4158f5
mov edx, dword [ebp - 0x60]
test edx, edx
jne 0x415a0d
mov eax, edi
mov ecx, dword [ebp - 0x6c]
add edi, 4
mov eax, dword [eax]
mov dword [ecx], eax
test eax, eax
js 0x4159f7
mov dword [ebp - 0x6c], 0
mov ecx, dword [ebp + 0x14]
jmp 0x415360
cmp dword [ebp - 0x64], 4
mov ecx, dword [ebp - 0x30]
lea edx, [edi + 4]
je 0x4159b3
cmp dword [ebp - 0x64], 1
mov ebx, dword [edi]
je 0x4159e3
cmp dword [ebp - 0x64], 2
je 0x415975
cmp dword [ebp - 0x64], 3
mov edi, edx
mov dword [ebx], ecx
jne 0x415093
mov edi, ecx
sar edi, 0x1f
mov dword [ebx + 4], edi
mov edi, edx
jmp 0x415093
mov ecx, dword [ebp - 0x5c]
test ecx, ecx
jne 0x415723
mov eax, dword [ebp - 0x68]
cmp dword [ebp - 0x44], eax
je 0x415936
mov eax, edi
lea ecx, [ebp - 0x48]
add edi, 4
mov eax, dword [eax]
mov dword [ebp - 0x4c], 0
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
mov dword [esp], ecx
mov ecx, edx
mov edx, eax
mov eax, 0x78
call fcn.00414720
mov eax, dword [ebp + 0x14]
jmp 0x415093
mov eax, dword [ebp - 0x44]
or eax, 0x20
mov dword [ebp - 0x44], eax
test al, 4
jne 0x4155a6
fld qword [edi]
lea eax, [ebp - 0x48]
lea ebx, [edi + 8]
mov edi, ebx
fstp xword [esp]
call fcn.00413fe0
mov eax, dword [ebp + 0x14]
jmp 0x415093
mov dword [ebp - 0x3c], 0xffffffff
lea eax, [edi + 4]
mov edx, edi
mov edi, eax
lea ecx, [ebp - 0x48]
mov eax, dword [edx]
mov edx, 1
mov word [ebp - 0x50], ax
lea eax, [ebp - 0x50]
call fcn.00413030
mov eax, dword [ebp + 0x14]
jmp 0x415093
mov ecx, eax
or dword [ebp - 0x44], 4
mov dword [ebp - 0x5c], 4
jmp 0x415360
lea eax, [ebp - 0x54]
mov dword [ebp - 0x74], eax
jmp 0x41505d
add esi, 1
lea eax, [ebp - 0x50]
mov dword [ebp - 0x50], esi
call fcn.00413430
mov dword [ebp - 0x84], eax
test eax, eax
jne 0x41588e
mov esi, dword [ebp - 0x50]
mov dword [ebp - 0x5c], 0
movzx edx, byte [esi]
jmp 0x414dcf
lea eax, [esi + 1]
mov dword [ebp - 0x50], eax
movsx eax, byte [esi + 1]
cmp al, 0x2a
je 0x41519c
sub eax, 0x30
add esi, 2
cmp eax, 9
ja 0x414dd8
lea esi, [esi]
mov eax, esi
mov dword [ebp - 0x50], esi
add esi, 1
movsx eax, byte [eax]
sub eax, 0x30
cmp eax, 9
jbe 0x415820
jmp 0x414dd8
movzx edx, byte [esi + 1]
add esi, 1
jmp 0x4152d9
lea eax, [edi + 4]
mov edx, edi
mov edi, eax
mov ebx, dword [edx]
test ebx, ebx
je 0x4159ed
mov dword [esp], ebx
call sub.msvcrt.dll_wcslen
lea ecx, [ebp - 0x48]
mov edx, eax
mov eax, ebx
call fcn.00413030
mov eax, dword [ebp + 0x14]
jmp 0x415093
xor esi, esi
jmp 0x414e02
cmp dword [ebp - 0x5c], 2
jne 0x415337
mov dword [ebp - 0x5c], 3
jmp 0x415337
mov eax, dword [ebp - 0x50]
lea esi, [eax + 1]
mov dword [ebp - 0x50], esi
movzx edx, byte [eax + 1]
jmp 0x414dcf
movsx eax, byte [esi + 1]
cmp al, 0x2a
je 0x415948
sub eax, 0x30
add esi, 1
cmp eax, 9
ja 0x4152e2
movsx eax, byte [esi + 1]
add esi, 1
sub eax, 0x30
cmp eax, 9
jbe 0x4158bb
jmp 0x4152e2
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], edx
jmp 0x41542e
mov ecx, eax
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x5c], 2
jmp 0x415360
mov dword [ebp - 0x6c], 0
mov ecx, eax
jmp 0x41538a
add dword [ebp - 0x50], 1
jmp 0x414de2
lea eax, [ebp - 0x54]
mov dword [ebp - 0x6c], edx
mov dword [ebp - 0x5c], ecx
call fcn.004134e0
mov ebx, eax
mov eax, esi
call fcn.004134e0
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x6c]
cmp ebx, eax
jbe 0x414e80
jmp 0x414e79
or ah, 2
mov dword [ebp - 0x3c], 8
mov dword [ebp - 0x44], eax
jmp 0x415723
add esi, 2
jmp 0x4152e2
movzx eax, ax
mov dword [ebp - 0x4c], 0
mov edi, edx
mov dword [ebp - 0x50], eax
jmp 0x4153c7
movsx ecx, cx
mov dword [ebp - 0x50], ecx
sar ecx, 0x1f
mov dword [ebp - 0x4c], ecx
jmp 0x41542e
mov dword [ebx], ecx
mov edi, edx
jmp 0x415093
test byte [0x4f8a2d], 1
je 0x41538a
cmp eax, 2
jne 0x41538a
mov dword [ebp - 0x64], 2
jmp 0x4157af
mov eax, dword [edi]
mov edx, dword [edi + 4]
add edi, 8
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], edx
jmp 0x41542e
mov eax, dword [edi]
mov edi, edx
mov byte [eax], cl
mov eax, dword [ebp + 0x14]
jmp 0x415093
mov edx, 6
mov ebx, str._null_
jmp 0x4154a8
mov eax, dword [edi]
mov edx, dword [edi + 4]
add edi, 8
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], edx
jmp 0x4153c7
mov word [ebx], cx
mov edi, edx
jmp 0x415093
mov ebx, 0x4b4ce2
jmp 0x415855
mov eax, dword [ebp - 0x5c]
test eax, eax
jne 0x415a2d
or dword [ebp - 0x44], 0x400
neg dword [ebp - 0x40]
jmp 0x4156b9
lea eax, [ebp + 0x14]
call fcn.004134b0
test eax, eax
jle 0x4156a5
mov ecx, dword [ebp - 0x74]
mov eax, dword [ecx + eax*4 - 4]
mov eax, dword [eax]
mov dword [ebx], eax
jmp 0x4156b1
mov dword [ebp - 0x3c], 0xffffffff
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x6c], 0
jmp 0x415360