Function at 0x41b5f0
Capabilities:
Terminate process
Write file on windows

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xc
mov ebx, ecx
test edx, edx
je 0x41b4c7
mov ebp, edx
cmp byte [edx], 0x30
je 0x41b4cc
push 0x5221fd
push ebp
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
add esp, 8
test eax, eax
je 0x41b4cc
push str._all
push ebp
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
add esp, 8
test eax, eax
je 0x41b4cc
push str.__all
push ebp
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
add esp, 8
test eax, eax
je 0x41b4cc
mov dword [esp], ebx
mov dword [esp + 8], ebp
push ebp
push str.._s
call fcn.00428600
add esp, 8
mov dword [esp + 4], eax
test eax, eax
je 0x41b5be
xor edi, edi
xor esi, esi
xor ebp, ebp
jmp 0x41b43e
push ebx
push 0x51e066
push dword [esp + 8]
call fcn.004014c0
add esp, 0xc
inc ebp
inc edi
mov esi, ebp
cmp ebp, 0xae
je 0x41b45f
mov ebx, dword [ebp*4 + 0x52220c]
push ebx
push dword [esp + 8]
call fcn.00435560
add esp, 8
test eax, eax
je 0x41b420
inc ebp
cmp ebp, 0xae
jne 0x41b43e
push dword [esp + 4]
call fcn.00424f10
add esp, 4
test edi, edi
je 0x41b50c
cmp edi, 1
mov ebx, dword [esp]
jne 0x41b5b4
cmp esi, 0xac
jg 0x41b5b4
add esi, 0xffffff53
mov edi, 1
nop word cs:[eax + eax]
mov eax, dword [esi*4 + 0x5224c0]
cmp byte [eax], 0x2e
je 0x41b5b4
push eax
push 0x51e066
push ebx
call fcn.004014c0
add esp, 0xc
inc esi
jne 0x41b4a0
jmp 0x41b5b4
mov ebp, 0x51cfd7
xor edi, edi
mov esi, 0xfffffd48
jmp 0x41b4f9
push eax
push 0x51e066
push ebx
call fcn.004014c0
add esp, 0xc
inc edi
add esi, 4
je 0x41b5b4
mov eax, dword [esi + str.._s]
cmp byte [eax], 0x2e
je 0x41b4e0
cmp byte [ebp], 0
jne 0x41b4e0
jmp 0x41b4f0
push dword [esp + 8]
push str.___s__
call fcn.00428600
add esp, 8
test eax, eax
je 0x41b5be
mov ebx, eax
xor edi, edi
xor ebp, ebp
jmp 0x41b540
inc edi
mov ebp, esi
lea eax, [ebp + 1]
cmp ebp, 0xad
mov ebp, eax
jge 0x41b5ab
mov eax, dword [ebp*4 + 0x52220c]
cmp byte [eax], 0x2e
cmove esi, ebp
push 0
push eax
push ebx
call fcn.00435e10
add esp, 0xc
test eax, eax
jne 0x41b533
push dword [esi*4 + 0x52220c]
push 0x51e066
mov ebp, dword [esp + 8]
push ebp
call fcn.004014c0
add esp, 0xc
cmp esi, 0xac
jg 0x41b530
nop
mov eax, dword [esi*4 + 0x522210]
cmp byte [eax], 0x2e
je 0x41b530
inc esi
push eax
push 0x51e066
push ebp
call fcn.004014c0
add esp, 0xc
cmp esi, 0xad
jne 0x41b580
mov esi, 0xad
jmp 0x41b530
push ebx
call fcn.00424f10
add esp, 4
mov eax, edi
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret
push 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
push eax
push 1
push 0x15
push str.Error:_out_of_memory_n
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
add esp, 0x10
push 1
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
nop word cs:[eax + eax]
push ebp
push ebx
push edi
push esi
mov esi, dword [esp + 0x14]
mov eax, dword [esi + 4]
mov edi, dword [esi + 0x2c]
mov ebp, dword [esi + 0x30]
mov dword [esi + 0x10], 0
push eax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fgetc
add esp, 4
cmp eax, 0xffffffff
je 0x41b61f
cmp dword [0x53dde4], 0
je 0x41b62d
mov dword [esi + 0x28], 0xffffffff
xor eax, eax
pop esi
pop edi
pop ebx
pop ebp
ret
mov ebx, eax
cmp eax, ebp
sete al
jmp 0x41b660
mov eax, dword [esi + 0xc]
mov dword [esi + 0x10], edx
mov byte [eax + ecx], bl
push dword [esi + 4]
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fgetc
add esp, 4
mov ebx, eax
cmp eax, ebp
sete al
cmp ebx, 0xffffffff
je 0x41b69e
cmp ebx, edi
je 0x41b69e
cmp ebx, ebp
je 0x41b69e
mov ecx, dword [esi + 0x10]
mov eax, dword [esi + 0x14]
lea edx, [ecx + 1]
cmp edx, eax
jl 0x41b640
add eax, eax
add eax, 0x64
mov dword [esi + 0x14], eax
mov ecx, eax
sar ecx, 0x1f
push ecx
push eax
push dword [esi + 0xc]
call fcn.00425220
add esp, 0xc
mov dword [esi + 0xc], eax
test eax, eax
je 0x41b6c2
mov ecx, dword [esi + 0x10]
lea edx, [ecx + 1]
jmp 0x41b643
test al, al
je 0x41b6a5
inc dword [esi + 0x18]
mov dword [esi + 0x28], ebx
mov eax, dword [esi + 0xc]
test eax, eax
je 0x41b626
mov ecx, dword [esi + 0x10]
mov byte [eax + ecx], 0
mov eax, dword [esi + 0xc]
jmp 0x41b628
push 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
push eax
push 1
push 0x15
push str.Error:_out_of_memory_n
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
add esp, 0x10
push 1
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
nop word cs:[eax + eax]
push ebp
push ebx
push edi
push esi
sub esp, 0x10
mov esi, dword [esp + 0x24]
mov eax, dword [esi + 4]
mov edi, dword [esi + 0x2c]
mov ebp, dword [esi + 0x30]
mov dword [esi + 0x10], 0
push eax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fgetc
add esp, 4
cmp eax, 0xffffffff
je 0x41b7e9
mov ebx, eax
nop
cmp dword [0x53dde4], 0
jne 0x41b7e9
cmp ebx, 0x22
je 0x41b88f
cmp bl, 0xef
jne 0x41b7f7
cmp dword [esi + 0x24], 0
jne 0x41b7f7
mov ecx, dword [esi + 0x10]
mov eax, dword [esi + 0x14]
lea edx, [ecx + 1]
cmp edx, eax
jge 0x41b760
mov eax, dword [esi + 0xc]
jmp 0x41b78b
add eax, eax
add eax, 0x64
mov dword [esi + 0x14], eax
mov ecx, eax
sar ecx, 0x1f
push ecx
push eax
push dword [esi + 0xc]
call fcn.00425220
add esp, 0xc
mov dword [esi + 0xc], eax
test eax, eax
je 0x41ba2b
mov ecx, dword [esi + 0x10]
lea edx, [ecx + 1]
mov dword [esi + 0x10], edx
mov byte [eax + ecx], bl
push dword [esi + 4]
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fgetc
add esp, 4
mov ebx, eax
cmp bl, 0xbb
jne 0x41b7f7
mov ecx, esi
mov edx, ebx
call fcn.0041bb20
push dword [esi + 4]
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fgetc
add esp, 4
mov ebx, eax
cmp bl, 0xbf
jne 0x41b7f7
mov dword [esi + 0x24], 1
mov eax, dword [esi + 4]
mov edi, dword [esi + 0x2c]
mov ebp, dword [esi + 0x30]
mov dword [esi + 0x10], 0
push eax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fgetc
add esp, 4
mov ebx, eax
cmp eax, 0xffffffff
jne 0x41b720
mov dword [esi + 0x28], 0xffffffff
xor eax, eax
jmp 0x41ba23
cmp ebx, ebp
jmp 0x41b818
mov eax, dword [esi + 0xc]
mov dword [esi + 0x10], edx
mov byte [eax + ecx], bl
push dword [esi + 4]
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fgetc
add esp, 4
mov ebx, eax
cmp eax, ebp
sete al
cmp ebx, 0xffffffff
je 0x41b862
cmp ebx, edi
je 0x41b862
cmp ebx, ebp
je 0x41b862
mov ecx, dword [esi + 0x10]
mov eax, dword [esi + 0x14]
lea edx, [ecx + 1]
cmp edx, eax
jl 0x41b800
add eax, eax
add eax, 0x64
mov dword [esi + 0x14], eax
mov ecx, eax
sar ecx, 0x1f
push ecx
push eax
push dword [esi + 0xc]
call fcn.00425220
add esp, 0xc
mov dword [esi + 0xc], eax
test eax, eax
je 0x41ba2b
mov ecx, dword [esi + 0x10]
lea edx, [ecx + 1]
jmp 0x41b803
test al, al
je 0x41ba04
inc dword [esi + 0x18]
mov eax, dword [esi + 0x10]
test eax, eax
jle 0x41ba04
mov ecx, dword [esi + 0xc]
cmp byte [ecx + eax - 1], 0xd
jne 0x41ba04
dec eax
mov dword [esi + 0x10], eax
jmp 0x41ba04
mov dword [esp + 4], edi
mov eax, dword [esi + 0x18]
mov dword [esp + 0xc], eax
xor edi, edi
mov dword [esp + 8], 0
jmp 0x41b8c2
mov eax, dword [esi + 0xc]
mov dword [esi + 0x10], edx
mov byte [eax + ecx], bl
mov edi, ebx
mov eax, dword [esp]
mov dword [esp + 8], eax
push dword [esi + 4]
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fgetc
add esp, 4
mov ebx, eax
cmp eax, ebp
sete cl
jne 0x41b8d9
inc dword [esi + 0x18]
cmp edi, 0x22
sete al
jne 0x41b910
mov dword [esp], edi
cmp ebx, 0x22
mov edi, dword [esp + 4]
jne 0x41b922
push dword [esi + 4]
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fgetc
add esp, 4
mov ebx, eax
xor eax, eax
cmp ebx, ebp
jne 0x41b919
inc dword [esi + 0x18]
mov cl, 1
xor eax, eax
mov dword [esp], 0
jmp 0x41b922
mov dword [esp], edi
mov edi, dword [esp + 4]
jmp 0x41b922
mov dword [esp], 0
xor ecx, ecx
cmp ebx, edi
sete dl
test al, dl
jne 0x41b9c7
mov edx, eax
and dl, cl
jne 0x41b9c7
mov edx, dword [esp]
xor edx, 0xd
mov edi, dword [esp + 8]
xor edi, 0x22
or edi, edx
sete dl
test dl, cl
jne 0x41b9c7
cmp ebx, 0xffffffff
setne cl
xor al, 1
or cl, al
je 0x41b9c7
cmp ebx, 0xd
sete cl
or al, cl
jne 0x41b985
push 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
push 0x22
push dword [esi + 0x18]
push dword [esi]
push str._s:_d:_unescaped__c_character_n
push eax
call fcn.004014c0
add esp, 0x14
cmp ebx, 0xffffffff
je 0x41b9de
mov ecx, dword [esi + 0x10]
mov eax, dword [esi + 0x14]
lea edx, [ecx + 1]
cmp edx, eax
jl 0x41b8b0
add eax, eax
add eax, 0x64
mov dword [esi + 0x14], eax
mov ecx, eax
sar ecx, 0x1f
push ecx
push eax
push dword [esi + 0xc]
call fcn.00425220
add esp, 0xc
mov dword [esi + 0xc], eax
test eax, eax
je 0x41ba2b
mov ecx, dword [esi + 0x10]
lea edx, [ecx + 1]
jmp 0x41b8b3
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
dec ecx
nop
mov dword [esi + 0x10], ecx
cmp byte [eax + ecx], 0x22
lea ecx, [ecx - 1]
jne 0x41b9d0
jmp 0x41ba04
push 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
push 0x22
push dword [esp + 0x10]
push dword [esi]
push str._s:_d:_unterminated__c_quoted_field_n
push eax
call fcn.004014c0
add esp, 0x14
mov ebx, 0xffffffff
mov dword [esi + 0x28], ebx
mov eax, dword [esi + 0xc]
test eax, eax
je 0x41ba1a
mov ecx, dword [esi + 0x10]
mov byte [eax + ecx], 0
mov eax, dword [esi + 0xc]
jmp 0x41ba1c
xor eax, eax
mov dword [esi + 0x24], 1
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
push 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
push eax
push 1
push 0x15
push str.Error:_out_of_memory_n
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
add esp, 0x10
push 1
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
nop