Function at 0x422470
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 0x4224d8
movsx edx, byte [eax]
mov eax, 2
sub edx, 0x30
cmp edx, 2
jbe 0x4224e8
mov edx, dword [0x50ac0c]
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 0x422520
mov ebx, esi
mov esi, edi
mov dword [ebp - 0x50], esi
cmp byte [ebx], 0
je 0x422610
cmp byte [esi], 0x25
lea edi, [esi + 1]
jne 0x422510
lea eax, [ebp - 0x50]
mov dword [ebp - 0x50], edi
call fcn.00420d80
mov dword [ebp - 0x5c], eax
test eax, eax
jne 0x422820
mov ebx, dword [ebp - 0x50]
movzx edx, byte [ebx]
cmp dl, 0x24
je 0x42310f
mov dword [ebp - 0x5c], esi
mov esi, edx
mov dword [ebp - 0x64], edi
jmp 0x422567
movzx esi, byte [ebx + 1]
add ebx, 1
mov eax, esi
mov dword [esp], 0x4c708e
movsx edi, al
mov dword [esp + 4], edi
call sub.msvcrt.dll_strchr
test eax, eax
jne 0x422560
mov edx, esi
mov ecx, edi
mov esi, dword [ebp - 0x5c]
mov edi, dword [ebp - 0x64]
cmp dl, 0x2a
je 0x422950
sub ecx, 0x30
cmp ecx, 9
ja 0x4225b1
lea esi, [esi]
nop
movsx eax, byte [ebx + 1]
add ebx, 1
mov edx, eax
sub eax, 0x30
cmp eax, 9
jbe 0x4225a0
cmp dl, 0x2e
je 0x422960
lea eax, [ebp - 0x50]
mov dword [ebp - 0x50], ebx
call fcn.00420760
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 0x4225f4
sub eax, 0x4c7035
cmp eax, 7
ja 0x42310f
cmp dl, 0x25
jne 0x422510
lea esi, [ebx + 1]
mov dword [ebp - 0x50], esi
cmp byte [ebx], 0
jne 0x422520
lea esi, [esi]
mov ecx, dword [ebp - 0x60]
lea eax, [ecx*4 + 0xf]
shr eax, 4
shl eax, 4
call fcn.00426140
sub esp, eax
lea eax, [esp + 0xc]
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x74], eax
test ecx, ecx
je 0x4229ad
lea edx, [ecx + ecx]
mov dword [ebp - 0x7c], esp
lea eax, [edx + 0xf]
shr eax, 4
shl eax, 4
call fcn.00426140
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 0x422668
cmp byte [ebx], 0x25
lea edi, [ebx + 1]
je 0x422698
lea esi, [esi]
mov eax, ebx
mov ebx, edi
mov dword [ebp - 0x50], ebx
cmp byte [eax], 0
je 0x422998
cmp byte [ebx], 0x25
lea edi, [ebx + 1]
jne 0x422680
lea eax, [ebp - 0x50]
mov dword [ebp - 0x50], edi
call fcn.00420d80
mov dword [ebp - 0x5c], eax
test eax, eax
jle 0x422bd0
mov eax, dword [ebp - 0x50]
lea esi, [eax + 1]
mov dword [ebp - 0x50], esi
jmp 0x4226c3
add esi, 1
movsx eax, byte [esi]
mov dword [esp], 0x4c708e
mov dword [esp + 4], eax
call sub.msvcrt.dll_strchr
test eax, eax
jne 0x4226c0
mov dword [ebp - 0x50], esi
movzx edx, byte [esi]
cmp dl, 0x2a
je 0x42311a
movsx eax, dl
lea ecx, [esi + 1]
sub eax, 0x30
cmp eax, 9
ja 0x422715
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 0x422700
mov dword [ebp - 0x84], 0
cmp dl, 0x2e
je 0x423148
mov dword [ebp - 0x88], 0
lea eax, [ebp - 0x50]
call fcn.00420760
mov esi, eax
cmp eax, 1
je 0x4231c1
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 0x422b20
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 0x422b20
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 0x422b20
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 0x42325c
mov eax, edi
mov byte [esi], cl
mov byte [esi + 1], al
mov eax, dword [ebp - 0x84]
test eax, eax
jle 0x4227ef
mov ecx, dword [ebp - 0x80]
lea eax, [ecx + eax*2 - 2]
cmp word [eax], 0
jne 0x4227ef
mov edi, 0x64
mov word [eax], di
mov eax, dword [ebp - 0x88]
test eax, eax
jle 0x42280e
mov ecx, dword [ebp - 0x80]
lea eax, [ecx + eax*2 - 2]
cmp word [eax], 0
jne 0x42280e
mov esi, 0x64
mov word [eax], si
lea edi, [edx + 1]
mov ebx, edx
jmp 0x422680
mov eax, dword [ebp - 0x50]
lea ebx, [eax + 1]
mov dword [ebp - 0x50], ebx
jmp 0x422833
add ebx, 1
movsx eax, byte [ebx]
mov dword [esp], 0x4c708e
mov dword [esp + 4], eax
call sub.msvcrt.dll_strchr
test eax, eax
jne 0x422830
mov dword [ebp - 0x50], ebx
movzx ecx, byte [ebx]
cmp cl, 0x2a
je 0x422918
movsx edx, cl
lea eax, [ebx + 1]
sub edx, 0x30
cmp edx, 9
ja 0x422885
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 0x422870
cmp cl, 0x2e
jne 0x4228c3
lea eax, [ebx + 1]
mov dword [ebp - 0x50], eax
movsx eax, byte [ebx + 1]
cmp al, 0x2a
je 0x422ab0
sub eax, 0x30
add ebx, 2
cmp eax, 9
ja 0x4228c3
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 0x4228b0
lea eax, [ebp - 0x50]
call fcn.00420760
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 0x4225f4
sub eax, 0x4c7035
cmp eax, 7
jbe 0x4225f4
mov eax, dword [ebp - 0x5c]
cmp dword [ebp - 0x60], eax
jge 0x4225fd
mov dword [ebp - 0x60], eax
lea esi, [ebx + 1]
jmp 0x422600
add ebx, 1
lea eax, [ebp - 0x50]
mov dword [ebp - 0x50], ebx
call fcn.00420d80
test eax, eax
je 0x42310f
cmp dword [ebp - 0x5c], eax
jge 0x422936
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 0x422885
movzx edx, byte [ebx + 1]
add ebx, 1
cmp dl, 0x2e
jne 0x4225ba
movsx eax, byte [ebx + 1]
cmp al, 0x2a
je 0x422ae4
sub eax, 0x30
add ebx, 1
cmp eax, 9
ja 0x4225ba
lea esi, [esi]
nop
movsx eax, byte [ebx + 1]
add ebx, 1
sub eax, 0x30
cmp eax, 9
jbe 0x422980
jmp 0x4225ba
mov edx, dword [ebp - 0x70]
mov eax, dword [ebp - 0x78]
nop
cmp word [eax], 0
jne 0x422b38
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 0x422a71
mov dword [ebp - 0x70], edi
mov edi, dword [ebp + 0x18]
jmp 0x4229f0
lea edx, [ebp - 0x48]
call fcn.00420a00
mov eax, dword [ebp + 0x14]
lea esi, [eax + 1]
mov dword [ebp + 0x14], esi
movsx eax, byte [eax]
test eax, eax
je 0x422a58
cmp eax, 0x25
jne 0x4229d8
mov ebx, dword [ebp - 0x60]
test ebx, ebx
jne 0x422a90
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 0x422cb9
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.0x422a4e.1
movzx edx, dl
jmp dword [edx*4 + 0x4c7098]
mov eax, dword [ebp - 0x60]
mov edi, dword [ebp - 0x70]
test eax, eax
je 0x422a71
lea esi, [esi]
mov eax, edi
sub edi, 1
test eax, eax
jg 0x422a68
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call fcn.0042ab90
mov eax, dword [ebp - 0x30]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
lea eax, [ebp + 0x14]
call fcn.00420e00
test eax, eax
jle 0x422a00
mov ecx, dword [ebp - 0x74]
mov edi, dword [ecx + eax*4 - 4]
jmp 0x422a00
add ebx, 2
lea eax, [ebp - 0x50]
mov dword [ebp - 0x50], ebx
call fcn.00420d80
test eax, eax
je 0x42310f
cmp dword [ebp - 0x5c], eax
jl 0x422ad8
add dword [ebp - 0x50], 1
jmp 0x4228c3
add dword [ebp - 0x50], 1
mov dword [ebp - 0x5c], eax
jmp 0x4228c3
add ebx, 2
jmp 0x4225ba
add esi, 2
lea eax, [ebp - 0x50]
mov dword [ebp - 0x50], esi
call fcn.00420d80
mov dword [ebp - 0x88], eax
test eax, eax
jne 0x423253
lea eax, [ebp - 0x50]
call fcn.00420760
mov edx, dword [ebp - 0x50]
movzx eax, byte [edx]
mov byte [ebp - 0x6c], al
lea esi, [esi]
cmp byte [ebp - 0x6c], 0x25
jne 0x422680
lea edi, [edx + 1]
mov ebx, edx
jmp 0x422680
add eax, 2
cmp edx, eax
jne 0x4229a0
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 0x422b77
cmp bl, 3
je 0x422b6a
cmp byte [edx], 3
je 0x422ba0
add ecx, 4
add eax, 4
add edx, 2
cmp esi, eax
je 0x422bad
movzx ebx, byte [edx - 1]
mov dword [eax], ecx
cmp bl, 1
jne 0x422b60
movzx ebx, byte [edx]
cmp ebx, 0x4c
je 0x422c51
test byte [0x50ac0d], 1
je 0x422ba0
cmp ebx, 2
je 0x422c51
add eax, 4
add ecx, 8
add edx, 2
cmp esi, eax
jne 0x422b77
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 0x4229cd
jmp 0x422a68
mov dword [ebp - 0x5c], ebx
mov esi, dword [ebp - 0x50]
mov dword [ebp - 0x6c], edi
jmp 0x422be3
add esi, 1
movsx edi, byte [esi]
mov dword [esp], 0x4c708e
mov dword [esp + 4], edi
call sub.msvcrt.dll_strchr
test eax, eax
jne 0x422be0
mov edx, edi
mov ecx, edi
mov ebx, dword [ebp - 0x5c]
mov edi, dword [ebp - 0x6c]
cmp dl, 0x2a
je 0x423188
sub ecx, 0x30
cmp ecx, 9
ja 0x422c29
lea esi, [esi]
movsx eax, byte [esi + 1]
add esi, 1
mov edx, eax
sub eax, 0x30
cmp eax, 9
jbe 0x422c18
cmp dl, 0x2e
je 0x4231f0
lea eax, [ebp - 0x50]
mov dword [ebp - 0x50], esi
call fcn.00420760
mov eax, dword [ebp - 0x50]
cmp byte [eax], 0x25
jne 0x422680
lea ebx, [eax + 1]
jmp 0x422684
add ecx, 0xc
jmp 0x422b6d
mov ecx, dword [ebp - 0x5c]
cmp ecx, 4
je 0x422e14
lea edx, [ebx - 0x30]
cmp edx, 9
ja 0x422e14
test ecx, ecx
jne 0x4231c8
mov dword [ebp - 0x5c], 1
mov edx, dword [ebp - 0x6c]
mov ecx, eax
test edx, edx
je 0x422cb0
mov edx, dword [edx]
sub ebx, 0x30
test edx, edx
jle 0x422c9f
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 0x422a34
mov eax, ecx
jmp 0x4229e3
lea eax, [ebp + 0x14]
mov dword [ebp + 0x14], ecx
call fcn.00420760
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x64], eax
cmp ebx, 0x6c
je 0x4232ce
mov dword [ebp - 0x5c], 4
jmp 0x422cb0
cmp dword [ebp - 0x64], 3
je 0x423320
cmp dword [ebp - 0x64], 2
mov eax, dword [edi]
lea edx, [edi + 4]
je 0x422d0b
cmp dword [ebp - 0x64], 1
je 0x4232a0
cmp dword [ebp - 0x64], 4
jne 0x422d0b
movzx eax, al
mov dword [ebp - 0x50], eax
mov edi, edx
mov dword [ebp - 0x4c], 0
cmp ebx, 0x75
je 0x422d7e
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.00422070
mov eax, dword [ebp + 0x14]
jmp 0x4229e3
or dword [ebp - 0x44], 0x80
cmp dword [ebp - 0x64], 3
je 0x4232f0
mov ecx, dword [edi]
add edi, 4
mov eax, ecx
cdq
cmp dword [ebp - 0x64], 2
je 0x42321f
cmp dword [ebp - 0x64], 1
je 0x4232b4
cmp dword [ebp - 0x64], 4
jne 0x42321f
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.00420fa0
mov eax, dword [ebp + 0x14]
jmp 0x4229e3
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x3c], 0xffffffff
mov edx, edi
lea eax, [edi + 4]
sub ecx, 2
cmp ecx, 1
jbe 0x4230db
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.00420b90
mov eax, dword [ebp + 0x14]
jmp 0x4229e3
mov ecx, dword [ebp - 0x64]
mov edx, edi
lea eax, [edi + 4]
sub ecx, 2
cmp ecx, 1
jbe 0x423197
mov ebx, dword [edx]
mov edi, eax
test ebx, ebx
je 0x423311
mov dword [esp], ebx
call sub.msvcrt.dll_strlen
mov edx, eax
mov eax, ebx
lea ecx, [ebp - 0x48]
call fcn.00420b90
mov eax, dword [ebp + 0x14]
jmp 0x4229e3
cmp dword [ebp - 0x5c], 4
jne 0x4231c8
mov dword [ebp + 0x14], esi
mov eax, 0x25
lea edx, [ebp - 0x48]
call fcn.00420a00
mov eax, dword [ebp + 0x14]
jmp 0x4229e3
mov edx, dword [ebp - 0x5c]
test edx, edx
jne 0x422e0a
or dword [ebp - 0x44], 0x200
mov ecx, eax
jmp 0x422cb0
mov eax, dword [ebp - 0x44]
test al, 4
je 0x422f89
fld xword [edi]
lea eax, [ebp - 0x48]
lea ebx, [edi + 0xc]
mov edi, ebx
fstp xword [esp]
call fcn.00421ac0
mov eax, dword [ebp + 0x14]
jmp 0x4229e3
mov eax, dword [ebp - 0x44]
or eax, 0x20
mov dword [ebp - 0x44], eax
test al, 4
je 0x422ed1
fld xword [edi]
lea eax, [ebp - 0x48]
lea ebx, [edi + 0xc]
mov edi, ebx
fstp xword [esp]
call fcn.00421860
mov eax, dword [ebp + 0x14]
jmp 0x4229e3
mov eax, dword [ebp - 0x44]
or eax, 0x20
mov dword [ebp - 0x44], eax
test al, 4
je 0x422f17
fld xword [edi]
lea eax, [ebp - 0x48]
lea ebx, [edi + 0xc]
mov edi, ebx
fstp xword [esp]
call fcn.004217b0
mov eax, dword [ebp + 0x14]
jmp 0x4229e3
mov ecx, eax
mov eax, dword [ebp - 0x5c]
test eax, eax
jne 0x422cb0
or dword [ebp - 0x44], 1
jmp 0x422cb0
mov eax, dword [ebp - 0x44]
test al, 4
jne 0x422e73
fld qword [edi]
lea eax, [ebp - 0x48]
lea ebx, [edi + 8]
mov edi, ebx
fstp xword [esp]
call fcn.00421860
mov eax, dword [ebp + 0x14]
jmp 0x4229e3
mov eax, dword [ebp - 0x44]
test al, 4
je 0x4230b7
fld xword [edi]
lea eax, [ebp - 0x48]
lea ebx, [edi + 0xc]
mov edi, ebx
fstp xword [esp]
call fcn.00421930
mov eax, dword [ebp + 0x14]
jmp 0x4229e3
mov eax, dword [ebp - 0x44]
test al, 4
jne 0x422e9a
fld qword [edi]
lea eax, [ebp - 0x48]
lea ebx, [edi + 8]
mov edi, ebx
fstp xword [esp]
call fcn.004217b0
mov eax, dword [ebp + 0x14]
jmp 0x4229e3
cmp dword [ebp - 0x5c], 1
jbe 0x42322a
mov dword [ebp - 0x5c], 4
mov ecx, eax
jmp 0x422cb0
mov ebx, dword [ebp - 0x5c]
mov ecx, eax
test ebx, ebx
jne 0x422cb0
or dword [ebp - 0x44], 0x40
jmp 0x422cb0
mov ecx, eax
mov eax, dword [ebp - 0x5c]
test eax, eax
jne 0x422cb0
or dword [ebp - 0x44], 0x800
jmp 0x422cb0
mov eax, dword [ebp - 0x44]
or eax, 0x20
mov dword [ebp - 0x44], eax
test al, 4
jne 0x422e4c
fld qword [edi]
lea eax, [ebp - 0x48]
lea ebx, [edi + 8]
mov edi, ebx
fstp xword [esp]
call fcn.00421ac0
mov eax, dword [ebp + 0x14]
jmp 0x4229e3
mov ecx, eax
mov eax, dword [ebp - 0x5c]
test eax, eax
jne 0x422cb0
or dword [ebp - 0x44], 0x100
jmp 0x422cb0
mov ecx, eax
mov eax, dword [ebp - 0x5c]
test eax, eax
jne 0x422cb0
or dword [ebp - 0x44], 0x400
jmp 0x422cb0
mov ebx, dword [ebp - 0x6c]
test ebx, ebx
je 0x422f3b
test byte [ebp - 0x5c], 5
jne 0x423245
mov edx, dword [ebp - 0x60]
test edx, edx
jne 0x42335d
mov eax, edi
mov ecx, dword [ebp - 0x6c]
add edi, 4
mov eax, dword [eax]
mov dword [ecx], eax
test eax, eax
js 0x423347
mov dword [ebp - 0x6c], 0
mov ecx, dword [ebp + 0x14]
jmp 0x422cb0
cmp dword [ebp - 0x64], 4
mov ecx, dword [ebp - 0x30]
lea edx, [edi + 4]
je 0x423303
cmp dword [ebp - 0x64], 1
mov ebx, dword [edi]
je 0x423333
cmp dword [ebp - 0x64], 2
je 0x4232c5
cmp dword [ebp - 0x64], 3
mov edi, edx
mov dword [ebx], ecx
jne 0x4229e3
mov edi, ecx
sar edi, 0x1f
mov dword [ebx + 4], edi
mov edi, edx
jmp 0x4229e3
mov ecx, dword [ebp - 0x5c]
test ecx, ecx
jne 0x423073
mov eax, dword [ebp - 0x68]
cmp dword [ebp - 0x44], eax
je 0x423286
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.00422070
mov eax, dword [ebp + 0x14]
jmp 0x4229e3
mov eax, dword [ebp - 0x44]
or eax, 0x20
mov dword [ebp - 0x44], eax
test al, 4
jne 0x422ef6
fld qword [edi]
lea eax, [ebp - 0x48]
lea ebx, [edi + 8]
mov edi, ebx
fstp xword [esp]
call fcn.00421930
mov eax, dword [ebp + 0x14]
jmp 0x4229e3
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.00420a60
mov eax, dword [ebp + 0x14]
jmp 0x4229e3
mov ecx, eax
or dword [ebp - 0x44], 4
mov dword [ebp - 0x5c], 4
jmp 0x422cb0
lea eax, [ebp - 0x54]
mov dword [ebp - 0x74], eax
jmp 0x4229ad
add esi, 1
lea eax, [ebp - 0x50]
mov dword [ebp - 0x50], esi
call fcn.00420d80
mov dword [ebp - 0x84], eax
test eax, eax
jne 0x4231de
mov esi, dword [ebp - 0x50]
mov dword [ebp - 0x5c], 0
movzx edx, byte [esi]
jmp 0x42271f
lea eax, [esi + 1]
mov dword [ebp - 0x50], eax
movsx eax, byte [esi + 1]
cmp al, 0x2a
je 0x422aec
sub eax, 0x30
add esi, 2
cmp eax, 9
ja 0x422728
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 0x423170
jmp 0x422728
movzx edx, byte [esi + 1]
add esi, 1
jmp 0x422c29
lea eax, [edi + 4]
mov edx, edi
mov edi, eax
mov ebx, dword [edx]
test ebx, ebx
je 0x42333d
mov dword [esp], ebx
call sub.msvcrt.dll_wcslen
lea ecx, [ebp - 0x48]
mov edx, eax
mov eax, ebx
call fcn.00420a60
mov eax, dword [ebp + 0x14]
jmp 0x4229e3
xor esi, esi
jmp 0x422752
cmp dword [ebp - 0x5c], 2
jne 0x422c87
mov dword [ebp - 0x5c], 3
jmp 0x422c87
mov eax, dword [ebp - 0x50]
lea esi, [eax + 1]
mov dword [ebp - 0x50], esi
movzx edx, byte [eax + 1]
jmp 0x42271f
movsx eax, byte [esi + 1]
cmp al, 0x2a
je 0x423298
sub eax, 0x30
add esi, 1
cmp eax, 9
ja 0x422c32
movsx eax, byte [esi + 1]
add esi, 1
sub eax, 0x30
cmp eax, 9
jbe 0x42320b
jmp 0x422c32
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], edx
jmp 0x422d7e
mov ecx, eax
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x5c], 2
jmp 0x422cb0
mov dword [ebp - 0x6c], 0
mov ecx, eax
jmp 0x422cda
add dword [ebp - 0x50], 1
jmp 0x422732
lea eax, [ebp - 0x54]
mov dword [ebp - 0x6c], edx
mov dword [ebp - 0x5c], ecx
call fcn.00420e30
mov ebx, eax
mov eax, esi
call fcn.00420e30
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x6c]
cmp ebx, eax
jbe 0x4227d0
jmp 0x4227c9
or ah, 2
mov dword [ebp - 0x3c], 8
mov dword [ebp - 0x44], eax
jmp 0x423073
add esi, 2
jmp 0x422c32
movzx eax, ax
mov dword [ebp - 0x4c], 0
mov edi, edx
mov dword [ebp - 0x50], eax
jmp 0x422d17
movsx ecx, cx
mov dword [ebp - 0x50], ecx
sar ecx, 0x1f
mov dword [ebp - 0x4c], ecx
jmp 0x422d7e
mov dword [ebx], ecx
mov edi, edx
jmp 0x4229e3
test byte [0x50ac0d], 1
je 0x422cda
cmp eax, 2
jne 0x422cda
mov dword [ebp - 0x64], 2
jmp 0x4230ff
mov eax, dword [edi]
mov edx, dword [edi + 4]
add edi, 8
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], edx
jmp 0x422d7e
mov eax, dword [edi]
mov edi, edx
mov byte [eax], cl
mov eax, dword [ebp + 0x14]
jmp 0x4229e3
mov edx, 6
mov ebx, str._null_
jmp 0x422df8
mov eax, dword [edi]
mov edx, dword [edi + 4]
add edi, 8
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], edx
jmp 0x422d17
mov word [ebx], cx
mov edi, edx
jmp 0x4229e3
mov ebx, 0x4c7062
jmp 0x4231a5
mov eax, dword [ebp - 0x5c]
test eax, eax
jne 0x42337d
or dword [ebp - 0x44], 0x400
neg dword [ebp - 0x40]
jmp 0x423009
lea eax, [ebp + 0x14]
call fcn.00420e00
test eax, eax
jle 0x422ff5
mov ecx, dword [ebp - 0x74]
mov eax, dword [ecx + eax*4 - 4]
mov eax, dword [eax]
mov dword [ebx], eax
jmp 0x423001
mov dword [ebp - 0x3c], 0xffffffff
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x6c], 0
jmp 0x422cb0