Function at 0x4268f0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x840
mov eax, dword [0x584fa8]
mov edi, ecx
xor eax, ebp
mov dword [esp + 0x838], eax
lea eax, [ecx + 4]
mov dword [esp + 0xc], eax
mov eax, dword [ecx + 4]
mov eax, dword [eax + 4]
test byte [ecx + eax + 0x14], 5
je 0x426943
movdqa xmm0, xmmword [0x52f390]
mov dword [esp + 0x18], 0xffffffff
movdqa xmmword [esp + 0x40], xmm0
cmp dword [edi], 3
je 0x42696e
jmp 0x426ae7
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x40]
mov ecx, dword [ecx + eax + 0x18]
mov eax, dword [ecx]
push 0x10
push 1
push 0
push 0
push edx
call dword [eax + 0xc]
mov eax, dword [esp + 0x48]
mov dword [esp + 0x18], eax
cmp dword [edi], 3
jne 0x426ae7
call fcn.0044a7b0
test al, al
jne 0x426ae7
lea esi, [esp + 0x448]
push 0x3ec
push 0xff
push esi
call fcn.005076c0
add esp, 0xc
mov ecx, esi
call fcn.00424000
mov esi, dword [esp + 0xc]
lea ebx, [esp + 0x40]
mov eax, dword [esi]
mov ecx, dword [eax + 4]
add ecx, esi
push ebx
call fcn.004066aa
mov ecx, ebx
push 0x586260
call fcn.0040a130
mov edx, dword [eax]
mov ecx, eax
push 0xa
call dword [edx + 0x1c]
lea ecx, [esp + 0x40]
mov ebx, eax
call fcn.0040a0a2
movsx eax, bl
mov ecx, esi
push eax
call fcn.00407b10
mov ecx, esi
call fcn.00406ca0
lea ecx, [esp + 0x448]
push esi
call fcn.00424060
push 0x3f4
push 0xff
lea esi, [esp + 0x48]
push esi
call fcn.005076c0
add esp, 0xc
mov ecx, esi
call fcn.0044a7e0
mov ecx, esi
call fcn.0044a8d0
test al, al
jne 0x426a26
lea ecx, [esp + 0x40]
push dword [esp + 0xc]
call fcn.0044a8e0
call fcn.0042ff70
test eax, eax
je 0x426ae7
cmp dword [eax + 0x38], 0
mov ebx, eax
je 0x426ae7
push 0x1d
push str.IPC_message_handler_context:
push dword [esp + 0x14]
call fcn.00401b93
add esp, 0xc
mov esi, eax
lea eax, [esp + 0x2c]
push dword [ebx + 0x38]
push str.0x_08X
push eax
call fcn.0042f310
add esp, 0xc
movzx eax, byte [esp + 0x2c]
test al, 1
je 0x426a7c
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
jmp 0x426a82
shr eax, 1
lea ecx, [esp + 0x2d]
push eax
push ecx
push esi
call fcn.00401b93
add esp, 0xc
mov ebx, eax
mov eax, dword [eax]
lea esi, [esp + 0x38]
mov ecx, dword [eax + 4]
add ecx, ebx
push esi
call fcn.004066aa
mov ecx, esi
push 0x586260
call fcn.0040a130
mov edx, dword [eax]
mov ecx, eax
push 0xa
call dword [edx + 0x1c]
mov ecx, esi
mov byte [esp + 0x1c], al
call fcn.0040a0a2
movsx eax, byte [esp + 0x1c]
mov ecx, ebx
push eax
call fcn.00407b10
mov ecx, ebx
call fcn.00406ca0
test byte [esp + 0x2c], 1
je 0x426ae7
push dword [esp + 0x34]
call fcn.005031ac
add esp, 4
mov eax, dword [edi + 4]
mov esi, dword [esp + 0xc]
mov dword [esp + 0x1c], edi
lea edi, [esp + 0x40]
mov ecx, dword [eax + 4]
add ecx, esi
push edi
call fcn.004066aa
mov ecx, edi
push 0x586260
call fcn.0040a130
mov edx, dword [eax]
mov ecx, eax
push 0xa
call dword [edx + 0x1c]
mov ecx, edi
mov edi, dword [esp + 0x1c]
mov ebx, eax
call fcn.0040a0a2
movsx eax, bl
mov ecx, esi
push eax
call fcn.00407b10
mov ecx, esi
call fcn.00406ca0
lea ebx, [edi + 8]
lea esi, [esp + 0x2c]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x30], 0xffffffff
mov dword [esp + 0x34], 0xffffffff
mov ecx, ebx
push esi
call fcn.00402e56
test byte [0x5844b0], 0x19
jne 0x426ebe
mov eax, dword [0x58691c]
test eax, eax
je 0x426b94
push esi
push dword [edi + 0x8c]
push dword [edi + 0x94]
push dword [edi + 0x90]
push dword [edi]
call eax
add esp, 0x14
test al, al
jne 0x426d16
mov eax, dword [0x584150]
test al, 2
je 0x426bba
test byte [esp + 0x2c], 1
je 0x426baa
mov eax, dword [esp + 0x34]
jmp 0x426bae
lea eax, [esp + 0x2d]
push eax
call dword [0x57e7e4]
mov eax, dword [0x584150]
test al, 4
jne 0x426bc8
cmp eax, 1
ja 0x426c11
cmp dword [edi], 2
jl 0x426c11
push 2
call fcn.005084af
add esp, 4
movzx ecx, byte [esp + 0x2c]
test cl, 1
je 0x426be6
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
jmp 0x426bec
shr ecx, 1
lea edx, [esp + 0x2d]
push eax
push 1
push ecx
push edx
call fcn.0051a21b
add esp, 0x10
push 2
call fcn.005084af
add esp, 4
push eax
call fcn.00519d9e
add esp, 4
mov eax, dword [0x584150]
test al, 1
je 0x426c54
call fcn.00427090
test al, al
je 0x426c54
movzx eax, byte [esp + 0x2c]
mov dword [esp + 0x40], 0xffffffff
test al, 1
je 0x426c39
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
jmp 0x426c3f
shr eax, 1
lea ecx, [esp + 0x2d]
push 0
lea edx, [esp + 0x44]
push edx
push eax
push ecx
push dword [0x586928]
call dword [0x57e90c]
cmp dword [edi], 3
jne 0x426d16
mov ecx, dword [0x5879d4]
mov dword [esp + 0x10], ebx
test ecx, ecx
je 0x426c8b
movzx eax, byte [esp + 0x2c]
test al, 1
je 0x426c7e
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
jmp 0x426c84
shr eax, 1
lea edx, [esp + 0x2d]
push eax
push edx
call fcn.0044c800
lea ebx, [esp + 0x44]
push 0x400
push 0xff
push ebx
call fcn.005076c0
add esp, 0xc
inc esi
test byte [esp + 0x2c], 1
mov dword [esp + 0x40], 0xbedead01
mov dword [esp + 0x444], 0x5050dead
mov eax, esi
je 0x426cc3
mov eax, dword [esp + 0x34]
push 0x400
push eax
push ebx
call fcn.0042f270
add esp, 0xc
lea eax, [esp + 0x40]
push eax
call fcn.00406c90
add esp, 4
mov ecx, dword [0x58791c]
mov edx, dword fs:[0x2c]
mov eax, dword [0x58693c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x426fe3
mov eax, dword [0x586934]
mov ebx, dword [esp + 0x10]
cmp eax, dword [0x586938]
jne 0x426d8c
call fcn.0044a7c0
test byte [esp + 0x2c], 1
je 0x426d29
push dword [esp + 0x34]
call fcn.005031ac
add esp, 4
lea ecx, [edi + 0x9c]
call fcn.0044a790
mov eax, dword [edi + 4]
mov eax, dword [eax + 4]
mov dword [edi + eax + 4], 0x52f45c
mov dword [edi + 8], 0x52f460
test byte [edi + 0x28], 1
lea edi, [edi + 0x3c]
je 0x426d61
mov eax, dword [esp + 0xc]
push dword [eax + 0x2c]
call fcn.005031ac
add esp, 4
mov ecx, ebx
call fcn.00406bcc
mov ecx, ebx
call fcn.00406c90
mov ecx, edi
call fcn.00406bc2
mov ecx, dword [esp + 0x838]
xor ecx, ebp
call fcn.005031f1
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [esp + 0x24], 0xffffffff
mov ecx, dword [0x58791c]
mov edx, dword fs:[0x2c]
mov eax, dword [0x58693c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x427037
mov eax, dword [0x586938]
mov ecx, dword [0x586930]
test eax, eax
cmove eax, ecx
dec eax
cmp eax, ecx
mov dword [esp + 0x38], eax
jbe 0x426e09
lea eax, [esp + 0x38]
push str.i___capacity_
push 0x586930
push eax
call fcn.00402f6e
add esp, 0xc
test eax, eax
je 0x426e09
lea ecx, [esp + 0x448]
push eax
push 0x55
push str..._.._base_containers_vector_buffer.h
call fcn.004277a0
lea ecx, [esp + 0x448]
call fcn.004268f0
mov eax, dword [esp + 0x38]
lea ecx, [esp + 0x24]
shl eax, 2
add eax, dword [0x58692c]
push eax
call fcn.00420e40
mov eax, dword [esp + 0x24]
test eax, eax
je 0x426ea5
test byte [esp + 0x2c], 1
mov dword [esp + 0x14], eax
je 0x426e37
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x18]
test esi, esi
lea eax, [esi + eax]
mov dword [esp + 0x20], eax
je 0x426e51
push eax
call fcn.0051bd70
add esp, 4
jmp 0x426e53
xor eax, eax
mov ecx, dword [edi + 0x8c]
mov ebx, dword [esp + 0x18]
mov edx, dword [edi + 0x94]
add esi, ecx
sub ebx, ecx
mov ecx, dword [edi + 0x90]
mov dword [esp + 0x448], esi
mov esi, dword [esp + 0x20]
mov dword [esp + 0x44c], ebx
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x38]
lea esi, [esp + 0x448]
push eax
push esi
push edx
push ecx
mov eax, dword [esp + 0x24]
push eax
call dword [eax + 4]
add esp, 0x14
mov ebx, dword [esp + 0x10]
lea ecx, [esp + 0x24]
call fcn.00420e20
test byte [esp + 0x2c], 1
jne 0x426d1d
jmp 0x426d29
movzx eax, byte [esp + 0x2c]
mov dword [esp + 0x10], ebx
mov ecx, eax
shr ecx, 1
test al, 1
lea eax, [esp + 0x2d]
cmovne eax, dword [esp + 0x34]
cmovne ecx, dword [esp + 0x30]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x24]
mov dword [esp + 0x28], ecx
lea ecx, [esp + 0x38]
push 0xffffffffffffffff
push dword [edi + 0x8c]
push eax
push ecx
call fcn.0042de10
add esp, 0x10
push 0x18
call fcn.0050317c
add esp, 4
mov ebx, eax
mov ecx, eax
push dword [edi + 0x94]
push dword [esp + 0x40]
push dword [esp + 0x40]
push dword [edi + 0x90]
call fcn.0044d0b0
call fcn.0041fe90
mov dword [esp + 0x14], eax
lea eax, [esp + 0x448]
mov dword [esp + 0x44c], 0xffffffff
mov dword [esp + 0x448], 0xffffffff
push eax
call fcn.0043f1d0
add esp, 4
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x40], xmm0
movdqa xmmword [esp + 0x50], xmm0
mov word [esp + 0x40], 0x801
mov dword [esp + 0x44], str.message
mov dword [esp + 0x50], ebx
push 0x8008
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x450]
push eax
push dword [esp + 0x20]
push 0
push 0
push 0
push 0
push 0
push str.LogMessage
push 0x5844b0
push 0x49
call fcn.00435c60
add esp, 0x30
mov al, byte [esp + 0x40]
test al, al
je 0x426fda
xor ebx, ebx
jmp 0x426fbe
inc ebx
movzx ecx, al
cmp ebx, ecx
jae 0x426fda
cmp byte [esp + ebx + 0x41], 8
jne 0x426fb6
mov ecx, dword [esp + ebx*8 + 0x50]
test ecx, ecx
je 0x426fb6
mov eax, dword [ecx]
push 1
call dword [eax]
movzx eax, byte [esp + 0x40]
jmp 0x426fb6
mov ebx, dword [esp + 0x10]
jmp 0x426b69
push 0x58693c
call fcn.00503237
add esp, 4
cmp dword [0x58693c], 0xffffffff
jne 0x426d00
mov dword [0x586930], 0
mov dword [0x58692c], 0
mov dword [0x586938], 0
mov dword [0x586934], 0
push 0x58693c
call fcn.005032ad
add esp, 4
jmp 0x426d00
push 0x58693c
call fcn.00503237
add esp, 4
cmp dword [0x58693c], 0xffffffff
jne 0x426db5
mov dword [0x586930], 0
mov dword [0x58692c], 0
mov dword [0x586938], 0
mov dword [0x586934], 0
push 0x58693c
call fcn.005032ad
add esp, 4
jmp 0x426db5