joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41da4c
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x47f3c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x41da97
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.0041dbeb
test al, al
jne 0x41da91
sub edx, 2
cmp edx, edi
jne 0x41da77
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x41dab9
lea eax, [edi + 2]
cmp edx, eax
je 0x41dab9
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.0041d998
add esp, 0x10
jmp 0x41dbb3
push esi
lea ecx, [ebp - 0x255]
call fcn.0041dbeb
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x41dafc
push dword [ebp - 0x25c]
jmp 0x41daa9
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x41db39
cmp word [ebp - 0x226], 0
je 0x41db5a
cmp word [ebp - 0x226], ax
jne 0x41db39
cmp word [ebp - 0x224], 0
je 0x41db5a
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.0041d998
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x41dba6
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x41db13
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x41db8e
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x41dbb3
push 0x41d7c8
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.004233c0
add esp, 0x10
jmp 0x41db83
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00409962
leave
ret

Function at 0x424e90
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x424ebd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x424ebd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x4265dd
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub eax, dword [ebp + 8]
sar eax, 2
push edi
mov edi, dword [ebp + 0x14]
test eax, eax
je 0x42665d
push esi
xor esi, esi
cmp dword [ebp + 0x18], esi
jbe 0x42665c
push ebx
mov ebx, 0x481048
mov al, byte [edi + esi]
xor al, 0x73
sub al, 0x6c
xor al, 0x74
push str.Own_head
push ebx
mov byte [edi + esi], al
call fcn.004013cb
push eax
call fcn.00402409
mov al, byte [edi + esi]
add al, 0x4e
xor al, 0xdc
push str.Earth
push ebx
mov byte [edi + esi], al
call fcn.004013cb
push eax
call fcn.00402409
mov al, byte [edi + esi]
xor al, 0xac
sub al, 0x65
xor al, 0x22
sub al, 0x73
push 0x427558
mov byte [edi + esi], al
call fcn.0040eeee
xor byte [edi + esi], al
add esp, 0x1c
inc esi
cmp esi, dword [ebp + 0x18]
jb 0x4265ff
pop ebx
pop esi
lea ecx, [ebp + 8]
call fcn.00405157
pop edi
pop ebp
ret 0x14
Function at 0x100017c1
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
push edi
push 0x14
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov edi, eax
pop ecx
test edi, edi
je 0x1000185c
push str.jvm.dll
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov ebx, eax
test ebx, ebx
jne 0x100017f3
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
xor eax, eax
jmp 0x1000185e
push esi
mov esi, dword [sym.imp.kernel32.dll_GetProcAddress]
push str.JVM_DTraceGetVersion
push ebx
call esi
push str.JVM_DTraceIsSupported
push ebx
mov dword [edi], eax
call esi
push str.JVM_DTraceActivate
push ebx
mov dword [edi + 4], eax
call esi
push str.JVM_DTraceDispose
push ebx
mov dword [edi + 8], eax
call esi
push str.JVM_DTraceIsProbeEnabled
push ebx
mov dword [edi + 0xc], eax
call esi
push ebx
mov dword [edi + 0x10], eax
call dword [sym.imp.kernel32.dll_FreeLibrary]
xor esi, esi
cmp dword [edi], esi
je 0x10001851
cmp dword [edi + 4], esi
je 0x10001851
cmp dword [edi + 8], esi
je 0x10001851
cmp dword [edi + 0xc], esi
je 0x10001851
cmp dword [edi + 0x10], esi
jne 0x1000185b
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
mov edi, esi
pop esi
mov eax, edi
pop edi
pop ebx
ret

Function at 0x100022cf
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
pushal
call 0x100022de
pop dword [ebp - 0x28]
mov eax, 0x45c82fdb
add eax, 0xca37f303
sub dword [ebp - 0x28], eax
mov dword [ebp - 0x38], 0x484ac8d3
sub dword [ebp - 0x38], 0xf9f88388
mov dword [ebp - 0x34], 0xe89b329
sub dword [ebp - 0x34], 0xdc5666e4
mov dword [ebp - 0x30], 0xe2944deb
add dword [ebp - 0x30], 0x69b7f643
mov dword [ebp - 0x2c], 0x255c7362
add dword [ebp - 0x2c], 0xdaa38c9e
lea eax, [ebp - 0x38]
push eax
mov eax, 0xcf6226f
add eax, 0x30a0d95
add eax, dword [ebp - 0x28]
call dword [eax]
mov dword [ebp - 0x38], 0xfd422045
add dword [ebp - 0x38], 0x77304911
mov dword [ebp - 0x34], 0x516dcef5
sub dword [ebp - 0x34], 0x10016d80
mov dword [ebp - 0x30], 0xa234aacf
add dword [ebp - 0x30], 0xc13ac19d
mov dword [ebp - 0x2c], 0x482f4363
add dword [ebp - 0x2c], 0xb7d0bc9d
lea ebx, [ebp - 0x38]
push ebx
push eax
mov eax, 0xcc60de50
sub eax, 0xbc60ae48
add eax, dword [ebp - 0x28]
call dword [eax]
push 0x40
push 0x1000
push 0x3a07a
push 0
call eax
mov ecx, 0x7ffe1a5e
sub ecx, 0x7ffdc432
xor edi, edi
add edi, eax
mov edx, 0x92cb7217
add edx, 0x7d34efe9
add edx, dword [ebp - 0x28]
mov esi, 0x85a66a7f
sub esi, 0x44aba1e
xor dword [ebp - 0x20], 0x1196b9cd
mov ebx, dword [edx]
xor dword [ebp - 0x18], 0x84ee32d2
xor ebx, esi
add dword [ebp - 0x18], 0xa3df727a
mov dword [edi], ebx
sub dword [ebp - 4], esi
add edi, 0xb8985100
add edi, 0x4767af04
add edx, 0xed0a1c9
add edx, 0xf12f5e3b
loop 0x10002402
add eax, 0x14b83
mov ebx, eax
add eax, 0x9cf25cbd
add eax, 0x630da348
mov ecx, 0x94255df4
sub ecx, 0x84255df4
invalid
invalid
fdivr st(7)
Function at 0x778ebab0
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x778ebaee
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x778ebae6
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x778ebaf0
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x778ebad6
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x778ebbc0
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x778ebbf1
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x778ebbf1
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x778ebbf1
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x7791617c
Capabilities:
Encode data using xor

Disassembly:
call 0x779160f5
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 0x77916125
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 0x77916141
xor edx, 0
jmp 0x7791614c
xor edx, edx
jmp 0x77916163
jmp 0x7791616f
xor eax, eax
push 0x8427d7c0
call 0x7791617c
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x779161b8
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 0x77916191
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 0x779161cf
add eax, 0
jno 0x779161d4
add esi, 0
ret 0x10
Function at 0x77916f3d
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 0x77916f5f
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 0x77917101
cmp edi, dword [ebp + 0x10]
jb 0x77917101
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.77916a29
inc edi
jmp 0x77916fe8
jmp 0x77916ff5
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.77916a29
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.77916a29
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 0x77917049
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 0x7791702d
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.77917077
add dword [eax], 0x39
jle 0x77917053
sub al, 0xf5
mov ch, al
call fcn.7791708c
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10

Function at 0x77918d64
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 0x77918d7a
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 0x77918d8b
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.77918dcc
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 0x7791b138
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 0x7791b081
add ebx, 0
push ecx
call 0x7791b096
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, 0x72fe623a
sub ebx, dword [0x73005a79]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0x73005a69
call fcn.77916b60
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.7791606e
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0x7791b1f4
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x7791b1f4
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 0x7791b1ab
mov eax, 1
lock xchg dword [0x73005a75], eax
push 0x3dd1fc71
call 0x7791b138
push esi
add esp, 8
cmp eax, 0
jne 0x7791b121
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x7791b147
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0x7791b15c
cmp ecx, edx
cmp eax, 0
je 0x7791b181
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 0x7791b16b
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.7791b19a
dec eax
loope 0x7791b19d
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0x73005a75], 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 0x7791b1d1
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0x7791b1e6
jmp 0x7791b1f1
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0x7791b0df
Function at 0x77922259
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 0x7792252f
push ebp
push 0xffffffffffffffff
sub esp, 0x32
mov dword [esp + 0x2e], 0x72ff26ed
add esp, 0x2e
sub esp, 4
mov dword [esp], 0x72fe96b3
push 0xffffffffffffffff
call fcn.77919459
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 0x779222c3
and eax, eax
xchg edx, eax
mov edx, dword [ecx + edx - 0x75d46dac]
call fcn.779222db
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 0x77922523
xor eax, 0
ret 4
xor ecx, ecx
jmp 0x779224f7
Function at 0x77931d29
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 0x77931d4b
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x77931d4b
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x77931d4b
ret
cmp word [ebx + 4], 0x14c
jne 0x77931d4b
test word [ebx + 0x16], 2
je 0x77931d4b
test word [ebx + 0x16], 0x100
je 0x77931d4b
cmp word [ebx + 0x18], 0x10b
jne 0x77931d4b
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x77931d4b
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x77931dd7
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x77931d6b
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.77918cb6
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x77931d4b
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 0x77931dd7
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 0x77931d4b
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x77931d4b
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x77931d4b
ret
cmp word [ebx + 4], 0x14c
jne 0x77931d4b
test word [ebx + 0x16], 2
je 0x77931d4b
test word [ebx + 0x16], 0x100
je 0x77931d4b
cmp word [ebx + 0x18], 0x10b
jne 0x77931d4b
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x77931d4b
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x77931dd7
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x77931d6b
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.77918cb6
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x77931d4b
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 0x77931e8e
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x77931ee7
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x77931e8e
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x77931e9d
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 0x77d37b40
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 0x77931eee
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.77918d64
cmp eax, dword [ebp + 0xc]
pop eax
je 0x77931f8d
add edi, 4
add eax, 2
dec ecx
jne 0x77931ed3
call 0x77931f3a
loope 0x77931f30
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x77931f8a
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 0x77931f9b
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 0x77931f4e
cmp eax, ecx
ja 0x77931f4e
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x77931fd8
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x77931fce
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.77919243
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x77931e9d
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x77931ee7
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x77931e8e
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x77931e9d
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 0x77d37b40
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 0x77931eee
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.77918d64
cmp eax, dword [ebp + 0xc]
pop eax
je 0x77931f8d
add edi, 4
add eax, 2
dec ecx
jne 0x77931ed3
call 0x77931f3a
loope 0x77931f30
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x77931f8a
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 0x77931f9b
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 0x77931f4e
cmp eax, ecx
ja 0x77931f4e
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x77931fd8
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x77931fce
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.77919243
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x10003ebf
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
pushal
call 0x10003ece
pop dword [ebp - 0xc]
mov eax, 0x10003ece
sub dword [ebp - 0xc], eax
mov dword [ebp - 0x1c], 0x192ca69a
add dword [ebp - 0x1c], 0x35259eb1
mov dword [ebp - 0x18], 0x6dfc3a9f
sub dword [ebp - 0x18], 0x3bc8ee5a
mov dword [ebp - 0x14], 0x6c2d6cd
add dword [ebp - 0x14], 0x45896d61
mov dword [ebp - 0x10], 0x6bfb66f8
sub dword [ebp - 0x10], 0x6bfb66f8
lea eax, [ebp - 0x1c]
push eax
mov eax, 0x4cb87bba
add eax, 0xc347d48a
add eax, dword [ebp - 0xc]
call dword [eax]
mov dword [ebp - 0x1c], 0x47b4af57
sub dword [ebp - 0x1c], 0xd3424601
mov dword [ebp - 0x18], 0xf6af8750
sub dword [ebp - 0x18], 0xb54325db
mov dword [ebp - 0x14], 0x158e470d
sub dword [ebp - 0x14], 0xb21edaa1
mov dword [ebp - 0x10], 0xba24c98c
sub dword [ebp - 0x10], 0xba24c98c
lea ebx, [ebp - 0x1c]
push ebx
push eax
mov eax, 0x1ce8d90
sub eax, 0xf1ce3d50
add eax, dword [ebp - 0xc]
call dword [eax]
push 0x40
push 0x1000
push 0x39d36
push 0
call eax
mov ecx, 0xae2406fc
sub ecx, 0xae23b237
mov esi, eax
mov edx, 0x1000b600
add edx, dword [ebp - 0xc]
mov edi, 0xa4421194
sub edi, 0x7415bdc3
add dword [ebp - 8], ecx
mov ebx, dword [edx]
add dword [ebp - 8], esi
xor ebx, edi
sub dword [ebp - 8], 0xa7b64fa6
mov dword [esi], ebx
sub dword [ebp - 8], eax
add esi, 0xdaaa8cd2
add esi, 0x25557332
add edx, 0xf31663b
sub edx, 0xf316637
loop 0x10003fe5
add eax, 0x3ed930eb
add eax, 0xc12814fc
mov ebx, eax
add eax, 5
mov ecx, 0x10000000
add ecx, dword [ebp - 0xc]
call ebx
leave
ret
Function at 0x40186e
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
mov eax, dword [0x41c098]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov dword [ebp - 0x418], eax
mov esi, 0x104
push esi
lea eax, [ebp - 0x20c]
xor edi, edi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
dec eax
cmp eax, 0x102
ja 0x4018ea
lea eax, [ebp - 0x414]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
dec eax
cmp eax, 0x102
ja 0x4018ea
mov esi, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea eax, [ebp - 0x20c]
push eax
call esi
push dword [ebp - 0x418]
push edi
push ebx
call fcn.0040179f
mov edi, eax
lea eax, [ebp - 0x414]
push eax
call esi
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004158e5
mov esp, ebp
pop ebp
ret 8

Function at 0x405918
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x405932
test al, 0x10
jne 0x405932
xor eax, eax
inc eax
jmp 0x405934
xor eax, eax
pop ebp
ret 4

Function at 0x406afa
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
mov byte [eax], 0
test esi, esi
je 0x406b5f
cmp byte [esi], 0
je 0x406b5f
cmp byte [esi + 1], 0x3a
jne 0x406b5f
cmp byte [esi + 2], 0x5c
jne 0x406b5f
push eax
push 0x226
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov al, byte [esi]
mov ecx, esi
jmp 0x406b41
cmp al, 0x5c
push ecx
cmove edi, ecx
call dword [sym.imp.USER32.dll_CharNextA]
mov ecx, eax
mov al, byte [ecx]
test al, al
jne 0x406b31
mov eax, edi
sub eax, esi
cmp eax, 2
jne 0x406b4f
inc edi
push ebx
mov bl, byte [edi]
push esi
mov byte [edi], 0
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov byte [edi], bl
pop ebx
pop edi
pop esi
pop ebp
ret 8