Function at 0x562140
Capabilities:
Terminate process

Disassembly:
sub esp, 0x38
mov eax, dword [0x6687b8]
xor eax, esp
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x44]
push ebx
push ebp
mov ebp, dword [esp + 0x50]
push esi
mov esi, dword [esp + 0x48]
xor ebx, ebx
mov dword [esp + 0x10], eax
lea eax, [esp + 0x1c]
push edi
mov dword [esp + 0x24], ecx
push eax
mov ecx, esi
mov byte [esp + 0x40], 0x69
mov byte [esp + 0x41], 0x54
mov byte [esp + 0x42], 0x58
mov byte [esp + 0x43], 0x74
mov byte [esp + 0x44], bl
mov dword [esp + 0x24], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x2c], ebx
call fcn.00561c70
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x562397
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call fcn.00561c70
add esp, 4
cmp eax, ebx
mov dword [esp + 0x14], eax
jne 0x5621da
mov ecx, str.Empty_language_field_in_iTXt_chunk
call fcn.0054c4a0
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], ebx
mov eax, dword [esp + 0x24]
cmp eax, ebx
jne 0x5621e8
mov dword [esp + 0x1c], ebx
jmp 0x5621f3
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [esp + 0x1c], eax
cmp ebp, ebx
jne 0x5621fb
xor eax, eax
jmp 0x562202
push ebp
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edx, dword [esp + 0x50]
add edx, 0xfffffffe
push edx
push ebp
lea ebx, [esp + 0x30]
mov ecx, eax
mov edx, esi
call fcn.00560380
mov ecx, dword [esp + 0x24]
mov ebx, dword [esp + 0x1c]
add eax, ecx
add eax, ebx
lea edx, [eax + edi + 5]
push edx
lea ecx, [esp + 0x48]
call fcn.00560210
add esp, 0xc
add edi, 1
test esi, esi
je 0x562264
mov ebp, dword [esp + 0x20]
test ebp, ebp
je 0x562264
test edi, edi
jbe 0x562264
mov eax, dword [esi + 0x50]
test eax, eax
je 0x56234f
push edi
push ebp
push esi
call eax
add esp, 0xc
mov edx, edi
mov ecx, ebp
call fcn.0054afb0
mov eax, dword [esp + 0x50]
cmp eax, 1
je 0x562277
cmp eax, 0xffffffff
mov byte [esp + 0x10], 1
jne 0x56227c
mov byte [esp + 0x10], 0
test esi, esi
mov byte [esp + 0x11], 0
je 0x5622ab
mov eax, dword [esi + 0x50]
test eax, eax
je 0x56234f
push 2
lea ecx, [esp + 0x14]
push ecx
push esi
call eax
add esp, 0xc
mov edx, 2
lea ecx, [esp + 0x10]
call fcn.0054afb0
mov ebp, dword [esp + 0x18]
test ebp, ebp
mov byte [esp + 0x10], 0
jne 0x5622bc
lea ebp, [esp + 0x10]
test esi, esi
lea edi, [ebx + 1]
je 0x5622e3
test ebp, ebp
je 0x5622e3
test edi, edi
jbe 0x5622e3
mov eax, dword [esi + 0x50]
test eax, eax
je 0x56234f
push edi
push ebp
push esi
call eax
add esp, 0xc
mov edx, edi
mov ecx, ebp
call fcn.0054afb0
mov ebp, dword [esp + 0x24]
test ebp, ebp
jne 0x5622ef
lea ebp, [esp + 0x10]
mov edi, dword [esp + 0x1c]
add edi, 1
test esi, esi
je 0x56231a
test ebp, ebp
je 0x56231a
test edi, edi
jbe 0x56231a
mov eax, dword [esi + 0x50]
test eax, eax
je 0x56234f
push edi
push ebp
push esi
call eax
add esp, 0xc
mov edx, edi
mov ecx, ebp
call fcn.0054afb0
lea edx, [esp + 0x28]
push edx
mov eax, esi
call fcn.005606d0
add esp, 4
mov eax, esi
call fcn.00560320
test esi, esi
je 0x562397
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x562363
mov eax, dword [esi + 0x240]
test eax, eax
push ecx
je 0x56235b
push esi
call eax
add esp, 8
jmp 0x562363
mov edi, str.Call_to_NULL_write_function
mov eax, esi
jmp fcn.0054c480
call fcn.005d27e0
add esp, 4
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x562397
mov eax, dword [esi + 0x240]
test eax, eax
push ecx
je 0x56238f
push esi
call eax
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.005d28b3
add esp, 0x38
ret
call fcn.005d27e0
add esp, 4
mov ecx, dword [esp + 0x44]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005d28b3
add esp, 0x38
ret