joyce8/EMBER2024-capa huggingface dataset:
Function at 0x51b830
Capabilities:
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x64d8b0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x130
push ebx
push esi
push ecx
push str.Load_Trail__s
lea eax, [esp + 0x34]
call fcn.0044f400
add esp, 8
xor ebx, ebx
mov dword [esp + 0x140], ebx
mov eax, ecx
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], ebx
mov byte [esp + 0x14], bl
lea esi, [eax + 1]
lea ecx, [ecx]
mov dl, byte [eax]
add eax, 1
cmp dl, bl
jne 0x51b880
sub eax, esi
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.00404330
push edi
lea eax, [esp + 0x14]
push 0x69d98c
push eax
mov byte [esp + 0x14c], 1
call fcn.004447f0
add esp, 0xc
test al, al
sete byte [esp + 0xf]
mov byte [esp + 0x140], bl
cmp dword [esp + 0x28], 0x10
jb 0x51b8d3
mov ecx, dword [esp + 0x14]
push ecx
call fcn.0061c19a
add esp, 4
cmp byte [esp + 0xf], bl
je 0x51b8f2
xor al, al
mov ecx, dword [esp + 0x138]
mov dword fs:[0], ecx
pop esi
pop ebx
add esp, 0x13c
ret
fld1
push ecx
lea esi, [edi + 0x18]
fstp dword [esp]
call fcn.004449f0
fld1
lea esi, [edi + 0x20]
fstp dword [esp]
call fcn.004449f0
fld dword [0x679498]
lea esi, [edi + 0x10]
fstp dword [esp]
call fcn.004449f0
fld1
lea esi, [edi + 0x28]
fstp dword [esp]
call fcn.004449f0
fld1
lea esi, [edi + 0x30]
fstp dword [esp]
call fcn.004449f0
mov ecx, dword [esp + 0x13c]
add esp, 4
pop esi
mov al, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0x13c
ret

Function at 0x51c470
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x642183
push eax
mov dword fs:[0], esp
push ebx
mov ebx, dword [esp + 0x14]
xor eax, eax
mov ecx, 0xf
mov dword [ebx + 0x18], ecx
mov dword [ebx + 0x14], eax
mov byte [ebx + 4], al
mov dword [esp + 0xc], eax
mov dword [ebx + 0x34], ecx
mov dword [ebx + 0x30], eax
mov byte [ebx + 0x20], al
mov byte [esp + 0xc], 1
call fcn.0051c4d0
mov ecx, dword [esp + 4]
mov eax, ebx
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret 4
Function at 0x522580
Capabilities:
Encode data using base64
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
push esi
mov esi, eax
mov eax, dword [ebp + 0x18]
push edi
mov edi, dword [ebp + 8]
mov dword [edi + 0x6c], eax
mov eax, 0x28
mov dword [edi + 0x1c], esi
call fcn.005af400
add eax, 0x30c
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
push esi
mov eax, edi
fstp dword [edi + 0x2c]
call fcn.00531880
mov ecx, dword [ebp + 0xc]
fstp dword [edi + 0x30]
fldz
mov dl, byte [ebp + 0x10]
xor ebx, ebx
fst dword [edi + 0x34]
mov eax, 0x78
fst dword [edi + 0x120]
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], eax
lea eax, [ebx + 0x65]
mov dword [edi + 0x48], ebx
mov dword [edi + 0x4c], ebx
mov dword [edi + 0x24], ecx
mov byte [edi + 0x50], dl
mov byte [edi + 0x51], bl
mov dword [edi + 0x54], ebx
mov dword [edi + 0x58], ebx
mov dword [edi + 0x5c], ebx
jmp section.GKyyds_10

Function at 0x525be0
Capabilities:
Packed with generic packer
Parse credit card information

Disassembly:
mov eax, dword [edi]
sub esp, 8
cmp dword [eax + 0x7f8], 0x2c
push esi
jne 0x525c2f
fld dword [0x67a130]
fcomp dword [edi + 0x2c]
fnstsw ax
test ah, 0x41
jne 0x525c2f
fld dword [edi + 0x84]
fsub qword [0x679a68]
fstp dword [esp + 8]
fld dword [esp + 8]
fst dword [edi + 0x84]
fcomp dword [0x679f64]
fnstsw ax
test ah, 5
jp 0x525c2f
push 0
mov eax, edi
call fcn.00525b60
jmp 0x7be52d
Function at 0x52b110
Capabilities:
Check http status code

Disassembly:
push ebx
push esi
mov esi, eax
cmp dword [esi + 0x64], 6
push edi
jne 0x52b120
call fcn.0052b010
cmp dword [esi + 0x64], 0xa
jne 0x52b12d
mov eax, esi
call fcn.005291e0
mov eax, dword [esi + 0x64]
cmp eax, 2
je 0x52b143
cmp eax, 1
je 0x52b143
cmp byte [esi + 0xbd], 0
je 0x52b14a
mov edi, esi
call fcn.005295f0
mov eax, dword [esi + 0x64]
cmp eax, 4
je 0x52b157
cmp eax, 5
jne 0x52b15e
mov ecx, esi
call fcn.005296e0
cmp dword [esi + 0x64], 7
jne 0x52b169
call fcn.00529770
cmp dword [esi + 0x64], 8
jne 0x52b174
call fcn.00534730
cmp dword [esi + 0x24], 3
jne 0x52b180
push esi
call fcn.00525dc0
cmp dword [esi + 0x24], 0x16
jne 0x52b18d
mov eax, esi
call fcn.005259d0
cmp dword [esi + 0x24], 0xe
jne 0x52b19a
mov eax, esi
call fcn.005261e0
cmp dword [esi + 0x24], 0xb
jne 0x52b1a7
mov eax, esi
call fcn.00526720
cmp dword [esi + 0x24], 0x10
jne 0x52b1b4
mov edi, esi
call fcn.00525be0
cmp dword [esi + 0x24], 5
jne 0x52b1c0
push esi
call fcn.00525ce0
cmp dword [esi + 0x24], 0x11
jne 0x52b1cd
mov eax, esi
call fcn.00528310
cmp dword [esi + 0x24], 0xf
jne 0x52b1d9
push esi
call fcn.00526ae0
mov eax, dword [esi + 0x24]
cmp eax, 0x17
je 0x52b1e6
cmp eax, 0x20
jne 0x52b1ec
push esi
call fcn.00526d10
cmp dword [esi + 0x24], 0xd
jne 0x52b1f9
mov eax, esi
call fcn.00528050
jmp 0x7b6f90

Function at 0x52b340
Capabilities:
Check http status code
Packed with generic packer

Disassembly:
mov eax, dword [edi + 4]
sub esp, 8
add dword [edi + 0x3c], 0xffffffff
mov eax, dword [eax + 0xa0]
push esi
jne 0x52b415
call fcn.005af400
test eax, eax
jne 0x52b415
cmp byte [edi + 0xba], al
je 0x52b415
cmp dword [edi + 0x24], 0x19
je 0x52b415
mov eax, dword [edi + 4]
call fcn.00413a40
test al, al
jne 0x52b415
fldz
mov ecx, dword [edi]
fstp dword [esp + 8]
call fcn.004538c0
test al, al
je 0x52b3bd
fld dword [0x679800]
sub esp, 8
fstp dword [esp + 4]
fld dword [0x67959c]
fstp dword [esp]
call fcn.00511cb0
fstp dword [esp + 0x10]
add esp, 8
cmp dword [edi + 0x24], 0x17
jne 0x52b3d1
mov eax, dword [edi]
mov esi, 0x46
call fcn.00453630
jmp 0x52b403
cmp byte [edi + 0x50], 0
je 0x52b3e1
push ecx
mov ecx, dword [edi]
mov eax, 0xc
jmp 0x52b3f7
mov ecx, dword [edi]
cmp byte [ecx + 0x8be], 0
push ecx
mov eax, 0xd
jne 0x52b3f7
mov eax, 0xb
fld dword [esp + 0xc]
fstp dword [esp]
call fcn.00453650
mov eax, 0x3e8
call fcn.005af400
add eax, 0x1f4
mov dword [edi + 0x3c], eax
mov eax, dword [edi + 0xb4]
test eax, eax
jle 0x52b43e
jmp 0x7b5500
mov eax, dword [edi + 0xac]
test eax, eax
jle 0x52b45a
jmp section.GKyyds_23
mov eax, dword [edi + 0xb0]
test eax, eax
jle 0x52b476
jmp 0x7b5a00
jmp 0x7c0630
Function at 0x52e2e0
Capabilities:
Packed with generic packer

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x64f038
push eax
mov dword fs:[0], esp
sub esp, 0x90
cmp dword [ebx + 0x64], 9
push ebp
mov ebp, dword [esp + 0xa4]
push esi
push edi
je 0x52e49f
lea esi, [esp + 0x10]
mov ecx, ebx
call fcn.0052d9e0
mov eax, dword [ebx]
cmp dword [eax + 0x7fc], 4
jne 0x52e336
mov eax, ebp
mov ecx, ebx
call fcn.00534040
test al, al
je 0x52e49f
cmp dword [ebx + 0xb4], 0
jle 0x52e34e
push 0
lea edx, [esp + 0x14]
mov ecx, ebp
mov eax, ebx
call fcn.0052e020
mov ecx, dword [ebx]
cmp dword [ecx + 0x7f8], 0x15
jne 0x52e35f
cmp dword [ebx + 0x6c], 0xfffffffd
jne 0x52e386
cmp dword [ebx + 0x118], 0
je 0x52e379
push 0
lea edx, [esp + 0x14]
push edx
push ebp
mov ecx, ebx
call fcn.0052d020
jmp 0x52e386
lea eax, [esp + 0x10]
push eax
push ebp
mov eax, ebx
call fcn.0052be80
jmp 0x7c0250
mov ecx, dword [esp + 0x9c]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebp
add esp, 0x9c
ret 4

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
mov ebx, dword [esp + 0x18]
mov edi, dword [esp + 0x10]
mov dword [esp + 0xc], 0
jmp 0x52ede0
mov eax, dword [ebp + 8]
mov edx, dword [eax + 4]
lea esi, [esp + 0xc]
call fcn.0041c950
test al, al
je 0x52ee7c
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x1c]
mov esi, dword [esp + 0xc]
cmp edx, dword [esi + 0x1c]
jne 0x52ede0
lea eax, [esp + 0x10]
mov ecx, esi
call fcn.00467ef0
mov ecx, dword [esp + 0x10]
cmp edi, ecx
jge 0x52ee24
mov edx, dword [esp + 0x18]
lea eax, [ebx + edi]
add edx, ecx
jmp 0x52ee2f
mov eax, dword [esp + 0x18]
add eax, ecx
mov ecx, edi
lea edx, [ebx + edi]
cmp eax, ecx
jg 0x52ee37
sub eax, ecx
jmp 0x52ee43
cmp eax, edx
jg 0x52ee3f
sub eax, ecx
jmp 0x52ee43
sub edx, ecx
mov eax, edx
cmp eax, 0x14
jl 0x52ede0
mov ecx, dword [ebp + 8]
push 1
push esi
call fcn.0052e4c0
test al, al
je 0x52ede0
mov eax, dword [esi + 0x24]
jmp 0x7a91f0
mov edi, dword [ebp + 8]
mov eax, dword [edi]
cmp dword [eax + 0x768], 0
je 0x52eee6
mov eax, dword [eax + 0x7f8]
cmp eax, 0x3d
je 0x52eec2
cmp eax, 0x3e
je 0x52eec2
cmp eax, 0x3f
je 0x52eec2
cmp eax, 0x40
je 0x52eec2
cmp eax, 0x41
je 0x52eec2
cmp eax, 0x42
je 0x52eec2
cmp eax, 0x43
je 0x52eec2
cmp eax, 0x44
je 0x52eec2
cmp eax, 0x45
je 0x52eec2
cmp eax, 0x46
jne 0x52eee6
mov eax, dword [edi + 4]
mov ecx, dword [eax + 0x160]
push ecx
mov eax, edi
call fcn.0042b810
test eax, eax
je 0x52eee6
mov edx, dword [edi + 4]
mov ecx, dword [edx + 0x160]
push ecx
call fcn.0042ba30
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x52fe50
Capabilities:
Packed with generic packer

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
je 0x52feb5
cmp dword [esi + 0x24], 0x19
je 0x52fefa
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]
cmp eax, dword [edi + 0x5564]
jl 0x52feaa
mov edx, edi
call fcn.00408b00
test al, al
jne 0x52fecd
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]
jmp 0x79b200

Function at 0x5317c0
Capabilities:
Packed with generic packer

Disassembly:
push ecx
mov ecx, dword [esi + 0x28]
cmp ecx, 0x10
push ebx
push ebp
mov ebp, dword [esp + 0x10]
jmp 0x7a6800

Function at 0x5323c0
Capabilities:
Packed with generic packer

Disassembly:
push ebx
push esi
mov esi, eax
xor bl, bl
cmp dword [esi + 0xac], 0
push edi
jg 0x5323d9
cmp dword [esi + 0xb4], 0
je 0x5323db
mov bl, 1
push 1
call fcn.00530950
mov eax, esi
call fcn.00531a10
test al, al
je 0x5324a3
cmp byte [esi + 0xbd], 0
je 0x532406
mov dword [esi + 0xb4], 0x12c
jmp 0x532430
test bl, bl
je 0x53241b
mov eax, 0x65
call fcn.005af400
add eax, 0x12c
jmp 0x53242a
mov eax, 0xc9
call fcn.005af400
add eax, 0x190
mov dword [esi + 0xb4], eax
push esi
call fcn.00530850
cmp dword [esi + 0x24], 0x10
jne 0x53247f
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]
shl ebx, 5
add ebx, dword [edx]
push 0x66eb64
call fcn.00472f30
mov ecx, dword [ebx + 0x58]
lea eax, [eax + eax*2]
shl eax, 5
lea eax, [eax + ecx + 0x40]
call fcn.00405480
test eax, eax
je 0x53247f
fldz
fstp dword [eax + 8]
cmp dword [esi + 0x28], 0x59
jne 0x532492
mov ebx, dword [esi + 4]
mov edi, 0x4b
call fcn.0041da50
push 0x14
mov eax, 1
call fcn.005317c0
call fcn.0052f050
jmp 0x7a9390

Function at 0x532b70
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp byte [esi + 0xec], bl
push edi
jne 0x532fea
cmp dword [esi + 0x28], 2
je 0x532fea
jmp 0x7b6080
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x533240
Capabilities:
Packed with generic packer

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
mov edi, eax
mov eax, dword [edi + 0x28]
cmp eax, 1
je 0x53358a
cmp eax, 2
je 0x53358a
cmp eax, 3
je 0x53358a
mov ecx, dword [edi + 0x118]
mov eax, dword [edi]
call fcn.00453cb0
test eax, eax
mov dword [esp + 0x14], eax
je 0x533583
push str.anim_death
mov ebx, eax
call fcn.004732c0
test al, al
je 0x533583
cmp dword [edi + 0x24], 0xe
jne 0x5332a4
cmp dword [edi + 0x28], 0x37
jne 0x533583
mov eax, dword [edi + 0x28]
cmp eax, 0x3a
je 0x533583
cmp eax, 0x39
je 0x533583
xor ebx, ebx
cmp dword [edi + 0xb4], ebx
jle 0x5332d6
push 0x3a
push 0x6a
push 0x4b
mov eax, edi
call fcn.005321f0
mov dword [edi + 0xb4], ebx
jmp 0x7a6d80
mov ecx, edi
call fcn.00530510
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 4

Function at 0x539140
Capabilities:
Packed with generic packer

Disassembly:
sub esp, 0xc
push esi
lea esi, [esp + 4]
mov edx, edi
call fcn.00538e80
jmp 0x79c140
Function at 0x53fd20
Capabilities:
Create process on windows

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x59], 0
je 0x53fd49
mov eax, dword [esi + 0x10]
cmp byte [eax + 0x84], 0
je 0x53fd49
mov ecx, dword [esi + 0x104]
mov edx, dword [ecx]
jmp section.zaas_6
mov eax, dword [esi]
mov edx, dword [eax + 0x44]
mov ecx, esi
call edx
pop esi
ret 0x10

Function at 0x543900
Capabilities:
Read file via mapping

Disassembly:
sub esp, 0x104
mov eax, dword [0x699fe8]
xor eax, esp
mov dword [esp + 0x100], eax
cmp dword [0x6a9f30], 0
jne 0x54397d
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 [0x6a9f30], eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [0x6a9f34], 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 [0x6a9f34]
mov eax, dword [edx]
xor ecx, esp
call fcn.0061efd1
add esp, 0x104
ret

Function at 0x543aa0
Capabilities:
Read file on windows

Disassembly:
call fcn.00543900
test eax, eax
je 0x543abd
mov eax, dword [0x6a9f34]
mov ecx, dword [eax]
mov edx, dword [ecx]
mov eax, dword [edx + 0x14]
push esi
push edi
push 1
push ebx
call eax
ret
mov ecx, dword [esi + 8]
push ecx
push edi
push 1
push ebx
call fcn.0061d24e
add esp, 0x10
ret
Function at 0x5513c0
Capabilities:
Create thread

Disassembly:
cmp byte [esi + 0x4f9], 0
jne 0x5513f6
push 1
mov byte [esi + 0x4fc], 1
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push esi
push 0
push 0x551350
mov byte [esi + 0x4f9], 1
call fcn.0061f90f
add esp, 0xc
ret

Function at 0x551540
Capabilities:
Create thread

Disassembly:
cmp byte [esi + 0x4fe], 0
jne 0x55156f
push 1
mov byte [esi + 0x4fe], 1
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push esi
push 0
push 0x551520
call fcn.0061f90f
add esp, 0xc
ret

Function at 0x551560
Capabilities:
Create thread

Disassembly:
cmp byte [esi + 0x4fe], 0
jne 0x55156f
push 1
mov byte [esi + 0x4fe], 1
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push esi
push 0
push 0x551520
call fcn.0061f90f
add esp, 0xc
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 str.Password
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 str.Password
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 0x5c7b20
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x63f998
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x699fe8]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov eax, dword [esp + 0x2c]
mov esi, dword [esp + 0x28]
xor ebx, ebx
cmp ecx, ebx
mov dword [esp + 0x20], ebx
lea edi, [esi + 0xc]
mov dword [esi], vtable.Sexy::DSoundInstance.0
mov dword [esi + 4], eax
mov byte [esi + 0x12], bl
mov byte [esi + 0x10], bl
mov byte [esi + 0x11], bl
mov dword [esi + 8], ecx
mov dword [edi], ebx
fld qword [0x65b8f8]
lea ebp, [esi + 0x30]
fst qword [esi + 0x18]
fstp qword [esi + 0x28]
mov dword [esi + 0x14], ebx
mov dword [esi + 0x20], ebx
mov dword [ebp], 0xac44
je 0x5c7c41
mov eax, dword [eax + 0x3094]
mov edx, dword [eax]
push edi
push ecx
push eax
mov eax, dword [edx + 0x14]
call eax
cmp eax, ebx
je 0x5c7c36
cmp eax, 0x8878000a
jg 0x5c7c00
je 0x5c7bec
cmp eax, 0x8007000e
je 0x5c7bd8
cmp eax, 0x80070057
jne 0x5c7c48
push ebx
push 0x67548c
push str.DSERR_INVALIDPARAM
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x5c7c48
push ebx
push 0x67548c
push str.DSERR_OUTOFMEMORY
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x5c7c48
push ebx
push 0x67548c
push str.DSERR_ALLOCATED
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x5c7c48
cmp eax, 0x88780032
je 0x5c7c22
cmp eax, 0x887800aa
jne 0x5c7c48
push ebx
push 0x67548c
push str.DSERR_UNINITIALIZED
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x5c7c48
push ebx
push 0x67548c
push str.DSERR_INVALIDCALL
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x5c7c48
mov edi, dword [edi]
mov ecx, dword [edi]
mov edx, dword [ecx + 0x20]
push ebp
push edi
call edx
mov eax, esi
call fcn.005c7ce0
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 8

Function at 0x5c9980
Capabilities:
Terminate process

Disassembly:
sub esp, 0x404
mov eax, dword [0x699fe8]
xor eax, esp
mov dword [esp + 0x400], eax
cmp dword [esp + 0x408], 0
mov eax, dword [esp + 0x40c]
jne 0x5c99d3
push eax
lea eax, [esp + 4]
push str._s_function_not_found_in_fmod.dll
push eax
call fcn.0061d4e6
add esp, 0xc
push 0x10
push str.Error
lea ecx, [esp + 8]
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call fcn.0061dd92
mov ecx, dword [esp + 0x400]
xor ecx, esp
call fcn.0061efd1
add esp, 0x404
ret
Function at 0x5d59a0
Capabilities:
Print debug messages
Write file on windows

Disassembly:
push esi
mov esi, ecx
call fcn.0054b980
mov ecx, dword [esi + 0x640]
pop esi
jmp fcn.005ab200
Function at 0x1002c110
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x1002c2dd
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1b000]
push edi
jmp 0x1002c13a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x1002c141
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1002c130
mov eax, 1
add ebx, ebx
jne 0x1002c153
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x1002c148
jne 0x1002c164
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1002c148
xor ecx, ecx
sub eax, 3
jb 0x1002c178
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x1002c1ea
mov ebp, eax
add ebx, ebx
jne 0x1002c183
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x1002c190
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x1002c1b4
inc ecx
add ebx, ebx
jne 0x1002c1a0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x1002c195
jne 0x1002c1b1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1002c195
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x1002c1d4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x1002c1c5
jmp 0x1002c136
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x1002c1d4
add edi, ecx
jmp 0x1002c136
pop esi
mov edi, esi
mov ecx, 0x3a2
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x1002c1f2
cmp byte [edi], 9
jne 0x1002c1f2
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x1002c1f7
lea edi, [esi + 0x28000]
mov eax, dword [edi]
or eax, eax
je 0x1002c26f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x2c000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x2c074]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x1002c224
mov ecx, edi
jns 0x1002c253
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x2c078]
or eax, eax
je 0x1002c269
mov dword [ebx], eax
add ebx, 4
jmp 0x1002c241
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x1002c2a0
cmp al, 0xef
ja 0x1002c293
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x1002c275
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x1002c282
mov ebp, dword [esi + 0x2c07c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1ff]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x1002c2d4
sub esp, 0xffffff80
jmp 0x10018874