joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405c4c
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x405c6e
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00405d31
jmp 0x405d2c
mov eax, dword [ebx + 0x20]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov ecx, dword [eax]
lea eax, [ebx + 0x30]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], eax
test ecx, ecx
je 0x405c94
mov eax, dword [eax]
mov ecx, dword [eax]
jmp 0x405c99
xor ecx, ecx
mov dword [ebp - 0xc], eax
mov eax, ecx
cdq
mov dword [ebp - 4], eax
mov ecx, edx
mov dword [ebp - 8], ecx
test edi, edi
jl 0x405cf9
jg 0x405cae
test esi, esi
je 0x405cf9
test ecx, ecx
jl 0x405cf4
jg 0x405cb8
test eax, eax
je 0x405cf4
cmp edi, ecx
jg 0x405cca
jl 0x405cc2
cmp esi, eax
jae 0x405cca
mov eax, esi
mov dword [ebp - 4], esi
mov dword [ebp - 8], edi
push eax
push dword [ebp + 8]
push dword [ebp - 0x10]
call fcn.00407a90
mov eax, dword [ebp - 0xc]
add esp, 0xc
mov edx, dword [ebp - 4]
mov ecx, dword [ebp + 8]
add ecx, edx
sub esi, edx
mov eax, dword [eax]
sbb edi, dword [ebp - 8]
sub dword [eax], edx
mov eax, dword [ebx + 0x20]
add dword [eax], edx
jmp 0x405cfc
mov ecx, dword [ebp + 8]
jmp 0x405d06
mov ecx, dword [ebp + 8]
test edi, edi
jl 0x405d20
jg 0x405d06
test esi, esi
je 0x405d20
cmp dword [ebx + 0x4c], 0
je 0x405d20
push dword [ebx + 0x4c]
push esi
push 1
push ecx
call fcn.0040c453
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x4072e2
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetModuleHandleW]
test eax, eax
je 0x407321
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x407321
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x407321
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x407321
cmp dword [ecx + 0x74], 0xe
jbe 0x407321
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x41283f
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004126b5

Function at 0x41d320
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41d34d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41d34d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x551b40
Capabilities:
Get common file path

Disassembly:
sub esp, 0x58
mov eax, dword [0x5fb038]
mov dword [esp + 4], 0
push esi
lea ecx, [eax + eax]
mov eax, dword [0x5fb03c]
or ecx, eax
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x60]
fild qword [esp + 4]
test ecx, ecx
fadd qword [0x5fb050]
fstp qword [0x5fb050]
je 0x551b93
mov eax, dword [0x5fe800]
test eax, eax
je 0x551b87
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, 1
pop esi
add esp, 0x58
ret 4
mov dl, byte [0x5fb042]
mov cl, byte [0x5fb049]
xor cl, dl
mov edx, dword [0x5fb030]
mov byte [0x5fb049], cl
mov ecx, dword [0x5fb034]
and ecx, 4
and eax, 0xc
add edx, ecx
mov esi, dword [0x5fb038]
mov dword [0x5fb030], edx
mov edx, dword [0x5fb048]
and edx, 0xff
push ebp
imul eax, edx
xor esi, eax
push edi
lea eax, [esp + 0x14]
push 0x50
push eax
mov dword [0x5fb038], esi
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov edi, str.dsound.dll
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x15]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov al, byte [0x5fb04e]
mov ecx, ebp
and ecx, 3
lea edx, [esp + 0x14]
rep movsb byte es:[edi], byte [esi]
mov cl, byte [0x5fb040]
push edx
and cl, al
mov byte [0x5fb040], cl
mov cl, byte [0x5fb047]
or cl, 2
shr cl, 1
and ecx, 0xff
mov dword [esp + 0x6c], ecx
fild dword [esp + 0x6c]
fdivr qword [0x5fb050]
fadd qword [0x5f9360]
fstp qword [0x5fe9d0]
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
pop edi
mov dword [0x5fe800], eax
test eax, eax
pop ebp
je 0x551cb8
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.DirectSoundCreate
push eax
call esi
mov dword [0x5fe7fc], eax
mov eax, dword [0x5fe800]
push str.DirectSoundEnumerateA
push eax
call esi
mov ecx, dword [0x5fe7fc]
mov dword [0x5fe804], eax
test ecx, ecx
je 0x551cae
test eax, eax
je 0x551cae
mov eax, 1
pop esi
add esp, 0x58
ret 4
mov dword [0x5fe800], 0
xor eax, eax
pop esi
add esp, 0x58
ret 4
Function at 0x58b5d3
Capabilities:
Encode data using xor

Disassembly:
lds ebx, [edx - 0x71aaf48b]
mov ebx, ebx
dec ebx
rol esp, 1
mov dl, 0x5b
xor byte [edx], bh
out 0xc1, al
cmp al, 0xe1
adc eax, 0xffd7ba52
mov al, 0x5a
adc al, 0x9a
out 0xd2, eax
mov edx, 0x940ee4ce
stosb byte es:[edi], al
fcomp dword [edi]
test dword [edx - 0x57f7879f], ecx
jnp 0x58b655
pop esi
sbb bh, dh
pop ebx
xchg ebp, eax
jp 0x58b65e
xor dword [edx], ebx
sar dword [ebp - 0x6a], 1
sahf
jp 0x58b610
invalid
out dx, al
movsd dword es:[edi], dword [esi]
wait
stosd dword es:[edi], eax
lcall 0xd45e, 0xd1fd9ffd
pushfd
adc bl, bh
jge 0x58b659
sti
mov dl, ch
jne 0x58b66b
and ebx, dword [edi + 0x4448d80a]
ja 0x58b650
lcall 0xcbd1, 0x2491d4fd
sbb eax, 0xdb79904d
and ecx, esi
fild dword [edx]
jmp 0x59552228
mov edx, dword [edi + ecx*2 + 0x50]
xchg edx, eax
sbb bh, 0xae
wait
not ecx
jmp 0x58b6a9
cmp bl, dl
sub edi, dword [eax - 0x26]
push ss
cdq
int 0x19
dec ebx
push ss
lea ebp, [esi - 0x68]
cwde
sal byte [ebp - 0x45], 1
add al, 0x98
int1
out 0x6b, al
push esp
inc esp
fld qword [edi + 0x19]
or eax, edx
xchg ebx, eax
aad 0xfd
test eax, 0x8b5bccf8
mov ebp, 0xf60c0a25
xchg ebp, eax
wait
push ebp
aaa
invalid
mov eax, dword [0xf5255a58]
lds ebp, [ecx + 0x32585a78]
xchg ecx, eax
cwde
nop
sub dl, byte [ecx + 0x4a]
std
adc byte cs:[esi - 0x25b895d0], bl
mov bl, 0xc5
repe cmpsb byte [esi], byte es:[edi]
xchg ebx, eax
xchg esp, eax
jmp 0x58b743
cmp edi, edx
push 0xffffffffffffffbc
out dx, eax
stosb byte es:[edi], al
mov dl, 0x66
add edx, ebp
push cs
xor byte [0x16545db7], dl
aas
pop dword [ebx - 0xc]
rcr dword [esi + 0x61e6aabf], cl
out 0x61, al
in al, 0xe
sbb al, 0xfe
sub ah, byte [edx + esi*2 + 0x1eee199d]
popfd
sbb esi, ebp
push ds
adc ebp, dword [eax]
xor ch, bl
push cs
xor al, 0xff
jnp 0x58b766
jg 0x58b75d
ret 0x9ed8

Function at 0x58b892
Capabilities:
Encode data using xor

Disassembly:
fst st(3)
out 0x6d, al
sbb byte [ebx + 0x67], bh
add edx, dword [ebx + 0x2a]
salc
sbb byte cs:[eax + 0x27], 0x12
inc esi
mov dl, 0x66
salc
cmpsd dword [esi], dword es:[edi]
bound esp, qword [esi - 0x77]
inc esi
outsb dx, byte cs:[esi]
push edx
xchg dl, dh
mov dword [0xacf5edd3], eax
inc esp
invalid
Function at 0x5f4159
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x5fb3d0
cmp edx, dword [eax]
je 0x5f417b
add eax, 8
inc ecx
cmp eax, 0x5fb460
jl 0x5f416c
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x5fb3d0]
jne 0x5f42a9
mov eax, dword [0x602d70]
cmp eax, 1
je 0x5f4283
test eax, eax
jne 0x5f41ac
cmp dword [0x5fb2f8], 1
je 0x5f4283
cmp edx, 0xfc
je 0x5f42a9
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x5f41e3
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.005f4b40
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.005f4fd0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x5f4226
lea eax, [ebp - 0x1a4]
push eax
call fcn.005f4fd0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x5f96e4
push edi
call fcn.005f6ea0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.005f4b40
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.005f4b50
lea eax, [ebp - 0xa0]
push 0x5f96c4
push eax
call fcn.005f4b50
push dword [esi + 0x5fb3d4]
lea eax, [ebp - 0xa0]
push eax
call fcn.005f4b50
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.005f6e14
add esp, 0x2c
pop edi
jmp 0x5f42a9
lea eax, [ebp + 8]
lea esi, [esi + 0x5fb3d4]
push 0
push eax
push dword [esi]
call fcn.005f4fd0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x401754
Capabilities:
Packed with generic packer

Disassembly:
push 0x401900
call sub.MSVBVM60.DLL_ThunRTMain
add byte [eax], al
add byte [eax], al
add byte [eax], al
xor byte [eax], al
add byte [eax], al
inc eax
add byte [eax], al
add byte [eax], al
add byte [eax], al
add cl, bh
sbb eax, 0x735ccf37
xchg byte [ecx - 0x59], al
cdq
and ch, cl
push esi
cmp eax, dword [esi]
add byte [eax], al
add dword [eax], eax
add byte [eax], al
jb 0x4017f1
outsb dx, byte [esi]
arpl word [ebp + 0x3d], sp
push eax
jb 0x401802
push 0x65
arpl word [ecx + esi], si
xor al, 0x33
xor byte [0x303030], ch
add byte [eax], al
add byte [ecx], al
add byte [ecx], al
add byte [esp + ebx + 0x40], bl
add byte [eax], al
add byte [eax], al
add bh, bh
add byte [eax], al
add byte [eax], dl
sbb eax, 0x280040
inc ecx
add byte [ecx], al
jmp 0x41490d
inc eax
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax + ebx], dl
inc eax
add byte [eax], al
add byte [eax], al
add byte [ecx], al
add byte [eax], al
add byte [esp + ebx + 0x40], bl
add byte [eax], al
add byte [eax], al
add bh, bh
Function at 0x40b290
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag
Check os version
Get number of processors
Get process heap flags
Get process heap force flags
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 0x4014d6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x50
push ebx
push esi
push edi
mov dword [ebp - 0xc], esp
mov dword [ebp - 8], 0x4011f8
xor edi, edi
lea eax, [ebp - 0x38]
push edi
push 0x402474
push eax
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x38], edi
call dword [sym.imp.MSVBVM60.DLL_rtcCreateObject2]
lea ecx, [ebp - 0x38]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaObjVar]
lea edx, [ebp - 0x18]
push eax
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaObjSetAddref]
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
lea ecx, [ebp - 0x38]
call ebx
sub esp, 0x10
mov ecx, 8
mov edx, esp
mov eax, 0x402494
push 1
push 0x4024ec
mov dword [edx], ecx
mov ecx, dword [ebp - 0x44]
mov dword [edx + 4], ecx
mov ecx, dword [ebp - 0x18]
push ecx
mov dword [edx + 8], eax
mov eax, dword [ebp - 0x3c]
mov dword [edx + 0xc], eax
lea edx, [ebp - 0x38]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaLateMemCallLd]
add esp, 0x20
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarMove]
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
mov edx, eax
lea ecx, [ebp - 0x20]
call esi
lea ecx, [ebp - 0x38]
call ebx
push 0x22
call dword [sym.imp.MSVBVM60.DLL_rtcBstrFromAnsi]
mov edx, eax
lea ecx, [ebp - 0x28]
call esi
mov edx, dword [ebp - 0x28]
push edi
push 0xffffffffffffffff
push 1
push 0x402500
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x28], edi
call esi
push eax
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcReplace]
mov edx, eax
lea ecx, [ebp - 0x20]
call esi
lea ecx, [ebp - 0x28]
lea edx, [ebp - 0x24]
push ecx
push edx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
add esp, 0xc
push 1
mov eax, dword [ebp - 0x20]
push eax
push 0x402508
push 1
call dword [sym.imp.MSVBVM60.DLL___vbaInStr]
mov edx, dword [ebp - 0x20]
lea ecx, [ebp - 0x38]
add eax, 3
push ecx
push 1
push edx
jo 0x40b43f
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x38], 3
call dword [sym.imp.MSVBVM60.DLL_rtcMidCharBstr]
mov edx, eax
lea ecx, [ebp - 0x20]
call esi
lea ecx, [ebp - 0x38]
call ebx
mov edx, dword [ebp - 0x20]
lea ecx, [ebp - 0x1c]
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
push 0x40b42b
jmp 0x40b418
lea ecx, [ebp - 0x18]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
lea ecx, [ebp - 0x20]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
ret
call dword [sym.imp.MSVBVM60.DLL___vbaErrorOverflow]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
Function at 0x412794
Capabilities:
Packed with generic packer

Disassembly:
sub esp, 0x98
push ebx
push ebp
push esi
mov edx, ecx
push edi
mov ecx, 0xf
mov ebp, dword [edx + 0x84]
xor eax, eax
lea edi, [esp + 0x2c]
xor esi, esi
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0xac]
cmp ebp, esi
mov dword [esp + 0x20], edx
jbe 0x4127d9
xor ecx, ecx
mov cl, byte [eax + edi]
mov ebx, dword [esp + ecx*4 + 0x28]
lea ecx, [esp + ecx*4 + 0x28]
inc ebx
inc eax
cmp eax, ebp
mov dword [ecx], ebx
jb 0x4127c4
mov ecx, 0x17
mov dword [esp + 0x28], esi
mov dword [edx + 4], esi
mov dword [edx + 0x44], esi
mov dword [esp + 0x68], esi
xor edi, edi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x10], 1
mov dword [esp + 0x18], ecx
lea ebp, [edx + 8]
mov dword [esp + 0x14], esi
mov eax, dword [esp + esi + 0x2c]
shl eax, cl
add edi, eax
cmp edi, 0x1000000
mov dword [esp + 0x24], edi
ja 0x4128ab
mov eax, dword [esp + esi + 0x28]
mov dword [ebp], edi
mov ebx, dword [ebp + 0x3c]
add eax, ebx
cmp ecx, 0x10
mov dword [ebp + 0x40], eax
mov dword [esp + esi + 0x6c], eax
jl 0x412882
mov esi, dword [ebp]
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x1c]
mov edi, dword [edx + 0x8c]
shr esi, 0x10
mov ecx, esi
and eax, 0xff
sub ecx, ebx
add edi, ebx
mov bl, al
mov edx, ecx
mov bh, bl
mov dword [esp + 0x1c], esi
mov eax, ebx
mov esi, dword [esp + 0x14]
shl eax, 0x10
mov ax, bx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov edx, dword [esp + 0x20]
and ecx, 3
rep stosb byte es:[edi], al
jmp 0x41498f
mov eax, dword [esp + 0x10]
add esi, 4
inc eax
dec ecx
add ebp, 4
cmp ecx, 9
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], esi
jge 0x412805
cmp edi, 0x1000000
je 0x4128ba
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x98
ret 4
mov eax, dword [edx + 0x84]
xor ecx, ecx
test eax, eax
jbe 0x412901
mov esi, dword [esp + 0xac]
mov al, byte [ecx + esi]
test al, al
je 0x4128f6
mov edi, dword [edx + 0x88]
and eax, 0xff
mov eax, dword [esp + eax*4 + 0x68]
mov dword [edi + eax*4], ecx
xor eax, eax
mov al, byte [ecx + esi]
mov edi, dword [esp + eax*4 + 0x68]
lea eax, [esp + eax*4 + 0x68]
inc edi
mov dword [eax], edi
mov eax, dword [edx + 0x84]
inc ecx
cmp ecx, eax
jb 0x4128cd
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x98
ret 4

Function at 0x412c60
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0x14
mov eax, dword [esp + 0x1c]
push ebx
push ebp
push esi
mov dword [eax], 0
mov eax, dword [esp + 0x24]
push edi
xor edi, edi
test eax, eax
mov esi, ecx
mov dword [esp + 0x10], edi
jbe 0x412ee0
lea ecx, [esi + 0x10]
jmp fcn.00414df2
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x14
ret 8
Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
call 0x43300c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x433030
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219

Function at 0x40a3d0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
in al, dx
mov eax, dword [ebp - 0x7b]
mov eax, dword [eax - 0x24]
fisttp dword [edi]
je 0x40a3d2
mov ecx, dword [ebp + 0xc]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test esi, esi
je 0x40a40a
push esi
mov esi, dword [0x69c0e7]
dec dword [ecx - 0x7b]
dec edx
jne 0x40a3fe
pop esi
pop ebp
ret 0xc4
push dword [edx + 5]
cmp ah, 0xa
add cl, al
pop ebp
ret 0x6e08
sub eax, 0x3cf4b1c0
fdivr dword [eax + 0x4e3b]
pop ebp
ret 8

Function at 0x40ac4b
Capabilities:
Resolve function by parsing pe exports

Disassembly:
cld
add byte [eax], al
cmp eax, 0xdc00
je 0x417f9d
add al, bl
add byte [esi + 0x75], ch
inc esi
cmp edi, 2
jb 0xe40ad67
imul ecx, dword [ebx - 0x7e2f1afa], 0xffffffe2
mov ebp, 0x810000fc
jp 0x40ac77
fadd qword [eax]
add byte [esi + 0xad85], ah
add byte [eax + 0x3ffe1], cl
add byte [0xbd000319], dl
shl ecx, 0x5e
or eax, ecx
and dh, al
add bl, byte [ecx - 0x5742775]
add ebx, 0x10000
mov dword [esi + 8], ebx
adc edi, 0
jmp 0x40aced
in al, 0x3e

Function at 0x40ae75
Capabilities:
Resolve function by parsing pe exports

Disassembly:
cwde
mov esi, 0x5db4d10e
mov bh, 3
fsubrp st(2)
mov esi, 0xe4968079
Function at 0x1207d30
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
push eax
push 0x40
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [ebp + 0xc]
add esp, 0x10
test eax, eax
jne 0x1207d53
mov eax, 1
jmp 0x1207e5e
mov edx, dword [ebp + 8]
movzx eax, word [edx]
cmp eax, 0x5a4d
jne 0x1207d69
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x3c], 0
jne 0x1207d73
mov eax, 2
jmp 0x1207e5e
mov edx, dword [ebp + 0x10]
push edx
push 0xf8
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
push ecx
mov edx, dword [ebp + 8]
add edx, 0x40
push edx
call dword [ebp + 0xc]
add esp, 0x10
test eax, eax
jne 0x1207d9e
mov eax, 1
jmp 0x1207e5e
mov eax, dword [ebp + 8]
cmp dword [eax + 0x40], 0x4550
jne 0x1207dc4
mov ecx, dword [ebp + 8]
movzx edx, word [ecx + 0x58]
cmp edx, 0x10b
jne 0x1207dc4
mov eax, dword [ebp + 8]
movzx ecx, word [eax + 0x46]
test ecx, ecx
jne 0x1207dce
mov eax, 2
jmp 0x1207e5e
mov edx, dword [ebp + 8]
movzx eax, word [edx + 0x46]
imul eax, eax, 0x28
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x140], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x140]
push eax
call fcn.0121a210
add esp, 4
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x138], eax
mov edx, dword [ebp + 8]
cmp dword [edx + 0x138], 0
jne 0x1207e0f
mov eax, 3
jmp 0x1207e5e
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
mov edx, dword [ebp + 8]
movzx eax, word [edx + 0x54]
lea ecx, [ecx + eax + 0x18]
mov edx, dword [ebp + 8]
mov dword [edx + 0x13c], ecx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x140]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x13c]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x138]
push eax
call dword [ebp + 0xc]
add esp, 0x10
test eax, eax
jne 0x1207e5c
mov eax, 1
jmp 0x1207e5e
xor eax, eax
pop ebp
ret

Function at 0x1208800
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
movzx ecx, word [eax]
cmp ecx, 0x5a4d
je 0x1208816
xor eax, eax
jmp 0x1208856
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 8]
add eax, dword [edx + 0x3c]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp dword [ecx], 0x4550
jne 0x120883b
mov edx, dword [ebp - 4]
movzx eax, word [edx + 0x18]
cmp eax, 0x10b
je 0x120883f
xor eax, eax
jmp 0x1208856
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x78]
push ecx
call fcn.01208860
add esp, 0xc
mov esp, ebp
pop ebp
ret

Function at 0x121af50
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x121af80
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
cmp dword [ebp + 8], 0
jne 0x121af93
xor eax, eax
jmp 0x121b051
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
movzx edx, word [ecx]
cmp edx, 0x5a4d
je 0x121afae
xor eax, eax
jmp 0x121b051
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
cmp dword [edx], 0x4550
je 0x121afcc
xor eax, eax
jmp 0x121b051
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x78]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 8]
add eax, dword [edx + 0x1c]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0x24]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x20]
mov dword [ebp - 4], ecx
mov dword [ebp - 0x1c], 0
jmp 0x121b00e
mov edx, dword [ebp - 0x1c]
add edx, 1
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x1c]
cmp ecx, dword [eax + 0x18]
jae 0x121b04f
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
add edx, dword [ecx + eax*4]
push edx
call fcn.0121a230
add esp, 8
test eax, eax
jne 0x121b04d
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
movzx edx, word [ecx + eax*2]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + edx*4]
mov eax, ecx
jmp 0x121b051
jmp 0x121b005
xor eax, eax
mov esp, ebp
pop ebp
ret