Function at 0x40316b
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov esi, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcat_s]
xor ecx, ecx
push edi
push 0x414448
push 0x200
mov ebx, 0x4789f0
mov dword [ebp - 0xc], ecx
push ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], ecx
mov byte [0x4789f0], cl
call esi
mov ecx, ebx
add esp, 0xc
mov esi, 0x479008
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4031ad
mov bl, byte [0x479008]
sub ecx, edx
mov edi, dword [0x47930c]
lea edx, [ecx + 0x4789f0]
mov dword [ebp - 0x14], edx
jmp 0x403229
lea ecx, [esi + 1]
cmp bl, 0x2c
jne 0x4031ee
cmp dword [ebp - 0xc], 0
jne 0x40322f
mov word [edx], 0x222c
mov esi, ecx
mov dword [ebp - 0xc], 1
add edx, 2
jmp 0x403223
mov esi, ecx
cmp bl, 0x27
je 0x403227
cmp bl, 0x22
je 0x403227
cmp dword [ebp - 0xc], 0
je 0x40320e
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp eax, 0xf
jg 0x403223
jmp 0x403220
mov cl, bl
call fcn.00402f28
shl edi, 4
add edi, eax
mov dword [0x47930c], edi
mov byte [edx], bl
inc edx
test esi, esi
je 0x40323c
mov bl, byte [esi]
test bl, bl
jne 0x4031cd
jmp 0x40323c
mov byte [edx], 0x22
mov al, byte [esi]
mov esi, ecx
mov byte [edx + 1], al
add edx, 2
mov eax, dword [0x476148]
cmp edi, dword [eax + 0x4c]
jl 0x403252
mov byte [0x4789f0], 4
jmp 0x403b47
mov edi, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcat_s]
push 0x414454
push 0x200
push edx
call edi
add esp, 0xc
cmp dword [0x476350], 0
je 0x403280
push dword [ebp - 0x14]
push 0x414468
call fcn.00401006
pop ecx
pop ecx
push ecx
push 1
push 1
mov edx, 0x414480
mov ecx, esi
call fcn.004029d0
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x4032ea
mov esi, dword [0x476148]
mov edx, 0x45bd10
and dword [ebp - 0xc], 0
lea ecx, [esi + 0x68]
sub edx, ecx
mov al, byte [ecx]
mov byte [edx + ecx], al
inc ecx
test al, al
jne 0x4032ae
lea ecx, [esi + 0x80]
mov edx, 0x454bd0
sub edx, ecx
mov al, byte [ecx]
mov byte [edx + ecx], al
inc ecx
test al, al
jne 0x4032c5
mov al, byte [ebx]
cmp al, 0x2d
je 0x4032e5
cmp al, 0x2b
je 0x4032e5
cmp al, 0x2c
jne 0x403346
xor eax, eax
inc eax
mov dword [ebp - 8], eax
jmp 0x403349
inc ebx
xor eax, eax
jmp 0x4032e0
push ecx
push 1
push 1
mov edx, 0x414484
mov ecx, esi
call fcn.004029d0
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x403337
mov eax, 0x4141c8
and dword [ebp - 0xc], 0
mov esi, eax
mov edi, 0x45bd10
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, eax
mov edi, 0x454bd0
xor eax, eax
inc eax
mov dword [ebp - 8], eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [0x476148]
mov edi, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcat_s]
jmp 0x403349
mov ebx, esi
mov dword [ebp - 0xc], 1
mov esi, dword [0x476148]
mov eax, dword [ebp - 8]
test ebx, ebx
je 0x403425
test eax, eax
jne 0x403425
mov dl, byte [ebx]
mov cl, dl
call fcn.0040c522
cmp al, 0x4e
jne 0x403418
push 0xc
pop edx
mov ecx, 0x41448c
call fcn.00402d26
push 0xffffffffffffffff
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov cl, dl
call fcn.0040c522
cmp al, 0x42
jne 0x403425
inc ebx
lea ecx, [ebp - 4]
mov dword [ebp - 4], ebx
call fcn.00401d3c
push 1
push dword [ebp - 0xc]
cmp eax, 0x40
jg 0x4033ad
mov edx, eax
mov ecx, 0x45bd10
jmp 0x4033b5
lea edx, [eax - 0x40]
mov ecx, 0x454bd0
call fcn.00402f43
mov ebx, dword [ebp - 4]
pop ecx
pop ecx
cmp byte [ebx], 0x2c
je 0x403425
push 0
push ecx
mov edx, 0x4144c0
lea ecx, [ebp - 4]
call fcn.00402963
mov ebx, dword [ebp - 4]
add esp, 8
mov dl, byte [ebx]
cmp dl, 0xa
je 0x403422
cmp dl, 0xd
je 0x403422
test dl, dl
je 0x403425
mov cl, dl
mov dl, cl
cmp cl, 0xa
je 0x403418
cmp cl, 0xd
je 0x403418
cmp cl, 0x20
je 0x403418
mov al, cl
sub al, 0x61
cmp al, 0x19
mov al, cl
ja 0x403409
and al, 0xdf
mov dl, cl
cmp al, 0x42
je 0x403418
inc ebx
mov dl, byte [ebx]
mov cl, dl
test cl, cl
jne 0x4033ec
test dl, dl
jne 0x40337f
jmp 0x403425
mov byte [ebx], 0
cmp dword [ebp - 0xc], 0
je 0x403435
cmp dword [ebp - 8], 0
jne 0x403b40
lea ecx, [esi + 0x68]
mov edx, 0x45bd10
call fcn.0040310f
test eax, eax
je 0x403b40
lea ecx, [esi + 0x80]
mov edx, 0x454bd0
call fcn.0040310f
test eax, eax
je 0x403b40
push 0x45bd10
mov esi, 0x200
push esi
push 0x4789f0
call edi
add esp, 0xc
push 0x41413c
push esi
push 0x4789f0
call edi
add esp, 0xc
push 0x454bd0
push esi
push 0x4789f0
call edi
mov eax, dword [0x476148]
add esp, 0xc
mov eax, dword [eax + 0x128]
and eax, 1
or eax, 0
je 0x4034ba
push 0x41413c
push esi
push 0x4789f0
call edi
add esp, 0xc
cmp dword [0x476350], 0
je 0x4034d2
push dword [ebp - 0x14]
push 0x4144c4
call fcn.00401006
pop ecx
pop ecx
test ebx, ebx
je 0x403510
push 1
mov edx, 0x414480
mov ecx, ebx
call fcn.00402c88
pop ecx
test eax, eax
jne 0x403510
mov cl, byte [ebx]
mov eax, ebx
jmp 0x403505
cmp cl, 0x20
je 0x40350a
test cl, cl
je 0x40350a
cmp cl, 0xd
je 0x40350a
cmp cl, 0xa
je 0x40350a
inc eax
mov cl, byte [eax]
cmp cl, 0x2c
jne 0x4034ef
inc eax
mov dword [ebp - 0xc], eax
jmp 0x403513
mov dword [ebp - 0xc], ebx
mov ecx, dword [0x476148]
push 0
push 1
call fcn.00401eb6
add esp, 8
mov ecx, 0x4141c8
test eax, eax
je 0x403851
mov esi, ecx
mov edi, 0x43cc28
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov esi, ecx
mov edi, 0x463420
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov esi, ecx
mov edi, 0x450778
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov esi, dword [ebp - 0xc]
test esi, esi
je 0x403563
cmp byte [esi], 0x2c
jne 0x403563
inc esi
mov ebx, esi
test esi, esi
je 0x4037f5
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x403572
sub ecx, edx
test ecx, ecx
jle 0x4037f5
push ecx
push 1
push 1
mov edx, 0x414480
mov ecx, esi
call fcn.004029d0
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x4035fe
mov esi, dword [0x476148]
mov edx, 0x43cc28
xor edi, edi
lea ecx, [esi + 0x98]
sub edx, ecx
mov al, byte [ecx]
mov byte [edx + ecx], al
inc ecx
test al, al
jne 0x4035b2
lea ecx, [esi + 0xb0]
mov edx, 0x463420
sub edx, ecx
mov al, byte [ecx]
mov byte [edx + ecx], al
inc ecx
test al, al
jne 0x4035c9
lea ecx, [esi + 0xc8]
mov edx, 0x450778
sub edx, ecx
mov al, byte [ecx]
mov byte [edx + ecx], al
inc ecx
test al, al
jne 0x4035e0
mov al, byte [ebx]
cmp al, 0x2d
je 0x4035f9
cmp al, 0x2b
je 0x4035f9
xor eax, eax
inc eax
jmp 0x40362a
inc ebx
mov eax, edi
jmp 0x40362d
push ecx
push 1
push 1
mov edx, 0x414484
mov ecx, esi
call fcn.004029d0
mov ebx, eax
add esp, 0xc
xor edi, edi
test ebx, ebx
je 0x40361f
xor eax, eax
inc eax
jmp 0x403624
inc edi
mov ebx, esi
xor eax, eax
mov esi, dword [0x476148]
mov dword [ebp - 0x10], eax
test ebx, ebx
je 0x40371e
test eax, eax
jne 0x40371e
mov ah, byte [ebx]
jmp 0x4036fe
mov dl, ah
mov al, ah
and al, 0xdf
sub dl, 0x61
movzx ecx, al
cmp dl, 0x19
movzx eax, ah
cmova ecx, eax
cmp cl, 0x4e
jne 0x40371e
inc ebx
lea ecx, [ebp - 4]
mov dword [ebp - 4], ebx
call fcn.00401d3c
cmp eax, 0x40
jg 0x40367c
mov edx, eax
mov ecx, 0x43cc28
jmp 0x403698
cmp eax, 0x80
jg 0x40368d
lea edx, [eax - 0x40]
mov ecx, 0x463420
jmp 0x403698
lea edx, [eax - 0x100]
mov ecx, 0x450778
push 2
push edi
call fcn.00402f43
mov ebx, dword [ebp - 4]
pop ecx
pop ecx
push 0
cmp byte [ebx], 0x2c
je 0x403708
push ecx
mov edx, 0x4144c0
lea ecx, [ebp - 4]
call fcn.00402963
mov ebx, dword [ebp - 4]
add esp, 8
mov ah, byte [ebx]
cmp ah, 0xa
je 0x40371b
cmp ah, 0xd
je 0x40371b
test ah, ah
je 0x40371e
mov cl, ah
mov ah, cl
cmp cl, 0xa
je 0x4036fe
cmp cl, 0xd
je 0x4036fe
cmp cl, 0x20
je 0x4036fe
mov al, cl
sub al, 0x61
cmp al, 0x19
mov al, cl
ja 0x4036ef
and al, 0xdf
mov ah, cl
cmp al, 0x4e
je 0x4036fe
inc ebx
mov ah, byte [ebx]
mov cl, ah
test cl, cl
jne 0x4036d2
test ah, ah
jne 0x403644
jmp 0x40371e
push 0x20000
mov ecx, esi
call fcn.00401eb6
add esp, 8
test eax, eax
jne 0x40371e
mov byte [ebx], 0
test edi, edi
je 0x40372c
cmp dword [ebp - 0x10], 0
jne 0x4037e9
mov edi, 0x43cc28
lea ecx, [esi + 0x98]
mov edx, edi
call fcn.0040310f
test eax, eax
je 0x4037e9
lea ecx, [esi + 0xb0]
mov edx, 0x463420
call fcn.0040310f
test eax, eax
je 0x4037e9
lea ecx, [esi + 0xc8]
mov edx, 0x450778
call fcn.0040310f
test eax, eax
je 0x4037e9
push edi
mov edi, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcat_s]
mov esi, 0x200
push esi
push 0x4789f0
call edi
add esp, 0xc
push 0x41413c
push esi
push 0x4789f0
call edi
add esp, 0xc
push 0x463420
push esi
push 0x4789f0
call edi
add esp, 0xc
push 0x41413c
push esi
push 0x4789f0
call edi
add esp, 0xc
push 0x450778
push esi
push 0x4789f0
call edi
mov ecx, dword [0x476148]
add esp, 0xc
push 0
push 0x20000
call fcn.00401eb6
add esp, 8
test eax, eax
jne 0x403829
push 0x4144dc
jmp 0x40382e
mov byte [0x4789f0], 2
jmp 0x403b47
mov edi, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcat_s]
mov esi, 0x200
push 0x4144e0
push esi
push 0x4789f0
call edi
mov ecx, dword [0x476148]
add esp, 0xc
push 0
push 0x20000
call fcn.00401eb6
add esp, 8
test eax, eax
je 0x403839
push 0x41413c
push esi
push 0x4789f0
call edi
add esp, 0xc
cmp dword [0x476350], 0
je 0x403851
push dword [ebp - 0x14]
push 0x414514
call fcn.00401006
pop ecx
pop ecx
mov ecx, dword [0x476148]
push 0
push 0x20000
call fcn.00401eb6
add esp, 8
test eax, eax
je 0x403b2e
mov eax, 0x4141c8
and dword [ebp - 0xc], 0
mov esi, eax
mov edi, 0x466e70
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov esi, eax
mov edi, 0x426ac8
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov esi, eax
mov edi, 0x44c6e8
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
test ebx, ebx
je 0x403afa
cmp byte [ebx], 0x2c
jne 0x4038a9
inc ebx
test ebx, ebx
je 0x403afa
mov ecx, ebx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4038b6
sub ecx, esi
test ecx, ecx
jle 0x403afa
push ecx
xor edi, edi
mov edx, 0x414480
inc edi
mov ecx, ebx
push edi
push 0
call fcn.004029d0
mov esi, eax
add esp, 0xc
test esi, esi
je 0x403947
mov edi, dword [0x476148]
mov edx, 0x466e70
and dword [ebp - 0x10], 0
lea ecx, [edi + 0xe0]
sub edx, ecx
mov al, byte [ecx]
mov byte [edx + ecx], al
inc ecx
test al, al
jne 0x4038fa
lea ecx, [edi + 0xf8]
mov edx, 0x426ac8
sub edx, ecx
mov al, byte [ecx]
mov byte [edx + ecx], al
inc ecx
test al, al
jne 0x403911
lea ecx, [edi + 0x110]
mov edx, 0x44c6e8
sub edx, ecx
mov al, byte [ecx]
mov byte [edx + ecx], al
inc ecx
test al, al
jne 0x403928
mov al, byte [esi]
cmp al, 0x2d
je 0x403941
cmp al, 0x2b
je 0x403941
xor eax, eax
inc eax
jmp 0x403975
mov eax, dword [ebp - 0xc]
inc esi
jmp 0x403975
push ecx
push edi
push 0
mov edx, 0x414484
mov ecx, ebx
call fcn.004029d0
mov esi, eax
add esp, 0xc
test esi, esi
je 0x403968
and dword [ebp - 0x10], 0
mov eax, edi
jmp 0x40396f
mov esi, ebx
mov dword [ebp - 0x10], edi
xor eax, eax
mov edi, dword [0x476148]
test esi, esi
je 0x403a5a
test eax, eax
jne 0x403a62
mov bl, byte [esi]
jmp 0x403a46
mov al, bl
lea edx, [ebx - 0x61]
and al, 0xdf
cmp dl, 0x19
movzx ecx, al
movzx eax, bl
cmova ecx, eax
cmp cl, 0x4e
jne 0x403a62
inc esi
lea ecx, [ebp - 4]
mov dword [ebp - 4], esi
call fcn.00401d3c
cmp eax, 0x40
jg 0x4039c2
mov edx, eax
mov ecx, 0x466e70
jmp 0x4039de
cmp eax, 0x80
jg 0x4039d3
lea edx, [eax - 0x40]
mov ecx, 0x426ac8
jmp 0x4039de
lea edx, [eax - 0x100]
mov ecx, 0x44c6e8
push 2
push dword [ebp - 0x10]
call fcn.00402f43
mov eax, dword [ebp - 4]
pop ecx
pop ecx
cmp byte [eax], 0x2c
je 0x403a55
push 0
push ecx
mov edx, 0x4144c0
lea ecx, [ebp - 4]
call fcn.00402963
mov esi, dword [ebp - 4]
add esp, 8
mov bl, byte [esi]
cmp bl, 0xa
je 0x403a50
cmp bl, 0xd
je 0x403a50
test bl, bl
je 0x403a62
mov cl, bl
mov bl, cl
cmp cl, 0xa
je 0x403a46
cmp cl, 0xd
je 0x403a46
cmp cl, 0x20
je 0x403a46
mov al, cl
sub al, 0x61
cmp al, 0x19
mov al, cl
ja 0x403a37
and al, 0xdf
mov bl, cl
cmp al, 0x4e
je 0x403a46
inc esi
mov bl, byte [esi]
mov cl, bl
test cl, cl
jne 0x403a1a
test bl, bl
jne 0x40398c
jmp 0x403a62
mov byte [esi], 0
jmp 0x403a62
mov byte [eax], 0
jmp 0x403a62
test eax, eax
je 0x403af1
mov ebx, 0x466e70
lea ecx, [edi + 0xe0]
mov edx, ebx
call fcn.0040310f
test eax, eax
je 0x403af1
lea ecx, [edi + 0xf8]
mov edx, 0x426ac8
call fcn.0040310f
test eax, eax
je 0x403af1
lea ecx, [edi + 0x110]
mov edx, 0x44c6e8
call fcn.0040310f
test eax, eax
je 0x403af1
mov esi, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcat_s]
mov edi, 0x4789f0
push ebx
mov ebx, 0x200
push ebx
push edi
call esi
add esp, 0xc
push 0x41413c
push ebx
push edi
call esi
add esp, 0xc
push 0x426ac8
push ebx
push edi
call esi
add esp, 0xc
push 0x41413c
push ebx
push edi
call esi
add esp, 0xc
push 0x44c6e8
push ebx
push edi
call esi
add esp, 0xc
push 0x4144dc
push ebx
push edi
jmp 0x403b0f
mov byte [0x4789f0], 3
jmp 0x403b47
mov esi, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcat_s]
push 0x41452c
push 0x200
push 0x4789f0
call esi
add esp, 0xc
cmp dword [0x476350], 0
je 0x403b47
push dword [ebp - 0x14]
push 0x414564
call fcn.00401006
pop ecx
pop ecx
jmp 0x403b47
push 0x4144dc
push esi
push 0x4789f0
call edi
add esp, 0xc
jmp 0x403b47
mov byte [0x4789f0], 1
pop edi
pop esi
pop ebx
leave
ret