Function at 0x415370
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 sym._getenv
test eax, eax
je 0x4153d8
movsx edx, byte [eax]
mov eax, 2
sub edx, 0x30
cmp edx, 2
jbe 0x4153e8
mov edx, dword [0x4fba2c]
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 0x415420
mov ebx, esi
mov esi, edi
mov dword [ebp - 0x50], esi
cmp byte [ebx], 0
je 0x415510
cmp byte [esi], 0x25
lea edi, [esi + 1]
jne 0x415410
lea eax, [ebp - 0x50]
mov dword [ebp - 0x50], edi
call fcn.00413c80
mov dword [ebp - 0x5c], eax
test eax, eax
jne 0x415720
mov ebx, dword [ebp - 0x50]
movzx edx, byte [ebx]
cmp dl, 0x24
je 0x41600f
mov dword [ebp - 0x5c], esi
mov esi, edx
mov dword [ebp - 0x64], edi
jmp 0x415467
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 sym._strchr
test eax, eax
jne 0x415460
mov edx, esi
mov ecx, edi
mov esi, dword [ebp - 0x5c]
mov edi, dword [ebp - 0x64]
cmp dl, 0x2a
je 0x415850
sub ecx, 0x30
cmp ecx, 9
ja 0x4154b1
lea esi, [esi]
nop
movsx eax, byte [ebx + 1]
add ebx, 1
mov edx, eax
sub eax, 0x30
cmp eax, 9
jbe 0x4154a0
cmp dl, 0x2e
je 0x415860
lea eax, [ebp - 0x50]
mov dword [ebp - 0x50], ebx
call fcn.00413660
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 sym._strchr
movzx edx, byte [ebp - 0x5c]
test eax, eax
je 0x4154f4
sub eax, 0x4b7735
cmp eax, 7
ja 0x41600f
cmp dl, 0x25
jne 0x415410
lea esi, [ebx + 1]
mov dword [ebp - 0x50], esi
cmp byte [ebx], 0
jne 0x415420
lea esi, [esi]
mov ecx, dword [ebp - 0x60]
lea eax, [ecx*4 + 0xf]
shr eax, 4
shl eax, 4
call fcn.00418390
sub esp, eax
lea eax, [esp + 0xc]
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x74], eax
test ecx, ecx
je 0x4158ad
lea edx, [ecx + ecx]
mov dword [ebp - 0x7c], esp
lea eax, [edx + 0xf]
shr eax, 4
shl eax, 4
call fcn.00418390
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 0x415568
cmp byte [ebx], 0x25
lea edi, [ebx + 1]
je 0x415598
lea esi, [esi]
mov eax, ebx
mov ebx, edi
mov dword [ebp - 0x50], ebx
cmp byte [eax], 0
je 0x415898
cmp byte [ebx], 0x25
lea edi, [ebx + 1]
jne 0x415580
lea eax, [ebp - 0x50]
mov dword [ebp - 0x50], edi
call fcn.00413c80
mov dword [ebp - 0x5c], eax
test eax, eax
jle 0x415ad0
mov eax, dword [ebp - 0x50]
lea esi, [eax + 1]
mov dword [ebp - 0x50], esi
jmp 0x4155c3
add esi, 1
movsx eax, byte [esi]
mov dword [esp], str.__0
mov dword [esp + 4], eax
call sym._strchr
test eax, eax
jne 0x4155c0
mov dword [ebp - 0x50], esi
movzx edx, byte [esi]
cmp dl, 0x2a
je 0x41601a
movsx eax, dl
lea ecx, [esi + 1]
sub eax, 0x30
cmp eax, 9
ja 0x415615
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 0x415600
mov dword [ebp - 0x84], 0
cmp dl, 0x2e
je 0x416048
mov dword [ebp - 0x88], 0
lea eax, [ebp - 0x50]
call fcn.00413660
mov esi, eax
cmp eax, 1
je 0x4160c1
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 0x415a20
mov dword [ebp - 0x8c], edx
mov dword [esp + 4], eax
mov dword [esp], str.aAeEfFgGcCdiouxXnpsS
call sym._strchr
mov edx, dword [ebp - 0x8c]
test eax, eax
je 0x415a20
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 0x415a20
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 0x41615c
mov eax, edi
mov byte [esi], cl
mov byte [esi + 1], al
mov eax, dword [ebp - 0x84]
test eax, eax
jle 0x4156ef
mov ecx, dword [ebp - 0x80]
lea eax, [ecx + eax*2 - 2]
cmp word [eax], 0
jne 0x4156ef
mov edi, 0x64
mov word [eax], di
mov eax, dword [ebp - 0x88]
test eax, eax
jle 0x41570e
mov ecx, dword [ebp - 0x80]
lea eax, [ecx + eax*2 - 2]
cmp word [eax], 0
jne 0x41570e
mov esi, 0x64
mov word [eax], si
lea edi, [edx + 1]
mov ebx, edx
jmp 0x415580
mov eax, dword [ebp - 0x50]
lea ebx, [eax + 1]
mov dword [ebp - 0x50], ebx
jmp 0x415733
add ebx, 1
movsx eax, byte [ebx]
mov dword [esp], str.__0
mov dword [esp + 4], eax
call sym._strchr
test eax, eax
jne 0x415730
mov dword [ebp - 0x50], ebx
movzx ecx, byte [ebx]
cmp cl, 0x2a
je 0x415818
movsx edx, cl
lea eax, [ebx + 1]
sub edx, 0x30
cmp edx, 9
ja 0x415785
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 0x415770
cmp cl, 0x2e
jne 0x4157c3
lea eax, [ebx + 1]
mov dword [ebp - 0x50], eax
movsx eax, byte [ebx + 1]
cmp al, 0x2a
je 0x4159b0
sub eax, 0x30
add ebx, 2
cmp eax, 9
ja 0x4157c3
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 0x4157b0
lea eax, [ebp - 0x50]
call fcn.00413660
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 sym._strchr
movzx edx, byte [ebp - 0x64]
test eax, eax
je 0x4154f4
sub eax, 0x4b7735
cmp eax, 7
jbe 0x4154f4
mov eax, dword [ebp - 0x5c]
cmp dword [ebp - 0x60], eax
jge 0x4154fd
mov dword [ebp - 0x60], eax
lea esi, [ebx + 1]
jmp 0x415500
add ebx, 1
lea eax, [ebp - 0x50]
mov dword [ebp - 0x50], ebx
call fcn.00413c80
test eax, eax
je 0x41600f
cmp dword [ebp - 0x5c], eax
jge 0x415836
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 0x415785
movzx edx, byte [ebx + 1]
add ebx, 1
cmp dl, 0x2e
jne 0x4154ba
movsx eax, byte [ebx + 1]
cmp al, 0x2a
je 0x4159e4
sub eax, 0x30
add ebx, 1
cmp eax, 9
ja 0x4154ba
lea esi, [esi]
nop
movsx eax, byte [ebx + 1]
add ebx, 1
sub eax, 0x30
cmp eax, 9
jbe 0x415880
jmp 0x4154ba
mov edx, dword [ebp - 0x70]
mov eax, dword [ebp - 0x78]
nop
cmp word [eax], 0
jne 0x415a38
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 0x415971
mov dword [ebp - 0x70], edi
mov edi, dword [ebp + 0x18]
jmp 0x4158f0
lea edx, [ebp - 0x48]
call fcn.00413820
mov eax, dword [ebp + 0x14]
lea esi, [eax + 1]
mov dword [ebp + 0x14], esi
movsx eax, byte [eax]
test eax, eax
je 0x415958
cmp eax, 0x25
jne 0x4158d8
mov ebx, dword [ebp - 0x60]
test ebx, ebx
jne 0x415990
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 0x415bb9
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.0x41594e.1
movzx edx, dl
jmp dword [edx*4 + 0x4b7798]
mov eax, dword [ebp - 0x60]
mov edi, dword [ebp - 0x70]
test eax, eax
je 0x415971
lea esi, [esi]
mov eax, edi
sub edi, 1
test eax, eax
jg 0x415968
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call sym.___mingw_aligned_free
mov eax, dword [ebp - 0x30]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
lea eax, [ebp + 0x14]
call fcn.00413d00
test eax, eax
jle 0x415900
mov ecx, dword [ebp - 0x74]
mov edi, dword [ecx + eax*4 - 4]
jmp 0x415900
add ebx, 2
lea eax, [ebp - 0x50]
mov dword [ebp - 0x50], ebx
call fcn.00413c80
test eax, eax
je 0x41600f
cmp dword [ebp - 0x5c], eax
jl 0x4159d8
add dword [ebp - 0x50], 1
jmp 0x4157c3
add dword [ebp - 0x50], 1
mov dword [ebp - 0x5c], eax
jmp 0x4157c3
add ebx, 2
jmp 0x4154ba
add esi, 2
lea eax, [ebp - 0x50]
mov dword [ebp - 0x50], esi
call fcn.00413c80
mov dword [ebp - 0x88], eax
test eax, eax
jne 0x416153
lea eax, [ebp - 0x50]
call fcn.00413660
mov edx, dword [ebp - 0x50]
movzx eax, byte [edx]
mov byte [ebp - 0x6c], al
lea esi, [esi]
cmp byte [ebp - 0x6c], 0x25
jne 0x415580
lea edi, [edx + 1]
mov ebx, edx
jmp 0x415580
add eax, 2
cmp edx, eax
jne 0x4158a0
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 0x415a77
cmp bl, 3
je 0x415a6a
cmp byte [edx], 3
je 0x415aa0
add ecx, 4
add eax, 4
add edx, 2
cmp esi, eax
je 0x415aad
movzx ebx, byte [edx - 1]
mov dword [eax], ecx
cmp bl, 1
jne 0x415a60
movzx ebx, byte [edx]
cmp ebx, 0x4c
je 0x415b51
test byte [0x4fba2d], 1
je 0x415aa0
cmp ebx, 2
je 0x415b51
add eax, 4
add ecx, 8
add edx, 2
cmp esi, eax
jne 0x415a77
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 0x4158cd
jmp 0x415968
mov dword [ebp - 0x5c], ebx
mov esi, dword [ebp - 0x50]
mov dword [ebp - 0x6c], edi
jmp 0x415ae3
add esi, 1
movsx edi, byte [esi]
mov dword [esp], str.__0
mov dword [esp + 4], edi
call sym._strchr
test eax, eax
jne 0x415ae0
mov edx, edi
mov ecx, edi
mov ebx, dword [ebp - 0x5c]
mov edi, dword [ebp - 0x6c]
cmp dl, 0x2a
je 0x416088
sub ecx, 0x30
cmp ecx, 9
ja 0x415b29
lea esi, [esi]
movsx eax, byte [esi + 1]
add esi, 1
mov edx, eax
sub eax, 0x30
cmp eax, 9
jbe 0x415b18
cmp dl, 0x2e
je 0x4160f0
lea eax, [ebp - 0x50]
mov dword [ebp - 0x50], esi
call fcn.00413660
mov eax, dword [ebp - 0x50]
cmp byte [eax], 0x25
jne 0x415580
lea ebx, [eax + 1]
jmp 0x415584
add ecx, 0xc
jmp 0x415a6d
mov ecx, dword [ebp - 0x5c]
cmp ecx, 4
je 0x415d14
lea edx, [ebx - 0x30]
cmp edx, 9
ja 0x415d14
test ecx, ecx
jne 0x4160c8
mov dword [ebp - 0x5c], 1
mov edx, dword [ebp - 0x6c]
mov ecx, eax
test edx, edx
je 0x415bb0
mov edx, dword [edx]
sub ebx, 0x30
test edx, edx
jle 0x415b9f
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 0x415934
mov eax, ecx
jmp 0x4158e3
lea eax, [ebp + 0x14]
mov dword [ebp + 0x14], ecx
call fcn.00413660
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x64], eax
cmp ebx, 0x6c
je 0x4161ce
mov dword [ebp - 0x5c], 4
jmp 0x415bb0
cmp dword [ebp - 0x64], 3
je 0x416220
cmp dword [ebp - 0x64], 2
mov eax, dword [edi]
lea edx, [edi + 4]
je 0x415c0b
cmp dword [ebp - 0x64], 1
je 0x4161a0
cmp dword [ebp - 0x64], 4
jne 0x415c0b
movzx eax, al
mov dword [ebp - 0x50], eax
mov edi, edx
mov dword [ebp - 0x4c], 0
cmp ebx, 0x75
je 0x415c7e
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.00414f70
mov eax, dword [ebp + 0x14]
jmp 0x4158e3
or dword [ebp - 0x44], 0x80
cmp dword [ebp - 0x64], 3
je 0x4161f0
mov ecx, dword [edi]
add edi, 4
mov eax, ecx
cdq
cmp dword [ebp - 0x64], 2
je 0x41611f
cmp dword [ebp - 0x64], 1
je 0x4161b4
cmp dword [ebp - 0x64], 4
jne 0x41611f
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.00413ea0
mov eax, dword [ebp + 0x14]
jmp 0x4158e3
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x3c], 0xffffffff
mov edx, edi
lea eax, [edi + 4]
sub ecx, 2
cmp ecx, 1
jbe 0x415fdb
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.004139b0
mov eax, dword [ebp + 0x14]
jmp 0x4158e3
mov ecx, dword [ebp - 0x64]
mov edx, edi
lea eax, [edi + 4]
sub ecx, 2
cmp ecx, 1
jbe 0x416097
mov ebx, dword [edx]
mov edi, eax
test ebx, ebx
je 0x416211
mov dword [esp], ebx
call sym._strlen
mov edx, eax
mov eax, ebx
lea ecx, [ebp - 0x48]
call fcn.004139b0
mov eax, dword [ebp + 0x14]
jmp 0x4158e3
cmp dword [ebp - 0x5c], 4
jne 0x4160c8
mov dword [ebp + 0x14], esi
mov eax, 0x25
lea edx, [ebp - 0x48]
call fcn.00413820
mov eax, dword [ebp + 0x14]
jmp 0x4158e3
mov edx, dword [ebp - 0x5c]
test edx, edx
jne 0x415d0a
or dword [ebp - 0x44], 0x200
mov ecx, eax
jmp 0x415bb0
mov eax, dword [ebp - 0x44]
test al, 4
je 0x415e89
fld xword [edi]
lea eax, [ebp - 0x48]
lea ebx, [edi + 0xc]
mov edi, ebx
fstp xword [esp]
call fcn.004149c0
mov eax, dword [ebp + 0x14]
jmp 0x4158e3
mov eax, dword [ebp - 0x44]
or eax, 0x20
mov dword [ebp - 0x44], eax
test al, 4
je 0x415dd1
fld xword [edi]
lea eax, [ebp - 0x48]
lea ebx, [edi + 0xc]
mov edi, ebx
fstp xword [esp]
call fcn.00414760
mov eax, dword [ebp + 0x14]
jmp 0x4158e3
mov eax, dword [ebp - 0x44]
or eax, 0x20
mov dword [ebp - 0x44], eax
test al, 4
je 0x415e17
fld xword [edi]
lea eax, [ebp - 0x48]
lea ebx, [edi + 0xc]
mov edi, ebx
fstp xword [esp]
call fcn.004146b0
mov eax, dword [ebp + 0x14]
jmp 0x4158e3
mov ecx, eax
mov eax, dword [ebp - 0x5c]
test eax, eax
jne 0x415bb0
or dword [ebp - 0x44], 1
jmp 0x415bb0
mov eax, dword [ebp - 0x44]
test al, 4
jne 0x415d73
fld qword [edi]
lea eax, [ebp - 0x48]
lea ebx, [edi + 8]
mov edi, ebx
fstp xword [esp]
call fcn.00414760
mov eax, dword [ebp + 0x14]
jmp 0x4158e3
mov eax, dword [ebp - 0x44]
test al, 4
je 0x415fb7
fld xword [edi]
lea eax, [ebp - 0x48]
lea ebx, [edi + 0xc]
mov edi, ebx
fstp xword [esp]
call fcn.00414830
mov eax, dword [ebp + 0x14]
jmp 0x4158e3
mov eax, dword [ebp - 0x44]
test al, 4
jne 0x415d9a
fld qword [edi]
lea eax, [ebp - 0x48]
lea ebx, [edi + 8]
mov edi, ebx
fstp xword [esp]
call fcn.004146b0
mov eax, dword [ebp + 0x14]
jmp 0x4158e3
cmp dword [ebp - 0x5c], 1
jbe 0x41612a
mov dword [ebp - 0x5c], 4
mov ecx, eax
jmp 0x415bb0
mov ebx, dword [ebp - 0x5c]
mov ecx, eax
test ebx, ebx
jne 0x415bb0
or dword [ebp - 0x44], 0x40
jmp 0x415bb0
mov ecx, eax
mov eax, dword [ebp - 0x5c]
test eax, eax
jne 0x415bb0
or dword [ebp - 0x44], 0x800
jmp 0x415bb0
mov eax, dword [ebp - 0x44]
or eax, 0x20
mov dword [ebp - 0x44], eax
test al, 4
jne 0x415d4c
fld qword [edi]
lea eax, [ebp - 0x48]
lea ebx, [edi + 8]
mov edi, ebx
fstp xword [esp]
call fcn.004149c0
mov eax, dword [ebp + 0x14]
jmp 0x4158e3
mov ecx, eax
mov eax, dword [ebp - 0x5c]
test eax, eax
jne 0x415bb0
or dword [ebp - 0x44], 0x100
jmp 0x415bb0
mov ecx, eax
mov eax, dword [ebp - 0x5c]
test eax, eax
jne 0x415bb0
or dword [ebp - 0x44], 0x400
jmp 0x415bb0
mov ebx, dword [ebp - 0x6c]
test ebx, ebx
je 0x415e3b
test byte [ebp - 0x5c], 5
jne 0x416145
mov edx, dword [ebp - 0x60]
test edx, edx
jne 0x41625d
mov eax, edi
mov ecx, dword [ebp - 0x6c]
add edi, 4
mov eax, dword [eax]
mov dword [ecx], eax
test eax, eax
js 0x416247
mov dword [ebp - 0x6c], 0
mov ecx, dword [ebp + 0x14]
jmp 0x415bb0
cmp dword [ebp - 0x64], 4
mov ecx, dword [ebp - 0x30]
lea edx, [edi + 4]
je 0x416203
cmp dword [ebp - 0x64], 1
mov ebx, dword [edi]
je 0x416233
cmp dword [ebp - 0x64], 2
je 0x4161c5
cmp dword [ebp - 0x64], 3
mov edi, edx
mov dword [ebx], ecx
jne 0x4158e3
mov edi, ecx
sar edi, 0x1f
mov dword [ebx + 4], edi
mov edi, edx
jmp 0x4158e3
mov ecx, dword [ebp - 0x5c]
test ecx, ecx
jne 0x415f73
mov eax, dword [ebp - 0x68]
cmp dword [ebp - 0x44], eax
je 0x416186
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.00414f70
mov eax, dword [ebp + 0x14]
jmp 0x4158e3
mov eax, dword [ebp - 0x44]
or eax, 0x20
mov dword [ebp - 0x44], eax
test al, 4
jne 0x415df6
fld qword [edi]
lea eax, [ebp - 0x48]
lea ebx, [edi + 8]
mov edi, ebx
fstp xword [esp]
call fcn.00414830
mov eax, dword [ebp + 0x14]
jmp 0x4158e3
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.00413880
mov eax, dword [ebp + 0x14]
jmp 0x4158e3
mov ecx, eax
or dword [ebp - 0x44], 4
mov dword [ebp - 0x5c], 4
jmp 0x415bb0
lea eax, [ebp - 0x54]
mov dword [ebp - 0x74], eax
jmp 0x4158ad
add esi, 1
lea eax, [ebp - 0x50]
mov dword [ebp - 0x50], esi
call fcn.00413c80
mov dword [ebp - 0x84], eax
test eax, eax
jne 0x4160de
mov esi, dword [ebp - 0x50]
mov dword [ebp - 0x5c], 0
movzx edx, byte [esi]
jmp 0x41561f
lea eax, [esi + 1]
mov dword [ebp - 0x50], eax
movsx eax, byte [esi + 1]
cmp al, 0x2a
je 0x4159ec
sub eax, 0x30
add esi, 2
cmp eax, 9
ja 0x415628
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 0x416070
jmp 0x415628
movzx edx, byte [esi + 1]
add esi, 1
jmp 0x415b29
lea eax, [edi + 4]
mov edx, edi
mov edi, eax
mov ebx, dword [edx]
test ebx, ebx
je 0x41623d
mov dword [esp], ebx
call sym._wcslen
lea ecx, [ebp - 0x48]
mov edx, eax
mov eax, ebx
call fcn.00413880
mov eax, dword [ebp + 0x14]
jmp 0x4158e3
xor esi, esi
jmp 0x415652
cmp dword [ebp - 0x5c], 2
jne 0x415b87
mov dword [ebp - 0x5c], 3
jmp 0x415b87
mov eax, dword [ebp - 0x50]
lea esi, [eax + 1]
mov dword [ebp - 0x50], esi
movzx edx, byte [eax + 1]
jmp 0x41561f
movsx eax, byte [esi + 1]
cmp al, 0x2a
je 0x416198
sub eax, 0x30
add esi, 1
cmp eax, 9
ja 0x415b32
movsx eax, byte [esi + 1]
add esi, 1
sub eax, 0x30
cmp eax, 9
jbe 0x41610b
jmp 0x415b32
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], edx
jmp 0x415c7e
mov ecx, eax
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x5c], 2
jmp 0x415bb0
mov dword [ebp - 0x6c], 0
mov ecx, eax
jmp 0x415bda
add dword [ebp - 0x50], 1
jmp 0x415632
lea eax, [ebp - 0x54]
mov dword [ebp - 0x6c], edx
mov dword [ebp - 0x5c], ecx
call fcn.00413d30
mov ebx, eax
mov eax, esi
call fcn.00413d30
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x6c]
cmp ebx, eax
jbe 0x4156d0
jmp 0x4156c9
or ah, 2
mov dword [ebp - 0x3c], 8
mov dword [ebp - 0x44], eax
jmp 0x415f73
add esi, 2
jmp 0x415b32
movzx eax, ax
mov dword [ebp - 0x4c], 0
mov edi, edx
mov dword [ebp - 0x50], eax
jmp 0x415c17
movsx ecx, cx
mov dword [ebp - 0x50], ecx
sar ecx, 0x1f
mov dword [ebp - 0x4c], ecx
jmp 0x415c7e
mov dword [ebx], ecx
mov edi, edx
jmp 0x4158e3
test byte [0x4fba2d], 1
je 0x415bda
cmp eax, 2
jne 0x415bda
mov dword [ebp - 0x64], 2
jmp 0x415fff
mov eax, dword [edi]
mov edx, dword [edi + 4]
add edi, 8
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], edx
jmp 0x415c7e
mov eax, dword [edi]
mov edi, edx
mov byte [eax], cl
mov eax, dword [ebp + 0x14]
jmp 0x4158e3
mov edx, 6
mov ebx, str._null_
jmp 0x415cf8
mov eax, dword [edi]
mov edx, dword [edi + 4]
add edi, 8
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], edx
jmp 0x415c17
mov word [ebx], cx
mov edi, edx
jmp 0x4158e3
mov ebx, 0x4b7762
jmp 0x4160a5
mov eax, dword [ebp - 0x5c]
test eax, eax
jne 0x41627d
or dword [ebp - 0x44], 0x400
neg dword [ebp - 0x40]
jmp 0x415f09
lea eax, [ebp + 0x14]
call fcn.00413d00
test eax, eax
jle 0x415ef5
mov ecx, dword [ebp - 0x74]
mov eax, dword [ecx + eax*4 - 4]
mov eax, dword [eax]
mov dword [ebx], eax
jmp 0x415f01
mov dword [ebp - 0x3c], 0xffffffff
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x6c], 0
jmp 0x415bb0