joyce8/EMBER2024-capa huggingface dataset:
Function at 0x52e840
Capabilities:
Packed with generic packer

Disassembly:
sub esp, 0x20
push ebx
push ebp
mov ebp, dword [esp + 0x2c]
jmp loc.007a525d

Function at 0x52e9a0
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
test byte [ebp + 8], 0x20
push ebx
push esi
push edi
mov edi, eax
mov eax, dword [edi]
je 0x52eb48
fldz
mov ebx, 1
mov byte [edi + 0x78], bl
cmp byte [eax + 0x8c5], 0
jne 0x52ea14
mov ecx, dword [0x6a9f00]
fst dword [esp + 0xc]
fcomp dword [ecx + 0x47c]
mov esi, dword [eax + 0x784]
fnstsw ax
test ah, 0x44
jnp 0x52e9fe
fld dword [ecx + 0x47c]
push ecx
fstp dword [esp]
call fcn.005af410
fstp dword [esp + 0x10]
add esp, 4
fld dword [esp + 0xc]
push ecx
mov eax, 0x16
fstp dword [esp]
mov ecx, esi
call fcn.00515020
jmp 0x52ea16
fstp st(0)
fld dword [edi + 0x30]
mov eax, dword [edi + 0x20]
fadd qword [0x67a148]
mov ecx, dword [edi]
push 0x3e
add eax, ebx
fstp dword [esp + 0x10]
push eax
fld dword [esp + 0x14]
sub esp, 8
fstp dword [esp + 4]
mov dword [edi + 0x28], ebx
fld dword [edi + 0x2c]
mov edx, dword [ecx + 0x820]
fadd qword [0x679a88]
mov esi, dword [edx]
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fstp dword [esp]
call fcn.00518a70
fldz
mov eax, 4
fst dword [edi + 0x34]
call fcn.005af400
test eax, eax
jne 0x52eaa9
fld dword [0x679fe4]
fcomp dword [edi + 0x2c]
fnstsw ax
test ah, 0x41
jne 0x52eaa9
push ecx
fstp st(0)
fld dword [0x679678]
fstp dword [esp]
push 0xa
push 3
push str.anim_wheelie2
call fcn.00528b00
mov dword [edi + 0x68], 0x118
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov esi, dword [edi]
mov ecx, dword [edi + 0x118]
mov eax, dword [esi + 0x820]
mov edx, dword [eax + 8]
xor ebx, ebx
test ecx, ecx
je 0x52eade
movzx eax, cx
cmp eax, dword [edx + 8]
jae 0x52eade
lea eax, [eax + eax*4]
shl eax, 5
add eax, dword [edx]
cmp dword [eax + 0x9c], ecx
setne bl
sub ebx, 1
and ebx, eax
mov ecx, dword [esi + 0x820]
mov esi, dword [ecx]
push 0x3b
push 0
sub esp, 8
fst dword [esp + 4]
fstp dword [esp]
call fcn.00518a70
test eax, eax
je 0x52eb20
fld dword [0x6798e8]
sub esp, 8
fstp dword [esp + 4]
mov ecx, ebx
fld dword [0x679690]
fstp dword [esp]
push eax
mov eax, str.Zombie_zamboni_1
call fcn.00473070
fld dword [0x679388]
push ecx
fstp dword [esp]
push 0xa
push 3
push str.anim_wheelie1
mov dword [edi + 0x68], 0x118
call fcn.00528b00
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
fld dword [edi + 0x30]
mov edx, dword [edi + 0x20]
fadd qword [0x679708]
mov ecx, dword [eax + 0x820]
mov esi, dword [ecx]
push 0x3f
fstp dword [esp + 0x10]
add edx, 1
fld dword [esp + 0x10]
push edx
sub esp, 8
fstp dword [esp + 4]
fld dword [edi + 0x2c]
fadd qword [0x679820]
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fstp dword [esp]
jmp 0x7d251c

Function at 0x52edb0
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
lea edi, [esp + 0x10]
call fcn.00532140
jmp loc.007a6b93
Function at 0x52fe50
Capabilities:
Packed with generic packer
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x6c]
cmp eax, 0xfffffffe
push edi
je 0x52feaa
cmp eax, 0xfffffffd
je 0x52feaa
mov edi, dword [esi + 4]
cmp byte [edi + 0x560c], 0
jne 0x52feaa
cmp dword [edi + 0x5604], 0
jg 0x52feaa
cmp dword [edi + 0x5600], 0
jge 0x52feaa
cmp byte [edi + 0x55fc], 0
jne 0x52feaa
cmp byte [esi + 0x70], 0
jne 0x52feaa
mov ecx, dword [esi]
call fcn.004539d0
test al, al
jmp 0x52feb5
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
call fcn.004538f0
test al, al
je 0x52fed8
mov edi, dword [edi + 0x160]
call fcn.004296a0
test al, al
jne 0x52fefa
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
call fcn.00453740
test al, al
jne 0x52feaa
mov eax, dword [edi + 0x557c]
jmp loc.007cbc8f
mov ecx, dword [esi]
call fcn.00453890
test al, al
je 0x52ff11
mov ecx, dword [esi + 4]
cmp dword [ecx + 0x559c], 0
jg 0x52feaa
mov edx, dword [esi + 4]
mov eax, 1
mov byte [edx + 0x560c], al
mov ecx, dword [esi]
lea edi, [esp + 0x18]
mov ebx, esi
mov dword [ecx + 0x888], eax
call fcn.005320b0
mov eax, dword [esp + 0x20]
mov edi, dword [esi + 4]
cdq
sub eax, edx
sar eax, 1
add eax, dword [esp + 0x18]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x24]
cdq
sub eax, edx
sar eax, 1
add eax, dword [esp + 0x1c]
mov dword [esp + 0x10], eax
mov eax, edi
call fcn.004139e0
test al, al
jne fcn.0052ff67
jmp loc.007cb12a

Function at 0x530bc0
Capabilities:
Packed with generic packer

Disassembly:
push ecx
mov ecx, dword [esp + 0xc]
push ebx
push ebp
push esi
mov esi, eax
mov eax, ecx
and eax, 8
push edi
jne 0x530be1
cmp dword [esi + 0x54], eax
mov dword [esi + 0x58], 0x19
jge 0x530be1
mov dword [esi + 0x54], eax
test eax, eax
jne 0x530c55
test cl, 2
jne 0x530c55
mov eax, dword [esi + 0xd8]
cmp eax, 1
mov dword [esi + 0x5c], 0xc
je 0x530c01
cmp eax, 3
jne 0x530c55
mov eax, dword [esi]
cmp byte [eax + 0x8c5], 0
jne 0x530c55
fldz
mov ecx, dword [0x6a9f00]
mov edi, dword [eax + 0x784]
fst dword [esp + 0x10]
fcomp dword [ecx + 0x95c]
fnstsw ax
test ah, 0x44
jnp 0x530c41
fld dword [ecx + 0x95c]
push ecx
fstp dword [esp]
call fcn.005af410
fstp dword [esp + 0x14]
add esp, 4
jmp 0x7aa6f0
mov ebp, dword [esi + 0xe0]
mov edi, dword [esi + 0xdc]
mov eax, 0x55555556
imul ebp
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
jmp 0x7aa670

Function at 0x530e30
Capabilities:
Packed with generic packer

Disassembly:
sub esp, 0x24
push ebx
push esi
mov ebx, eax
push edi
mov edi, dword [ebx + 0xc4]
test edi, edi
je 0x530fce
lea esi, [esp + 0x14]
mov ecx, ebx
jmp loc.007b2d43
pop edi
pop esi
pop ebx
add esp, 0x24
ret 4
Function at 0x533000
Capabilities:
Packed with generic packer

Disassembly:
push ecx
push ebx
push esi
mov esi, eax
mov eax, dword [esi]
mov ecx, dword [eax + 0x820]
mov eax, dword [esi + 0x118]
mov edx, dword [ecx + 8]
and eax, 0xffff
lea ebx, [eax + eax*4]
mov eax, dword [esi + 0xd8]
shl ebx, 5
add ebx, dword [edx]
cmp eax, 1
jne 0x53307f
jmp loc.007ce176
cmp eax, 2
jne 0x5330a3
push 3
push str.Zombie_paper_hands
mov eax, esi
call fcn.005331c0
mov eax, str.Zombie_paper_paper
push 1
push eax
call fcn.004739e0
pop esi
pop ebx
pop ecx
ret
cmp eax, 3
jne 0x5330c6
push eax
push str.Zombie_outerarm
mov eax, esi
call fcn.005331c0
mov eax, str.Zombie_ladder_1
push 1
push eax
call fcn.004739e0
pop esi
pop ebx
pop ecx
ret
mov eax, dword [esp + 8]
push 1
push eax
call fcn.004739e0
pop esi
pop ebx
pop ecx
ret

Function at 0x533f70
Capabilities:
Packed with generic packer

Disassembly:
mov eax, dword [ecx + 0x28]
cmp eax, 1
je 0x534036
cmp eax, 0x21
je 0x534036
cmp eax, 0x22
je 0x534036
cmp eax, 0x23
je 0x534036
cmp eax, 0x20
je 0x534036
cmp eax, 0xe
je 0x534036
cmp eax, 0x32
je 0x534036
cmp eax, 0x12
je 0x534036
cmp eax, 0xc
je 0x534036
cmp eax, 0x34
je 0x534036
cmp eax, 0x3a
je 0x534036
mov eax, dword [ecx + 0x24]
cmp eax, 0xc
je 0x534036
cmp eax, 0x16
je 0x534036
cmp eax, 0x19
je 0x534036
cmp eax, 0x14
jne 0x533ff1
mov eax, ecx
call fcn.0052ae40
test al, al
je 0x534036
cmp byte [ecx + 0x88], 0
jne 0x534036
mov eax, dword [ecx + 0x64]
cmp eax, 3
je 0x534036
cmp eax, 8
je 0x534036
cmp eax, 9
je 0x534036
jmp 0x7d20f5
xor al, al
ret

Function at 0x534ff0
Capabilities:
Packed with generic packer

Disassembly:
push ecx
push esi
push edi
mov edi, eax
mov edx, dword [edi + 4]
lea esi, [esp + 8]
mov dword [esp + 8], 0
call fcn.0041c950
test al, al
je 0x535044
lea ecx, [ecx]
mov edx, dword [esp + 8]
mov eax, dword [edx + 0x1c]
mov ecx, dword [edi + 0x130]
cmp eax, ecx
jl 0x535034
add ecx, 1
cmp eax, ecx
jg 0x535034
cmp dword [edx + 0x28], 5
jl 0x535034
push edx
call fcn.00462b80
mov edx, dword [edi + 4]
lea esi, [esp + 8]
call fcn.0041c950
test al, al
jne 0x535010
mov eax, dword [edi + 4]
jmp 0x7cad05
Function at 0x5869b0
Capabilities:
Packed with generic packer

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
lea esi, [edi + 4]
xor ebx, ebx
lea ecx, [esi + 0x2c]
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
jmp loc.007af180

Function at 0x586a30
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x63fb8b
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x699fe8]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [esp + 0x20]
xor ebx, ebx
lea ecx, [esi + 0x30]
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
call fcn.00564370
mov dword [esi], vtable.Sexy::Graphics.0
call fcn.0059c550
mov dword [esi + 0x60], eax
mov dword [esi + 0x64], ebx
cmp edi, ebx
mov dword [esp + 0x18], ebx
fldz
fst dword [esi + 8]
mov dword [esi + 0x40], ebx
fst dword [esi + 0xc]
mov dword [esi + 4], edi
fld1
mov dword [esi + 0x44], ebx
fst dword [esi + 0x10]
mov byte [esi + 0x48], bl
fstp dword [esi + 0x14]
mov byte [esi + 0x49], bl
mov byte [esi + 0x4a], 1
mov byte [esi + 0x4b], bl
fst dword [esi + 0x18]
fstp dword [esi + 0x1c]
jne 0x586ac0
mov dword [esi + 4], 0x722864
mov byte [esi + 0x4c], bl
jmp 0x586aca
mov eax, edi
call fcn.0056ba20
mov byte [esi + 0x4c], al
mov ecx, dword [esi + 4]
mov eax, ecx
xor edx, edx
call fcn.00588a10
mov edi, eax
mov eax, ecx
call fcn.00588a20
mov dword [esi + 0x20], edx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], eax
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret 4
Function at 0x5a1310
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x640213
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x699fe8]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], vtable.std::locale::_Locimp.0
push esi
mov dword [esp + 0x18], 1
call fcn.0060af6a
add esp, 4
cmp dword [esi + 0x30], 0x10
jb 0x5a1361
mov eax, dword [esi + 0x1c]
push eax
call fcn.0061c19a
add esp, 4
xor eax, eax
mov dword [esi + 0x30], 0xf
mov dword [esi + 0x2c], eax
mov byte [esi + 0x1c], al
mov dword [esi], vtable.std::locale::facet.0
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret

Function at 0x5a1640
Capabilities:
Read file via mapping

Disassembly:
sub esp, 0x104
mov eax, dword [0x699fe8]
xor eax, esp
mov dword [esp + 0x100], eax
cmp dword [0x6a9f70], 0
jne 0x5a16bd
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea eax, [esp + 4]
push str.gPakInterfaceP__d
push eax
call fcn.0061d4e6
add esp, 0xc
lea ecx, [esp]
push ecx
push 4
push 0
push 4
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
push 4
push 0
push 0
push 0xf001f
push eax
mov dword [0x6a9f70], eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [0x6a9f74], eax
mov eax, dword [eax]
mov ecx, dword [esp + 0x100]
xor ecx, esp
call fcn.0061efd1
add esp, 0x104
ret
mov ecx, dword [esp + 0x100]
mov edx, dword [0x6a9f74]
mov eax, dword [edx]
xor ecx, esp
call fcn.0061efd1
add esp, 0x104
ret

Function at 0x5a17e0
Capabilities:
Read file on windows

Disassembly:
call fcn.005a1640
test eax, eax
je 0x5a17fd
mov eax, dword [0x6a9f74]
mov ecx, dword [eax]
mov edx, dword [ecx]
mov eax, dword [edx + 0x14]
push esi
push 1
push edi
push ebx
call eax
ret
mov ecx, dword [esi + 8]
push ecx
push 1
push edi
push ebx
call fcn.0061d24e
add esp, 0x10
ret
Function at 0x5b2040
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x110
mov eax, dword [0x699fe8]
xor eax, esp
mov dword [esp + 0x10c], eax
mov eax, dword [esi + 4]
cmp byte [eax + 0x511], 0
jne 0x5b215b
lea ecx, [esp + 4]
push ecx
push 0x20019
push 0
push str.SoftwarePopCapBeta
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x5b215b
push edi
push 0xff
push eax
lea edx, [esp + 0x19]
push edx
mov byte [esp + 0x1c], al
call fcn.00626020
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
add esp, 0xc
lea eax, [esp + 4]
push eax
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x14]
push edx
push 0
push str.Name
push eax
mov dword [esp + 0x1c], 0x100
call edi
test eax, eax
jne 0x5b20fc
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 0x10], al
lea eax, [esp + 0x10]
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x5b20e0
sub eax, edx
push eax
lea edx, [esp + 0x14]
push edx
lea ecx, [esi + 0x208]
call fcn.00404330
lea eax, [esp + 4]
push eax
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x14]
push edx
push 0
push 0x6747d0
push eax
mov dword [esp + 0x1c], 0x100
call edi
test eax, eax
pop edi
jne 0x5b2150
mov ecx, dword [esp]
mov byte [esp + ecx + 0xc], al
lea eax, [esp + 0xc]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x5b2134
sub eax, edx
push eax
lea edx, [esp + 0x10]
push edx
lea ecx, [esi + 0x224]
call fcn.00404330
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x10c]
xor ecx, esp
call fcn.0061efd1
add esp, 0x110
ret

Function at 0x5b2170
Capabilities:
Set registry value

Disassembly:
sub esp, 8
push esi
mov esi, eax
mov eax, dword [esi + 4]
cmp byte [eax + 0x511], 0
jne 0x5b2225
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 8]
push edx
push 0
push 0xf003f
push 0
push 0x670c4c
push 0
push str.SoftwarePopCapBeta
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x5b2225
cmp dword [esi + 0x220], 0x10
mov ecx, dword [esi + 0x21c]
jb 0x5b21cb
mov eax, dword [esi + 0x20c]
jmp 0x5b21d1
lea eax, [esi + 0x20c]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push ecx
push eax
mov eax, dword [esp + 0x10]
push 1
push 0
push str.Name
push eax
call edi
cmp dword [esi + 0x23c], 0x10
mov eax, dword [esi + 0x238]
jb 0x5b2201
mov esi, dword [esi + 0x228]
jmp 0x5b2207
add esi, 0x228
mov ecx, dword [esp + 8]
push eax
push esi
push 1
push 0
push 0x6747d0
push ecx
call edi
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
add esp, 8
ret
Function at 0x5f4dd0
Capabilities:
Compute adler32 checksum

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0xc]
movzx ecx, di
shr edi, 0x10
test esi, esi
jne 0x5f4dea
pop edi
lea eax, [esi + 1]
pop esi
ret
push ebx
mov ebx, dword [esp + 0x18]
test ebx, ebx
jbe 0x5f4efc
push ebp
jmp 0x5f4e00
cmp ebx, 0x15b0
mov eax, ebx
jb 0x5f4e0f
mov eax, 0x15b0
sub ebx, eax
cmp eax, 0x10
jl 0x5f4ebb
mov edx, eax
shr edx, 4
mov ebp, edx
neg ebp
shl ebp, 4
add eax, ebp
jmp 0x5f4e30
movzx ebp, byte [esi]
add ecx, ebp
movzx ebp, byte [esi + 1]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 2]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 3]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 4]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 5]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 6]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 7]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 8]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 9]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 0xa]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 0xb]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 0xc]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 0xd]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 0xe]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 0xf]
add edi, ecx
add ecx, ebp
add edi, ecx
add esi, 0x10
sub edx, 1
jne 0x5f4e30
test eax, eax
je 0x5f4ecf
nop
movzx edx, byte [esi]
add ecx, edx
add esi, 1
add edi, ecx
sub eax, 1
jne 0x5f4ec0
mov eax, 0x80078071
mul ecx
shr edx, 0xf
imul edx, edx, 0xffff000f
add ecx, edx
mov eax, 0x80078071
mul edi
shr edx, 0xf
imul edx, edx, 0xffff000f
add edi, edx
test ebx, ebx
ja 0x5f4e00
pop ebp
mov eax, edi
pop ebx
shl eax, 0x10
pop edi
or eax, ecx
pop esi
ret
Function at 0x61cfb2
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
cmp dword [ebp + 0x10], edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], ebx
je 0x61cfef
cmp dword [ebp + 0x14], edi
je 0x61cfef
cmp ecx, edi
jne 0x61cff6
call fcn.0062120f
push edi
push edi
push edi
push edi
mov dword [eax], 0x16
push edi
call fcn.0061c61b
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov esi, dword [ebp + 0x18]
cmp esi, edi
je 0x61d00a
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
jbe 0x61d02b
cmp ebx, 0xffffffff
je 0x61d01a
push ebx
push edi
push ecx
call fcn.00626020
add esp, 0xc
cmp esi, edi
je 0x61cfd7
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
ja 0x61cfd7
mov edi, dword [ebp + 0x10]
imul edi, dword [ebp + 0x14]
test word [esi + 0xc], 0x10c
mov dword [ebp - 0x10], edi
mov ebx, edi
je 0x61d047
mov eax, dword [esi + 0x18]
mov dword [ebp - 0xc], eax
jmp 0x61d04e
mov dword [ebp - 0xc], 0x1000
test edi, edi
je 0x61d13f
test word [esi + 0xc], 0x10c
je 0x61d0a2
mov eax, dword [esi + 4]
test eax, eax
je 0x61d0a2
jl 0x61d1a0
cmp ebx, eax
mov edi, ebx
jb 0x61d073
mov edi, eax
cmp edi, dword [ebp - 4]
ja 0x61d147
push edi
push dword [esi]
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.0061be1b
sub dword [esi + 4], edi
add dword [esi], edi
add dword [ebp - 8], edi
sub ebx, edi
add esp, 0x10
sub dword [ebp - 4], edi
mov edi, dword [ebp - 0x10]
jmp 0x61d137
cmp ebx, dword [ebp - 0xc]
jb 0x61d10f
cmp dword [ebp - 0xc], 0
je 0x61d0cc
mov ecx, 0x7fffffff
xor edx, edx
cmp ebx, ecx
jbe 0x61d0c1
mov eax, ecx
div dword [ebp - 0xc]
mov eax, ecx
jmp 0x61d0c8
mov eax, ebx
div dword [ebp - 0xc]
mov eax, ebx
sub eax, edx
jmp 0x61d0d7
mov eax, 0x7fffffff
cmp ebx, eax
ja 0x61d0d7
mov eax, ebx
cmp eax, dword [ebp - 4]
ja 0x61d173
push eax
push dword [ebp - 8]
push esi
call fcn.0062acfc
pop ecx
push eax
call fcn.0062b436
add esp, 0xc
test eax, eax
je 0x61d1b2
cmp eax, 0xffffffff
je 0x61d1a0
add dword [ebp - 8], eax
sub ebx, eax
sub dword [ebp - 4], eax
jmp 0x61d137
push esi
call fcn.0062ad55
cmp eax, 0xffffffff
pop ecx
je 0x61d1a4
cmp dword [ebp - 4], 0
je 0x61d173
mov ecx, dword [ebp - 8]
inc dword [ebp - 8]
mov byte [ecx], al
mov eax, dword [esi + 0x18]
dec ebx
dec dword [ebp - 4]
mov dword [ebp - 0xc], eax
test ebx, ebx
jne 0x61d056
mov eax, dword [ebp + 0x14]
jmp 0x61cff1
xor esi, esi
cmp dword [ebp + 0xc], 0xffffffff
je 0x61d15e
push dword [ebp + 0xc]
push esi
push dword [ebp + 8]
call fcn.00626020
add esp, 0xc
call fcn.0062120f
push esi
push esi
push esi
push esi
mov dword [eax], 0x22
push esi
jmp 0x61cfe7
cmp dword [ebp + 0xc], 0xffffffff
je 0x61d189
push dword [ebp + 0xc]
push 0
push dword [ebp + 8]
call fcn.00626020
add esp, 0xc
call fcn.0062120f
mov dword [eax], 0x22
xor eax, eax
push eax
push eax
push eax
push eax
push eax
jmp 0x61cfe7
or dword [esi + 0xc], 0x20
mov eax, edi
sub eax, ebx
xor edx, edx
div dword [ebp + 0x10]
jmp 0x61cff1
or dword [esi + 0xc], 0x10
jmp 0x61d1a4
Function at 0x7c0de6
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov edi, esi
mov ebp, ecx
mov edx, dword [edi + 4]
sub esp, 0xa
lea esi, [esp]
mov dword [esi], 0
call fcn.0041c8f0
test al, al
je 0x7c0e2b
nop dword [eax]
mov ebx, dword [esi]
cmp byte [ebx + 0xba], 0
je 0x7c0e29
nop dword [eax]
mov dword [edi + 0x58], 9
mov eax, dword [ebx + 0x158]
mov dword [edi + 0x88], eax
jmp 0x7c0dfa
add esp, 0xa
popal
ret
Function at 0x1000b200
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x38
push ebx
push esi
push edi
mov ebx, eax
call sym.lua5.1.dll_lua_gettop
add esp, 4
sub eax, 1
mov esi, 1
je 0x1000b267
jmp 0x1000b226
mov eax, dword [esp + 0x3c]
dec eax
push ebx
push edi
mov dword [esp + 0x44], eax
call sym.lua5.1.dll_lua_type
add esp, 8
cmp eax, 3
jne 0x1000b288
test esi, esi
je 0x1000b25d
push ebx
push edi
call sym.lua5.1.dll_lua_tonumber
fstp qword [esp]
mov eax, dword [ebp + 8]
push str._.14g
push eax
call fcn.10019c0b
add esp, 0x10
test eax, eax
jg 0x1000b2b5
xor esi, esi
inc ebx
cmp dword [esp + 0x3c], 0
jne 0x1000b222
call fcn.10019230
mov ebx, dword [eax]
test esi, esi
je 0x1000b2bc
push 1
push edi
call sym.lua5.1.dll_lua_pushboolean
add esp, 8
mov eax, 1
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [esp + 0x38]
push ecx
push ebx
push edi
call sym.lua5.1.dll_luaL_checklstring
add esp, 0xc
test esi, esi
je 0x1000b25d
mov edx, dword [ebp + 8]
mov ecx, dword [esp + 0x38]
push edx
push ecx
push 1
push eax
call fcn.1001bf00
add esp, 0x10
cmp eax, dword [esp + 0x38]
jne 0x1000b25d
mov esi, 1
jmp 0x1000b25f
push edi
call sym.lua5.1.dll_lua_pushnil
push ebx
call fcn.10019182
push eax
push 0x1003982c
push edi
call sym.lua5.1.dll_lua_pushfstring
push ebx
push edi
call sym.lua5.1.dll_lua_pushinteger
add esp, 0x1c
pop esi
mov eax, 3
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10012a90
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x1c]
mov eax, edi
shr eax, 5
inc eax
mov ebx, edi
mov ecx, edi
cmp edi, eax
jb 0x10012acf
jmp 0x10012ab0
mov edx, dword [esp + 0x18]
movzx edx, byte [edx + ecx - 1]
mov esi, ebx
shl esi, 5
add edx, esi
mov esi, ebx
shr esi, 2
add edx, esi
sub ecx, eax
xor ebx, edx
cmp ecx, eax
jae 0x10012ab0
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x10]
mov ecx, dword [eax + 8]
mov edx, dword [eax]
dec ecx
and ecx, ebx
mov ebp, dword [edx + ecx*4]
test ebp, ebp
je 0x10012b37
cmp dword [ebp + 0xc], edi
jne 0x10012b30
mov esi, dword [esp + 0x18]
mov ecx, edi
lea edx, [ebp + 0x10]
cmp edi, 4
jb 0x10012b0c
mov eax, dword [esi]
cmp eax, dword [edx]
jne 0x10012b30
sub ecx, 4
add edx, 4
add esi, 4
cmp ecx, 4
jae 0x10012af8
test ecx, ecx
je 0x10012b4e
mov al, byte [edx]
cmp al, byte [esi]
jne 0x10012b30
cmp ecx, 1
jbe 0x10012b4e
mov al, byte [edx + 1]
cmp al, byte [esi + 1]
jne 0x10012b30
cmp ecx, 2
jbe 0x10012b4e
mov cl, byte [edx + 2]
cmp cl, byte [esi + 2]
je 0x10012b4e
mov ebp, dword [ebp]
test ebp, ebp
jne 0x10012ae5
mov edx, dword [esp + 0x18]
push ebx
mov ebx, dword [esp + 0x18]
push edx
call fcn.100129f0
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
ret
mov edx, dword [esp + 0x14]
mov ecx, dword [edx + 0x10]
movzx edx, byte [ecx + 0x14]
mov al, byte [ebp + 5]
movzx ecx, al
not edx
and ecx, 3
test cl, dl
je 0x10012b6d
xor al, 3
mov byte [ebp + 5], al
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
ret

Function at 0x100189ea
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1004c008]
jne 0x100189f4
repz ret
jmp fcn.10021429