joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43be11
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x43be3f
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x43be5d
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0043bd7b
jmp 0x43be5d
mov eax, dword [esi + 0x14]
test eax, eax
je 0x43be5d
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.0043bd7b
test edi, edi
mov eax, edi
jne 0x43be47
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x465aec]
test ecx, ecx
je 0x43bf10
jmp 0x43be10
ret 8

Function at 0x416900
Capabilities:
Decompress data using aplib

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
cld
mov dl, 0x80
xor ebx, ebx
movsb byte es:[edi], byte [esi]
mov bl, 2
call fcn.0041698f
jae 0x41690e
xor ecx, ecx
call fcn.0041698f
jae 0x41693d
xor eax, eax
call fcn.0041698f
jae 0x41694d
mov bl, 2
inc ecx
mov al, 0x10
call fcn.0041698f
adc al, al
jae 0x41692f
jne 0x416979
stosb byte es:[edi], al
jmp 0x416911
call fcn.0041699b
sub ecx, ebx
jne 0x416956
call fcn.00416999
jmp 0x416975
lodsb al, byte [esi]
shr eax, 1
je 0x416983
adc ecx, ecx
jmp 0x416972
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
call fcn.00416999
cmp eax, 0x7d00
jae 0x416972
cmp ah, 5
jae 0x416973
cmp eax, 0x7f
ja 0x416974
inc ecx
inc ecx
xchg ebp, eax
mov eax, ebp
mov bl, 1
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x416911
sub edi, dword [esp + 0x28]
mov dword [esp + 0x1c], edi
popal
ret 8
Function at 0x1002b2d0
Capabilities:
Encode data using xor

Disassembly:
in al, dx
dec ebx
insd dword es:[edi], dx
shr al, 0x63
pushal
dec edi
and esi, dword [esi - 0x5b49dcf3]
adc al, 0xdd
and eax, 0xdb35e2c1
pushfd
dec ebx
add al, 0x78
jg 0x1002b342
invalid
jno 0x1002b2ea
sbb byte [esi + ebx*4 - 0x75a1eaab], ah
retf
movsb byte es:[edi], byte [esi]
sahf
push ebp
adc eax, 0xe1cb8a5e
nop
aaa
push cs
loop 0x1002b2b5
xchg edi, eax
stosd dword es:[edi], eax
jle 0x1002b2eb
salc
shl byte [ebx + 0x7a6929b0], 1
jp 0x1002b2f7
or edi, dword [ebx]
loope 0x1002b347
cmp esp, ecx
pop eax
out 0x42, eax
xor eax, 0xbb004c6d
jp 0x1002b2f1
insd dword es:[edi], dx
dec esp
add byte [ebx - 0x352d0686], bh
stc
ror dl, cl
sub eax, 0x84a4da3e
cmp dh, byte [ecx]
xor al, 0x21
je 0x1002b2f2
int3
call 0x8cac080
pop esi
push 0xffffffffffffffde
dec eax
or edi, 0x6b
add ebx, dword [ecx - 0xf]
xlatb
mov dl, 0x60
or byte [edx + 0x73709546], dl
invalid
sti
cmc
pop ebx
loopne 0x1002b30b
mov dword [ecx - 0xa], esp
test al, 0x41
push ebp
invalid

Function at 0x10f1301f
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10f0f110]
jne 0x10f13029
repz ret
jmp fcn.10f132ab
Function at 0x10f16e11
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10f0f110]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.10f133b1
and dword [ebp - 0x14], 0
cmp dword [0x10f12224], 0
mov dword [ebp - 0x18], eax
jne 0x10f16ec4
push str.USER32.DLL
call dword [sym.imp.kernel32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x10f16f6c
mov edi, dword [sym.imp.kernel32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x10f16f6c
mov esi, dword [sym.imp.kernel32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x10f12224], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x10f12228], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x10f1222c], eax
call edi
push eax
call esi
mov dword [0x10f12234], eax
test eax, eax
je 0x10f16ec4
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x10f12230], eax
mov eax, dword [0x10f12230]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.kernel32.dll_DecodePointer]
cmp eax, ecx
je 0x10f16f1d
cmp dword [0x10f12234], ecx
je 0x10f16f1d
push eax
call esi
push dword [0x10f12234]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x10f16f1d
test ebx, ebx
je 0x10f16f1d
call edi
test eax, eax
je 0x10f16f14
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x10f16f14
test byte [ebp - 8], 1
jne 0x10f16f1d
or dword [ebp + 0x10], 0x200000
jmp 0x10f16f50
mov eax, dword [0x10f12228]
cmp eax, dword [ebp - 0x18]
je 0x10f16f50
push eax
call esi
test eax, eax
je 0x10f16f50
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x10f16f50
mov eax, dword [0x10f1222c]
cmp eax, dword [ebp - 0x18]
je 0x10f16f50
push eax
call esi
test eax, eax
je 0x10f16f50
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x10f12224]
call esi
test eax, eax
je 0x10f16f6c
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x10f16f6e
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10f1301f
leave
ret
Function at 0x4065f5
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
push esi
mov esi, 0x104
lea eax, [ebp - 0x120]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
cmp eax, esi
pop esi
jbe 0x406619
xor eax, eax
test eax, eax
je 0x40662b
cmp byte [ebp + eax - 0x121], 0x5c
je 0x40662b
xor ecx, ecx
jmp 0x40662e
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx + 0x40a014]
lea eax, [ebp + eax - 0x120]
push ecx
push str._s_s.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x120]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
leave
ret 4

Function at 0x40671a
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x42ce24], 0
push esi
jne 0x406751
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x40672b
mov dword [ecx*4 + 0x42ce20], eax
inc ecx
cmp ecx, 0x100
jl 0x406726
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406782
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x42ce20]
xor eax, esi
inc ecx
dec edx
jne 0x406764
pop edi
not eax
pop esi
ret 0xc
Function at 0x406830
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x41db3b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x18]
push edi
lea ecx, [esi + 4]
mov dword [esi], 0x4045cc
call fcn.004093c4
push 4
mov dword [esp + 0x18], 0
call fcn.0040aa66
mov edi, eax
add esp, 4
test edi, edi
je 0x4068a4
push ebx
call fcn.004091bf
mov dword [edi], eax
call fcn.00408f7e
push 0
lea ecx, [esp + 0x10]
mov ebx, eax
call fcn.00409385
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x406898
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0xc]
call fcn.004093ad
pop ebx
jmp 0x4068a6
xor edi, edi
mov dword [esi + 0x38], edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x40b55e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4213dc]
jne 0x40b568
repz ret
jmp fcn.004114fc
Function at 0x416bf3
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4213dc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0040f9de
and dword [ebp - 0x14], 0
cmp dword [0x4b7c94], 0
mov dword [ebp - 0x18], eax
jne 0x416ca6
push 0x403fe0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x416d4e
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x403fd4
push ebx
call edi
test eax, eax
je 0x416d4e
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x403fc4
push ebx
mov dword [0x4b7c94], eax
call edi
push eax
call esi
push 0x403fb0
push ebx
mov dword [0x4b7c98], eax
call edi
push eax
call esi
push 0x403f94
push ebx
mov dword [0x4b7c9c], eax
call edi
push eax
call esi
mov dword [0x4b7ca4], eax
test eax, eax
je 0x416ca6
push 0x403f7c
push ebx
call edi
push eax
call esi
mov dword [0x4b7ca0], eax
mov eax, dword [0x4b7ca0]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x416cff
cmp dword [0x4b7ca4], ecx
je 0x416cff
push eax
call esi
push dword [0x4b7ca4]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x416cff
test ebx, ebx
je 0x416cff
call edi
test eax, eax
je 0x416cf6
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x416cf6
test byte [ebp - 8], 1
jne 0x416cff
or dword [ebp + 0x10], 0x200000
jmp 0x416d32
mov eax, dword [0x4b7c98]
cmp eax, dword [ebp - 0x18]
je 0x416d32
push eax
call esi
test eax, eax
je 0x416d32
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x416d32
mov eax, dword [0x4b7c9c]
cmp eax, dword [ebp - 0x18]
je 0x416d32
push eax
call esi
test eax, eax
je 0x416d32
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4b7c94]
call esi
test eax, eax
je 0x416d4e
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x416d50
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040b55e
leave
ret
Function at 0x100052fc
Capabilities:
Encode data using xor

Disassembly:
call 0x10005275
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or eax, dword [ebx - 0x178f73c]
xor esi, 0xde5af04
add eax, esi
lea esp, [esp - 0xe]
mov esi, dword [esp + 0xe]
lea esp, [esp + 0x12]
xor esi, dword [esp]
push eax
sub eax, 0xf24f2b00
mov eax, esp
or dword [eax - 0x22], ebx
pop eax
jmp 0x100052a5
xor dword [esp], esi
xor eax, 0
mov dword [esp], esi
add esp, 4
add esi, dword [ebp + 8]
push ebp
add ebp, 0xc
mov ecx, dword [ebp]
pop ebp
ja 0x100052c1
xor edx, 0
jmp 0x100052cc
xor edx, edx
jmp 0x100052e3
jmp 0x100052ef
xor eax, eax
push 0x8427d7c0
call 0x100052fc
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x10005338
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
add bl, dl
xor byte [esi], bl
mov dl, byte [esi]
inc esi
add ebx, edi
rol ebx, 8
dec ecx
jne 0x10005311
lea esp, [esp - 4]
xchg dword [esp], ebx
mov ebx, dword [esp]
or eax, edx
xor eax, eax
add eax, dword [esp]
add esp, 4
pop esi
pop edi
pop ebx
xchg dword [esp], ecx
mov dword [esp], ecx
lea esp, [esp + 4]
pop edx
leave
je 0x1000534f
add eax, 0
jno 0x10005354
add esi, 0
ret 0x10

Function at 0x100060bd
Capabilities:
Encode data using xor

Disassembly:
lea esp, [esp - 0x63]
mov dword [esp + 0x5f], ebx
lea esp, [esp + 0x5f]
mov ebx, 0x8dff8662
xchg dword [esp], ebx
and dword [esp], ebp
jmp 0x100060df
add ebx, 0
or dword [esp], ebp
mov ebp, esp
push eax
push edi
lea esp, [esp - 4]
xchg dword [esp], ecx
pop ecx
lea esp, [esp - 4]
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
cmp edi, dword [ebp + 0x14]
ja 0x10006281
cmp edi, dword [ebp + 0x10]
jb 0x10006281
lea esi, [esi]
sub esi, 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
sub esp, 0x6a
mov dword [esp + 0x66], 0xc2ccbc3c
add esp, 0x66
mov dword [esp], edi
or edi, 0xffffffff
and edi, 0xcedcf875
xor edi, 0xce9c140e
xchg dword [esp], edi
push edx
mov edx, esp
xor edx, 0
add edx, 0
push ebx
lea ebx, [edx + 4]
mov dword [ebx], eax
pop ebx
pop edx
push edi
call fcn.10005ba9
inc edi
jmp 0x10006168
jmp 0x10006175
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.10005ba9
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.10005ba9
inc edi
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push 0
sub esi, 0
add dword [esp], edx
xor edx, edx
je 0x100061c9
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or edx, 0x13e27bd2
push ebx
add ebx, esi
mov ebx, esp
xor dword [ebx - 0x2a], edi
fdiv qword [ecx]
jnp 0x100061ad
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.100061f7
add dword [eax], 0x39
jle 0x100061d3
sub al, 0xf5
mov ch, al
call fcn.1000620c
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10
Function at 0x10007ee4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push ecx
push edx
push 0
sub esi, esi
shr esi, 9
and dword [esp - 0x69], ebx
jbe 0x10007efa
add edi, 0
shr esi, 0x17
or esi, dword [esp]
add esp, 4
add esi, dword [ebp + 8]
xor eax, eax
xor edx, edx
cld
and dword [esp - 0x46], edx
xor ecx, ecx
rol edx, 7
and dword [esp - 0x4b], edx
xor dl, al
mov al, byte [esi]
inc esi
or al, al
jne 0x10007f0b
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.10007f4c
std
inc ebx
sar cl, 0x3e
lahf
in al, dx
mov ch, 0x4a
mov ebx, 0x971631d8
test byte [ebp - 0x5e], ch
xor eax, dword [ebx + 0x2b5108c4]
add esp, 8
push ecx
sub ecx, eax
mov ecx, esp
cmp dword [ecx - 0x51], edx

Function at 0x1000a2b8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0xffffffffffffffff
push esi
mov esi, esp
xor dword [esp - 0x43], esi
xor dword [esp - 0x45], esi
and dword [esi + 4], eax
pop esi
push 0
ja 0x1000a201
add ebx, 0
push ecx
call 0x1000a216
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
add esp, 8
xor dword [esp], ebx
sub esp, 0x6b
mov dword [esp + 0x67], edx
add esp, 0x67
push ecx
push 0
xor dword [esp - 0x56], edx
xor edi, 0
add dword [esp], edi
push esi
mov ebx, 0x71a9b3ee
sub ebx, dword [0x71abac2d]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0x71abac1d
call fcn.10005ce0
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.100051ee
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0x1000a374
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x1000a374
mov ecx, dword [esi + 0x10]
sub dword [esp - 0x34], ebx
xor ecx, edi
mov edx, dword [esi + 0x14]
xor edx, edi
shl edx, 2
add edx, 0x18
mov eax, dword [esi]
xor eax, edi
cmp eax, 1
je 0x1000a32b
mov eax, 1
lock xchg dword [0x71abac29], eax
push 0x3dd1fc71
call 0x1000a2b8
push esi
add esp, 8
cmp eax, 0
jne 0x1000a2a1
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x1000a2c7
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0x1000a2dc
cmp ecx, edx
cmp eax, 0
je 0x1000a301
mov dword [ebp - 4], eax
lea ecx, [esi + 0x18]
mov eax, dword [esi + ecx]
xor eax, edi
add eax, edx
add dword [esi + eax], ebx
add ecx, 4
dec dword [ebp - 4]
jne 0x1000a2eb
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.1000a31a
dec eax
loope 0x1000a31d
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0x71abac29], 0
add edx, esi
mov dword [ebp + 4], edx
xchg dword [esp], esi
push ecx
lea ecx, [edi - 0x72d1f741]
mov ecx, esp
mov dword [ecx - 0x15], ebx
pop ecx
push esi
xor esi, esi
mov esi, esp
and dword [esi - 0x1d], ecx
pop esi
mov dword [esp], esi
jb 0x1000a351
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0x1000a366
jmp 0x1000a371
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0x1000a25f
Function at 0x100113d9
Capabilities:
Access peb ldr_data

Disassembly:
add esp, 8
and dword [esp], ebx
push ecx
push edx
push edi
push esi
or edi, 0xffffffff
not edi
add edi, dword [ebp + 8]
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 0xc]
push ecx
xor edx, edx
mov ecx, dword [ecx]
cmp ecx, dword [esp]
je 0x100116af
push ebp
push 0xffffffffffffffff
sub esp, 0x32
mov dword [esp + 0x2e], 0x71aa78a1
add esp, 0x2e
sub esp, 4
mov dword [esp], 0x71a9e867
push 0xffffffffffffffff
call fcn.100085d9
xchg edx, eax
and eax, 0
add eax, 0x75d46dc4
push ecx
and ecx, 0xcfb6d7ec
mov ecx, esp
mov dword [ecx - 0x54], esi
pop ecx
ja 0x10011443
and eax, eax
xchg edx, eax
mov edx, dword [ecx + edx - 0x75d46dac]
call fcn.1001145b
mov byte [0xee69f033], al
invalid
mov eax, ecx
pop esi
mov edi, dword [esp]
add esp, 4
pop edx
xor ecx, ecx
add ecx, 0xffffffff
and ecx, dword [esp]
xor ecx, 0
add esp, 4
pop ebx
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
jno 0x100116a3
xor eax, 0
ret 4
xor ecx, ecx
jmp 0x10011677
Function at 0x10020ea9
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x10020ecb
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x10020ecb
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x10020ecb
ret
cmp word [ebx + 4], 0x14c
jne 0x10020ecb
test word [ebx + 0x16], 2
je 0x10020ecb
test word [ebx + 0x16], 0x100
je 0x10020ecb
cmp word [ebx + 0x18], 0x10b
jne 0x10020ecb
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x10020ecb
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x10020f57
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x10020eeb
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.10007e36
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x10020ecb
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8

Function at 0x10020f57
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x10020ecb
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x10020ecb
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x10020ecb
ret
cmp word [ebx + 4], 0x14c
jne 0x10020ecb
test word [ebx + 0x16], 2
je 0x10020ecb
test word [ebx + 0x16], 0x100
je 0x10020ecb
cmp word [ebx + 0x18], 0x10b
jne 0x10020ecb
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x10020ecb
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x10020f57
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x10020eeb
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.10007e36
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x10020ecb
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8
Function at 0x1002100e
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x10021067
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x1002100e
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x1002101d
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x10426cc0
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x1002106e
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.10007ee4
cmp eax, dword [ebp + 0xc]
pop eax
je 0x1002110d
add edi, 4
add eax, 2
dec ecx
jne 0x10021053
call 0x100210ba
loope 0x100210b0
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x1002110a
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x1002111b
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x100210ce
cmp eax, ecx
ja 0x100210ce
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x10021158
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x1002114e
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.100083c3
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x1002101d
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x10021067
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x1002100e
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x1002101d
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x10426cc0
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x1002106e
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.10007ee4
cmp eax, dword [ebp + 0xc]
pop eax
je 0x1002110d
add edi, 4
add eax, 2
dec ecx
jne 0x10021053
call 0x100210ba
loope 0x100210b0
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x1002110a
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x1002111b
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x100210ce
cmp eax, ecx
ja 0x100210ce
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x10021158
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x1002114e
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.100083c3
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]