Function at 0x478fb0
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 0x479018
movsx edx, byte [eax]
mov eax, 2
sub edx, 0x30
cmp edx, 2
jbe 0x479028
mov edx, dword [0x53848c]
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 0x479060
mov ebx, esi
mov esi, edi
mov dword [ebp - 0x50], esi
cmp byte [ebx], 0
je 0x479150
cmp byte [esi], 0x25
lea edi, [esi + 1]
jne 0x479050
lea eax, [ebp - 0x50]
mov dword [ebp - 0x50], edi
call fcn.004778c0
mov dword [ebp - 0x5c], eax
test eax, eax
jne 0x479360
mov ebx, dword [ebp - 0x50]
movzx edx, byte [ebx]
cmp dl, 0x24
je 0x479c4f
mov dword [ebp - 0x5c], esi
mov esi, edx
mov dword [ebp - 0x64], edi
jmp 0x4790a7
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 0x4790a0
mov edx, esi
mov ecx, edi
mov esi, dword [ebp - 0x5c]
mov edi, dword [ebp - 0x64]
cmp dl, 0x2a
je 0x479490
sub ecx, 0x30
cmp ecx, 9
ja 0x4790f1
lea esi, [esi]
nop
movsx eax, byte [ebx + 1]
add ebx, 1
mov edx, eax
sub eax, 0x30
cmp eax, 9
jbe 0x4790e0
cmp dl, 0x2e
je 0x4794a0
lea eax, [ebp - 0x50]
mov dword [ebp - 0x50], ebx
call fcn.004772a0
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 0x479134
sub eax, 0x52ae95
cmp eax, 7
ja 0x479c4f
cmp dl, 0x25
jne 0x479050
lea esi, [ebx + 1]
mov dword [ebp - 0x50], esi
cmp byte [ebx], 0
jne 0x479060
lea esi, [esi]
mov ecx, dword [ebp - 0x60]
lea eax, [ecx*4 + 0xf]
shr eax, 4
shl eax, 4
call fcn.00465630
sub esp, eax
lea eax, [esp + 0xc]
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x74], eax
test ecx, ecx
je 0x4794ed
lea edx, [ecx + ecx]
mov dword [ebp - 0x7c], esp
lea eax, [edx + 0xf]
shr eax, 4
shl eax, 4
call fcn.00465630
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 0x4791a8
cmp byte [ebx], 0x25
lea edi, [ebx + 1]
je 0x4791d8
lea esi, [esi]
mov eax, ebx
mov ebx, edi
mov dword [ebp - 0x50], ebx
cmp byte [eax], 0
je 0x4794d8
cmp byte [ebx], 0x25
lea edi, [ebx + 1]
jne 0x4791c0
lea eax, [ebp - 0x50]
mov dword [ebp - 0x50], edi
call fcn.004778c0
mov dword [ebp - 0x5c], eax
test eax, eax
jle 0x479710
mov eax, dword [ebp - 0x50]
lea esi, [eax + 1]
mov dword [ebp - 0x50], esi
jmp 0x479203
add esi, 1
movsx eax, byte [esi]
mov dword [esp], str.__0
mov dword [esp + 4], eax
call sym._strchr
test eax, eax
jne 0x479200
mov dword [ebp - 0x50], esi
movzx edx, byte [esi]
cmp dl, 0x2a
je 0x479c5a
movsx eax, dl
lea ecx, [esi + 1]
sub eax, 0x30
cmp eax, 9
ja 0x479255
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 0x479240
mov dword [ebp - 0x84], 0
cmp dl, 0x2e
je 0x479c88
mov dword [ebp - 0x88], 0
lea eax, [ebp - 0x50]
call fcn.004772a0
mov esi, eax
cmp eax, 1
je 0x479d01
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 0x479660
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 0x479660
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 0x479660
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 0x479d9c
mov eax, edi
mov byte [esi], cl
mov byte [esi + 1], al
mov eax, dword [ebp - 0x84]
test eax, eax
jle 0x47932f
mov ecx, dword [ebp - 0x80]
lea eax, [ecx + eax*2 - 2]
cmp word [eax], 0
jne 0x47932f
mov edi, 0x64
mov word [eax], di
mov eax, dword [ebp - 0x88]
test eax, eax
jle 0x47934e
mov ecx, dword [ebp - 0x80]
lea eax, [ecx + eax*2 - 2]
cmp word [eax], 0
jne 0x47934e
mov esi, 0x64
mov word [eax], si
lea edi, [edx + 1]
mov ebx, edx
jmp 0x4791c0
mov eax, dword [ebp - 0x50]
lea ebx, [eax + 1]
mov dword [ebp - 0x50], ebx
jmp 0x479373
add ebx, 1
movsx eax, byte [ebx]
mov dword [esp], str.__0
mov dword [esp + 4], eax
call sym._strchr
test eax, eax
jne 0x479370
mov dword [ebp - 0x50], ebx
movzx ecx, byte [ebx]
cmp cl, 0x2a
je 0x479458
movsx edx, cl
lea eax, [ebx + 1]
sub edx, 0x30
cmp edx, 9
ja 0x4793c5
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 0x4793b0
cmp cl, 0x2e
jne 0x479403
lea eax, [ebx + 1]
mov dword [ebp - 0x50], eax
movsx eax, byte [ebx + 1]
cmp al, 0x2a
je 0x4795f0
sub eax, 0x30
add ebx, 2
cmp eax, 9
ja 0x479403
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 0x4793f0
lea eax, [ebp - 0x50]
call fcn.004772a0
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 0x479134
sub eax, 0x52ae95
cmp eax, 7
jbe 0x479134
mov eax, dword [ebp - 0x5c]
cmp dword [ebp - 0x60], eax
jge 0x47913d
mov dword [ebp - 0x60], eax
lea esi, [ebx + 1]
jmp 0x479140
add ebx, 1
lea eax, [ebp - 0x50]
mov dword [ebp - 0x50], ebx
call fcn.004778c0
test eax, eax
je 0x479c4f
cmp dword [ebp - 0x5c], eax
jge 0x479476
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 0x4793c5
movzx edx, byte [ebx + 1]
add ebx, 1
cmp dl, 0x2e
jne 0x4790fa
movsx eax, byte [ebx + 1]
cmp al, 0x2a
je 0x479624
sub eax, 0x30
add ebx, 1
cmp eax, 9
ja 0x4790fa
lea esi, [esi]
nop
movsx eax, byte [ebx + 1]
add ebx, 1
sub eax, 0x30
cmp eax, 9
jbe 0x4794c0
jmp 0x4790fa
mov edx, dword [ebp - 0x70]
mov eax, dword [ebp - 0x78]
nop
cmp word [eax], 0
jne 0x479678
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 0x4795b1
mov dword [ebp - 0x70], edi
mov edi, dword [ebp + 0x18]
jmp 0x479530
lea edx, [ebp - 0x48]
call fcn.00477460
mov eax, dword [ebp + 0x14]
lea esi, [eax + 1]
mov dword [ebp + 0x14], esi
movsx eax, byte [eax]
test eax, eax
je 0x479598
cmp eax, 0x25
jne 0x479518
mov ebx, dword [ebp - 0x60]
test ebx, ebx
jne 0x4795d0
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 0x4797f9
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.0x47958e.1
movzx edx, dl
jmp dword [edx*4 + 0x52aef8]
mov eax, dword [ebp - 0x60]
mov edi, dword [ebp - 0x70]
test eax, eax
je 0x4795b1
lea esi, [esi]
mov eax, edi
sub edi, 1
test eax, eax
jg 0x4795a8
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.00477940
test eax, eax
jle 0x479540
mov ecx, dword [ebp - 0x74]
mov edi, dword [ecx + eax*4 - 4]
jmp 0x479540
add ebx, 2
lea eax, [ebp - 0x50]
mov dword [ebp - 0x50], ebx
call fcn.004778c0
test eax, eax
je 0x479c4f
cmp dword [ebp - 0x5c], eax
jl 0x479618
add dword [ebp - 0x50], 1
jmp 0x479403
add dword [ebp - 0x50], 1
mov dword [ebp - 0x5c], eax
jmp 0x479403
add ebx, 2
jmp 0x4790fa
add esi, 2
lea eax, [ebp - 0x50]
mov dword [ebp - 0x50], esi
call fcn.004778c0
mov dword [ebp - 0x88], eax
test eax, eax
jne 0x479d93
lea eax, [ebp - 0x50]
call fcn.004772a0
mov edx, dword [ebp - 0x50]
movzx eax, byte [edx]
mov byte [ebp - 0x6c], al
lea esi, [esi]
cmp byte [ebp - 0x6c], 0x25
jne 0x4791c0
lea edi, [edx + 1]
mov ebx, edx
jmp 0x4791c0
add eax, 2
cmp edx, eax
jne 0x4794e0
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 0x4796b7
cmp bl, 3
je 0x4796aa
cmp byte [edx], 3
je 0x4796e0
add ecx, 4
add eax, 4
add edx, 2
cmp esi, eax
je 0x4796ed
movzx ebx, byte [edx - 1]
mov dword [eax], ecx
cmp bl, 1
jne 0x4796a0
movzx ebx, byte [edx]
cmp ebx, 0x4c
je 0x479791
test byte [0x53848d], 1
je 0x4796e0
cmp ebx, 2
je 0x479791
add eax, 4
add ecx, 8
add edx, 2
cmp esi, eax
jne 0x4796b7
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 0x47950d
jmp 0x4795a8
mov dword [ebp - 0x5c], ebx
mov esi, dword [ebp - 0x50]
mov dword [ebp - 0x6c], edi
jmp 0x479723
add esi, 1
movsx edi, byte [esi]
mov dword [esp], str.__0
mov dword [esp + 4], edi
call sym._strchr
test eax, eax
jne 0x479720
mov edx, edi
mov ecx, edi
mov ebx, dword [ebp - 0x5c]
mov edi, dword [ebp - 0x6c]
cmp dl, 0x2a
je 0x479cc8
sub ecx, 0x30
cmp ecx, 9
ja 0x479769
lea esi, [esi]
movsx eax, byte [esi + 1]
add esi, 1
mov edx, eax
sub eax, 0x30
cmp eax, 9
jbe 0x479758
cmp dl, 0x2e
je 0x479d30
lea eax, [ebp - 0x50]
mov dword [ebp - 0x50], esi
call fcn.004772a0
mov eax, dword [ebp - 0x50]
cmp byte [eax], 0x25
jne 0x4791c0
lea ebx, [eax + 1]
jmp 0x4791c4
add ecx, 0xc
jmp 0x4796ad
mov ecx, dword [ebp - 0x5c]
cmp ecx, 4
je 0x479954
lea edx, [ebx - 0x30]
cmp edx, 9
ja 0x479954
test ecx, ecx
jne 0x479d08
mov dword [ebp - 0x5c], 1
mov edx, dword [ebp - 0x6c]
mov ecx, eax
test edx, edx
je 0x4797f0
mov edx, dword [edx]
sub ebx, 0x30
test edx, edx
jle 0x4797df
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 0x479574
mov eax, ecx
jmp 0x479523
lea eax, [ebp + 0x14]
mov dword [ebp + 0x14], ecx
call fcn.004772a0
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x64], eax
cmp ebx, 0x6c
je 0x479e0e
mov dword [ebp - 0x5c], 4
jmp 0x4797f0
cmp dword [ebp - 0x64], 3
je 0x479e60
cmp dword [ebp - 0x64], 2
mov eax, dword [edi]
lea edx, [edi + 4]
je 0x47984b
cmp dword [ebp - 0x64], 1
je 0x479de0
cmp dword [ebp - 0x64], 4
jne 0x47984b
movzx eax, al
mov dword [ebp - 0x50], eax
mov edi, edx
mov dword [ebp - 0x4c], 0
cmp ebx, 0x75
je 0x4798be
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.00478bb0
mov eax, dword [ebp + 0x14]
jmp 0x479523
or dword [ebp - 0x44], 0x80
cmp dword [ebp - 0x64], 3
je 0x479e30
mov ecx, dword [edi]
add edi, 4
mov eax, ecx
cdq
cmp dword [ebp - 0x64], 2
je 0x479d5f
cmp dword [ebp - 0x64], 1
je 0x479df4
cmp dword [ebp - 0x64], 4
jne 0x479d5f
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.00477ae0
mov eax, dword [ebp + 0x14]
jmp 0x479523
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x3c], 0xffffffff
mov edx, edi
lea eax, [edi + 4]
sub ecx, 2
cmp ecx, 1
jbe 0x479c1b
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.004775f0
mov eax, dword [ebp + 0x14]
jmp 0x479523
mov ecx, dword [ebp - 0x64]
mov edx, edi
lea eax, [edi + 4]
sub ecx, 2
cmp ecx, 1
jbe 0x479cd7
mov ebx, dword [edx]
mov edi, eax
test ebx, ebx
je 0x479e51
mov dword [esp], ebx
call sym._strlen
mov edx, eax
mov eax, ebx
lea ecx, [ebp - 0x48]
call fcn.004775f0
mov eax, dword [ebp + 0x14]
jmp 0x479523
cmp dword [ebp - 0x5c], 4
jne 0x479d08
mov dword [ebp + 0x14], esi
mov eax, 0x25
lea edx, [ebp - 0x48]
call fcn.00477460
mov eax, dword [ebp + 0x14]
jmp 0x479523
mov edx, dword [ebp - 0x5c]
test edx, edx
jne 0x47994a
or dword [ebp - 0x44], 0x200
mov ecx, eax
jmp 0x4797f0
mov eax, dword [ebp - 0x44]
test al, 4
je 0x479ac9
fld xword [edi]
lea eax, [ebp - 0x48]
lea ebx, [edi + 0xc]
mov edi, ebx
fstp xword [esp]
call fcn.00478600
mov eax, dword [ebp + 0x14]
jmp 0x479523
mov eax, dword [ebp - 0x44]
or eax, 0x20
mov dword [ebp - 0x44], eax
test al, 4
je 0x479a11
fld xword [edi]
lea eax, [ebp - 0x48]
lea ebx, [edi + 0xc]
mov edi, ebx
fstp xword [esp]
call fcn.004783a0
mov eax, dword [ebp + 0x14]
jmp 0x479523
mov eax, dword [ebp - 0x44]
or eax, 0x20
mov dword [ebp - 0x44], eax
test al, 4
je 0x479a57
fld xword [edi]
lea eax, [ebp - 0x48]
lea ebx, [edi + 0xc]
mov edi, ebx
fstp xword [esp]
call fcn.004782f0
mov eax, dword [ebp + 0x14]
jmp 0x479523
mov ecx, eax
mov eax, dword [ebp - 0x5c]
test eax, eax
jne 0x4797f0
or dword [ebp - 0x44], 1
jmp 0x4797f0
mov eax, dword [ebp - 0x44]
test al, 4
jne 0x4799b3
fld qword [edi]
lea eax, [ebp - 0x48]
lea ebx, [edi + 8]
mov edi, ebx
fstp xword [esp]
call fcn.004783a0
mov eax, dword [ebp + 0x14]
jmp 0x479523
mov eax, dword [ebp - 0x44]
test al, 4
je 0x479bf7
fld xword [edi]
lea eax, [ebp - 0x48]
lea ebx, [edi + 0xc]
mov edi, ebx
fstp xword [esp]
call fcn.00478470
mov eax, dword [ebp + 0x14]
jmp 0x479523
mov eax, dword [ebp - 0x44]
test al, 4
jne 0x4799da
fld qword [edi]
lea eax, [ebp - 0x48]
lea ebx, [edi + 8]
mov edi, ebx
fstp xword [esp]
call fcn.004782f0
mov eax, dword [ebp + 0x14]
jmp 0x479523
cmp dword [ebp - 0x5c], 1
jbe 0x479d6a
mov dword [ebp - 0x5c], 4
mov ecx, eax
jmp 0x4797f0
mov ebx, dword [ebp - 0x5c]
mov ecx, eax
test ebx, ebx
jne 0x4797f0
or dword [ebp - 0x44], 0x40
jmp 0x4797f0
mov ecx, eax
mov eax, dword [ebp - 0x5c]
test eax, eax
jne 0x4797f0
or dword [ebp - 0x44], 0x800
jmp 0x4797f0
mov eax, dword [ebp - 0x44]
or eax, 0x20
mov dword [ebp - 0x44], eax
test al, 4
jne 0x47998c
fld qword [edi]
lea eax, [ebp - 0x48]
lea ebx, [edi + 8]
mov edi, ebx
fstp xword [esp]
call fcn.00478600
mov eax, dword [ebp + 0x14]
jmp 0x479523
mov ecx, eax
mov eax, dword [ebp - 0x5c]
test eax, eax
jne 0x4797f0
or dword [ebp - 0x44], 0x100
jmp 0x4797f0
mov ecx, eax
mov eax, dword [ebp - 0x5c]
test eax, eax
jne 0x4797f0
or dword [ebp - 0x44], 0x400
jmp 0x4797f0
mov ebx, dword [ebp - 0x6c]
test ebx, ebx
je 0x479a7b
test byte [ebp - 0x5c], 5
jne 0x479d85
mov edx, dword [ebp - 0x60]
test edx, edx
jne 0x479e9d
mov eax, edi
mov ecx, dword [ebp - 0x6c]
add edi, 4
mov eax, dword [eax]
mov dword [ecx], eax
test eax, eax
js 0x479e87
mov dword [ebp - 0x6c], 0
mov ecx, dword [ebp + 0x14]
jmp 0x4797f0
cmp dword [ebp - 0x64], 4
mov ecx, dword [ebp - 0x30]
lea edx, [edi + 4]
je 0x479e43
cmp dword [ebp - 0x64], 1
mov ebx, dword [edi]
je 0x479e73
cmp dword [ebp - 0x64], 2
je 0x479e05
cmp dword [ebp - 0x64], 3
mov edi, edx
mov dword [ebx], ecx
jne 0x479523
mov edi, ecx
sar edi, 0x1f
mov dword [ebx + 4], edi
mov edi, edx
jmp 0x479523
mov ecx, dword [ebp - 0x5c]
test ecx, ecx
jne 0x479bb3
mov eax, dword [ebp - 0x68]
cmp dword [ebp - 0x44], eax
je 0x479dc6
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.00478bb0
mov eax, dword [ebp + 0x14]
jmp 0x479523
mov eax, dword [ebp - 0x44]
or eax, 0x20
mov dword [ebp - 0x44], eax
test al, 4
jne 0x479a36
fld qword [edi]
lea eax, [ebp - 0x48]
lea ebx, [edi + 8]
mov edi, ebx
fstp xword [esp]
call fcn.00478470
mov eax, dword [ebp + 0x14]
jmp 0x479523
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.004774c0
mov eax, dword [ebp + 0x14]
jmp 0x479523
mov ecx, eax
or dword [ebp - 0x44], 4
mov dword [ebp - 0x5c], 4
jmp 0x4797f0
lea eax, [ebp - 0x54]
mov dword [ebp - 0x74], eax
jmp 0x4794ed
add esi, 1
lea eax, [ebp - 0x50]
mov dword [ebp - 0x50], esi
call fcn.004778c0
mov dword [ebp - 0x84], eax
test eax, eax
jne 0x479d1e
mov esi, dword [ebp - 0x50]
mov dword [ebp - 0x5c], 0
movzx edx, byte [esi]
jmp 0x47925f
lea eax, [esi + 1]
mov dword [ebp - 0x50], eax
movsx eax, byte [esi + 1]
cmp al, 0x2a
je 0x47962c
sub eax, 0x30
add esi, 2
cmp eax, 9
ja 0x479268
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 0x479cb0
jmp 0x479268
movzx edx, byte [esi + 1]
add esi, 1
jmp 0x479769
lea eax, [edi + 4]
mov edx, edi
mov edi, eax
mov ebx, dword [edx]
test ebx, ebx
je 0x479e7d
mov dword [esp], ebx
call sym._wcslen
lea ecx, [ebp - 0x48]
mov edx, eax
mov eax, ebx
call fcn.004774c0
mov eax, dword [ebp + 0x14]
jmp 0x479523
xor esi, esi
jmp 0x479292
cmp dword [ebp - 0x5c], 2
jne 0x4797c7
mov dword [ebp - 0x5c], 3
jmp 0x4797c7
mov eax, dword [ebp - 0x50]
lea esi, [eax + 1]
mov dword [ebp - 0x50], esi
movzx edx, byte [eax + 1]
jmp 0x47925f
movsx eax, byte [esi + 1]
cmp al, 0x2a
je 0x479dd8
sub eax, 0x30
add esi, 1
cmp eax, 9
ja 0x479772
movsx eax, byte [esi + 1]
add esi, 1
sub eax, 0x30
cmp eax, 9
jbe 0x479d4b
jmp 0x479772
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], edx
jmp 0x4798be
mov ecx, eax
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x5c], 2
jmp 0x4797f0
mov dword [ebp - 0x6c], 0
mov ecx, eax
jmp 0x47981a
add dword [ebp - 0x50], 1
jmp 0x479272
lea eax, [ebp - 0x54]
mov dword [ebp - 0x6c], edx
mov dword [ebp - 0x5c], ecx
call fcn.00477970
mov ebx, eax
mov eax, esi
call fcn.00477970
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x6c]
cmp ebx, eax
jbe 0x479310
jmp 0x479309
or ah, 2
mov dword [ebp - 0x3c], 8
mov dword [ebp - 0x44], eax
jmp 0x479bb3
add esi, 2
jmp 0x479772
movzx eax, ax
mov dword [ebp - 0x4c], 0
mov edi, edx
mov dword [ebp - 0x50], eax
jmp 0x479857
movsx ecx, cx
mov dword [ebp - 0x50], ecx
sar ecx, 0x1f
mov dword [ebp - 0x4c], ecx
jmp 0x4798be
mov dword [ebx], ecx
mov edi, edx
jmp 0x479523
test byte [0x53848d], 1
je 0x47981a
cmp eax, 2
jne 0x47981a
mov dword [ebp - 0x64], 2
jmp 0x479c3f
mov eax, dword [edi]
mov edx, dword [edi + 4]
add edi, 8
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], edx
jmp 0x4798be
mov eax, dword [edi]
mov edi, edx
mov byte [eax], cl
mov eax, dword [ebp + 0x14]
jmp 0x479523
mov edx, 6
mov ebx, str._null_
jmp 0x479938
mov eax, dword [edi]
mov edx, dword [edi + 4]
add edi, 8
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], edx
jmp 0x479857
mov word [ebx], cx
mov edi, edx
jmp 0x479523
mov ebx, 0x52aec2
jmp 0x479ce5
mov eax, dword [ebp - 0x5c]
test eax, eax
jne 0x479ebd
or dword [ebp - 0x44], 0x400
neg dword [ebp - 0x40]
jmp 0x479b49
lea eax, [ebp + 0x14]
call fcn.00477940
test eax, eax
jle 0x479b35
mov ecx, dword [ebp - 0x74]
mov eax, dword [ecx + eax*4 - 4]
mov eax, dword [eax]
mov dword [ebx], eax
jmp 0x479b41
mov dword [ebp - 0x3c], 0xffffffff
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x6c], 0
jmp 0x4797f0