Function at 0x226ea9d
Capabilities:
Execute anti-debugging instructions
Read file on windows
Write file on windows

Disassembly:
call dword [0x4e7668]
call 0x2285bea
push 8
mov esi, eax
movzx edi, cx
mov edi, str.Cant_Pack_Resource_File.
call fcn.00438400
add esp, 4
jmp 0x22f5772
jbe 0x20d3ed0
mov eax, dword [ebp - 0xf9c]
rcl cl, 0xa8
mov ecx, dword [ebp - 0xfb8]
push eax
test cl, 0xf5
test dx, si
push ecx
jmp 0x236cbdc
call fcn.00440710
mov ecx, dword [ebp - 0xfb0]
bswap dx
mov edx, eax
call fcn.0229b9b1
add esp, 0xc
not dl
bswap dx
mov dh, 0x31
mov edx, dword [ebp - 0xf9c]
jmp 0x22b8950
add ecx, ecx
test bp, si
cmp di, 0xa9f
add ecx, ecx
push ecx
jmp 0x20d3eb0
add esp, 0x18
jmp 0x223ab68
push ebx
jmp 0x21ef27c
call fcn.00470e2d
mov ecx, dword [0x529d70]
cmp dl, 0x49
add esp, 0x10
jmp 0x2304086
jle 0x533a80
mov ecx, dword [0x52afb8]
sub ecx, dword [0x52afb4]
or ah, dh
btc ax, dx
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov esi, edx
cmp dl, cl
shr esi, 0x1f
lea esi, [esi + edx]
clc
cmp sp, bx
test bl, 2
mov dword [ebp - 0xff0], esi
test si, bp
stc
cmp dword [ebp - 0xfb4], ebx
push 0x4c8
jmp 0x22f42ef
call fcn.0044a7c0
lea ecx, [ebp - 0xfe8]
clc
mov dh, dh
cdq
add esp, 4
jmp 0x2289529
push edx
jmp 0x2322dd7
jbe 0x22a3934
mov edx, dword [ebp - 0x104c]
sar ecx, cl
sal cl, cl
lea ecx, [eax*8]
stc
clc
sub ecx, eax
cmp ebp, 0x633933ff
test dh, bl
clc
add ecx, ecx
cmc
test ax, di
add edx, 0xfffffff4
add ecx, ecx
stc
cmp bp, ax
cmp ecx, edx
je 0x22a3934
mov ecx, dword [ebp - 0xf9c]
cbw
lea edx, [ebp - 0x460]
cwde
mov eax, edi
push edx
movsx eax, sp
movzx eax, bx
push ebx
bswap eax
cwde
lea eax, [ebp - 0x258]
jmp 0x222a179
push eax
jmp 0x23213fc
push ebx
jmp 0x21a3e2c
mov byte [0x529b4c], bl
jmp 0x22fdf90
push 0x11345ac
call fcn.004295f3
call fcn.004716a4
mov eax, dword [ebp - 0xfb8]
add esp, 8
cmp eax, ebx
jmp 0x2221990
push ecx
movsx ecx, bp
cmovae cx, di
lea ecx, [ebp - 0xfb4]
lea edx, [ebp - 0xb80]
jmp 0x22f3e2f
push eax
jmp 0x22c1f81
push edx
call fcn.0046f030
add esp, 4
xchg si, ax
bswap eax
movzx esi, sp
mov dword [ebp - 0xf9c], ebx
lahf
cbw
lea eax, [ebp - 0xb80]
mov esi, esi
push eax
lea esi, [ebp - 0xa78]
jmp 0x21f6063
call fcn.004406d0
mov ecx, 0x52afa8
jmp 0x22f926f
call fcn.0043e1d0
mov ecx, dword [ebp - 0xfd8]
test esi, 0x66444d0f
sub ecx, dword [ebp - 0xfdc]
btr eax, edi
bswap ax
stc
mov eax, 0x92492493
imul ecx
btr ax, 0x63
adc eax, ebx
add edx, ecx
rcl eax, 0xa2
and ax, 0x4b49
sar edx, 4
nop
shl ah, cl
mov eax, edi
mov eax, edx
cmp sp, 0x3ec4
cmp al, al
shr eax, 0x1f
test ebx, 0x67670ca1
lea eax, [eax + edx]
add esp, 4
test dh, bh
stc
cmp eax, ebx
mov dword [ebp - 0xfb0], eax
jmp 0x21de266
push edx
jmp 0x2090358
jmp 0x533a86
call fcn.00440660
test eax, eax
jmp 0x209690f
call fcn.0043e440
push str.Cant_Pack_Resource_File.
movzx edx, sp
cdq
mov dx, sp
push str._s_Error:0x00000008
xchg dl, dl
cmovle edx, esi
mov edx, 0x529928
call fcn.0040bf60
mov edx, dword [0x529908]
jmp 0x2193a3e
call fcn.022f8b40
mov ecx, dword [0x529910]
mov dh, 0xa6
cdq
mov edx, esi
push eax
mov edx, 0x1ae5199c
lea edx, [ebp - 0xfd0]
jmp 0x21feb29
push ecx
jmp 0x2248c9e
call fcn.0224bdce
mov dword [ebp - 0xfb0], eax
mov eax, dword [ebp - 0xfb8]
lea ecx, [eax*8]
cmc
stc
sub ecx, eax
test cl, 0x3e
clc
jmp 0x2161e2d
push 0x1c
stc
test edi, 0x50e22006
sub esi, esi
call fcn.00440710
push eax
jmp 0x21acacf