Function at 0x402290
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xad0
mov esi, esp
mov eax, dword [0x567b10]
xor eax, ebp
mov dword [esi + 0xac8], eax
cmp byte [0x5683ec], 0
mov dword [esi + 0x68], ecx
sete ah
cmp byte [0x568364], 0
mov dword [esi + 0x6c], edx
setne al
and al, ah
cmp edx, 1
jne 0x402303
test al, al
je 0x402303
cmp byte [ecx], 0x2d
jne 0x402303
call fcn.00417ee0
mov edx, dword [eax + 0xc]
mov ecx, dword [eax + 0x10]
sub edx, ecx
cmp edx, 0x2d
ja 0x402462
mov ecx, eax
push 0x2e
push str.error:_cannot_use__i_when_reading_from_stdin._n
call fcn.00416e70
xor ebx, ebx
jmp 0x403851
test al, al
je 0x4023a4
mov word [esi + 0x3a8], 0x105
lea eax, [esi + 0x68]
mov dword [esi + 0x3a0], eax
lea eax, [esi + 0x3a0]
lea ecx, [esi + 0xabc]
push eax
push ecx
call fcn.00419470
add esp, 8
test byte [esi + 0xac4], 1
je 0x4023df
mov edi, dword [esi + 0xabc]
test edi, edi
je 0x402400
mov ebx, dword [esi + 0xac0]
call fcn.00417ee0
mov dword [esi + 8], eax
mov eax, dword [ebx]
lea edx, [esi + 0x3a0]
mov ecx, ebx
push edi
mov edi, edx
push edx
call dword [eax + 8]
mov eax, dword [esi + 0x3b0]
cmp dword [esi + 0x3b4], 0xf
jbe 0x402382
mov edi, dword [esi + 0x3a0]
mov ecx, dword [esi + 8]
push eax
push edi
call fcn.00416e70
mov ecx, dword [eax + 0x10]
cmp dword [eax + 0xc], ecx
je 0x4025d4
mov byte [ecx], 0xa
add dword [eax + 0x10], 1
jmp 0x4025e2
mov word [esi + 0x3a8], 0x105
lea eax, [esi + 0x68]
mov dword [esi + 0x3a0], eax
lea eax, [esi + 0x3a0]
lea ecx, [esi + 0xabc]
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push eax
push ecx
call fcn.00418840
add esp, 0x14
test byte [esi + 0xac4], 1
jne 0x402340
mov eax, dword [0x568c58]
mov ecx, dword [0x5698e8]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 0xc]
jg 0x403868
mov edi, dword [esi + 0xabc]
mov dword [esi + 0xabc], 0
mov eax, dword [edi + 4]
mov ecx, dword [edi + 8]
sub ecx, eax
je 0x40245b
push ecx
push eax
call fcn.0044e570
add esp, 8
test eax, eax
mov dword [esi + 0xc], edi
je 0x40248d
mov dword [esi + 8], eax
call fcn.00417ee0
mov ebx, eax
mov ecx, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
sub ecx, eax
cmp ecx, 0x31
ja 0x4024f4
mov ecx, ebx
push 0x32
push str.error:_encoding_with_unsupported_byte_order_mark__
call fcn.00416e70
mov ebx, eax
jmp 0x40251e
xor ebx, ebx
jmp 0x403830
movups xmm0, xmmword [0x5361ca]
movups xmmword [ecx + 0x1e], xmm0
movups xmm0, xmmword [0x5361bc]
movups xmmword [ecx + 0x10], xmm0
movups xmm0, xmmword [str.error:_cannot_use__i_when_reading_from_stdin._n]
movups xmmword [ecx], xmm0
add dword [eax + 0x10], 0x2e
xor ebx, ebx
jmp 0x403851
mov dword [esi + 0x5c], 0
mov dword [esi + 0x60], 0
mov dword [esi + 0x64], 0
lea edx, [esi + 0x5c]
mov ecx, edi
call fcn.00406520
mov bl, 1
test al, al
jne 0x4037f9
mov ecx, dword [esi + 0x6c]
cmp ecx, 1
jne 0x4026cd
mov eax, dword [esi + 0x68]
mov dword [esi + 8], eax
cmp byte [eax], 0x2d
jne 0x402700
cmp dword [0x5682c8], 0xf
mov dword [esi + 8], 0x5682b4
jbe 0x4024e9
mov eax, dword [0x5682b4]
mov dword [esi + 8], eax
mov ecx, dword [0x5682c4]
jmp 0x4026d3
movups xmm0, xmmword [0x5361fb]
movups xmmword [eax + 0x20], xmm0
movups xmm0, xmmword [0x5361eb]
movups xmmword [eax + 0x10], xmm0
movups xmm0, xmmword [str.error:_encoding_with_unsupported_byte_order_mark__]
movups xmmword [eax], xmm0
mov word [eax + 0x30], 0x2220
add dword [ebx + 0x10], 0x32
push dword [esi + 8]
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
mov edi, eax
mov ecx, dword [ebx + 0xc]
mov eax, dword [ebx + 0x10]
sub ecx, eax
cmp ecx, edi
jae 0x402549
mov ecx, ebx
push edi
push dword [esi + 8]
call fcn.00416e70
mov ebx, eax
mov eax, dword [eax + 0x10]
jmp 0x402562
test edi, edi
je 0x402562
push edi
push dword [esi + 8]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [ebx + 0x10]
add eax, edi
mov dword [ebx + 0x10], eax
mov ecx, dword [ebx + 0xc]
sub ecx, eax
cmp ecx, 9
mov edi, dword [esi + 0xc]
ja 0x402585
mov ecx, ebx
push 0xa
push str.__detected
call fcn.00416e70
cmp dword [esi + 0x6c], 1
je 0x4025a2
jmp 0x4025ae
mov word [eax + 8], 0x6465
mov dword [eax + 4], 0x74636574
mov dword [eax], 0x65642022
add dword [ebx + 0x10], 0xa
cmp dword [esi + 0x6c], 1
jne 0x4025ae
mov eax, dword [esi + 0x68]
cmp byte [eax], 0x2d
je 0x402696
call fcn.00417ee0
mov ebx, eax
mov ecx, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
sub ecx, eax
cmp ecx, 9
ja 0x402627
mov ecx, ebx
push 0xa
push str._in_file_
call fcn.00416e70
mov ebx, eax
jmp 0x40263e
mov ecx, eax
push 1
push 0x535f6b
call fcn.00416e70
mov eax, dword [esi + 0x3b4]
cmp eax, 0x10
jb 0x402620
mov ecx, dword [esi + 0x3a0]
lea edi, [eax + 1]
cmp edi, 0x1000
jb 0x402616
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x4038a1
add eax, 0x24
mov edi, eax
mov ecx, edx
push edi
push ecx
call fcn.00533ac0
add esp, 8
mov bl, 1
jmp 0x403838
mov word [eax + 8], 0x2720
mov dword [eax + 4], 0x656c6966
mov dword [eax], 0x206e6920
add dword [ebx + 0x10], 0xa
mov edx, dword [esi + 0x68]
mov edi, dword [esi + 0x6c]
mov ecx, dword [ebx + 0xc]
mov eax, dword [ebx + 0x10]
sub ecx, eax
cmp ecx, edi
jae 0x402660
mov ecx, ebx
push edi
push edx
call fcn.00416e70
mov ebx, eax
mov eax, dword [eax + 0x10]
jmp 0x402677
test edi, edi
je 0x402677
push edi
push edx
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
add edi, dword [ebx + 0x10]
mov dword [ebx + 0x10], edi
mov eax, edi
mov edi, dword [esi + 0xc]
cmp dword [ebx + 0xc], eax
je 0x402688
mov byte [eax], 0x27
add dword [ebx + 0x10], 1
jmp 0x402696
mov ecx, ebx
push 1
push 0x536224
call fcn.00416e70
call fcn.00417ee0
mov edx, dword [eax + 0xc]
mov ecx, dword [eax + 0x10]
sub edx, ecx
cmp edx, 1
ja 0x4026bd
mov ecx, eax
push 2
push 0x536226
call fcn.00416e70
mov bl, 1
jmp 0x403830
mov word [ecx], 0xa2e
add dword [eax + 0x10], 2
mov bl, 1
jmp 0x403830
mov eax, dword [esi + 0x68]
mov dword [esi + 8], eax
test ecx, ecx
jne 0x402705
call fcn.00417ee0
mov edx, dword [eax + 0xc]
mov ecx, dword [eax + 0x10]
sub edx, ecx
cmp edx, 0x26
ja 0x402a54
mov ecx, eax
push 0x27
push str.error:_empty_filenames_are_not_allowed_n
call fcn.00416e70
jmp 0x4037f9
mov ecx, 1
mov dword [esi + 0x10], ecx
mov ecx, dword [0x56898c]
mov eax, dword [edi + 4]
mov edx, dword [edi + 8]
cmp dword [0x568218], 0xf
mov edi, 0x568204
jbe 0x402728
mov edi, dword [0x568204]
mov dword [esi + 0x14], edi
and ecx, 1
sub edx, eax
mov ebx, dword [0x568214]
cmp dword [0x568168], 0xf
mov edi, 0x568154
jbe 0x40274a
mov edi, dword [0x568154]
push ecx
push 0
push edx
push eax
push ebx
push dword [esi + 0x14]
push dword [esi + 0x10]
push dword [esi + 8]
push dword [0x568164]
push edi
lea eax, [esi + 0x8e4]
push eax
call fcn.00465320
add esp, 0x2c
test byte [esi + 0xab8], 1
jne 0x402968
cmp word [0x56853c], 0
mov edx, dword [esi + 0xc]
je 0x402794
mov al, byte [0x568584]
mov byte [esi + 0xa79], al
mov eax, dword [0x5684fc]
mov dword [esi + 0x58], eax
mov eax, dword [esi + 0x5c]
mov ecx, dword [esi + 0x60]
sub ecx, eax
sar ecx, 3
mov edx, dword [edx + 4]
mov edi, dword [esi + 0xc]
mov edi, dword [edi + 8]
sub edi, edx
lea ebx, [esi + 0x58]
push ebx
push dword [esi + 0x10]
push dword [esi + 8]
push ecx
push eax
push edi
mov edi, dword [esi + 0xc]
push edx
lea eax, [esi + 0x8e4]
push eax
lea ebx, [esi + 0x50]
push ebx
call fcn.00463c90
add esp, 0x24
mov eax, dword [edi + 4]
mov ecx, dword [edi + 8]
mov edi, ebx
sub ecx, eax
lea ebx, [esi + 0x8c8]
push edi
push ecx
push eax
push ebx
call fcn.004b5d20
add esp, 0x10
test byte [esi + 0x8e0], 1
jne 0x4029de
lea eax, [esi + 0x3a0]
lea ecx, [esi + 0x5c]
push ecx
push edi
push eax
call fcn.004b51f0
add esp, 0xc
mov ecx, dword [esi + 0x5c]
test ecx, ecx
je 0x402846
mov eax, dword [esi + 0x64]
sub eax, ecx
cmp eax, 0x1000
jb 0x40283c
mov edx, dword [ecx - 4]
sub ecx, edx
add ecx, 0xfffffffc
cmp ecx, 0x20
jae 0x4038a1
add eax, 0x23
mov ecx, edx
push eax
push ecx
call fcn.00533ac0
add esp, 8
mov eax, dword [esi + 0x3a0]
mov ecx, dword [esi + 0x3a4]
mov dword [esi + 0x5c], eax
mov dword [esi + 0x60], ecx
mov edx, dword [esi + 0x3a8]
mov dword [esi + 0x64], edx
mov byte [esi + 0x48], 1
mov dword [esi + 0x4c], 0
sub ecx, eax
sar ecx, 3
mov edx, dword [esi + 0x8d8]
mov dword [esi + 0x14], edx
cmp dword [esi + 0x8dc], 0xf
jbe 0x402889
mov ebx, dword [esi + 0x8c8]
lea edi, [esi + 0x40]
lea edx, [esi + 0x48]
push edx
push dword [esi + 0x10]
push dword [esi + 8]
push ecx
push eax
push dword [esi + 0x14]
push ebx
lea eax, [esi + 0x8e4]
push eax
push edi
call fcn.00464df0
add esp, 0x24
lea ebx, [esi + 0x50]
mov ecx, ebx
push edi
lea eax, [esi + 0x3a0]
push eax
call fcn.004b3f00
mov edi, dword [esi + 0x50]
mov ecx, ebx
push dword [edi + 4]
push ebx
call fcn.004078e0
mov dword [edi + 4], edi
mov dword [edi], edi
mov dword [edi + 8], edi
mov eax, dword [esi + 0x50]
mov ecx, dword [esi + 0x3a0]
mov edx, dword [esi + 0x3a4]
mov dword [esi + 0x50], ecx
mov dword [esi + 0x3a0], eax
mov dword [esi + 0x54], edx
mov dword [esi + 0x3a4], 0
lea ecx, [esi + 0x3a0]
push dword [eax + 4]
push ecx
call fcn.004078e0
push 0x48
push dword [esi + 0x3a0]
call fcn.00533ac0
add esp, 8
cmp byte [0x5683ec], 0
mov al, byte [0x568694]
je 0x402af9
test al, al
mov edi, dword [esi + 0xc]
jne 0x402b04
mov eax, dword [esi + 0x58]
mov dword [esi + 8], eax
call fcn.00417dd0
mov edi, eax
mov ecx, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
sub ecx, eax
cmp ecx, 0x4b
ja 0x402dc6
mov ecx, edi
push 0x4c
push str.__xml_version1.0___n_replacements_xml:spacepreserve_incomplete_format
call fcn.00416e70
mov edi, eax
jmp 0x402e00
call fcn.00417ee0
mov dword [esi + 8], eax
mov ebx, esp
sub esp, 8
mov eax, esp
xor ecx, ecx
test byte [esi + 0xab8], 1
je 0x402992
mov ecx, dword [esi + 0x8e4]
mov dword [esi + 0x8e4], 0
mov dword [eax + 4], ecx
lea edi, [esi + 0x3a0]
mov dword [eax], edi
call fcn.00404ac0
add esp, 8
mov esp, ebx
mov eax, dword [esi + 0x3b0]
cmp dword [esi + 0x3b4], 0xf
jbe 0x4029bc
mov edi, dword [esi + 0x3a0]
mov ecx, dword [esi + 8]
push eax
push edi
call fcn.00416e70
mov ecx, dword [eax + 0x10]
cmp dword [eax + 0xc], ecx
je 0x402a7f
mov byte [ecx], 0xa
add dword [eax + 0x10], 1
jmp 0x402a8d
call fcn.00417ee0
mov dword [esi + 8], eax
mov ebx, esp
sub esp, 8
mov eax, esp
xor ecx, ecx
test byte [esi + 0x8e0], 1
je 0x402a08
mov ecx, dword [esi + 0x8c8]
mov dword [esi + 0x8c8], 0
mov dword [eax + 4], ecx
lea edi, [esi + 0x3a0]
mov dword [eax], edi
call fcn.00404ac0
add esp, 8
mov esp, ebx
mov eax, dword [esi + 0x3b0]
cmp dword [esi + 0x3b4], 0xf
jbe 0x402a32
mov edi, dword [esi + 0x3a0]
mov ecx, dword [esi + 8]
push eax
push edi
call fcn.00416e70
mov ecx, dword [eax + 0x10]
cmp dword [eax + 0xc], ecx
je 0x402b51
mov byte [ecx], 0xa
add dword [eax + 0x10], 1
jmp 0x402b5f
movsd xmm0, qword [0x536248]
movsd qword [ecx + 0x1f], xmm0
movups xmm0, xmmword [0x536239]
movups xmmword [ecx + 0x10], xmm0
movups xmm0, xmmword [str.error:_empty_filenames_are_not_allowed_n]
movups xmmword [ecx], xmm0
add dword [eax + 0x10], 0x27
jmp 0x4037f9
mov ecx, eax
push 1
push 0x535f6b
call fcn.00416e70
mov edi, dword [esi + 0xc]
mov eax, dword [esi + 0x3b4]
cmp eax, 0x10
jb 0x402ad1
mov ecx, dword [esi + 0x3a0]
lea edi, [eax + 1]
cmp edi, 0x1000
jb 0x402ac4
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x4038a1
add eax, 0x24
mov edi, eax
mov ecx, edx
push edi
push ecx
call fcn.00533ac0
add esp, 8
mov edi, dword [esi + 0xc]
mov bl, 1
test byte [esi + 0xab8], 1
je 0x4037ee
mov ecx, dword [esi + 0x8e4]
test ecx, ecx
je 0x4037f9
mov eax, dword [ecx]
push 1
call dword [eax]
jmp 0x4037f9
test al, al
mov edi, dword [esi + 0xc]
je 0x402ba7
cmp dword [esi + 0x54], 0
je 0x40374b
cmp byte [0x56876c], 0
je 0x4030cb
cmp byte [0x5687f4], 0
jne 0x4030cb
mov ebx, esp
xorps xmm0, xmm0
movaps xmmword [esi + 0x80], xmm0
movaps xmmword [esi + 0x70], xmm0
mov edi, dword [edi + 4]
test edi, edi
je 0x402e98
push edi
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
jmp 0x402e9a
mov ecx, eax
push 1
push 0x535f6b
call fcn.00416e70
mov eax, dword [esi + 0x3b4]
cmp eax, 0x10
jb 0x402b9d
mov ecx, dword [esi + 0x3a0]
lea edi, [eax + 1]
cmp edi, 0x1000
jb 0x402b93
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x4038a1
add eax, 0x24
mov edi, eax
mov ecx, edx
push edi
push ecx
call fcn.00533ac0
add esp, 8
mov bl, 1
mov edi, dword [esi + 0xc]
jmp 0x403769
push 0x28
call fcn.00533f15
add esp, 4
mov ebx, eax
mov ecx, eax
push 1
call fcn.00419a00
mov edi, esp
lock add dword [ebx + 4], 1
sub esp, 8
mov eax, esp
mov dword [eax + 4], ebx
mov dword [esi + 0x14], ebx
lock add dword [ebx + 4], 1
xorps xmm0, xmm0
movaps xmmword [esi + 0x3a0], xmm0
mov dword [esi + 0x3b4], 0xf
mov dword [esi + 0x3b0], 0
mov byte [esi + 0x3a0], 0
lea ecx, [esi + 0x3a0]
mov dword [eax], ecx
lea ecx, [esi + 0x758]
call fcn.00455d90
mov esp, edi
mov eax, dword [esi + 0x3b4]
cmp eax, 0x10
jb 0x402c4b
mov ecx, dword [esi + 0x3a0]
lea edi, [eax + 1]
cmp edi, 0x1000
jb 0x402c41
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x4038a1
add eax, 0x24
mov edi, eax
mov ecx, edx
push edi
push ecx
call fcn.00533ac0
add esp, 8
mov dword [esi + 0x18], esp
mov ebx, 0xf
push eax
sub esp, 0xc
mov edi, esp
push 0x8c
call fcn.00533f15
add esp, 4
mov dword [eax + 0x40], ebx
mov dword [eax + 0x3c], 0
mov byte [eax + 0x2c], 0
mov dword [eax + 0x58], ebx
mov dword [eax + 0x54], 0
mov byte [eax + 0x44], 0
xorps xmm0, xmm0
movups xmmword [eax + 0x5c], xmm0
movups xmmword [eax + 0x6c], xmm0
movups xmmword [eax + 0x7c], xmm0
mov dword [eax + 0x28], 0
movaps xmm0, xmmword [0x5353d0]
movups xmmword [eax + 0x10], xmm0
mov dword [eax + 0x20], 8
mov dword [eax + 0x24], 0
mov dword [edi + 4], eax
movaps xmm0, xmmword [0x5353e0]
movups xmmword [eax], xmm0
push 8
call fcn.00533f15
add esp, 4
mov ebx, eax
mov ecx, eax
call fcn.00458a80
add dword [ebx], 1
mov dword [edi], ebx
mov dword [edi + 8], 0
mov byte [edi + 0xc], 1
lea edi, [esi + 0x3a0]
mov ecx, edi
call fcn.004597c0
mov esp, dword [esi + 0x18]
lea ecx, [esi + 0x23c]
push 0
lea ebx, [esi + 0x758]
push ebx
push edi
call fcn.0044f530
lea ecx, [esi + 0x2c]
mov edi, dword [esi + 0xc]
push edi
call fcn.0041ef90
sub esp, 0x20
movups xmm0, xmmword [esi + 0x2c]
movups xmmword [esp + 4], xmm0
mov dword [esp + 0x18], ebx
mov eax, dword [esi + 0x14]
mov dword [esp + 0x1c], eax
lea eax, [esi + 0x23c]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x10]
mov dword [esp], eax
lea ecx, [esi + 0x3c]
mov edx, dword [esi + 8]
call fcn.00406e70
add esp, 0x20
lea ebx, [esi + 0x70]
mov ecx, ebx
call fcn.0045ad00
lea eax, [esi + 0x23c]
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
push 0x24
call fcn.00533f15
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi + 0x24], eax
mov ecx, ebx
call fcn.00406fa0
lea eax, [esi + 0x1c]
push eax
lea eax, [esi + 0x50]
push eax
call fcn.004b5b70
add esp, 8
cmp byte [0x568364], 0
je 0x40302f
lea ecx, [esi + 0x1c]
call fcn.004b0400
test al, al
je 0x4036f1
mov dword [esi + 8], 0
jmp 0x4036f6
movups xmm0, xmmword [0x536443]
movups xmmword [eax + 0x3c], xmm0
movups xmm0, xmmword [0x536437]
movups xmmword [eax + 0x30], xmm0
movups xmm0, xmmword [0x536427]
movups xmmword [eax + 0x20], xmm0
movups xmm0, xmmword [0x536417]
movups xmmword [eax + 0x10], xmm0
movups xmm0, xmmword [str.__xml_version1.0___n_replacements_xml:spacepreserve_incomplete_format]
movups xmmword [eax], xmm0
add dword [edi + 0x10], 0x4c
xor ebx, ebx
cmp byte [esi + 0x48], 0
sete bl
mov ecx, str.true
mov eax, str.false
cmove eax, ecx
xor ebx, 5
mov edx, dword [edi + 0xc]
mov ecx, dword [edi + 0x10]
sub edx, ecx
cmp edx, ebx
jae 0x402e35
mov ecx, edi
push ebx
push eax
call fcn.00416e70
mov edi, eax
mov ebx, dword [eax + 0x10]
jmp 0x402e46
push ebx
push eax
push ecx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
add ebx, dword [edi + 0x10]
mov dword [edi + 0x10], ebx
cmp dword [edi + 0xc], ebx
je 0x402e54
mov byte [ebx], 0x27
add dword [edi + 0x10], 1
jmp 0x402e62
mov ecx, edi
push 1
push 0x536224
call fcn.00416e70
cmp byte [esi + 0x48], 0
mov edi, dword [esi + 0xc]
jne 0x403114
call fcn.00417dd0
mov edx, dword [eax + 0xc]
mov ecx, dword [eax + 0x10]
sub edx, ecx
cmp edx, 6
ja 0x4030da
mov ecx, eax
push 7
push str._line
call fcn.00416e70
jmp 0x4030eb
xor eax, eax
lea ecx, [esi + 0x758]
push 1
push dword [esi + 0x10]
push dword [esi + 8]
push eax
push edi
push ecx
call fcn.004186b0
add esp, 0x18
mov eax, dword [esi + 0x758]
mov dword [esi + 0x758], 0
mov dword [esi + 0x3a4], 0
mov dword [esi + 0x3a0], eax
mov dword [esi + 0x3a8], 0
mov eax, dword [esi + 0x74]
cmp eax, dword [esi + 0x78]
je 0x402ef9
mov ecx, eax
lea eax, [esi + 0x3a0]
push eax
call fcn.0041f280
add dword [esi + 0x74], 0xc
jmp 0x402f09
lea ecx, [esi + 0x70]
lea edx, [esi + 0x3a0]
push edx
push eax
call fcn.00407ba0
mov dword [esi + 0x14], edi
lea ecx, [esi + 0x3a0]
call fcn.0041f2b0
mov esp, ebx
mov ecx, dword [esi + 0x758]
test ecx, ecx
je 0x402f29
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [esi + 0x50]
mov ebx, dword [eax]
mov dword [esi + 0x18], eax
cmp ebx, eax
je 0x403075
mov dword [esi + 0x10], 0
jmp 0x402f4d
mov ebx, eax
cmp eax, dword [esi + 0x18]
je 0x403075
mov dword [esi + 0x758], str.code_should_be_clang_formatted___Wclang_format_violations_
mov word [esi + 0x760], 0x103
movzx eax, byte [0x568904]
xor eax, 1
mov ecx, dword [ebx + 0x28]
add ecx, dword [esi + 0x14]
sub esp, 0x20
mov dword [esp + 8], eax
xorps xmm0, xmm0
movups xmmword [esp + 0x10], xmm0
lea eax, [esi + 0x758]
mov dword [esp + 0xc], eax
mov dword [esp + 4], ecx
lea edi, [esi + 0x3a0]
mov dword [esp], edi
lea ecx, [esi + 0x70]
call fcn.0041f550
cmp byte [0x568b04], 0
setne al
cmp byte [0x568b8c], 0
sete cl
and cl, al
mov byte [esi + 8], cl
call fcn.00417ee0
movzx edx, byte [esi + 8]
mov ecx, edi
push 1
push edx
push eax
push 0
call fcn.0041fd20
mov eax, dword [0x56887c]
test eax, eax
je 0x402fe7
mov ecx, dword [esi + 0x10]
add ecx, 1
mov dword [esi + 0x10], ecx
cmp ecx, eax
jae 0x40306a
lea ecx, [esi + 0x3a0]
call fcn.004079e0
mov ecx, dword [ebx + 8]
cmp byte [ecx + 0xd], 0
je 0x403020
mov eax, dword [ebx + 4]
cmp byte [eax + 0xd], 0
jne 0x402f42
mov ecx, ebx
mov ebx, eax
cmp ecx, dword [eax + 8]
je 0x402ffb
mov eax, ebx
jmp 0x402f42
mov eax, ecx
mov ecx, dword [ecx]
cmp byte [ecx + 0xd], 0
je 0x403020
jmp 0x402f42
cmp word [0x5684b4], 0
je 0x4036d4
call fcn.00417dd0
mov edi, eax
mov ecx, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
sub ecx, eax
cmp ecx, 0xb
ja 0x4035b2
mov ecx, edi
push 0xc
push str.__Cursor_:
call fcn.00416e70
mov edi, eax
jmp 0x4035ca
lea ecx, [esi + 0x3a0]
call fcn.004079e0
lea ecx, [esi + 0x7c]
call fcn.00403f70
mov edi, dword [esi + 0x70]
test edi, edi
je 0x4030c8
mov ebx, dword [esi + 0x74]
cmp edi, ebx
je 0x40309c
mov ecx, edi
call fcn.0041f2b0
add edi, 0xc
cmp ebx, edi
jne 0x40308b
mov edi, dword [esi + 0x70]
mov eax, dword [esi + 0x78]
sub eax, edi
cmp eax, 0x1000
jb 0x4030be
mov ecx, dword [edi - 4]
sub edi, ecx
add edi, 0xfffffffc
cmp edi, 0x20
jae 0x4038a1
add eax, 0x23
mov edi, ecx
push eax
push edi
call fcn.00533ac0
add esp, 8
mov edi, dword [esi + 0xc]
cmp byte [0x568904], 0
setne bl
jmp 0x40374d
mov dword [ecx + 3], 0x273d656e
mov dword [ecx], 0x6e696c20
add dword [eax + 0x10], 7
mov ecx, eax
push dword [esi + 0x4c]
call fcn.00416820
mov ecx, dword [eax + 0x10]
cmp dword [eax + 0xc], ecx
je 0x403106
mov byte [ecx], 0x27
add dword [eax + 0x10], 1
jmp 0x403114
mov ecx, eax
push 1
push 0x536224
call fcn.00416e70
call fcn.00417dd0
mov edx, dword [eax + 0xc]
mov ecx, dword [eax + 0x10]
sub edx, ecx
cmp edx, 1
ja 0x403136
mov ecx, eax
push 2
push 0x53645c
call fcn.00416e70
jmp 0x40313f
mov word [ecx], 0xa3e
add dword [eax + 0x10], 2
cmp word [0x5684b4], 0
je 0x4031cf
call fcn.00417dd0
mov edi, eax
mov ecx, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
sub ecx, eax
cmp ecx, 7
ja 0x403173
mov ecx, edi
push 8
push str._cursor_
call fcn.00416e70
mov edi, eax
jmp 0x403184
mov dword [eax + 4], 0x3e726f73
mov dword [eax], 0x7275633c
add dword [edi + 0x10], 8
mov eax, dword [esi + 8]
lea ecx, [esi + 0x40]
push eax
call fcn.004b2f10
mov ecx, edi
push eax
call fcn.00416820
mov edx, dword [eax + 0xc]
mov ecx, dword [eax + 0x10]
sub edx, ecx
cmp edx, 9
ja 0x4031b5
mov ecx, eax
push 0xa
push str.__cursor__n
call fcn.00416e70
jmp 0x4031cc
mov word [ecx + 8], 0xa3e
mov dword [ecx + 4], 0x726f7372
mov dword [ecx], 0x75632f3c
add dword [eax + 0x10], 0xa
mov edi, dword [esi + 0xc]
mov eax, dword [esi + 0x50]
mov ebx, dword [eax]
mov dword [esi + 0x14], eax
cmp ebx, eax
jne 0x40320b
call fcn.00417dd0
mov edx, dword [eax + 0xc]
mov ecx, dword [eax + 0x10]
sub edx, ecx
cmp edx, 0xf
ja 0x40359f
mov ecx, eax
push 0x10
push str.__replacements__n
call fcn.00416e70
jmp 0x40374b
mov ebx, eax
cmp eax, dword [esi + 0x14]
je 0x4031db
call fcn.00417dd0
mov edx, dword [eax + 0xc]
mov ecx, dword [eax + 0x10]
sub edx, ecx
cmp edx, 0xc
ja 0x40322d
mov ecx, eax
push 0xd
push str._replacement
call fcn.00416e70
jmp 0x403249
mov byte [ecx + 0xc], 0x20
mov dword [ecx + 8], 0x746e656d
mov dword [ecx + 4], 0x6563616c
mov dword [ecx], 0x7065723c
add dword [eax + 0x10], 0xd
mov edx, dword [eax + 0xc]
mov ecx, dword [eax + 0x10]
sub edx, ecx
cmp edx, 7
ja 0x403266
mov ecx, eax
push 8
push str.offset
call fcn.00416e70
jmp 0x403277
mov dword [ecx + 4], 0x273d7465
mov dword [ecx], 0x7366666f
add dword [eax + 0x10], 8
mov ecx, eax
push dword [ebx + 0x28]
call fcn.00416820
mov edx, dword [eax + 0xc]
mov ecx, dword [eax + 0x10]
sub edx, ecx
cmp edx, 1
ja 0x4032a1
mov ecx, eax
push 2
push 0x53649b
call fcn.00416e70
mov ecx, dword [eax + 0x10]
jmp 0x4032af
mov word [ecx], 0x2027
mov ecx, dword [eax + 0x10]
add ecx, 2
mov dword [eax + 0x10], ecx
mov edx, dword [eax + 0xc]
sub edx, ecx
cmp edx, 7
ja 0x4032c9
mov ecx, eax
push 8
push str.length
call fcn.00416e70
jmp 0x4032da
mov dword [ecx + 4], 0x273d6874
mov dword [ecx], 0x676e656c
add dword [eax + 0x10], 8
mov ecx, eax
push dword [ebx + 0x2c]
call fcn.00416820
mov edx, dword [eax + 0xc]
mov ecx, dword [eax + 0x10]
sub edx, ecx
cmp edx, 1
ja 0x403301
mov ecx, eax
push 2
push 0x5364a7
call fcn.00416e70
jmp 0x40330a
mov word [ecx], 0x3e27
add dword [eax + 0x10], 2
mov eax, dword [ebx + 0x40]
cmp dword [ebx + 0x44], 0xf
jbe 0x403318
mov ecx, dword [ebx + 0x30]
jmp 0x40331b
lea ecx, [ebx + 0x30]
mov dword [esi + 0x10], ebx
mov dword [esi + 0x3a0], ecx
mov dword [esi + 0x3a4], eax
lea ecx, [esi + 0x3a0]
push 0
push 4
push str._n_r_
call fcn.004230d0
cmp eax, 0xffffffff
je 0x4034d2
mov edi, eax
xor ebx, ebx
jmp 0x40337c
mov byte [ecx + 4], 0x3b
mov dword [ecx], 0x706d6126
add dword [eax + 0x10], 5
add ebx, 1
lea ecx, [esi + 0x3a0]
push ebx
push 4
push str._n_r_
call fcn.004230d0
mov edi, eax
cmp eax, 0xffffffff
je 0x4034d4
call fcn.00417dd0
mov dword [esi + 8], edi
mov ecx, edi
sub ecx, ebx
mov edi, dword [esi + 0x3a4]
cmp edi, ebx
cmovb ebx, edi
sub edi, ebx
cmp edi, ecx
cmovae edi, ecx
add ebx, dword [esi + 0x3a0]
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 0x10]
sub ecx, edx
cmp ecx, edi
jae 0x4033c0
mov ecx, eax
push edi
push ebx
call fcn.00416e70
jmp 0x4033d4
test edi, edi
je 0x4033d4
push edi
push ebx
push edx
mov ebx, eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
add dword [ebx + 0x10], edi
mov eax, dword [esi + 0x3a0]
mov ebx, dword [esi + 8]
movsx eax, byte [eax + ebx]
cmp eax, 0x25
jg 0x403420
cmp eax, 0xa
jne 0x403450
call fcn.00417dd0
mov edx, dword [eax + 0xc]
mov ecx, dword [eax + 0x10]
sub edx, ecx
cmp edx, 4
ja 0x4034a5
mov ecx, eax
push 5
push str.10_
call fcn.00416e70
jmp 0x40335b
cmp eax, 0x26
jne 0x403480
call fcn.00417dd0
mov edx, dword [eax + 0xc]
mov ecx, dword [eax + 0x10]
sub edx, ecx
cmp edx, 4
ja 0x40334d
mov ecx, eax
push 5
push str.amp_
call fcn.00416e70
jmp 0x40335b
call fcn.00417dd0
mov edx, dword [eax + 0xc]
mov ecx, dword [eax + 0x10]
sub edx, ecx
cmp edx, 4
ja 0x4034b4
mov ecx, eax
push 5
push str.13_
call fcn.00416e70
jmp 0x40335b
call fcn.00417dd0
mov edx, dword [eax + 0xc]
mov ecx, dword [eax + 0x10]
sub edx, ecx
cmp edx, 3
ja 0x4034c3
mov ecx, eax
push 4
push str.lt_
call fcn.00416e70
jmp 0x40335b
mov byte [ecx + 4], 0x3b
mov dword [ecx], 0x30312326
jmp 0x403357
mov byte [ecx + 4], 0x3b
mov dword [ecx], 0x33312326
jmp 0x403357
mov dword [ecx], 0x3b746c26
add dword [eax + 0x10], 4
jmp 0x40335b
xor ebx, ebx
call fcn.00417dd0
mov edi, dword [esi + 0x3a4]
cmp edi, ebx
cmovb ebx, edi
sub edi, ebx
add ebx, dword [esi + 0x3a0]
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 0x10]
sub ecx, edx
cmp ecx, edi
jae 0x403503
mov ecx, eax
push edi
push ebx
call fcn.00416e70
jmp 0x403517
test edi, edi
je 0x403517
push edi
push ebx
push edx
mov ebx, eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
add dword [ebx + 0x10], edi
call fcn.00417dd0
mov edx, dword [eax + 0xc]
mov ecx, dword [eax + 0x10]
sub edx, ecx
cmp edx, 0xe
ja 0x403539
mov ecx, eax
push 0xf
push str.__replacement__n
call fcn.00416e70
jmp 0x403558
mov dword [ecx + 0xb], 0xa3e746e
mov dword [ecx + 8], 0x6e656d65
mov dword [ecx + 4], 0x63616c70
mov dword [ecx], 0x65722f3c
add dword [eax + 0x10], 0xf
mov edi, dword [esi + 0xc]
mov edx, dword [esi + 0x10]
mov ecx, dword [edx + 8]
cmp byte [ecx + 0xd], 0
je 0x403590
nop word [eax + eax]
mov eax, dword [edx + 4]
cmp byte [eax + 0xd], 0
jne 0x403204
mov ecx, edx
mov edx, eax
cmp ecx, dword [eax + 8]
je 0x403570
mov eax, edx
jmp 0x403204
mov eax, ecx
mov ecx, dword [ecx]
cmp byte [ecx + 0xd], 0
je 0x403590
jmp 0x403204
movups xmm0, xmmword [str.__replacements__n]
movups xmmword [ecx], xmm0
add dword [eax + 0x10], 0x10
jmp 0x40374b
mov dword [eax + 8], 0x203a2272
mov dword [eax + 4], 0x6f737275
mov dword [eax], 0x4322207b
add dword [edi + 0x10], 0xc
lea ecx, [esi + 0x40]
push dword [esi + 0x58]
call fcn.004b2f10
mov ecx, edi
push eax
call fcn.00416820
mov edi, eax
mov ecx, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
sub ecx, eax
cmp ecx, 0x15
ja 0x403601
mov ecx, edi
push 0x16
push str.___IncompleteFormat_:
call fcn.00416e70
mov edi, eax
mov eax, dword [eax + 0x10]
jmp 0x403621
movsd xmm0, qword [0x53626c]
movsd qword [eax + 0xe], xmm0
movups xmm0, xmmword [str.___IncompleteFormat_:]
movups xmmword [eax], xmm0
mov eax, dword [edi + 0x10]
add eax, 0x16
mov dword [edi + 0x10], eax
xor ebx, ebx
cmp byte [esi + 0x48], 0
sete bl
mov ecx, str.true
mov edx, str.false
cmove edx, ecx
xor ebx, 5
mov ecx, dword [edi + 0xc]
sub ecx, eax
cmp ecx, ebx
jae 0x40364e
mov ecx, edi
push ebx
push edx
call fcn.00416e70
jmp 0x40365c
push ebx
push edx
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
add dword [edi + 0x10], ebx
cmp byte [esi + 0x48], 0
jne 0x4036a5
call fcn.00417dd0
mov edx, dword [eax + 0xc]
mov ecx, dword [eax + 0x10]
sub edx, ecx
cmp edx, 9
ja 0x403684
mov ecx, eax
push 0xa
push str.___Line_:
call fcn.00416e70
jmp 0x40369b
mov word [ecx + 8], 0x203a
mov dword [ecx + 4], 0x22656e69
mov dword [ecx], 0x4c22202c
add dword [eax + 0x10], 0xa
mov ecx, eax
push dword [esi + 0x4c]
call fcn.00416820
call fcn.00417dd0
mov edx, dword [eax + 0xc]
mov ecx, dword [eax + 0x10]
sub edx, ecx
cmp edx, 2
ja 0x4036c7
mov ecx, eax
push 3
push 0x53628b
call fcn.00416e70
jmp 0x4036d4
mov byte [ecx + 2], 0xa
mov word [ecx], 0x7d20
add dword [eax + 0x10], 3
lea ecx, [esi + 0x1c]
push dword [esi + 0x3c]
call fcn.004b01e0
mov edi, eax
call fcn.00417dd0
mov ecx, edi
push eax
call fcn.004b0090
mov edi, dword [esi + 0xc]
mov al, 1
mov dword [esi + 8], eax
lea ecx, [esi + 0x24]
mov eax, dword [esi + 0x24]
push dword [eax + 4]
push ecx
call fcn.004080f0
push 0x24
push dword [esi + 0x24]
call fcn.00533ac0
add esp, 8
lea ecx, [esi + 0x23c]
call fcn.0044f810
lea ecx, [esi + 0x3a0]
call fcn.00459be0
lea ecx, [esi + 0x758]
call fcn.00456080
mov ecx, dword [esi + 0x14]
lock sub dword [ecx + 4], 1
jne 0x403743
mov eax, dword [ecx]
push 1
call dword [eax]
mov bl, 1
cmp byte [esi + 8], 0
je 0x40374d
xor ebx, ebx
mov eax, dword [esi + 0x40]
lea ecx, [esi + 0x40]
push dword [eax + 4]
push ecx
call fcn.004078e0
push 0x48
push dword [esi + 0x40]
call fcn.00533ac0
add esp, 8
test byte [esi + 0x8e0], 1
jne 0x4037b5
mov eax, dword [esi + 0x8dc]
cmp eax, 0x10
jb 0x4037c5
mov ecx, dword [esi + 0x8c8]
lea edi, [eax + 1]
cmp edi, 0x1000
jb 0x4037a6
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x4038a1
add eax, 0x24
mov edi, eax
mov ecx, edx
push edi
push ecx
call fcn.00533ac0
add esp, 8
mov edi, dword [esi + 0xc]
jmp 0x4037c5
mov ecx, dword [esi + 0x8c8]
test ecx, ecx
je 0x4037c5
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [esi + 0x50]
lea ecx, [esi + 0x50]
push dword [eax + 4]
push ecx
call fcn.004078e0
push 0x48
push dword [esi + 0x50]
call fcn.00533ac0
add esp, 8
test byte [esi + 0xab8], 1
jne 0x402ae0
lea ecx, [esi + 0x8e4]
call fcn.004060f0
mov ecx, dword [esi + 0x5c]
test ecx, ecx
je 0x40382c
mov eax, dword [esi + 0x64]
sub eax, ecx
cmp eax, 0x1000
jb 0x403822
mov edx, dword [ecx - 4]
sub ecx, edx
add ecx, 0xfffffffc
cmp ecx, 0x20
jae 0x4038a1
add eax, 0x23
mov ecx, edx
push eax
push ecx
call fcn.00533ac0
add esp, 8
test edi, edi
je 0x403838
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax]
test byte [esi + 0xac4], 1
jne 0x403851
mov ecx, dword [esi + 0xabc]
test ecx, ecx
je 0x403851
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, dword [esi + 0xac8]
xor ecx, ebp
call fcn.00533ace
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x568c58
call fcn.00533bee
add esp, 4
cmp dword [0x568c58], 0xffffffff
jne 0x402400
push 0x404c00
call fcn.00533f00
add esp, 4
push 0x568c58
call fcn.00533ba4
add esp, 4
jmp 0x402400
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3