Function at 0x434e80
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push ebp
push edi
push esi
push ebx
xor ebx, ebx
sub esp, 0x5c
mov eax, dword [esp + 0x70]
mov ebp, dword [eax + 4]
mov esi, dword [ebp]
mov ecx, dword [ebp + 0xc]
mov eax, dword [esi + 0x40]
mov edx, dword [esi + 0x44]
mov dword [esp + 0x40], esi
mov dword [esp + 0x18], eax
sub eax, ecx
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x1c], edx
sbb edx, ebx
mov ebx, dword [esp + 0x78]
mov edi, ecx
cmp ebx, eax
sbb edi, edx
mov edi, ebx
cmovge ecx, edx
cmovge edi, eax
mov eax, ecx
mov dword [esp + 0x28], edi
or eax, edi
mov dword [esp + 0x2c], ecx
je 0x434f91
cmp word [esi + 0x2e], 0
je 0x434fa8
mov eax, dword [esp + 0x74]
xor esi, esi
xor edi, edi
mov dword [ebp + 0x38], eax
mov eax, dword [esp + 0x28]
mov dword [ebp + 0x3c], eax
lea eax, [ebp + 0x2c]
mov dword [esp + 0x3c], eax
lea esi, [esi]
nop
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
cmp esi, eax
mov eax, edi
sbb eax, ecx
jge 0x434f7e
mov eax, dword [ebp + 0x40]
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0x30]
test eax, eax
jne 0x434f47
mov ecx, dword [esp + 0x40]
mov eax, dword [ebp + 8]
xor edx, edx
mov ebx, dword [ecx + 0x3c]
mov ecx, dword [ecx + 0x38]
mov dword [esp + 0x18], ecx
sub ecx, eax
mov dword [esp + 0x1c], ebx
sbb ebx, edx
xor eax, eax
xor edx, edx
cmp eax, ecx
sbb edx, ebx
jl 0x4350a0
mov eax, dword [esp + 0x3c]
mov edx, 2
call fcn.00434a90
mov ebx, eax
lea eax, [eax + 4]
cmp eax, 5
jbe 0x435070
mov dword [esp], 0x12
call sym.makedocs.exe_PHYSFS_setErrorCode
mov edx, dword [esp + 0x20]
mov eax, dword [ebp + 0x40]
sub eax, edx
xor edx, edx
add esi, eax
adc edi, edx
xor eax, eax
cmp eax, esi
sbb eax, edi
jge 0x434f89
add dword [ebp + 0xc], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], edi
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp + 4]
mov dword [esp + 8], edi
mov edi, dword [esp + 0x74]
mov dword [esp + 0xc], ecx
mov dword [esp], eax
mov dword [esp + 4], edi
call dword [eax + 8]
mov esi, eax
mov eax, dword [ebp]
mov edi, edx
test byte [eax + 0x2c], 1
je 0x434f7e
xor eax, eax
mov dword [esp + 0x28], esi
cmp eax, esi
mov dword [esp + 0x2c], edx
sbb eax, edx
jge 0x434f91
lea eax, [ebp + 0x14]
mov dword [esp + 0x18], 0
mov edi, ebp
mov dword [esp + 0x28], eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], edx
nop
movzx eax, word [edi + 0x1c]
mov ebp, dword [esp + 0x18]
mov esi, dword [esp + 0x74]
or eax, 2
mov ebx, eax
movzx eax, ax
xor ebx, 1
movzx ebx, bx
imul ebx, eax
mov eax, dword [esp + 0x28]
sar ebx, 8
xor bl, byte [esi + ebp]
movzx edx, bl
call fcn.00432140
mov esi, dword [esp + 0x74]
add dword [esp + 0x18], 1
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
adc dword [esp + 0x1c], 0
mov edx, dword [esp + 0x1c]
mov byte [esi + ebp], bl
mov ebx, dword [esp + 0x24]
xor ecx, eax
mov eax, ecx
xor ebx, edx
or eax, ebx
jne 0x435000
mov ebp, edi
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x24]
jmp 0x434f86
mov eax, dword [eax*4 + 0x48c184]
mov dword [esp], eax
call sym.makedocs.exe_PHYSFS_setErrorCode
mov edx, dword [esp + 0x20]
mov eax, dword [ebp + 0x40]
sub eax, edx
xor edx, edx
add esi, eax
adc edi, edx
test ebx, ebx
je 0x434f00
jmp 0x434f7e
mov edx, dword [ebp + 0x10]
mov dword [esp + 0x38], edx
mov edx, dword [ebp + 4]
mov dword [esp + 0x18], edx
mov edx, 0x4000
cmp edx, ecx
mov edx, eax
sbb edx, ebx
mov edx, 0x4000
cmovge edx, ecx
cmovge eax, ebx
mov dword [esp + 8], edx
mov edx, dword [esp + 0x38]
mov dword [esp + 0xc], eax
mov dword [esp + 4], edx
mov edx, dword [esp + 0x18]
mov dword [esp], edx
call dword [edx + 8]
mov ecx, edx
mov dword [esp + 0x30], eax
mov edx, eax
mov eax, dword [ebp]
mov dword [esp + 0x34], ecx
test byte [eax + 0x2c], 1
je 0x4351a0
xor eax, eax
cmp eax, edx
sbb eax, ecx
jge 0x434f7e
lea eax, [ebp + 0x14]
mov dword [esp + 0x18], 0
mov dword [esp + 0x44], eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], edi
mov edi, ebp
lea esi, [esi]
movzx eax, word [edi + 0x1c]
mov ebp, dword [esp + 0x18]
mov esi, dword [esp + 0x38]
or eax, 2
mov ebx, eax
movzx eax, ax
xor ebx, 1
movzx ebx, bx
imul ebx, eax
mov eax, dword [esp + 0x44]
sar ebx, 8
xor bl, byte [esi + ebp]
movzx edx, bl
call fcn.00432140
add dword [esp + 0x18], 1
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x18]
adc dword [esp + 0x1c], 0
mov byte [esi + ebp], bl
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x34]
xor ecx, eax
mov eax, ecx
xor ebx, edx
or eax, ebx
jne 0x435128
mov ebp, edi
mov esi, dword [esp + 0x48]
mov edi, dword [esp + 0x4c]
mov edx, dword [esp + 0x30]
mov eax, dword [ebp + 0x10]
add dword [ebp + 8], edx
mov dword [ebp + 0x2c], eax
mov dword [ebp + 0x30], edx
jmp 0x434f47
mov eax, edx
mov edx, ecx
xor ecx, ecx
cmp ecx, eax
sbb ecx, edx
jl 0x435188
jmp 0x434f7e