Function at 0x433e70
Capabilities:
Read file on windows
Write file on windows

Disassembly:
sub esp, 0xc
push ebx
mov ebx, edx
push ebp
mov ebp, ecx
movzx eax, byte [ebx + 2]
cmp eax, 0xff
ja 0x43433d
push esi
push edi
je case.0x433e99.0
cmp eax, 3
ja case.default.0x433e99
jmp dword [eax*4 + 0x434344]
lea eax, [ebp*2]
add eax, ebp
cmp dword [eax*4 + 0x4af120], 0
jne case.default.0x433e99
or byte [ebx + 1], 0x80
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
lea eax, [ebp*2]
add eax, ebp
cmp dword [eax*4 + 0x4af120], 0
je 0x433eb7
mov eax, dword [eax*4 + 0x4af128]
sub eax, 2
je 0x433f02
sub eax, 3
je 0x4340c8
pop edi
xorps xmm0, xmm0
movups xmmword [ebx + 5], xmm0
pop esi
movups xmmword [ebx + 0x15], xmm0
pop ebp
mov byte [ebx + 0x25], 0
pop ebx
add esp, 0xc
ret
movzx ecx, byte [ebx + 3]
movzx eax, byte [ebx + 4]
shl ecx, 8
or ecx, eax
cmp ecx, 0x8001
je 0x434083
and ecx, 0xffe0
mov dword [esp + 0x18], ecx
cmp ecx, 0x7fe0
ja 0x434083
call fcn.00419740
mov edx, eax
lea eax, [edx + 1]
nop dword [eax + eax]
mov cl, byte [edx]
inc edx
test cl, cl
jne 0x433f40
mov ecx, 0x4af160
sub edx, eax
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x433f51
sub ecx, esi
lea eax, [edx + 5]
add eax, ecx
push eax
call fcn.0046b317
add esp, 4
mov esi, eax
mov dword [esp + 0x14], esi
call fcn.00419740
mov edx, esi
sub edx, eax
mov cl, byte [eax]
lea eax, [eax + 1]
mov byte [edx + eax - 1], cl
test cl, cl
jne 0x433f77
mov edx, 0x4af160
mov ecx, edx
mov dword [esp + 0x10], ecx
nop
mov al, byte [edx]
inc edx
test al, al
jne 0x433f90
sub edx, ecx
lea edi, [esi - 1]
nop dword [eax]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x433fa0
mov esi, dword [esp + 0x10]
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x14]
lea ecx, [edi - 1]
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x433fc1
mov eax, dword [0x4a2e84]
mov dword [ecx], eax
mov al, byte [0x4a2e88]
push 0x4a2e8c
push edi
mov byte [ecx + 4], al
call fcn.0046b3d9
mov esi, eax
add esp, 8
test esi, esi
je 0x434044
push esi
push 0x8000
push 1
push 0xebc060
call fcn.004748bb
push esi
push 0x8000
push 1
push 0xec4060
call fcn.004748bb
push esi
push 0x8000
push 1
push 0xecc060
call fcn.004748bb
push esi
push 0x8000
push 1
push 0xed4060
call fcn.004748bb
add esp, 0x40
push esi
call fcn.0046b467
add esp, 4
jmp 0x434049
call fcn.00433b40
push edi
call fcn.0046b2fc
mov eax, dword [esp + 0x1c]
lea ecx, [ebx + 5]
shl ebp, 0xf
add esp, 4
movups xmm0, xmmword [eax + ebp + 0xebc060]
movups xmmword [ecx], xmm0
movups xmm0, xmmword [eax + ebp + 0xebc070]
movups xmmword [ecx + 0x10], xmm0
call fcn.00433e30
pop edi
pop esi
pop ebp
mov byte [ebx + 0x25], al
pop ebx
add esp, 0xc
ret
lea ecx, [ebx + 5]
xorps xmm0, xmm0
movups xmmword [ecx], xmm0
movups xmmword [ecx + 0x10], xmm0
call fcn.00433e30
pop edi
pop esi
pop ebp
mov byte [ebx + 0x25], al
pop ebx
add esp, 0xc
ret
lea eax, [ebp*2]
add eax, ebp
cmp dword [eax*4 + 0x4af120], 0
je 0x433eb7
mov eax, dword [eax*4 + 0x4af128]
sub eax, 2
je 0x4340e4
sub eax, 3
jne 0x4340f9
mov eax, dword [fcn.0040c6a0]
test eax, eax
je case.default.0x433e99
push ebx
push ebp
call eax
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
movzx ecx, byte [ebx + 3]
movzx eax, byte [ebx + 4]
shl ecx, 8
or ecx, eax
cmp ecx, 0x8001
jne 0x43410c
lea ecx, [ebx + 5]
call fcn.00433e30
pop edi
pop esi
pop ebp
mov byte [ebx + 0x25], al
pop ebx
add esp, 0xc
ret
and ecx, 0xffe0
mov dword [esp + 0x14], ecx
cmp ecx, 0x7fe0
ja 0x4342d8
call fcn.00419740
mov edx, eax
lea eax, [edx + 1]
nop dword [eax]
mov cl, byte [edx]
inc edx
test cl, cl
jne 0x434130
mov ecx, 0x4af160
sub edx, eax
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x434141
sub ecx, esi
lea eax, [edx + 5]
add eax, ecx
push eax
call fcn.0046b317
add esp, 4
mov esi, eax
mov dword [esp + 0x10], esi
call fcn.00419740
mov edx, esi
sub edx, eax
mov cl, byte [eax]
lea eax, [eax + 1]
mov byte [edx + eax - 1], cl
test cl, cl
jne 0x434167
mov edx, 0x4af160
mov ecx, edx
mov dword [esp + 0x18], ecx
nop
mov al, byte [edx]
inc edx
test al, al
jne 0x434180
sub edx, ecx
lea edi, [esi - 1]
nop dword [eax]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x434190
mov esi, dword [esp + 0x18]
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, dword [esp + 0x10]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [edx - 1]
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x4341b1
mov eax, dword [str..mpk]
mov dword [ecx], eax
mov al, byte [0x4a2e94]
push 0x4a2e98
push edx
mov byte [ecx + 4], al
call fcn.0046b3d9
mov esi, eax
add esp, 8
test esi, esi
je 0x434234
push esi
push 0x8000
push 1
push 0xebc060
call fcn.004748bb
push esi
push 0x8000
push 1
push 0xec4060
call fcn.004748bb
push esi
push 0x8000
push 1
push 0xecc060
call fcn.004748bb
push esi
push 0x8000
push 1
push 0xed4060
call fcn.004748bb
add esp, 0x40
push esi
call fcn.0046b467
add esp, 4
jmp 0x434239
call fcn.00433b40
movups xmm0, xmmword [ebx + 5]
mov eax, dword [esp + 0x14]
lea edi, [ebx + 5]
shl ebp, 0xf
push 0x4a2e9c
movups xmmword [eax + ebp + 0xebc060], xmm0
movups xmm0, xmmword [edi + 0x10]
movups xmmword [eax + ebp + 0xebc070], xmm0
mov ebp, dword [esp + 0x14]
push ebp
call fcn.0046b3d9
mov esi, eax
push esi
push 0x8000
push 1
push 0xebc060
call fcn.00474e4d
push esi
push 0x8000
push 1
push 0xec4060
call fcn.00474e4d
push esi
push 0x8000
push 1
push 0xecc060
call fcn.00474e4d
push esi
push 0x8000
push 1
push 0xed4060
call fcn.00474e4d
add esp, 0x48
push esi
call fcn.0046b467
push ebp
call fcn.0046b2fc
add esp, 8
mov ecx, edi
call fcn.00433e30
pop edi
pop esi
pop ebp
mov byte [ebx + 0x25], al
pop ebx
add esp, 0xc
ret
lea edi, [ebx + 5]
mov ecx, edi
call fcn.00433e30
pop edi
pop esi
pop ebp
mov byte [ebx + 0x25], al
pop ebx
add esp, 0xc
ret
mov al, byte [ebx + 1]
test al, al
js case.default.0x433e99
lea ecx, [ebp*2]
add ecx, ebp
cmp dword [ecx*4 + 0x4af120], 0
je 0x434336
mov word [ebx + 3], 5
mov eax, dword [ecx*4 + 0x4af128]
sub eax, 2
je 0x43432a
sub eax, 3
je 0x43432a
pop edi
pop esi
pop ebp
mov byte [ebx + 5], 0
pop ebx
add esp, 0xc
ret
pop edi
pop esi
pop ebp
mov byte [ebx + 5], 1
pop ebx
add esp, 0xc
ret
or al, 0x80
mov byte [ebx + 1], al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret