joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4da207
Capabilities:
Execute anti-debugging instructions

Disassembly:
add ebp, 0x4f3f58f5
jmp 0x4da27c
mov esi, edi
mov cl, 0xc2
call 0x4da207
or byte [ebx + 0xbcec81], ch
add byte [eax], al
jmp 0x4da29b
lea ebx, [edx + edi]
btr ecx, esp
jmp 0x4da267
bsf cx, ax
jb 0x4da275
not ah
jmp 0x4d9de3
lea ebx, [edx + edi]
btr ecx, esp
mov ebx, ebp
lea edx, [ebx*4]
lea eax, [ecx + edi]
jmp 0x4da243
not ah
jmp 0x4d9de3
mov al, ah
neg cx
jmp 0x4da2a8
mov esi, esp
lea ebx, [esi + 0x35]
bsr bx, cx
jnp 0x4da261
jp 0x4da23b
jno 0x4da2ca
lea ecx, [ebp*4]
seto cl
jmp fcn.004da2d4
lea ecx, [ebp*4]
seto cl

Function at 0x4da588
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov ax, 0xd63d
jmp 0x4da593
neg eax
jne 0x4da5b7
lea eax, reloc.KERNEL32.dll_SetEndOfFile
jmp 0x4da5bd
lea eax, reloc.KERNEL32.dll_SetEndOfFile
lea esp, [esp + 4]
jmp 0x4da612
neg eax
mov edx, 0x9780ad60
mov dl, 0x6c
jmp 0x4da5f4
mov edx, 0x9780ad60
mov dl, 0x6c
jmp 0x4da5f4
dec ebp
adc ax, 0xdf44
jno 0x4da650
sub esp, 0xc
mov byte [esp + 1], bh
xor edx, esi
rdtsc
bsf dx, ax
jmp 0x4da620
add bl, dl
ror ah, 1
ja 0x4da5c3
neg eax
jmp 0x4da5e6
bsf dx, ax
pushal
mov dx, 0xe01
xchg byte [esp + 3], al
mov dword [esp + 0xd], ecx
call fcn.004da655
dec edx
in eax, 0x14
xchg dword [eax + 0x3301247c], ecx
salc
mov byte [esp + 1], bh
xor edx, esi
rdtsc
jmp 0x4da61c
sub esp, 0xc
jmp 0x4da636

Function at 0x4f24f3
Capabilities:
Encode data using xor

Disassembly:
mov byte [esp + 2], bh
lea esp, [esp + 4]
jmp 0x4f253b
dec ecx
call 0x4f2520
add dword [ebx - reloc.KERNEL32.dll_SetEndOfFile], 0x64
and al, 8
jmp 0x4f278f
xchg ebp, eax
add eax, 0x84589f6c
aaa
jb 0x4f2237
jae 0x4f2519
or eax, 0xa455329c
pop ss
jge 0x4f2534
jns 0x4f2565
jmp 0x4f25a8
add eax, 0x74ed7dea
xchg dword [ebx - 0x34], eax
pop edi
cmpsb byte [esi], byte es:[edi]
sar dword [edx], 1
mov esp, 0x74c43552
or al, 0x89
sbb dword [eax - 0x75], edi
cmp byte [esi + 0x2adfb82a], ch
popfd
int3
popal
add bl, dh
xor bh, byte [esi - 0xe]
pushal
pop es
inc edx
jl 0x4f25ab
add dh, cl
cmp dword [edx - 0x18], edi
jle 0x4f25d5
call 0x9554b9ef
cld
bsf esp, dword [esi]
mov dh, 0x24
inc ebx
mov esi, 0x3bab347b
pop esi
lodsd eax, dword [esi]
sbb byte [edx - 0x34], bl
inc edx
and eax, 0x59cc64d4
leave
test al, 0x5b
out dx, eax
mov edx, 0x7fba4f28
int3
mov edx, 0x7fba4f28
or al, 0x9f
punpckhdq mm3, qword [ecx + 0x66f06a61]
add eax, esi
dec esi
je 0x4f25dd
jge 0x4f25f6
div dword [eax]
invalid
insb byte es:[edi], dx
or eax, dword [esi]
mov bl, 0x54
rol dword [ebx + 0x26], cl
aad 0x66
retf 0xca54
pushal
mov dword [esp + 0x11], ecx
call fcn.004f27bb
dec eax
rol byte [eax + 0x27], cl
shr byte [edx + ecx*8 + 0x57], cl
invalid
lea esp, [esp + 0x18]
sub eax, 4
cmc
test ecx, ecx
jmp 0x4f2770

Function at 0x5e42b6
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov bx, word [esp + 2]
and bp, 0x361a
push esp
add esp, 4
mov dx, 0x4733
inc dl
jmp 0x5e42e0
xor dl, ch
mov byte [esp + 0x13], ch
mov word [esp + 0xf], bx
jmp 0x5e4291
mov dword [esp + 0xd], eax
mov bl, 0xc0
xchg dword [esp + 0xc], ebp
sub esp, 2
mov di, sp
mov ah, byte [esp]
jmp 0x5e42c3
Function at 0x5e472b
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov cx, word [esp + 4]
and cl, bh
rcr ecx, 1
xchg dword [esp + 2], ebx
mov byte [esp + 0x27], dh
jmp 0x5e478b
xchg dword [esp + 0x13], esi
mov cx, dx
mov esi, eax
mov ecx, 0x333b84b2
popal
cmc
jmp 0x5e4858
clc
mov cl, 0xa
mov dx, sp
xchg dword [esp], eax
bsr dx, cx
neg esi
jmp 0x5e47f2
lea esi, reloc.KERNEL32.dll_SetEndOfFile
rcl dx, cl
pop dword [esp]
pop word [esp]
cld
mov esi, ecx
jmp 0x5e47c2
push edx
mov cx, 0x4831
mov bp, 0x8e99
mov cl, 0x32
bsr si, bp
mov edi, dword [esp + 1]
jmp 0x5e483c
bswap edi
bsf bx, ax
mov bp, word [esp + 6]
neg ch
lea ebx, [ebx + ebx]
pop bx
jmp 0x5e47dd
mov ax, word [esp + 0x10]
pop word [esp + 0x13]
lea eax, [ebx*4]
jmp 0x5e4a1c
pop dx
push word [esp + 2]
mov cx, 0xcd3
sub esp, 0x14
pop dword [esp + 0x10]
jmp 0x5e4821
rdtsc
xchg byte [esp + 6], cl
add esp, 2
mov dl, dh
mov bl, 0xd0
xor esi, esi
jmp 0x5e480d
neg ebx
mov bl, 0x60
and si, 0xd8e2
mov byte [esp + 1], dh
mov ebx, dword [esp]
xor dx, 0xccb4
jmp 0x5e48df
add esp, 5
bsf si, si
stc
lea esi, [ebp*4]
xchg ecx, esi
mov word [esp], bx
jmp 0x5e4869
neg dh
bswap ecx
not ah
xchg edi, edx
mov ecx, ebp
xchg ah, bl
jmp 0x5e4895
neg ah
cmc
push word [esp + 1]
mov eax, ebp
mov byte [esp + 3], ah
jmp 0x5e4977
neg bh
lea edi, [ebx*4]
rcr ah, 1
lea esi, [ebp + 0x1f]
mov si, word [esp + 2]
mov word [esp], sp
jmp 0x5e48c9
mov word [esp + 4], di
mov bx, word [esp + 8]
mov bp, 0x5613
xchg ebp, edi
pop word [esp + 3]
mov eax, 0x5d467792
jmp 0x5e48bb
rdtsc
sub esp, 6
mov esi, dword [esp + 3]
lea edi, [esi + 0xcd]
call fcn.005e4918
xor bx, 0x3cac
mov ecx, 0xd897bb2a
rcr ecx, 0xd
add esp, 2
lea esp, [esp + 1]
add esp, 1
jmp 0x5e493e
mov edx, 0x110ae062
push word [esp + 7]
add esp, 4
xchg byte [esp + 6], bl
btr edi, esp
lea esp, [esp + 0xb]
jmp 0x5e48fc
Function at 0x5e4d57
Capabilities:
Execute anti-debugging instructions

Disassembly:
setp dh
neg dh
lea ebp, [ecx - 0xc3]
add ebx, ebp
pop di
jmp 0x5e4b3e

Function at 0x5e5017
Capabilities:
Execute anti-debugging instructions

Disassembly:
bswap eax
xchg ah, bl
pushal
bswap edi
btc ecx, ebx
mov ebx, dword [esp + 0x11]
jmp 0x5e50a5
mov ax, word [esp + 4]
mov di, 0x964d
rdtsc
xchg byte [esp], al
jmp 0x5e4ff9
rdtsc
bsf di, si
xchg ebx, esi
xchg byte [esp + 0x20], al
rdtsc
popal
jmp 0x5e507f
mov dword [esp + 0x35], eax
mov dword [esp + 0x2f], eax
btc ebp, ebx
xchg byte [esp + 0x14], cl
shr edx, 0x19
xchg si, ax
jmp 0x5e5048
rdtsc
pop edi
pop si
setno ah
pop ebx
bsr ax, bp
jmp 0x5e5593
and cl, bh
xchg ah, bl
btc ebp, edi
not ebp
inc cl
sub esp, 0x16
jmp 0x5e5069
neg ecx
mov bh, byte [esp]
xchg word [esp], cx
rcr dh, 7
mov bh, byte [esp + 1]
lea esp, [esp + 3]
jmp 0x5e51b5
pop word [esp]
not di
xchg word [esp], ax
push edx
pop edi
mov ebp, 0x3c55b89e
jmp 0x5e50dd
sub esp, 0x1a
lea esp, [esp + 0x1b]
call fcn.005e5112
call fcn.005e515d
mov edx, 0x38c9ae38
in al, dx
xchg esp, eax
adc eax, 0xfb1fec85
add al, 0xb7
sahf
jmp 0xe546fc62
popal
clc
push esp
clc
pop word [esp]
mov byte [esp], ch
jmp 0x5e5135
mov word [esp + 3], di
add esp, 0xc
pop ax
lea ecx, [ebx + edi]
cmc
push edx
jmp 0x5e50fe
pop word [esp + 9]
bswap edi
cmc
mov bx, sp
push word [esp + 5]
pop ecx
jmp 0x5e52a2
mov edi, dword [esp + 1]
mov edx, 0x16f4c7c6
mov word [esp + 0xe], bx
setae bh
add si, 0xc5d6
btc esi, edi
jmp 0x5e52dd

Function at 0x5e53bc
Capabilities:
Parse pe header

Disassembly:
call fcn.005e4019
pop word [esp + 1]
push esp
lea esp, [esp + 1]
mov dword [esp + 0x2c], esi
pushal
call fcn.005e53dc
pop dword [esp + 4]
mov dword [esp + 7], ecx
pop dword [esp + 3]
jmp 0x5e53be
jmp 0x5e5392
mov word [esp + 5], bx
mov word [esp], bx
lea esp, [esp + 1]
mov dword [esp + 0x30], edi
lea esp, [esp + 0x30]
jmp 0x5e53e2
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
jmp 0x5e5438
push eax
jmp 0x5e4014
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
mov eax, dword [eax + 8]
jmp 0x5e5421
Function at 0x4013d0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x429be1
push eax
mov eax, 0x188c
mov dword fs:[0], esp
call fcn.0040d420
mov eax, dword [0x436740]
push ebx
push ebp
xor ebx, ebx
push esi
push edi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], eax
mov ecx, 0x5db
xor eax, eax
lea edi, [esp + 0x12d]
mov byte [esp + 0x12c], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x29]
mov byte [esp + 0x28], bl
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x18b8]
lea edx, [esp + 0x12c]
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esp + 0x18b4]
push ecx
push 0x1770
push edx
push eax
mov dword [esp + 0x18b4], ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionA]
xor eax, eax
cmp byte [esp + eax + 0x12c], bl
jne 0x40146e
cmp byte [esp + eax + 0x12d], bl
je 0x401476
inc eax
cmp eax, 0x1770
jl 0x40145c
mov esi, dword [esp + 0x18ac]
lea edi, [eax + 1]
push 0xffffffffffffffff
push ebx
mov ecx, esi
mov dword [esp + 0x28], edi
call fcn.0041c7df
mov ebp, dword [esp + 0x18b0]
push 0xffffffffffffffff
push ebx
mov ecx, ebp
call fcn.0041c7df
xor eax, eax
cmp edi, ebx
mov dword [esp + 0x18], eax
jle 0x40158f
mov ecx, dword [esp + 0x14]
mov al, byte [esp + eax + 0x12c]
mov byte [esp + ecx + 0x28], al
inc ecx
cmp al, bl
mov dword [esp + 0x14], ecx
jne 0x40157a
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x14]
call fcn.0041e79d
mov edx, dword [esp + 0x10]
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x28]
rep stosd dword es:[edi], eax
mov eax, dword [edx - 8]
mov dword [esp + 0x14], ebx
cmp eax, ebx
je 0x40157a
push 0x4360c0
lea ecx, [esp + 0x14]
call fcn.0041c055
push eax
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x18]
call fcn.0041bfbb
mov ecx, dword [esi + 8]
push eax
push ecx
mov ecx, esi
mov byte [esp + 0x18ac], 1
call fcn.0041c928
lea ecx, [esp + 0x1c]
mov byte [esp + 0x18a4], bl
call fcn.0041e614
push 0x4360c0
lea ecx, [esp + 0x14]
call fcn.0041c055
inc eax
lea ecx, [esp + 0x24]
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.0041bf02
mov ecx, dword [ebp + 8]
push eax
push ecx
mov ecx, ebp
mov byte [esp + 0x18ac], 2
call fcn.0041c928
lea ecx, [esp + 0x24]
mov byte [esp + 0x18a4], bl
call fcn.0041e614
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
inc eax
cmp eax, ecx
mov dword [esp + 0x18], eax
jl 0x4014ad
mov esi, dword [esi + 8]
lea ecx, [esp + 0x10]
mov dword [esp + 0x18a4], 0xffffffff
call fcn.0041e614
mov ecx, dword [esp + 0x189c]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1898
ret
Function at 0x401930
Capabilities:
Access peb ldr_data
Create process on windows
Get common file path
Self delete
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x429d10
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push esi
mov esi, dword [esp + 0x28]
push pe_nt_image_headers32
push pe_nt_image_headers32
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], 0
call fcn.0041ea1d
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
push 0xffffffffffffffff
lea ecx, [esp + 0x2c]
call fcn.0041ea6c
mov eax, dword [0x436740]
mov dword [esp + 4], eax
push pe_nt_image_headers32
lea ecx, [esp + 8]
mov byte [esp + 0x24], 1
call fcn.0041ea1d
push eax
push pe_nt_image_headers32
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push 0xffffffffffffffff
lea ecx, [esp + 8]
call fcn.0041ea6c
lea ecx, [esp + 4]
push str.newyx.bat
lea edx, [esp + 0xc]
push ecx
push edx
call fcn.0041e8a9
mov eax, dword [eax]
push 0x436130
push eax
call fcn.0040d5cd
add esp, 8
lea ecx, [esp + 8]
mov esi, eax
call fcn.0041e614
test esi, esi
je 0x401b20
push esi
push str._echo_off_n
call fcn.0040d54e
push esi
push str.ping__n_2_127.0.0.1_nul_n
call fcn.0040d54e
add esp, 0x10
lea eax, [esp + 0x28]
lea ecx, [esp + 0xc]
push eax
push str.del__f__q
push ecx
call fcn.0041e91d
push str.newyxmodule.exe_n
lea edx, [esp + 0xc]
push eax
push edx
mov byte [esp + 0x2c], 2
call fcn.0041e8a9
mov eax, dword [eax]
push esi
push eax
call fcn.0040d54e
add esp, 8
lea ecx, [esp + 8]
call fcn.0041e614
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], 1
call fcn.0041e614
lea eax, [esp + 0x28]
lea ecx, [esp + 0x14]
push eax
push str.move
push ecx
call fcn.0041e91d
push str.newyxupdate.exe
lea edx, [esp + 0x14]
push eax
push edx
mov byte [esp + 0x2c], 3
call fcn.0041e8a9
lea ecx, [esp + 0x28]
lea edx, [esp + 8]
push ecx
push eax
push edx
mov byte [esp + 0x2c], 4
call fcn.0041e843
push str.newyxmodule.exe_n
push eax
lea eax, [esp + 0x14]
mov byte [esp + 0x28], 5
push eax
call fcn.0041e8a9
mov eax, dword [eax]
push esi
push eax
call fcn.0040d54e
add esp, 8
lea ecx, [esp + 0xc]
call fcn.0041e614
lea ecx, [esp + 8]
mov byte [esp + 0x20], 4
call fcn.0041e614
lea ecx, [esp + 0x10]
mov byte [esp + 0x20], 3
call fcn.0041e614
lea ecx, [esp + 0x14]
mov byte [esp + 0x20], 1
call fcn.0041e614
push esi
push str.del__0
call fcn.0040d54e
push esi
call fcn.0040d4d1
add esp, 0xc
push str.newyx.bat
lea ecx, [esp + 8]
lea edx, [esp + 0x18]
push ecx
push edx
call fcn.0041e8a9
mov eax, dword [eax]
push 0
push 0
push 0
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea ecx, [esp + 0x14]
call fcn.0041e614
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x4032d0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x429e50
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x14]
push esi
test eax, eax
mov esi, ecx
je 0x4033e5
mov dword [esi + 0x84], 0xffffffff
mov eax, dword [0x436740]
push edi
mov dword [esp + 0x1c], eax
push pe_nt_image_headers32
push pe_nt_image_headers32
lea ecx, [esp + 0x24]
mov dword [esp + 0x1c], 0
call fcn.0041ea1d
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0xffffffffffffffff
lea ecx, [esp + 0x20]
call fcn.0041ea6c
push 0x5c
lea ecx, [esp + 0x20]
call fcn.0041c033
inc eax
lea ecx, [esp + 8]
push eax
push ecx
lea ecx, [esp + 0x24]
call fcn.0041bfbb
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x18], 1
call fcn.0041e74d
lea ecx, [esp + 8]
mov byte [esp + 0x14], 0
call fcn.0041e614
mov eax, dword [esi + 0x98]
lea edi, [esi + 0x98]
push eax
mov ecx, esi
call fcn.004039f0
test eax, eax
je 0x4033a0
push 0x24
push 0x436460
push 0x436440
mov ecx, esi
call fcn.00420b97
cmp eax, 6
jne 0x4033d3
push ebp
mov ebp, dword [esi + 0x5c]
lea edx, [esp + 0x20]
push edi
lea eax, [esp + 0x10]
push edx
push eax
call fcn.0041e843
mov ecx, dword [esp + 0x20]
mov eax, dword [eax]
push 5
push ecx
push ebp
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea ecx, [esp + 0xc]
call fcn.0041e614
pop ebp
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], 0xffffffff
call fcn.0041e614
pop edi
push 0
mov ecx, esi
call fcn.00421db1
push esi
call fcn.00401d40
mov ecx, dword [esp + 8]
mov dword [esi + 0x88], 1
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x425272
Capabilities:
Create http request

Disassembly:
mov eax, 0x42a518
call fcn.0040da18
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 0xc]
and dword [ebp - 4], 0
and dword [esi + 0x10], 0
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
test eax, eax
mov dword [esi], vtable.CInternetSession.0
jne 0x4252aa
call fcn.00426a66
mov eax, dword [eax + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetOpenA]
test eax, eax
mov dword [esi + 8], eax
jne 0x4252cf
push eax
push dword [esi + 4]
call fcn.00425ef1
jmp 0x4252db
push esi
push eax
mov ecx, 0x43c338
call fcn.004252ec
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 0x18

Function at 0x42559d
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags

Disassembly:
mov eax, 0x42a577
call fcn.0040da18
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.00422e66
mov eax, dword [ebp + 0x18]
lea ebx, [esi + 0x24]
mov dword [esi + 0x1c], eax
mov eax, dword [0x436740]
xor edi, edi
mov dword [ebx], eax
mov dword [ebp - 4], edi
push dword [ebp + 0x10]
lea ecx, [esi + 0xc]
mov byte [ebp - 4], 1
mov dword [esi], vtable.CInternetFile.0
call fcn.0041e79d
push dword [ebp + 0x14]
mov ecx, ebx
call fcn.0041e79d
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x14], eax
mov eax, dword [ebp + 0x1c]
mov dword [esi + 0x18], eax
mov dword [esi + 0x3c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x40], edi
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x18

Function at 0x4272b6
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 0x4272e4
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x427302
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0042721c
jmp 0x427302
mov eax, dword [esi + 0x14]
test eax, eax
je 0x427302
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0042721c
test edi, edi
mov eax, edi
jne 0x4272ec
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x401ee2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x411280]
jne 0x401eec
repz ret
jmp fcn.00404399

Function at 0x474660
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x4e000]
push edi
or ebp, 0xffffffff
jmp 0x474682
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x474689
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x474678
mov eax, 1
add ebx, ebx
jne 0x47469b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4746ac
jne 0x4746cb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4746cb
dec eax
add ebx, ebx
jne 0x4746b8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x474690
add ebx, ebx
jne 0x4746c7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x47471d
xor ecx, ecx
sub eax, 3
jb 0x4746e3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x474752
sar eax, 1
mov ebp, eax
jmp 0x4746ee
add ebx, ebx
jne 0x4746ee
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4746bc
inc ecx
add ebx, ebx
jne 0x4746fc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4746bc
add ebx, ebx
jne 0x474709
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4746fe
jne 0x47471a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4746fe
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x47473c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x47472e
jmp 0x47467e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x47473c
add edi, ecx
jmp 0x47467e
pop esi
mov edi, esi
mov ecx, 0x1585
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x47475a
cmp byte [edi], 0xa
jne 0x47475a
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 0x47475f
lea edi, [esi + 0x71000]
mov eax, dword [edi]
or eax, eax
je 0x4747d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x78114]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x781dc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x47478c
mov ecx, edi
jns 0x4747bb
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x781e0]
or eax, eax
je 0x4747d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4747a9
call dword [esi + 0x781f0]
mov ebp, dword [esi + 0x781e4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x227]
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 0x47480b
sub esp, 0xffffff80
jmp 0x42e530
Function at 0x4029a8
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebx
push esi
add esp, 0xfffffdf0
mov esi, edx
mov ebx, eax
test bl, bl
je 0x4029e5
xor eax, eax
mov al, bl
add eax, 0x41
dec eax
mov byte [esp], al
mov byte [esp + 1], 0x3a
mov byte [esp + 2], 0
lea eax, [esp + 0x109]
push eax
push 0x105
call sub.kernel32.dll_GetCurrentDirectoryA
push esp
call sub.kernel32.dll_SetCurrentDirectoryA
lea eax, [esp + 4]
push eax
push 0x105
call sub.kernel32.dll_GetCurrentDirectoryA
test bl, bl
je 0x402a05
lea eax, [esp + 0x109]
push eax
call sub.kernel32.dll_SetCurrentDirectoryA
mov eax, esi
lea edx, [esp + 4]
mov ecx, 0x105
call fcn.00404918
add esp, 0x210
pop esi
pop ebx
ret

Function at 0x402b6c
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.004046a8
test esi, esi
jne 0x402ba2
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.00404798
jmp 0x402bc0
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00402a80
mov edi, eax
test esi, esi
je 0x402bc0
cmp dword [ebx], 0
je 0x402bc0
dec esi
jmp 0x402ba9
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x403744
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x4b4020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x4037dc
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4037bc
xor eax, eax
push ebp
push 0x4037b5
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x4037f8
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4037bc
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x4b4020]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x4b4020], ax
mov esp, ebp
pop ebp
ret

Function at 0x4044a8
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4b704c], 0
je 0x404509
cmp word [0x4b7220], 0xd7b2
jne 0x4044d1
cmp dword [0x4b7228], 0
jbe 0x4044d1
mov eax, 0x4b721c
call dword [0x4b7238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x4b4070
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x404530
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4b4030], 0
jne 0x404525
push 0
push 0x4b4068
push 0x4b4070
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x40465c
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, 8
call fcn.00402794
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x4b704d], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x404624
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc