joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43767e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
mov eax, ebx
push edi
mov edi, ecx
shr eax, 0x10
test ax, ax
mov dword [edi + 0x40], ebx
jne 0x4376a0
cmp dword [edi + 0x3c], 0
jne 0x4376a0
movzx eax, bx
mov dword [edi + 0x3c], eax
call fcn.00441fa2
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
mov ecx, edi
push dword [esp + 0x18]
push eax
call fcn.004376cd
pop edi
pop esi
pop ebx
ret 8

Function at 0x437a0d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x445c28
call fcn.0042223c
sub esp, 0x18
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], esi
mov eax, dword [esi + 0x48]
mov edi, dword [esi + 0x44]
mov dword [ebp - 0x18], eax
call fcn.00441fa2
cmp dword [esi + 0x40], 0
mov ebx, dword [eax + 0xc]
je 0x437a4c
call fcn.00441fa2
mov ebx, dword [eax + 0xc]
push 5
push dword [esi + 0x40]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x437a5a
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x437a68
or eax, 0xffffffff
jmp 0x437b50
mov ecx, esi
call fcn.00437983
mov dword [ebp - 0x14], eax
call fcn.0043883f
xor edi, edi
cmp dword [ebp - 0x14], edi
mov dword [ebp - 0x20], edi
je 0x437a9f
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x437a9f
push edi
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x20], 1
push esi
mov dword [ebp - 4], edi
call fcn.004387f3
push dword [ebp - 0x14]
call fcn.00438325
push ebx
push eax
push dword [ebp - 0x18]
mov ecx, esi
call fcn.0043771b
cmp eax, edi
je 0x437b12
test byte [esi + 0x24], 0x10
je 0x437ae0
push 4
mov ecx, esi
pop ebx
call fcn.0043ab94
test ah, 1
je 0x437ad8
push 5
pop ebx
push ebx
mov ecx, esi
call fcn.0043a5d1
cmp dword [esi + 0x1c], edi
je 0x437b12
push 0x97
push edi
push edi
push edi
push edi
push edi
mov ecx, esi
call fcn.0043acab
jmp 0x437b12
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x20], edi
je 0x437b26
push 1
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebp - 0x14], edi
je 0x437b3f
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x1c]
jne 0x437b3f
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x58]
mov ecx, esi
call fcn.004379bd
mov eax, dword [esi + 0x2c]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x43a47f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x43a4c1
call fcn.00441fa2
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x43a4c1
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x43a4b8
xor eax, eax
jmp 0x43a4c9
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0043a4cf
pop edi
pop esi
pop ebx
ret 4

Function at 0x44248f
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 0x4424bd
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4424db
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004423f5
jmp 0x4424db
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4424db
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004423f5
test edi, edi
mov eax, edi
jne 0x4424c5
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x104f2058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.104f21a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x104f207e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x104f206a
add dl, dl
jne 0x104f2089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x104f20dc
xor eax, eax
add dl, dl
jne 0x104f2096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x104f217d
add dl, dl
jne 0x104f20a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x104f20b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x104f20bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x104f20c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x104f20d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x104f2075
mov eax, 1
add dl, dl
jne 0x104f20ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x104f20f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x104f20e1
sub eax, ebx
mov ebx, 1
jne 0x104f2128
mov ecx, 1
add dl, dl
jne 0x104f210e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x104f2119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x104f2105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x104f2075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x104f213f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x104f214a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x104f2136
cmp eax, 0x7d00
jae 0x104f216d
cmp eax, 0x500
jb 0x104f2168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x104f2075
cmp eax, 0x7f
ja 0x104f2170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x104f2075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x104f219e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x104f2075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x410180
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push 0x4025e6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0x4e0
call sub.MSVBVM60.DLL___vbaChkstk
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x14], 0x401da8
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 1
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x284]
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
push 3
push 0x4068a0
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaAryConstruct2]
mov dword [ebp - 4], 2
push 0xffffffffffffffff
call dword [sym.imp.MSVBVM60.DLL___vbaOnError]
mov dword [ebp - 4], 3
push 0
push 0xf
call fcn.00404d50
mov dword [ebp - 0x294], eax
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov ecx, dword [ebp - 0x294]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 4], 4
mov dword [ebp - 0x280], 0x128
mov dword [ebp - 4], 5
lea edx, [ebp - 0x280]
push edx
lea eax, [ebp - 0x3c0]
push eax
push 0x404b50
call dword [sym.imp.MSVBVM60.DLL___vbaRecUniToAnsi]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
jmp loc.00430000
Function at 0x10023d3a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10001b3c]
jne 0x1002420f
ret
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x328
mov dword [0x10028d58], eax
mov dword [0x10028d54], ecx
mov dword [0x10028d50], edx
mov dword [0x10028d4c], ebx
mov dword [0x10028d48], esi
mov dword [0x10028d44], edi
mov word [0x10028d70], ss
mov word [0x10028d64], cs
mov word [0x10028d40], ds
mov word [0x10028d3c], es
mov word [0x10028d38], fs
mov word [0x10028d34], gs
pushfd
pop dword [0x10028d68]
mov eax, dword [ebp]
mov dword [0x10028d5c], eax
mov eax, dword [ebp + 4]
mov dword [0x10028d60], eax
lea eax, [ebp + 8]
mov dword [0x10028d6c], eax
mov eax, dword [ebp - 0x320]
mov dword [0x10028ca8], 0x10001
mov eax, dword [0x10028d60]
mov dword [0x10028c5c], eax
mov dword [0x10028c50], 0xc0000409
mov dword [0x10028c54], 1
mov eax, dword [0x10001b3c]
mov dword [ebp - 0x328], eax
mov eax, dword [0x10028390]
mov dword [ebp - 0x324], eax
call dword [sym.imp.kernel32.dll_IsDebuggerPresent]
mov dword [0x10028ca0], eax
push 1
call sub.MSVCR100.dll__crt_debugger_hook
pop ecx
push 0
call dword [sym.imp.kernel32.dll_SetUnhandledExceptionFilter]
push 0x10001b4c
call dword [sym.imp.kernel32.dll_UnhandledExceptionFilter]
cmp dword [0x10028ca0], 0
jne 0x100242fb
push 1
call sub.MSVCR100.dll__crt_debugger_hook
pop ecx
push 0xc0000409
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.kernel32.dll_TerminateProcess]
leave
ret
Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x412d80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UzBUtnck
lea edi, [esi - 0xe000]
push edi
or ebp, 0xffffffff
jmp 0x412da2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x412da9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x412d98
mov eax, 1
add ebx, ebx
jne 0x412dbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x412db0
jne 0x412dcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x412db0
xor ecx, ecx
sub eax, 3
jb 0x412de0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x412e52
mov ebp, eax
add ebx, ebx
jne 0x412deb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x412df8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x412e1c
inc ecx
add ebx, ebx
jne 0x412e08
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x412dfd
jne 0x412e19
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x412dfd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x412e3c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x412e2d
jmp 0x412d9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x412e3c
add edi, ecx
jmp 0x412d9e
pop esi
mov edi, esi
mov ecx, 0x2ad
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x412e5a
cmp byte [edi], 0
jne 0x412e5a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x412e5f
lea edi, [esi + 0x10000]
mov eax, dword [edi]
or eax, eax
je 0x412ece
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x120b0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1211c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x412e8c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x12124]
or eax, eax
je 0x412ec8
mov dword [ebx], eax
add ebx, 4
jmp 0x412ea9
call dword [esi + 0x12120]
mov ebp, dword [esi + 0x12128]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x412f02
sub esp, 0xffffff80
jmp 0x406f9c
Function at 0x930058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x9301a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x93007e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x93006a
add dl, dl
jne 0x930089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x9300dc
xor eax, eax
add dl, dl
jne 0x930096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x93017d
add dl, dl
jne 0x9300a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9300b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9300bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9300c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x9300d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x930075
mov eax, 1
add dl, dl
jne 0x9300ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9300f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x9300e1
sub eax, ebx
mov ebx, 1
jne 0x930128
mov ecx, 1
add dl, dl
jne 0x93010e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x930119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x930105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x930075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x93013f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x93014a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x930136
cmp eax, 0x7d00
jae 0x93016d
cmp eax, 0x500
jb 0x930168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x930075
cmp eax, 0x7f
ja 0x930170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x930075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x93019e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x930075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x744b70
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x744baf
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x744baf
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x744baf
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x744baf
cmp dword [ecx + 0x74], 0xe
jbe 0x744baf
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x74a703
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x74a7a0
push ebx
push esi
call fcn.0074a6cc
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.0074a660
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x74a74d
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x74a79f
push edi
push eax
call fcn.0074b320
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x74a76d
call fcn.007491c1
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x74a79e
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0074a660
add esp, 0x20
test eax, eax
jne 0x74a78c
push edi
call fcn.007491c1
jmp 0x74a794
push ebx
call fcn.007491c1
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x74ba9d
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x754048
push 0x754040
push str.FlsAlloc
push 0x1f
call fcn.0074b95c
mov esi, eax
add esp, 0x10
test esi, esi
je 0x74bad1
push dword [ebp + 8]
mov ecx, esi
call dword [0x752130]
call esi
jmp 0x74bad7
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x74bb1b
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x754058
push 0x754050
push str.FlsGetValue
push 0x21
call fcn.0074b95c
mov esi, eax
add esp, 0x10
test esi, esi
je 0x74bb52
push dword [ebp + 8]
mov ecx, esi
call dword [0x752130]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x74bb5a
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x754060
push 0x754058
push str.FlsSetValue
push 0x22
call fcn.0074b95c
mov esi, eax
add esp, 0x10
test esi, esi
je 0x74bb94
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x752130]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x750ff0
Capabilities:
Parse pe header

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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push 0x449
call fcn.0e47451f
cmp al, 0x11
jne 0xe448908
or dword [ebp - 4], 0xffffffff
jmp 0xe448918
mov eax, dword [ebp + 0x10]
and eax, 0xf
mov eax, dword [eax*4 + 0xe4a5550]
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push 0x485
call fcn.0e47451f
mov ebx, dword [ebp + 0x14]
mov ecx, dword [ebp + 0xc]
mov edx, dword [0xe4bc440]
movzx eax, al
lea esi, [edx + ecx*4]
mov dword [ebp + 0x10], eax
cmp ebx, 1
jne 0xe448972
test eax, eax
jbe 0xe4489b4
mov ebx, dword [ebp + 0x18]
shl ebx, 2
push edi
call fcn.0e47451f
movzx eax, al
mov ecx, eax
shl ecx, 8
or eax, ecx
mov ecx, eax
shl ecx, 0x10
or ecx, eax
and ecx, dword [ebp - 4]
inc edi
xor dword [esi], ecx
add esi, ebx
dec dword [ebp + 0x10]
jne 0xe44894c
jmp 0xe4489b4
mov ecx, dword [ebp + 0x18]
sub ecx, ebx
test eax, eax
jbe 0xe4489b4
mov eax, ecx
shl eax, 2
mov dword [ebp + 0x18], eax
push edi
call fcn.0e47451f
movzx ecx, al
mov eax, ecx
shl eax, 8
or ecx, eax
mov eax, ecx
shl eax, 0x10
or eax, ecx
and eax, dword [ebp - 4]
inc edi
mov ecx, ebx
test ebx, ebx
jbe 0xe4489ac
xor dword [esi], eax
add esi, 4
dec ecx
jne 0xe4489a4
add esi, dword [ebp + 0x18]
dec dword [ebp + 0x10]
jne 0xe448983
pop edi
pop esi
pop ebx
leave
ret 0x14
Function at 0xe47a504
Capabilities:
Get process heap flags

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x60
push edi
push 0xa
xor eax, eax
pop ecx
lea edi, [ebp - 0x60]
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 8]
sub eax, 3
je 0xe47a531
dec eax
dec eax
je 0xe47a52c
dec eax
dec eax
jne 0xe47a536
lea eax, [ebp - 0x60]
jmp 0xe47a539
lea eax, [ebp - 0x58]
jmp 0xe47a539
lea eax, [ebp - 0x50]
jmp 0xe47a539
mov eax, dword [ebp + 8]
push dword [ebp + 0x10]
push eax
push 1
call fcn.0e47a35e
xor edi, edi
cmp eax, edi
jl 0xe47a614
lea eax, [ebp - 0x20]
push eax
push edi
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp + 0xc]
push dword [eax + 4]
call dword [0xe43156c]
test al, al
jne 0xe47a571
mov eax, 0x80070003
jmp 0xe47a614
mov eax, dword [ebp - 0x20]
push ebx
mov ebx, dword [ebp - 4]
xor ecx, ecx
push esi
cmp cx, ax
je 0xe47a58b
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 4], eax
jmp 0xe47a58e
mov dword [ebp - 0x18], edi
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x34], eax
push 0x4020
lea eax, [ebp - 8]
mov dword [ebp - 0x30], eax
push 7
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x38]
push eax
push 0x100100
lea eax, [ebp + 8]
push eax
mov dword [ebp - 0x38], 0x18
mov dword [ebp - 0x2c], 0x40
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], edi
call dword [0xe4314d0]
mov esi, eax
lea eax, [ebp - 0x20]
push eax
call dword [0xe431568]
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push ebx
push edi
push dword [eax + 0x18]
call dword [fcn.0e431530]
cmp esi, edi
jl 0xe47a610
push 4
push 0x28
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
call dword [0xe431510]
push dword [ebp + 8]
mov esi, eax
call dword [0xe43145c]
mov eax, esi
pop esi
pop ebx
pop edi
leave
ret 0xc
Function at 0xe47b0ce
Capabilities:
Get process heap flags

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x68
push ebx
lea eax, [ebp - 0x18]
push eax
xor ebx, ebx
push ebx
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp + 0xc]
push dword [eax + 4]
call dword [0xe43156c]
test al, al
jne 0xe47b0fc
mov eax, 0x80070003
jmp 0xe47b1bf
mov eax, dword [ebp - 0x18]
push esi
xor ecx, ecx
push edi
mov edi, dword [ebp - 4]
cmp cx, ax
je 0xe47b116
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], eax
jmp 0xe47b119
mov dword [ebp - 0x10], ebx
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 8]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x30], 0x18
mov dword [ebp - 0x24], 0x40
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
call dword [0xe431578]
mov esi, eax
lea eax, [ebp - 0x18]
push eax
call dword [0xe431568]
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push edi
push ebx
push dword [eax + 0x18]
call dword [fcn.0e431530]
cmp esi, ebx
jge 0xe47b16f
mov eax, esi
jmp 0xe47b1bd
mov eax, dword [ebp + 8]
sub eax, 4
je 0xe47b189
dec eax
dec eax
je 0xe47b184
dec eax
dec eax
jne 0xe47b18e
lea eax, [ebp - 0x68]
jmp 0xe47b191
lea eax, [ebp - 0x60]
jmp 0xe47b191
lea eax, [ebp - 0x58]
jmp 0xe47b191
mov eax, dword [ebp + 0xc]
push dword [ebp + 0x10]
push eax
push dword [ebp + 0xc]
call fcn.0e47a667
neg eax
sbb eax, eax
and eax, 0x10
push eax
call fcn.0e47a35e
cmp eax, ebx
jge 0xe47b1bd
cmp eax, 0x8007000d
jne 0xe47b1bd
cmp dword [ebp + 8], 4
jne 0xe47b1bd
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0xe4866b0
Capabilities:
Get process heap force flags

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
sub esp, 0x10
push esi
mov esi, dword [ebp + 0xc]
mov ecx, dword [esi]
push edi
add ecx, ecx
push ecx
push 0
push dword [eax + 0x18]
call dword [fcn.0e431548]
mov edi, eax
test edi, edi
jne 0xe4866ec
push 8
call dword [fcn.0e431090]
xor eax, eax
pop edi
pop esi
leave
ret 8
mov ax, word [esi]
mov word [ebp - 6], ax
xor eax, eax
mov word [ebp - 8], ax
mov eax, dword [ebp + 8]
push esi
push edi
mov dword [ebp - 4], eax
call dword [fcn.0e431354]
test eax, eax
jne 0xe486726
xor esi, esi
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push edi
push 0
push dword [eax + 0x18]
call dword [fcn.0e431530]
mov eax, esi
jmp 0xe4866e6
push edi
lea eax, [ebp - 0x10]
push eax
call dword [fcn.0e431460]
push 0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
call dword [fcn.0e43149c]
movzx eax, word [ebp - 8]
mov dword [esi], eax
xor esi, esi
inc esi
jmp 0xe48670d

Function at 0xe4876e3
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
mov ax, word [0xe4b99f4]
mov word [ebp - 4], ax
jmp 0xe487768
movzx edx, word [ebp - 4]
mov eax, dword [0xe4de83c]
shr edx, 3
shl edx, 3
add eax, edx
cmp byte [eax + 5], 0
jne 0xe487713
cmp byte [eax + 7], 0x80
je 0xe487760
xor eax, eax
xor ecx, ecx
mov ax, word [ebp - 4]
or eax, 7
lsl ecx, eax
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0xffff
jne 0xe487760
mov eax, dword [0xe4de83c]
add eax, edx
movzx ecx, byte [eax + 7]
movzx edx, byte [eax + 4]
shl ecx, 8
or ecx, edx
movzx edx, word [eax + 2]
shl ecx, 0x10
or ecx, edx
cmp dword [ebp + 8], ecx
jne 0xe487760
movzx eax, byte [eax + 5]
movzx ecx, byte [ebp + 0xc]
xor eax, ecx
test eax, 0xfffffffe
je 0xe487777
add dword [ebp - 4], 8
mov ax, word [ebp - 4]
cmp ax, word [0xe4b99f0]
jb 0xe4876f6
xor eax, eax
leave
ret 8
mov eax, dword [ebp - 4]
or eax, 7
jmp 0xe487773