Function at 0x476070
Capabilities:
Create directory
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d797d
mov eax, dword fs:[0]
push eax
sub esp, 0xc14
mov eax, dword [0x508068]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
push 0xb8
lea eax, [ebp - 0xbe8]
push 0
push eax
call fcn.004af970
add esp, 4
lea ecx, [ebp - 0xbe8]
push 0x21
push esi
call fcn.004460e0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0xbe8]
mov eax, dword [eax + 4]
test byte [ebp + eax - 0xbdc], 6
je 0x476100
cmp byte [0x5102e0], 0
je 0x476126
push 0
push 0x4f92d0
push esi
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
xor bl, bl
jmp 0x477448
cmp dword [ebp - 0xb8c], 0
jne 0x47612d
cmp byte [0x5102e0], 0
je 0x476126
push 0
push 0x4f92a4
push 0x4f92b4
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
xor bl, bl
jmp 0x477448
lea ecx, [ebp - 0x8e0]
call fcn.00413590
lea eax, [ebp - 0x219]
mov byte [ebp - 4], 1
push eax
lea edx, [ebp - 0x8e0]
mov byte [ebp - 0x219], 0
lea ecx, [ebp - 0xbe8]
call fcn.004036c0
add esp, 4
lea ecx, [ebp - 0xbe8]
cmp byte [ebp - 0x219], 0
jne 0x4773cd
call fcn.00446090
lea edx, [ebp - 0x5ac]
mov dword [ebp - 0x220], 0
lea ecx, [ebp - 0x220]
call fcn.00472f00
mov esi, dword [ebp - 0x220]
cmp esi, dword [0x5108a8]
je 0x4761fb
push esi
call fcn.00475fb0
add esp, 4
lea eax, [ebp - 0x808]
cmp dword [0x5103fc], 0
push 0
jne 0x4761da
cmp dword [ebp - 0x7f4], 8
cmovae eax, dword [ebp - 0x808]
push eax
push 0x4f9330
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x47743b
cmp dword [ebp - 0x7f4], 8
cmovae eax, dword [ebp - 0x808]
push eax
push 0x4f93a8
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x47743b
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x476200
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x898]
call fcn.00407d10
lea eax, [ebp - 0xbec]
mov dword [ebp - 0xbec], 0xffffffff
push eax
lea ecx, [ebp - 0x790]
call fcn.004458c0
lea eax, [ebp - 0xbec]
mov dword [ebp - 0xbec], 0xffffffff
push eax
lea ecx, [ebp - 0x69c]
call fcn.004458c0
push 0x4f93a4
mov ecx, 0x510384
call fcn.00409da0
test al, al
je 0x476333
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0x4f9438
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
push 0x104
push str.Downloads
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.004b68c3
push 0x250
lea eax, [ebp - 0xb30]
push 0
push eax
call fcn.004af970
add esp, 0x1c
lea eax, [ebp - 0xb30]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x4762dd
push 0
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x264]
call fcn.004068a0
push 0x4f9454
mov edx, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x27c]
call fcn.00408c90
add esp, 4
lea ecx, [ebp - 0x7f0]
push eax
call fcn.00406820
lea ecx, [ebp - 0x27c]
call fcn.00407cb0
lea ecx, [ebp - 0x264]
call fcn.00407cb0
jmp 0x476343
push 0x510384
lea ecx, [ebp - 0x7f0]
call fcn.004067e0
mov eax, dword [0x5102b4]
mov edi, dword [eax]
mov dword [ebp - 0xc1c], edi
cmp edi, eax
je 0x476394
mov dword [ebp - 0xc1c], edi
nop word [eax + eax]
lea ecx, [edi + 0x38e]
mov ebx, 0x10
lea edx, [ebp - 0x55a]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x476384
add ecx, 4
add edx, 4
sub ebx, 4
jae 0x476371
jmp 0x47638e
mov edi, dword [edi]
cmp edi, dword [0x5102b4]
jne 0x476360
mov dword [ebp - 0xc1c], edi
movaps xmm0, xmmword [0x4fd070]
mov byte [ebp - 0x248], 0
movups xmmword [ebp - 0x244], xmm0
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x22c], 0
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x7d0]
mov eax, dword [ebp - 0x7cc]
shrd ecx, eax, 0xe
push 0
push ecx
lea ecx, [ebp - 0x23c]
call fcn.00445bc0
push 0
push dword [ebp - 0x7c8]
lea ecx, [ebp - 0x534]
call fcn.00445bc0
xorps xmm0, xmm0
movlpd qword [ebp - 0x228], xmm0
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x224], 0
call fcn.0044fdc0
mov dword [ebp - 0x228], eax
mov byte [ebp - 4], 4
cmp edi, dword [0x5102b4]
jne 0x476550
mov eax, dword [ebp - 0x7c8]
xor ebx, ebx
test eax, eax
je 0x4764e0
dec eax
mov dword [ebp - 0x24c], ebx
cmp ebx, eax
jne 0x4764bf
mov eax, dword [ebp - 0x7cc]
mov ecx, dword [ebp - 0x7d8]
mul ebx
mov esi, eax
mov eax, dword [ebp - 0x7d0]
mul ebx
add esi, edx
mov edx, dword [ebp - 0x7d4]
sub ecx, eax
sbb edx, esi
call fcn.004d2ad0
mulsd xmm0, qword [0x4fcfc0]
sub esp, 8
movsd qword [ebp - 0xbf0], xmm0
fld qword [ebp - 0xbf0]
fstp qword [esp]
call fcn.004d15f0
add esp, 8
fstp qword [ebp - 0xbf0]
movsd xmm0, qword [ebp - 0xbf0]
call fcn.004d29a1
push 0
push eax
lea ecx, [ebp - 0x23c]
call fcn.00445bc0
lea eax, [ebp - 0x24c]
push eax
lea ecx, [ebp - 0x524]
call fcn.00444f50
mov eax, dword [ebp - 0x7c8]
inc ebx
cmp ebx, eax
jb 0x476446
mov edx, dword [ebp - 0x514]
test edx, edx
je 0x4772a2
cmp byte [0x510410], 0
jne 0x4772a2
mov eax, dword [ebp - 0x518]
sub esp, 0xc
mov ecx, esp
add eax, edx
sub esp, 0xc
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x524]
mov dword [ecx], eax
mov ecx, esp
mov eax, dword [ebp - 0x518]
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x524]
mov dword [ecx], eax
call fcn.00451760
add esp, 0x18
jmp 0x4772a2
mov eax, dword [edi + 0x40]
xor ecx, ecx
mov dword [ebp - 0x8a8], eax
mov eax, dword [edi + 0x44]
mov dword [ebp - 0x8a4], eax
mov eax, dword [edi + 0x28]
mov dword [ebp - 0x8c0], eax
mov eax, dword [edi + 0x2c]
mov dword [ebp - 0x8bc], eax
mov eax, dword [edi + 0x500]
mov dword [ebp - 0x3e8], eax
mov eax, dword [edi + 0x504]
mov dword [ebp - 0x3e4], eax
mov eax, dword [edi + 0x48]
mov dword [ebp - 0x8a0], eax
mov eax, dword [edi + 0x4c]
mov dword [ebp - 0x89c], eax
mov eax, dword [edi + 0x144]
mov dword [ebp - 0x7a4], eax
mov eax, dword [edi + 0x148]
mov dword [ebp - 0x7a0], eax
mov eax, dword [edi + 0x14c]
mov dword [ebp - 0x79c], eax
movzx eax, byte [ebp - 0x8ce]
mov byte [ebp - 0x8d4], 0
cmp byte [edi + 0x1a], cl
cmove eax, ecx
mov byte [ebp - 0x8ce], al
cmp byte [edi + 0x19], cl
movzx eax, byte [ebp - 0x8cf]
cmove eax, ecx
mov ecx, dword [ebp - 0x8c8]
mov byte [ebp - 0x8cf], al
mov eax, dword [edi + 0x20]
test eax, eax
cmovne ecx, eax
lea eax, [edi + 0x3e4]
mov dword [ebp - 0x8c8], ecx
lea ecx, [ebp - 0x504]
cmp ecx, eax
je 0x476667
mov byte [ebp - 4], 5
mov ebx, dword [ebp - 0x504]
push dword [ebx + 4]
call fcn.0044bf40
mov eax, dword [ebp - 0x504]
lea ecx, [ebp - 0x504]
mov dword [eax + 4], ebx
mov eax, dword [ebp - 0x504]
mov dword [eax], ebx
mov eax, dword [ebp - 0x504]
mov byte [ebp - 4], 4
push dword [ebp - 0xbec]
mov dword [eax + 8], ebx
lea eax, [edi + 0x3e4]
push eax
mov dword [ebp - 0x500], 0
call fcn.0045af20
lea eax, [edi + 0x3f0]
lea ecx, [ebp - 0x4f8]
cmp ecx, eax
je 0x4766c9
mov byte [ebp - 4], 6
mov ebx, dword [ebp - 0x4f8]
push dword [ebx + 4]
call fcn.00450260
mov eax, dword [ebp - 0x4f8]
lea ecx, [ebp - 0x4f8]
mov dword [eax + 4], ebx
mov eax, dword [ebp - 0x4f8]
mov dword [eax], ebx
mov eax, dword [ebp - 0x4f8]
mov byte [ebp - 4], 4
push dword [ebp - 0xbec]
mov dword [eax + 8], ebx
lea eax, [edi + 0x3f0]
push eax
mov dword [ebp - 0x4f4], 0
call fcn.0045aea0
cmp dword [edi + 0x3fc], 0
lea eax, [edi + 0x3f8]
je 0x476734
lea ecx, [ebp - 0x4f0]
cmp ecx, eax
je 0x476734
mov byte [ebp - 4], 7
mov ebx, dword [ebp - 0x4f0]
push dword [ebx + 4]
call fcn.0044c5c0
mov eax, dword [ebp - 0x4f0]
lea ecx, [ebp - 0x4f0]
mov dword [eax + 4], ebx
mov eax, dword [ebp - 0x4f0]
mov dword [eax], ebx
mov eax, dword [ebp - 0x4f0]
mov byte [ebp - 4], 4
push dword [ebp - 0xbec]
mov dword [eax + 8], ebx
lea eax, [edi + 0x3f8]
push eax
mov dword [ebp - 0x4ec], 0
call fcn.0045b090
cmp dword [edi + 0x108], 0
je 0x4767ff
push ecx
push 0x4f9450
lea ecx, [edi + 0xf8]
call fcn.00445d00
lea ecx, [edi + 0xf8]
lea ebx, [eax + 1]
push ebx
push 0
lea eax, [ebp - 0x27c]
push eax
call fcn.00445ca0
push eax
lea ecx, [ebp - 0x7f0]
call fcn.00406820
lea ecx, [ebp - 0x27c]
call fcn.00407cb0
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x27c]
push eax
lea ecx, [edi + 0xf8]
call fcn.00445ca0
lea edx, [ebp - 0x27c]
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x808]
call fcn.00466fc0
test al, al
je 0x4767f0
cmp dword [ebp - 0x268], 8
lea eax, [ebp - 0x27c]
push dword [ebp - 0x26c]
cmovae eax, dword [ebp - 0x27c]
lea ecx, [ebp - 0x808]
push eax
call fcn.00407d10
cmp byte [ebp - 0x8d6], 0
jne 0x4767f0
mov ecx, dword [ebp - 0x510]
lea eax, [ebp - 0x808]
push eax
call fcn.004067e0
lea ecx, [ebp - 0x27c]
mov byte [ebp - 4], 4
call fcn.00407cb0
mov eax, dword [ebp - 0x7d8]
mov dword [ebp - 0x408], eax
mov eax, dword [ebp - 0x7d4]
mov dword [ebp - 0x404], eax
xor eax, eax
cmp dword [ebp - 0x7c8], 0
mov dword [ebp - 0xc00], eax
mov eax, 1
jbe 0x476a91
xor esi, esi
mov edx, dword [edi + 0x3b4]
mov ebx, esi
mov ecx, esi
shr ebx, 5
and ecx, 0x1f
shl eax, cl
mov dword [ebp - 0xbec], ecx
test dword [edx + ebx*4], eax
je 0x476b69
mov ecx, dword [ebp - 0x534]
mov edx, dword [ebp - 0xbec]
mov eax, dword [ecx + ebx*4]
bts eax, edx
mov dword [ecx + ebx*4], eax
mov eax, dword [ebp - 0x7c8]
inc dword [ebp - 0x7c4]
dec eax
cmp esi, eax
jne 0x4768a0
push dword [ebp - 0x7cc]
push dword [ebp - 0x7d0]
push 0
push esi
call fcn.004adb20
mov esi, dword [ebp - 0x7d8]
mov ebx, dword [ebp - 0x7d4]
sub esi, eax
sbb ebx, edx
jmp 0x4768ac
mov esi, dword [ebp - 0x7d0]
mov ebx, dword [ebp - 0x7cc]
mov eax, dword [ebp - 0xc00]
xorps xmm0, xmm0
sub dword [ebp - 0x408], esi
push 0
sbb dword [ebp - 0x404], ebx
push eax
push dword [ebp - 0x7cc]
mov dword [ebp - 0xbf4], ebx
push dword [ebp - 0x7d0]
movlpd qword [ebp - 0xbf0], xmm0
call fcn.004adb20
mov dword [ebp - 0xc0c], eax
xorps xmm0, xmm0
mov dword [ebp - 0xc14], edx
movlpd qword [ebp - 0xc08], xmm0
test ebx, ebx
jb 0x476a73
ja 0x47690c
test esi, esi
je 0x476a73
mov eax, dword [ebp - 0xbec]
mov edi, dword [ebp - 0xc04]
mov dword [ebp - 0xbfc], eax
mov eax, dword [ebp - 0xbf0]
mov dword [ebp - 0xbf8], eax
mov eax, dword [ebp - 0xc08]
mov dword [ebp - 0xc04], eax
mov eax, dword [ebp - 0x510]
xorps xmm0, xmm0
movlpd qword [ebp - 0xbf0], xmm0
cmp eax, dword [ebp - 0x50c]
je 0x4769ae
mov edx, dword [ebp - 0xbec]
mov ecx, dword [ebp - 0xbf0]
nop dword [eax + eax]
mov ebx, dword [eax + 0x30]
add ecx, ebx
adc edx, dword [eax + 0x34]
cmp dword [ebp - 0xc14], edx
jb 0x476989
ja 0x47697a
cmp dword [ebp - 0xc0c], ecx
jb 0x476989
add eax, 0x148
cmp eax, dword [ebp - 0x50c]
jne 0x476960
jmp 0x4769a8
mov edi, dword [ebp - 0xc0c]
sub edi, ecx
mov dword [ebp - 0xc04], edi
mov edi, dword [ebp - 0xc14]
sbb edi, edx
add dword [ebp - 0xc04], ebx
adc edi, dword [eax + 0x34]
mov ebx, dword [ebp - 0xbf4]
mov ecx, dword [eax + 0x30]
sub ecx, dword [ebp - 0xc04]
mov edx, dword [eax + 0x34]
sbb edx, edi
mov dword [ebp - 0xbec], edx
cmp ebx, edx
jb 0x476a00
ja 0x4769cc
cmp esi, ecx
jbe 0x476a00
mov edx, esi
sub edx, dword [ebp - 0xbf8]
sbb ebx, dword [ebp - 0xbfc]
cmp dword [ebp - 0xbec], ebx
jb 0x4769f0
ja 0x4769e8
cmp ecx, edx
jbe 0x4769f0
mov ecx, dword [ebp - 0xbfc]
jmp 0x476a10
mov ebx, dword [ebp - 0xbec]
mov edx, ecx
mov ecx, dword [ebp - 0xbfc]
jmp 0x476a10
mov ecx, dword [ebp - 0xbfc]
mov edx, esi
sub edx, dword [ebp - 0xbf8]
sbb ebx, ecx
add dword [eax + 0x20], edx
adc dword [eax + 0x24], ebx
add dword [eax + 0x28], edx
adc dword [eax + 0x2c], ebx
add dword [ebp - 0xbf8], edx
adc ecx, ebx
mov dword [ebp - 0xbfc], ecx
mov ecx, dword [eax + 0x20]
cmp ecx, dword [eax + 0x30]
jne 0x476a3e
mov ecx, dword [eax + 0x24]
cmp ecx, dword [eax + 0x34]
jne 0x476a3e
mov byte [eax + 0x38], 1
mov eax, dword [ebp - 0xbfc]
cmp eax, dword [ebp - 0xbf4]
ja 0x476a6d
jb 0x476a56
cmp dword [ebp - 0xbf8], esi
jae 0x476a6d
add dword [ebp - 0xc0c], edx
adc dword [ebp - 0xc14], ebx
mov ebx, dword [ebp - 0xbf4]
jmp 0x476936
mov edi, dword [ebp - 0xc1c]
mov esi, dword [ebp - 0xc00]
inc esi
mov eax, 1
mov dword [ebp - 0xc00], esi
cmp esi, dword [ebp - 0x7c8]
jb 0x476833
mov edx, dword [ebp - 0x514]
test edx, edx
je 0x476afa
cmp byte [0x510410], 0
jne 0x476afa
mov eax, dword [ebp - 0x518]
sub esp, 0xc
mov ecx, esp
add eax, edx
sub esp, 0xc
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x524]
mov dword [ecx], eax
mov ecx, esp
mov eax, dword [ebp - 0x518]
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x524]
mov dword [ecx], eax
call fcn.00451760
mov edx, dword [ebp - 0x514]
add esp, 0x18
cmp dword [edi + 0x3d4], 0
je 0x4770d6
mov ebx, dword [edi + 0x3d0]
lea eax, [edi + 0x3c4]
xor ecx, ecx
mov dword [ebp - 0xbf4], eax
mov dword [ebp - 0xc14], ebx
mov dword [ebp - 0xc0c], ecx
test eax, eax
je 0x476b33
mov ecx, dword [eax]
mov dword [ebp - 0xc0c], ecx
mov edi, dword [ebp - 0x518]
nop dword [eax]
mov esi, dword [ebp - 0xbf4]
mov eax, dword [eax + 0xc]
add eax, dword [esi + 0x10]
mov esi, dword [ebp - 0x220]
cmp ebx, eax
je 0x477072
test ecx, ecx
jne 0x476c01
xor eax, eax
jmp 0x476c03
mov eax, dword [ebp - 0x7c8]
dec eax
mov dword [ebp - 0x24c], esi
cmp esi, eax
jne 0x476bea
mov eax, dword [ebp - 0x7cc]
mov ebx, dword [ebp - 0x7d8]
mul esi
mov ecx, eax
mov eax, dword [ebp - 0x7d0]
mul esi
add ecx, edx
mov edx, dword [ebp - 0x7d4]
sub ebx, eax
sbb edx, ecx
mov ecx, ebx
call fcn.004d2ad0
mulsd xmm0, qword [0x4fcfc0]
sub esp, 8
movsd qword [ebp - 0xbf0], xmm0
fld qword [ebp - 0xbf0]
fstp qword [esp]
call fcn.004d15f0
add esp, 8
fstp qword [ebp - 0xbf0]
movsd xmm0, qword [ebp - 0xbf0]
call fcn.004d29a1
push 0
push eax
lea ecx, [ebp - 0x23c]
call fcn.00445bc0
lea eax, [ebp - 0x24c]
push eax
lea ecx, [ebp - 0x524]
call fcn.00444f50
jmp 0x476a79
mov eax, dword [ecx]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
dec ecx
and ecx, ebx
mov eax, dword [eax + ecx*4]
mov eax, dword [eax]
push eax
sub esp, 0xc
mov dword [ebp - 0xbf8], eax
mov ecx, esp
lea eax, [edi + edx]
sub esp, 0xc
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x524]
mov dword [ecx], eax
mov ecx, esp
mov eax, dword [ebp - 0x518]
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x524]
mov dword [ecx], eax
lea ecx, [ebp - 0x258]
call fcn.00451520
mov eax, dword [ebp - 0x518]
add esp, 0x1c
add eax, dword [ebp - 0x514]
mov edi, dword [ebp - 0x250]
cmp edi, eax
jne 0x476ca2
cmp byte [0x5102e0], 0
je 0x476ca2
push 0
push str.ParserTorrent__
push 0x4f9458
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov edi, dword [ebp - 0x250]
mov edx, dword [ebp - 0x258]
test edx, edx
jne 0x476cb0
xor eax, eax
jmp 0x476cb2
mov eax, dword [edx]
mov ecx, dword [eax + 8]
xor ebx, ebx
mov eax, dword [eax + 4]
dec ecx
and ecx, edi
mov eax, dword [eax + ecx*4]
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0xc04], eax
test eax, eax
je 0x476d68
mov eax, dword [ebp - 0xc0c]
test eax, eax
je 0x476cdd
mov eax, dword [eax]
mov ecx, dword [eax + 8]
mov edi, ebx
mov eax, dword [eax + 4]
dec ecx
and ecx, dword [ebp - 0xc14]
and edi, 0x1f
mov eax, dword [eax + ecx*4]
mov ecx, edi
mov edx, dword [eax + 0x10]
mov eax, ebx
shr eax, 5
shl eax, 2
mov dword [ebp - 0xbec], eax
mov eax, 1
shl eax, cl
mov ecx, dword [ebp - 0xbec]
test dword [ecx + edx], eax
je 0x476d49
mov esi, dword [ebp - 0x258]
test esi, esi
jne 0x476d25
xor eax, eax
jmp 0x476d27
mov eax, dword [esi]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
dec ecx
and ecx, dword [ebp - 0x250]
mov edx, dword [ebp - 0xbec]
mov eax, dword [eax + ecx*4]
mov ecx, dword [eax + 0x10]
mov eax, dword [edx + ecx]
bts eax, edi
mov dword [edx + ecx], eax
inc ebx
cmp ebx, dword [ebp - 0xc04]
jb 0x476cd1
mov esi, dword [ebp - 0x220]
mov edx, dword [ebp - 0x258]
mov edi, dword [ebp - 0x250]
mov eax, dword [ebp - 0xc0c]
test eax, eax
je 0x476d74
mov eax, dword [eax]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
dec ecx
and ecx, dword [ebp - 0xc14]
mov ebx, dword [eax + ecx*4]
test edx, edx
jne 0x476d8c
xor eax, eax
jmp 0x476d8e
mov eax, dword [edx]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
dec ecx
and ecx, edi
mov ecx, dword [eax + ecx*4]
mov eax, dword [ebx + 0x20]
mov dword [ecx + 0x20], eax
mov eax, dword [esi + 0x120]
dec eax
cmp dword [ebp - 0xbf8], eax
jne 0x476e6f
mov eax, dword [ebp - 0x258]
test eax, eax
je 0x476dbf
mov eax, dword [eax]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
dec ecx
mov edi, dword [ebp - 0x250]
and ecx, edi
mov edx, dword [ebp - 0xc04]
dec edx
mov eax, dword [eax + ecx*4]
mov ecx, edx
shr edx, 5
and ecx, 0x1f
mov ebx, dword [eax + 0x10]
mov eax, 1
shl eax, cl
test dword [ebx + edx*4], eax
mov edx, dword [ebp - 0x258]
je 0x476e63
mov ebx, dword [esi + 0x110]
mov eax, 0x4000
and ebx, 0x3fff
cmove ebx, eax
test edx, edx
jne 0x476e11
xor eax, eax
jmp 0x476e13
mov eax, dword [edx]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
dec ecx
and ecx, edi
mov eax, dword [eax + ecx*4]
cmp dword [eax + 0x20], 1
jne 0x476e2d
sub dword [ebp - 0x408], ebx
jmp 0x476e9d
test edx, edx
jne 0x476e35
xor eax, eax
jmp 0x476e37
mov eax, dword [edx]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
dec ecx
and ecx, edi
mov eax, dword [eax + ecx*4]
mov ecx, dword [eax + 0x20]
xor eax, eax
shl ecx, 0xe
sub ecx, 0x4000
add ecx, ebx
adc eax, eax
sub dword [ebp - 0x408], ecx
sbb dword [ebp - 0x404], eax
jmp 0x476ea4
test edx, edx
jne 0x476e6b
xor eax, eax
jmp 0x476e85
mov eax, dword [edx]
jmp 0x476e85
mov edx, dword [ebp - 0x258]
test edx, edx
jne 0x476e7d
xor eax, eax
jmp 0x476e7f
mov eax, dword [edx]
mov edi, dword [ebp - 0x250]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
dec ecx
and ecx, edi
mov eax, dword [eax + ecx*4]
mov eax, dword [eax + 0x20]
shl eax, 0xe
sub dword [ebp - 0x408], eax
sbb dword [ebp - 0x404], 0
test edx, edx
jne 0x476eac
xor eax, eax
jmp 0x476eae
mov eax, dword [edx]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
dec ecx
and ecx, edi
mov ebx, dword [eax + ecx*4]
lea ecx, [ebp - 0x23c]
mov eax, dword [ebx]
mov dword [ebp - 0x24c], eax
mov al, byte [ebx + 4]
mov byte [ebp - 0x248], al
mov eax, dword [ebx + 8]
mov dword [ebp - 0x244], eax
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x240], eax
lea eax, [ebx + 0x10]
cmp ecx, eax
je 0x476f05
push eax
call fcn.00445020
mov eax, dword [ebx + 0x1c]
mov edi, dword [ebp - 0x250]
mov edx, dword [ebp - 0x258]
mov dword [ebp - 0x230], eax
mov eax, dword [ebx + 0x20]
xor ecx, ecx
mov dword [ebp - 0x22c], eax
test edx, edx
je 0x476f1c
mov eax, dword [edx]
test eax, eax
je 0x476f1c
mov ecx, dword [eax]
sub esp, 0xc
xor eax, eax
mov edx, esp
test ecx, ecx
je 0x476f2f
mov ebx, dword [ecx]
test ebx, ebx
je 0x476f2f
mov eax, dword [ebx]
mov dword [edx], 0
lea ebx, [edi + 1]
mov dword [edx + 4], 0
test eax, eax
je 0x476f4d
mov eax, dword [eax]
test eax, eax
je 0x476f4d
mov eax, dword [eax]
mov dword [edx], eax
mov dword [edx + 8], ebx
sub esp, 0xc
mov edx, esp
mov dword [edx], 0
mov dword [edx + 4], 0
test ecx, ecx
je 0x476f70
mov eax, dword [ecx]
test eax, eax
je 0x476f70
mov eax, dword [eax]
mov dword [edx], eax
lea eax, [ebp - 0x270]
mov dword [edx + 8], edi
push eax
lea ecx, [ebp - 0x524]
call fcn.0044c250
mov eax, dword [ebp - 0x514]
mov edi, dword [ebp - 0x51c]
inc eax
cmp edi, eax
ja 0x476fa8
push ecx
lea ecx, [ebp - 0x524]
call fcn.0044c0b0
mov edi, dword [ebp - 0x51c]
mov ecx, dword [ebp - 0x520]
lea ebx, [edi - 1]
mov eax, ebx
and eax, dword [ebp - 0x518]
mov dword [ebp - 0x518], eax
cmovne edi, eax
dec edi
and ebx, edi
cmp dword [ecx + ebx*4], 0
jne 0x476fe6
push 0x24
call fcn.004ad3ad
mov ecx, eax
add esp, 4
mov eax, dword [ebp - 0x520]
mov dword [eax + ebx*4], ecx
mov ecx, dword [ebp - 0x520]
mov ecx, dword [ecx + ebx*4]
mov eax, dword [ebp - 0x24c]
mov dword [ebp - 0xbec], ecx
mov dword [ecx], eax
lea ebx, [ecx + 0x10]
mov al, byte [ebp - 0x248]
mov byte [ecx + 4], al
mov eax, dword [ebp - 0x244]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x240]
mov dword [ecx + 0xc], eax
lea eax, [ebp - 0x23c]
push eax
mov ecx, ebx
mov dword [ebp - 0xc04], ebx
call fcn.0044f5c0
mov ecx, dword [ebp - 0xbec]
mov eax, dword [ebp - 0x230]
mov dword [ebx + 0xc], eax
mov eax, dword [ebp - 0x22c]
mov ebx, dword [ebp - 0xc14]
mov dword [ecx + 0x20], eax
mov edx, dword [ebp - 0x514]
mov ecx, dword [ebp - 0xc0c]
inc edx
mov eax, dword [ebp - 0xbf4]
inc ebx
mov dword [ebp - 0x518], edi
mov dword [ebp - 0x514], edx
mov dword [ebp - 0xc14], ebx
jmp 0x476b40
mov edi, dword [ebp - 0xc1c]
lea eax, [ebp - 0x43c]
lea ebx, [edi + 0x4ac]
cmp eax, ebx
je 0x4770d6
mov byte [ebp - 4], 9
mov ecx, eax
mov esi, dword [ebp - 0x43c]
push dword [esi + 4]
call fcn.0044c540
mov eax, dword [ebp - 0x43c]
lea ecx, [ebp - 0x43c]
mov dword [eax + 4], esi
mov eax, dword [ebp - 0x43c]
mov dword [eax], esi
mov eax, dword [ebp - 0x43c]
mov byte [ebp - 4], 4
push dword [ebp - 0xbec]
mov dword [eax + 8], esi
push ebx
mov dword [ebp - 0x438], 0
call fcn.00452ca0
mov eax, dword [ebp - 0x7c4]
cmp eax, dword [ebp - 0x7c8]
mov eax, 1
movzx ecx, byte [ebp - 0x8d7]
cmove ecx, eax
mov byte [ebp - 0x8d7], cl
mov eax, dword [edi + 0x3d8]
mov ecx, dword [edi + 0x3dc]
cmp eax, ecx
je 0x4772a2
sub ecx, eax
mov eax, 0x63e7063f
imul ecx
sar edx, 7
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
je 0x4772a2
xor esi, esi
nop word [eax + eax]
mov eax, dword [edi + 0x3d8]
mov ecx, dword [esi + eax + 0x3c]
mov eax, dword [ebp - 0x510]
mov dword [eax + esi + 0x3c], ecx
mov ecx, dword [ebp - 0x510]
mov eax, dword [ecx + esi + 0x3c]
cmp eax, 3
ja case.default.0x477157
jmp dword [eax*4 + 0x4774ec]
mov edx, 0x50f3e0
add ecx, 0xe4
add ecx, esi
lea eax, [edx + 2]
mov dword [ebp - 0xbec], eax
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x477174
sub edx, dword [ebp - 0xbec]
sar edx, 1
push edx
push 0x50f3e0
call fcn.00407d10
mov eax, dword [ebp - 0x510]
push dword [ebp - 0xbec]
add eax, 0x40
add eax, esi
push eax
lea eax, [ebp - 0xc20]
jmp 0x477286
mov edx, 0x50f3f4
add ecx, 0xe4
add ecx, esi
lea eax, [edx + 2]
mov dword [ebp - 0xbec], eax
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x4771c5
sub edx, dword [ebp - 0xbec]
sar edx, 1
push edx
push 0x50f3f4
call fcn.00407d10
mov eax, dword [ebp - 0x510]
push dword [ebp - 0xbec]
add eax, 0x40
add eax, esi
push eax
lea eax, [ebp - 0xc18]
jmp 0x477286
mov edx, 0x50f408
add ecx, 0xe4
add ecx, esi
lea eax, [edx + 2]
mov dword [ebp - 0xbec], eax
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x477216
sub edx, dword [ebp - 0xbec]
sar edx, 1
push edx
push 0x50f408
call fcn.00407d10
jmp case.default.0x477157
mov edx, 0x50f426
add ecx, 0xe4
add ecx, esi
lea eax, [edx + 2]
mov dword [ebp - 0xbec], eax
nop dword [eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x477250
sub edx, dword [ebp - 0xbec]
sar edx, 1
push edx
push 0x50f426
call fcn.00407d10
mov eax, dword [ebp - 0x510]
push dword [ebp - 0xbec]
add eax, 0x40
add eax, esi
push eax
lea eax, [ebp - 0xc10]
push ecx
push eax
lea ecx, [ebp - 0x228]
call fcn.004548c0
add esi, 0x148
sub ebx, 1
jne 0x477130
mov eax, dword [0x50aeb4]
mov esi, dword [0x5108a8]
mov dword [ebp - 0x8e0], eax
inc eax
mov dword [0x50aeb4], eax
lea eax, [ebp - 0x8e0]
push eax
mov ebx, dword [esi + 4]
push ebx
push esi
call fcn.00455570
mov edx, dword [0x5108ac]
mov ecx, eax
mov eax, 0x27f601
sub eax, edx
cmp eax, 1
jb 0x4774df
lea eax, [edx + 1]
mov dword [0x5108ac], eax
mov dword [esi + 4], ecx
mov dword [ebx], ecx
mov eax, dword [0x5108a8]
mov esi, dword [eax + 4]
push esi
call fcn.00472d10
add esp, 4
cmp edi, dword [0x5102b4]
je 0x4773a3
cmp dword [ebp - 0x224], 0
je 0x477341
sub esp, 8
lea eax, [ebp - 0x228]
mov ecx, esp
mov dword [ebp - 0xbec], ecx
push ecx
push eax
call fcn.00451f10
push esi
call fcn.00481700
add esp, 0xc
lea ecx, [ebp - 0x228]
call fcn.00445760
cmp byte [edi + 0xc], 0
lea ebx, [edi + 8]
je 0x477379
cmp dword [esi + 0x124], 0
push esi
jne 0x477361
call fcn.00482f30
add esp, 4
test al, al
jne 0x477379
push esi
call fcn.0047ff40
add esp, 4
push 0
push 1
push dword [0x510290]
call dword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
mov edx, dword [edi + 4]
mov ecx, ebx
mov eax, dword [edi]
mov dword [edx], eax
mov edx, dword [edi]
mov eax, dword [edi + 4]
mov dword [edx + 4], eax
dec dword [0x5102b8]
call fcn.00413bf0
push 0x668
push edi
call fcn.004ad677
add esp, 8
lea ecx, [ebp - 0x228]
call fcn.00445760
push 0x14
push dword [ebp - 0x228]
call fcn.004ad677
add esp, 8
lea ecx, [ebp - 0x23c]
call fcn.0044c450
mov bl, 1
jmp 0x47743d
call fcn.00446090
push 0x4f94a8
lea ecx, [ebp - 0x27c]
call fcn.004068a0
mov ecx, edi
mov byte [ebp - 4], 0xa
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4773f0
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x27c]
call fcn.00409ec0
cmp dword [ebp - 0x268], 8
lea eax, [ebp - 0x27c]
push 0x30
cmovae eax, dword [ebp - 0x27c]
push 0x4f9498
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [ebp - 0x27c]
call fcn.00407cb0
xor bl, bl
lea ecx, [ebp - 0x8e0]
call fcn.00413bf0
mov eax, dword [ebp - 0xbe8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ifstream_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_ifstream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebp - 0xbe8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0xbec], eax
lea ecx, [ebp - 0xbd8]
call fcn.00446af0
mov eax, dword [ebp - 0xbe8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebp - 0xbe8]
mov edx, dword [eax + 4]
lea ecx, [edx - 0x18]
mov dword [ebp + edx - 0xbec], ecx
lea eax, [ebp - 0xb78]
mov dword [ebp - 4], 0xb
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.004a96eb
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ad19c
mov esp, ebp
pop ebp
ret
push str.list_T__too_long
call fcn.004a92fb
nop dword [eax]
pop esi
jno 4683062
add byte [edi + 0x4771], ch
jb 0x47753e
add byte [esi], dh
jb 0x477542
add ah, cl
int3
xor eax, 0x50fbdc
call esi
push 0x4f94f0
invalid
push 0x102
push dword [0x50fbdc]
call esi
push 0x4f94fc
push 0x103
push dword [0x50fbdc]
call esi
push 0x4f94f8
push 0x104
push dword [0x50fbdc]
call esi
push 0x4f9504
push 0x105
push dword [0x50fbdc]
call esi
push 0x4f9500
push 0x106
push dword [0x50fbdc]
call esi
push 0x4f950c
push 0x107
push dword [0x50fbdc]
call esi
push 0x4f9508
push 0x108
push dword [0x50fbdc]
call esi
push 0x4f9514
push 0x109
push dword [0x50fbdc]
call esi
push 0x4f9510
push 0x10a
push dword [0x50fbdc]
call esi
push 0x4f951c
push 0x10b
push dword [0x50fbdc]
call esi
push 0x4f9518
push 0x10c
push dword [0x50fbdc]
call esi
push 0x4f9524
push 0xe7
push dword [0x50fbdc]
xor eax, eax
xorps xmm0, xmm0
mov word [0x50af74], ax
mov word [0x50b58c], ax
movlpd qword [0x50bba4], xmm0
call esi
push 0x4f9520
push 0xe8
push dword [0x50fbdc]
call esi
push 0x4f952c
push 0xe9
push dword [0x50fbdc]
call esi
push 0x4f9528
push 0xea
push dword [0x50fbdc]
call esi
push 0x4f9534
push 0xeb
push dword [0x50fbdc]
call esi
xor eax, eax
xorps xmm0, xmm0
push eax
push eax
push 0xec
push dword [0x50fbdc]
mov word [0x50bbbc], ax
mov word [0x50c1d4], ax
movlpd qword [0x50c7ec], xmm0
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_InvalidateRgn]
push 0x4f9530
push 0xed
push dword [0x50fbdc]
call esi
push 0x4f953c
push 0xee
push dword [0x50fbdc]
call esi
push 0x4f9538
push 0xef
push dword [0x50fbdc]
call esi
pop esi
ret