joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44d466
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x869a6b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
xor edi, edi
mov dword [esp + 0x14], edi
call fcn.0044ba60
mov eax, dword [esi + 0x24]
cmp eax, edi
mov dword [esp + 0x14], 0xffffffff
mov dword [esi + 0x20], edi
je 0x44d497
push eax
call fcn.00652b10
add esp, 4
mov dword [esi + 0x24], edi
mov eax, dword [esi + 0x2c]
cmp eax, edi
mov dword [esi + 0x28], edi
je 0x44d4b0
push 0x40
push eax
call dword [0x8ee4d4]
add esp, 8
mov dword [esi + 0x2c], edi
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x30], edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x44de36
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x869adb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
xor edi, edi
mov dword [esp + 0x14], edi
call fcn.0044c580
mov eax, dword [esi + 0x24]
cmp eax, edi
mov dword [esp + 0x14], 0xffffffff
mov dword [esi + 0x20], edi
je 0x44de67
push eax
call fcn.00652b10
add esp, 4
mov dword [esi + 0x24], edi
mov eax, dword [esi + 0x2c]
cmp eax, edi
mov dword [esi + 0x28], edi
je 0x44de80
push 0x40
push eax
call dword [0x8ee4d4]
add esp, 8
mov dword [esi + 0x2c], edi
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x30], edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x457aa0
Capabilities:
Enumerate pe sections

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov ax, word [edi + 4]
test ax, ax
jne 0x457b13
mov ecx, dword [0x90dcbc]
mov ecx, dword [ecx + 4]
mov ebx, dword [ecx + 0x18]
xor eax, eax
mov ax, word [edi + 6]
push ebp
and eax, 0x7fff
movzx edx, ax
cmp edx, ebx
mov ebx, dword [esp + 0x14]
sbb eax, eax
and eax, edx
mov edx, dword [ecx + 0x20]
lea eax, [edx + eax*4]
mov eax, dword [eax]
mov esi, dword [eax + 0x10]
mov ebp, dword [esi]
push ebx
mov ecx, edi
call fcn.00453890
push eax
mov ecx, esi
call dword [ebp + 0xc]
mov eax, dword [esp + 0x18]
mov edx, dword [esi]
xor ecx, ecx
mov cx, word [edi + 6]
push eax
shr ecx, 0xc
and ecx, 8
lea edi, [ecx + edi + 8]
mov ecx, esi
call dword [edx]
pop ebp
mov dword [edi + ebx*4], eax
pop edi
pop esi
pop ebx
ret 8
mov esi, dword [esp + 0x14]
test esi, esi
je 0x457b42
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, edi
movzx ebx, ax
call fcn.00453890
mov ecx, ebx
mov edx, ecx
shr ecx, 2
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
pop ebx
ret 8
movzx esi, ax
mov eax, dword [esp + 0x10]
push eax
mov ecx, edi
call fcn.00453890
mov ecx, esi
mov edx, ecx
shr ecx, 2
mov edi, eax
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
pop edi
pop esi
pop ebx
ret 8

Function at 0x45bd70
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x869fbf
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
mov dword [esi], 0x893ce8
mov eax, dword [esi + 0x30]
mov ecx, dword [eax + 4]
lea edi, [esi + 0x2c]
push ecx
mov ecx, edi
mov dword [esp + 0x1c], 5
call fcn.0045b9f0
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [edi + 8], 0
mov dword [eax], eax
mov eax, dword [edi + 4]
lea ebp, [esi + 0x1c]
mov ecx, ebp
mov dword [eax + 8], eax
call fcn.0045b040
lea ecx, [esi + 0x44]
mov byte [esp + 0x18], 4
call fcn.0045b230
lea ecx, [esi + 0x38]
mov byte [esp + 0x18], 3
call fcn.0045b1b0
mov ecx, edi
mov byte [esp + 0x18], 2
call fcn.0045b8c0
mov ecx, ebp
mov byte [esp + 0x18], 1
call fcn.0045b040
lea ecx, [esi + 8]
mov byte [esp + 0x18], 0
call fcn.0045b2b0
mov ecx, dword [esp + 0x10]
pop edi
mov dword [esi], 0x893c3c
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x45cc70
Capabilities:
Print debug messages

Disassembly:
mov eax, dword [0x90e630]
test eax, eax
je 0x45ccc5
mov eax, dword [0x90e634]
test eax, eax
push esi
mov esi, dword [esp + 0xc]
je 0x45ccaf
mov cl, byte [0x90e638]
test cl, cl
jne 0x45ccaf
movsx ecx, byte [esp + 8]
push esi
push ecx
mov byte [0x90e638], 1
call eax
add esp, 8
test al, al
mov byte [0x90e638], 0
jne 0x45ccc4
push esi
push 0x8941f8
call fcn.007c5e60
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop esi
ret
Function at 0x470a60
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x34
fld dword [ebp + 0xc]
push ebx
fcomp dword [0x890968]
push esi
push edi
mov edi, ecx
fnstsw ax
test ah, 0x41
jne 0x470bde
mov ebx, dword [0x92ce9c]
mov eax, dword [0x92cea4]
lea ecx, [ebx + eax*4]
cmp ebx, ecx
je 0x470bde
mov esi, dword [ebx]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x88]
test al, al
je 0x470bc5
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x44]
mov ecx, dword [eax]
cmp ecx, dword [0x92c4f4]
jne 0x470bc5
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0xc]
fld dword [eax + 8]
fld dword [eax]
mov ecx, dword [edi + 0x1c]
fchs
fxch st(1)
fsub dword [ecx + 0x40]
fstp dword [esp + 0x20]
fsub dword [ecx + 0x44]
fld st(0)
fmulp st(1)
fld dword [esp + 0x20]
fmul dword [esp + 0x20]
faddp st(1)
fsqrt
fst dword [esp + 0xc]
fcomp dword [0x8945c8]
fnstsw ax
test ah, 5
jp 0x470bc5
fld dword [0x8edf54]
mov eax, dword [0x8edf5c]
fld dword [0x8edf58]
mov edx, dword [0x8edf50]
fld dword [esp + 0xc]
mov dword [esp + 0x3c], eax
fmul dword [0x8916cc]
fsubr dword [0x89096c]
fmul dword [ebp + 0xc]
fld dword [0x8edf60]
fmul st(1)
fstp dword [esp + 0x10]
fld dword [0x8edf64]
fmul st(1)
fstp dword [esp + 0x14]
fld dword [0x8edf68]
fmul st(1)
fstp dword [esp + 0x18]
fmul dword [0x8edf6c]
mov dword [ecx + 0x70], edx
mov edx, dword [esp + 0x14]
mov dword [ecx + 0x7c], eax
fstp dword [esp + 0x1c]
fxch st(1)
fstp dword [ecx + 0x74]
fstp dword [ecx + 0x78]
mov eax, dword [edi + 0x1c]
mov ecx, dword [esp + 0x10]
add eax, 0x80
mov dword [eax], ecx
mov ecx, dword [esp + 0x18]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x1c]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov al, byte [ebp + 0x10]
test al, al
je 0x470b9f
fild dword [0x925ae8]
jmp 0x470ba5
fild dword [0x925b14]
mov ecx, dword [ebp + 8]
fmul dword [0x890984]
push 0x3f800000
fstp dword [esp + 0x10]
mov eax, dword [esp + 0x10]
push eax
push ecx
mov ecx, dword [edi + 0x1c]
call fcn.00467420
mov edx, dword [0x92ce9c]
mov eax, dword [0x92cea4]
add ebx, 4
lea ecx, [edx + eax*4]
cmp ebx, ecx
jne 0x470a98
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x48d066
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x86ae1e
push eax
mov dword fs:[0], esp
push ebx
push esi
mov esi, ecx
mov ecx, dword [esp + 0x18]
mov eax, dword [esi + 0x1c]
push edi
push 0
cmp ecx, eax
push 0x68
mov ecx, 0x925b30
jne 0x48d10d
call fcn.005d29d0
mov dword [esp + 0x1c], eax
test eax, eax
mov dword [esp + 0x14], 0
je 0x48d0c1
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
push ecx
push edx
lea ecx, [esi + 0x24]
push ecx
mov ecx, dword [esp + 0x34]
lea edx, [esi + 0xc]
push edx
mov edx, dword [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x34]
push edx
push ecx
mov ecx, eax
call fcn.0048b070
jmp 0x48d0c3
xor eax, eax
mov edi, dword [esi + 0x44]
add esi, 0x40
lea edx, [esp + 0x30]
mov dword [esp + 0x30], eax
mov eax, dword [edi + 4]
push edx
push eax
push edi
mov ecx, esi
mov dword [esp + 0x20], 0xffffffff
call fcn.0048c220
push 1
mov ecx, esi
mov ebx, eax
call fcn.0048cc60
mov dword [edi + 4], ebx
mov ecx, dword [ebx + 4]
mov dword [ecx], ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret 0x18
call fcn.005d29d0
mov dword [esp + 0x1c], eax
test eax, eax
mov dword [esp + 0x14], 1
je 0x48d14c
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
push edx
push ecx
lea edx, [esi + 0xc]
push edx
mov edx, dword [esp + 0x34]
lea ecx, [esi + 0x24]
push ecx
mov ecx, dword [esp + 0x34]
push edx
mov edx, dword [esp + 0x34]
push ecx
push edx
mov ecx, eax
call fcn.0048b070
jmp 0x48d14e
xor eax, eax
mov edi, dword [esi + 0x44]
mov ecx, dword [edi + 4]
add esi, 0x40
mov dword [esp + 0x30], eax
lea eax, [esp + 0x30]
push eax
push ecx
push edi
mov ecx, esi
mov dword [esp + 0x20], 0xffffffff
call fcn.0048c220
push 1
mov ecx, esi
mov ebx, eax
call fcn.0048cc60
mov ecx, dword [esp + 0xc]
mov dword [edi + 4], ebx
mov edx, dword [ebx + 4]
pop edi
mov dword [edx], ebx
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret 0x18

Function at 0x491500
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov cl, byte [edx]
xor eax, eax
test cl, cl
je 0x491535
push esi
lea esp, [esp]
movsx ecx, cl
shl eax, 4
add eax, ecx
mov ecx, eax
inc edx
and ecx, 0xf0000000
je 0x49152a
mov esi, ecx
shr esi, 0x18
xor eax, esi
not ecx
and eax, ecx
mov cl, byte [edx]
test cl, cl
jne 0x491510
pop esi
and eax, 0xff
ret

Function at 0x492130
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 8]
mov dl, byte [esi]
xor eax, eax
test dl, dl
je 0x492155
push edi
mov edi, edi
mov edi, eax
movsx edx, dl
shl edi, 5
xor edi, edx
mov dl, byte [esi + 1]
xor eax, edi
inc esi
test dl, dl
jne 0x492140
pop edi
xor edx, edx
div dword [ecx + 4]
pop esi
mov eax, edx
ret 4
Function at 0x492160
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 8]
test eax, eax
push edi
jne 0x4921b2
mov eax, dword [0x8ee4e0]
mov ecx, eax
shl ecx, 2
push str.EAGL4::SymbolPool::mpSymbolTable
push ecx
mov dword [esi + 4], eax
call dword [0x8ee4d0]
mov ecx, dword [esi + 4]
mov dword [esi + 8], eax
add esp, 8
xor eax, eax
test ecx, ecx
jbe 0x4921b2
jmp 0x4921a0
mov edx, dword [esi + 8]
mov dword [edx + eax*4], 0
mov ecx, dword [esi + 4]
inc eax
cmp eax, ecx
jb 0x4921a0
mov edx, dword [esp + 0x10]
mov cl, byte [edx]
xor eax, eax
test cl, cl
je 0x4921d4
mov edi, edi
mov edi, eax
movsx ecx, cl
shl edi, 5
xor edi, ecx
mov cl, byte [edx + 1]
xor eax, edi
inc edx
test cl, cl
jne 0x4921c0
mov ecx, dword [esi + 4]
xor edx, edx
div ecx
mov eax, dword [esi + 8]
cmp dword [eax + edx*4], 0
je 0x4921f3
mov edi, eax
inc edx
cmp edx, ecx
jb 0x4921ed
xor edx, edx
cmp dword [edi + edx*4], 0
jne 0x4921e6
mov ecx, dword [esp + 0x14]
mov dword [eax + edx*4], ecx
mov edx, dword [esi]
mov ebx, dword [esi + 4]
inc edx
mov eax, edx
cmp eax, ebx
mov dword [esi], edx
jb 0x492285
push ebp
mov ebp, dword [esi + 8]
lea eax, [ebx + ebx]
lea edx, [eax*4]
push str.EAGL4::SymbolPool::mpSymbolTable
push edx
mov dword [esi + 4], eax
call dword [0x8ee4d0]
mov ecx, dword [esi + 4]
mov dword [esi + 8], eax
add esp, 8
xor eax, eax
test ecx, ecx
jbe 0x492252
jmp 0x492240
mov ecx, dword [esi + 8]
mov dword [ecx + eax*4], 0
mov ecx, dword [esi + 4]
inc eax
cmp eax, ecx
jb 0x492240
xor edi, edi
test ebx, ebx
mov dword [esi], 0
jle 0x492275
mov edi, edi
mov eax, dword [ebp + edi*4]
push eax
add eax, 4
push eax
mov ecx, esi
call fcn.00492160
inc edi
cmp edi, ebx
jl 0x492260
test ebp, ebp
je 0x492284
push ebx
push ebp
call dword [0x8ee4d4]
add esp, 8
pop ebp
pop edi
pop esi
pop ebx
ret 8
Function at 0x497430
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x18
mov edx, dword [esp + 0x20]
mov eax, dword [edx + 0xc]
push ebx
push esi
movzx esi, byte [edx + 6]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 8], eax
lea eax, [ecx + 2]
imul eax, esi
mov esi, dword [esp + 0x24]
lea ebx, [esi + eax*2]
add ebx, eax
mov eax, dword [esp + 0x30]
cmp ecx, eax
jge 0x497500
sub eax, ecx
push ebp
mov dword [esp + 0x30], eax
push edi
nop
mov al, byte [edx + 6]
xor edi, edi
test al, al
jbe 0x4974f4
mov esi, dword [esp + 0x3c]
xor ebp, ebp
add esi, 8
mov ecx, dword [esp + 0x10]
movzx eax, byte [edi + ecx]
mov ecx, eax
and ecx, 0x1f
mov edx, 1
shl edx, cl
mov ecx, dword [esp + 0x40]
sar eax, 5
test dword [ecx + eax*4], edx
je 0x4974de
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x10]
lea edx, [esp + 0x18]
add ecx, ebp
push edx
push ecx
mov ecx, ebx
call fcn.00496e40
fld dword [esp + 0x18]
fadd dword [esi - 8]
fstp dword [esi - 8]
fld dword [esp + 0x1c]
fadd dword [esi - 4]
fstp dword [esi - 4]
fld dword [esp + 0x20]
fadd dword [esi]
fstp dword [esi]
fld dword [esp + 0x24]
fadd dword [esi + 4]
fstp dword [esi + 4]
mov edx, dword [esp + 0x30]
movzx eax, byte [edx + 6]
add ebx, 3
inc edi
add ebp, 0x20
add esi, 0x10
cmp edi, eax
jl 0x497482
dec dword [esp + 0x34]
jne 0x497470
pop edi
pop ebp
pop esi
pop ebx
add esp, 0x18
ret 0x18

Function at 0x497510
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x18
mov edx, dword [esp + 0x20]
mov eax, dword [edx + 0xc]
push ebp
push esi
movzx esi, byte [edx + 6]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 8], eax
lea eax, [ecx + 2]
imul eax, esi
mov esi, dword [esp + 0x24]
lea esi, [esi + eax*2]
lea ebp, [eax + esi - 3]
lea eax, [ecx - 1]
mov ecx, dword [esp + 0x30]
cmp eax, ecx
jl 0x4975ec
sub eax, ecx
inc eax
push ebx
mov dword [esp + 0x30], eax
push edi
movzx edi, byte [edx + 6]
dec edi
js 0x4975e0
mov edx, dword [esp + 0x3c]
mov ebx, edi
mov ecx, edi
shl ebx, 5
shl ecx, 4
lea esi, [ecx + edx + 8]
mov eax, dword [esp + 0x10]
movzx eax, byte [edi + eax]
mov ecx, eax
and ecx, 0x1f
mov edx, 1
shl edx, cl
mov ecx, dword [esp + 0x40]
sar eax, 5
test dword [ecx + eax*4], edx
je 0x4975ce
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x10]
lea edx, [esp + 0x18]
add ecx, ebx
push edx
push ecx
mov ecx, ebp
call fcn.00496e40
fld dword [esi - 8]
fsub dword [esp + 0x18]
fstp dword [esi - 8]
fld dword [esi - 4]
fsub dword [esp + 0x1c]
fstp dword [esi - 4]
fld dword [esi]
fsub dword [esp + 0x20]
fstp dword [esi]
fld dword [esi + 4]
fsub dword [esp + 0x24]
fstp dword [esi + 4]
sub ebp, 3
dec edi
sub ebx, 0x20
sub esi, 0x10
test edi, edi
jge 0x497572
mov edx, dword [esp + 0x30]
dec dword [esp + 0x34]
jne 0x497555
pop edi
pop ebx
pop esi
pop ebp
add esp, 0x18
ret 0x18
Function at 0x497600
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x14
push esi
mov esi, dword [esp + 0x20]
push edi
mov edi, ecx
cmp esi, dword [edi + 0x28]
je 0x497776
mov edx, dword [esp + 0x20]
mov cl, byte [edx + 0x10]
mov eax, dword [edx + 0xc]
sar esi, cl
mov ecx, dword [esp + 0x28]
mov dword [esp + 8], eax
mov eax, dword [edi + 0x18]
imul eax, esi
push ebx
add eax, dword [edi + 0x14]
cmp esi, ecx
push ebp
je 0x4976ab
mov cl, byte [edx + 6]
xor esi, esi
test cl, cl
jbe 0x49776d
xor ebx, ebx
mov dword [esp + 0x30], eax
lea ebx, [ebx]
mov ecx, dword [esp + 0x10]
movzx eax, byte [esi + ecx]
mov ecx, eax
and ecx, 0x1f
mov ebp, 1
shl ebp, cl
mov ecx, dword [esp + 0x38]
sar eax, 5
test dword [ecx + eax*4], ebp
je 0x497683
mov edx, dword [edi + 0x30]
mov ecx, dword [esp + 0x30]
add edx, ebx
push edx
call fcn.00496d90
mov edx, dword [esp + 0x28]
mov ebp, dword [esp + 0x30]
movzx eax, byte [edx + 6]
inc esi
add ebp, 6
add ebx, 0x10
cmp esi, eax
mov dword [esp + 0x30], ebp
jl 0x497650
mov edx, dword [esp + 0x2c]
pop ebp
pop ebx
mov dword [edi + 0x28], edx
pop edi
pop esi
add esp, 0x14
ret 0x14
mov ecx, dword [esp + 0x34]
movzx esi, byte [edx + 6]
add ecx, 2
imul ecx, esi
lea ebp, [eax + ecx*2]
mov al, byte [edx + 6]
add ebp, ecx
xor ebx, ebx
test al, al
jbe 0x49776d
xor esi, esi
mov dword [esp + 0x30], esi
mov ecx, dword [esp + 0x10]
movzx eax, byte [ebx + ecx]
mov ecx, eax
and ecx, 0x1f
mov edx, 1
shl edx, cl
mov ecx, dword [esp + 0x38]
sar eax, 5
test dword [ecx + eax*4], edx
je 0x49774b
mov eax, dword [edi + 0x10]
lea edx, [esp + 0x14]
push edx
add eax, dword [esp + 0x34]
push eax
mov ecx, ebp
call fcn.00496e40
fld dword [esp + 0x14]
mov ecx, dword [edi + 0x24]
fadd dword [ecx + esi]
mov edx, dword [edi + 0x30]
fstp dword [esi + edx]
mov eax, dword [edi + 0x24]
fld dword [esp + 0x18]
mov ecx, dword [edi + 0x30]
fadd dword [eax + esi + 4]
fstp dword [esi + ecx + 4]
mov edx, dword [edi + 0x24]
fld dword [esp + 0x1c]
mov eax, dword [edi + 0x30]
fadd dword [edx + esi + 8]
fstp dword [esi + eax + 8]
mov ecx, dword [edi + 0x24]
fld dword [esp + 0x20]
mov edx, dword [edi + 0x30]
fadd dword [ecx + esi + 0xc]
fstp dword [esi + edx + 0xc]
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x30]
movzx ecx, byte [eax + 6]
add ebp, 3
inc ebx
add edx, 0x20
add esi, 0x10
cmp ebx, ecx
mov dword [esp + 0x30], edx
jl 0x4976d1
mov edx, dword [esp + 0x2c]
pop ebp
mov dword [edi + 0x28], edx
pop ebx
pop edi
pop esi
add esp, 0x14
ret 0x14
Function at 0x4a5740
Capabilities:
Enumerate pe sections

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esp + 8]
lea eax, [esi + 0x12]
mov dword [ecx], eax
movzx edx, byte [esi + 6]
shl edx, 4
add edx, eax
mov eax, dword [esp + 0xc]
push edi
mov dword [eax], edx
mov cl, byte [esi + 0x10]
movzx eax, word [esi + 4]
mov edi, 1
shl edi, cl
movzx ecx, byte [esi + 6]
xor edx, edx
div edi
inc edi
imul edi, ecx
lea edi, [edi + edi*2 + 1]
and edi, 0xfffffffe
shl ecx, 4
imul edi, eax
add edi, esi
test edx, edx
lea ecx, [ecx + edi + 0x12]
jle 0x4a579c
lea eax, [edx + 1]
movzx edx, byte [esi + 6]
imul eax, edx
add ecx, eax
lea ecx, [ecx + eax*2]
mov edx, dword [esp + 0x14]
mov dword [edx], ecx
mov ecx, esi
call fcn.00497000
mov ecx, dword [esp + 0x18]
pop edi
mov dword [ecx], eax
pop esi
ret 0x10
Function at 0x4ae3f0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x86b1d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
push 0x4690b0
xor ebx, ebx
push fcn.004aaa60
push 4
push 0x14
lea eax, [esi + 0x44]
mov edi, 0x3f800000
push eax
mov dword [esp + 0x2c], ebx
mov dword [esi], 0x896828
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], 1
mov dword [esi + 0x2c], 0xffffffff
mov byte [esi + 0x30], bl
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], edi
call fcn.007c90a0
mov ecx, dword [esp + 0x20]
mov dword [esi + 0xdc], ebx
mov dword [esi + 0x94], ecx
mov ecx, dword [esp + 0x10]
mov byte [esi + 0xe0], bl
mov dword [esi + 0xe4], ebx
mov dword [esi + 0xe8], ebx
mov dword [esi + 0xf0], ebx
mov dword [esi + 0xf4], ebx
mov dword [esi + 0xf8], ebx
mov byte [esi + 0xef], bl
mov byte [esi + 0xee], bl
mov byte [esi + 0xed], bl
mov byte [esi + 0xec], bl
mov dword [esi + 0x28], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0xb0], ebx
mov dword [esi + 0xb4], ebx
mov dword [esi + 0xa8], ebx
mov dword [esi + 0xac], ebx
mov dword [esi + 0xa0], ebx
mov dword [esi + 0xa4], ebx
mov dword [esi + 0x98], ebx
mov dword [esi + 0x9c], ebx
mov byte [esi + 0xdc], bl
mov byte [esi + 0xda], bl
mov byte [esi + 0xd9], bl
mov byte [esi + 0xd8], bl
mov dword [esi + 0xc4], ebx
mov dword [esi + 0xc0], ebx
mov dword [esi + 0xbc], ebx
mov dword [esi + 0xb8], ebx
mov dword [esi + 0xd4], ebx
mov dword [esi + 0xd0], ebx
mov dword [esi + 0xcc], ebx
mov dword [esi + 0xc8], ebx
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x4ae407
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x86b1d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
push 0x4690b0
xor ebx, ebx
push fcn.004aaa60
push 4
push 0x14
lea eax, [esi + 0x44]
mov edi, 0x3f800000
push eax
mov dword [esp + 0x2c], ebx
mov dword [esi], 0x896828
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], 1
mov dword [esi + 0x2c], 0xffffffff
mov byte [esi + 0x30], bl
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], edi
call fcn.007c90a0
mov ecx, dword [esp + 0x20]
mov dword [esi + 0xdc], ebx
mov dword [esi + 0x94], ecx
mov ecx, dword [esp + 0x10]
mov byte [esi + 0xe0], bl
mov dword [esi + 0xe4], ebx
mov dword [esi + 0xe8], ebx
mov dword [esi + 0xf0], ebx
mov dword [esi + 0xf4], ebx
mov dword [esi + 0xf8], ebx
mov byte [esi + 0xef], bl
mov byte [esi + 0xee], bl
mov byte [esi + 0xed], bl
mov byte [esi + 0xec], bl
mov dword [esi + 0x28], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0xb0], ebx
mov dword [esi + 0xb4], ebx
mov dword [esi + 0xa8], ebx
mov dword [esi + 0xac], ebx
mov dword [esi + 0xa0], ebx
mov dword [esi + 0xa4], ebx
mov dword [esi + 0x98], ebx
mov dword [esi + 0x9c], ebx
mov byte [esi + 0xdc], bl
mov byte [esi + 0xda], bl
mov byte [esi + 0xd9], bl
mov byte [esi + 0xd8], bl
mov dword [esi + 0xc4], ebx
mov dword [esi + 0xc0], ebx
mov dword [esi + 0xbc], ebx
mov dword [esi + 0xb8], ebx
mov dword [esi + 0xd4], ebx
mov dword [esi + 0xd0], ebx
mov dword [esi + 0xcc], ebx
mov dword [esi + 0xc8], ebx
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x4ca0a6
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x86c0b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call fcn.004c0ae0
mov eax, dword [esp + 0x1c]
xor edi, edi
push edi
push edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
push eax
lea ecx, [esi + 0x7c]
mov dword [esp + 0x20], edi
mov dword [esi + 0x74], 1
mov dword [esi + 0x78], edi
call fcn.00452380
mov ecx, dword [esp + 0x20]
mov dword [esi + 0x98], ecx
mov ecx, dword [esp + 0xc]
mov byte [esi + 0x94], 1
fld dword [esi + 0x44]
fld dword [esi + 0x48]
mov edx, dword [esi + 0x40]
mov dword [esi + 0x50], edx
fxch st(1)
fstp dword [esi + 0x54]
mov eax, 0x3f800000
fstp dword [esi + 0x58]
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x3c], eax
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x4cea30
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x86c6e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebp
push edi
xor edi, edi
mov ebp, ecx
mov dword [esp + 0x10], 0xffffffff
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
mov byte [esp + 0x2c], 0
mov dword [esp + 0x30], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x28], edi
cmp dword [esp + 0x48], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0xc], edi
jle 0x4ceb69
push ebx
push esi
lea ebx, [ebp + 0xa4]
jmp 0x4ceaa0
xor edi, edi
jmp 0x4ceaa0
mov edx, dword [0x8ee558]
mov al, byte [esp + 0x14]
mov ecx, dword [esp + 0x4c]
push edx
mov byte [esp + 0x17], 0
mov byte [esp + 0x38], al
mov dword [esp + 0x1c], ecx
call fcn.00464080
mov esi, dword [esp + 0x5c]
add esp, 4
cmp esi, eax
mov eax, dword [0x8ee558]
jg 0x4ceae5
and eax, 0xf
add eax, 0x1000
push eax
push esi
call fcn.00465a70
add esp, 8
jmp 0x4ceaff
push DirectSoundCreate
push edi
push eax
call fcn.00464a50
push 0x1000
push esi
call fcn.00465a70
add esp, 0x14
mov ecx, dword [esp + 0x54]
mov edx, dword [ebp + 0xb0]
sub edx, ecx
mov dword [ebp + 0xb0], edx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x28], esi
mov esi, dword [ebx + 4]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov eax, edx
mov edx, dword [esi + 4]
lea ecx, [esp + 0x18]
push ecx
push edx
push esi
mov ecx, ebx
mov dword [esp + 0x28], eax
mov dword [esp + 0x44], edi
call fcn.004c6c60
push 1
mov ecx, ebx
mov edi, eax
call fcn.004cd000
mov ecx, dword [esp + 0x50]
mov dword [esi + 4], edi
mov eax, dword [edi + 4]
mov dword [eax], edi
mov eax, dword [esp + 0x14]
inc eax
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x4cea93
pop esi
pop ebx
mov ecx, dword [esp + 0x34]
pop edi
pop ebp
mov dword fs:[0], ecx
add esp, 0x38
ret 0x14