joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4115b0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x38
push ebx
xor ebx, ebx
push esi
mov esi, ebx
cmp dword [0x43a04c], ebx
jbe 0x41164e
push ebp
push edi
push 0x10
mov edi, 0x43b570
pop ebp
mov ecx, dword [0x43a050]
mov eax, 0x43a03c
mov edx, dword [0x43a03c]
cmp ecx, ebp
cmovae eax, edx
cmp byte [eax + esi], 0x2b
je 0x41162a
cmp ecx, ebp
mov eax, 0x43a03c
cmovae eax, edx
cmp byte [eax + esi], 0x2d
je 0x41162a
cmp ecx, ebp
mov eax, 0x43a03c
cmovae eax, edx
cmp byte [eax + esi], 0x2a
je 0x41162a
cmp ecx, ebp
mov eax, 0x43a03c
cmovae eax, edx
cmp byte [eax + esi], 0x2f
je 0x41162a
cmp ecx, ebp
mov eax, 0x43a03c
lea ecx, [edi - 0x18]
cmovae eax, edx
jmp 0x411639
cmp ecx, ebp
mov eax, 0x43a03c
mov ecx, edi
cmovae eax, edx
add edi, 0x30
movzx eax, byte [eax + esi]
push eax
call fcn.0040af88
inc esi
cmp esi, dword [0x43a04c]
jb 0x4115cf
pop edi
pop ebp
movaps xmm0, xmmword [str.Mb.m__mkm.__89_____8_9_m_5m_]
mov ecx, ebx
push 0x23
movups xmmword [esp + 0x1a], xmm0
pop edx
movaps xmm0, xmmword [0x430970]
movups xmmword [esp + 0x26], xmm0
mov dword [esp + 0x36], 0x2a24606d
mov byte [esp + 0x3a], dl
mov dword [esp + 0x3b], 0x6d283f22
mov byte [esp + 0x3f], bl
mov al, byte [esp + 0x16]
xor byte [esp + ecx + 0x17], al
inc ecx
cmp ecx, 0x28
jb 0x411683
mov byte [esp + 0x3f], bl
mov eax, ebx
mov byte [esp + 0xb], dl
mov dword [esp + 0xc], 0x474e40
xor byte [esp + eax + 0xc], dl
inc eax
cmp eax, 3
jae 0x4116b3
mov dl, byte [esp + 0xb]
jmp 0x4116a3
mov byte [esp + 0xf], bl
mov al, 0x1d
mov dword [esp + 0x10], 0x727d7c1d
mov ecx, ebx
mov word [esp + 0x14], 0x7b
movsx eax, al
and eax, 0x8000000f
jns 0x4116d9
dec eax
or eax, 0xfffffff0
inc eax
sub byte [esp + ecx + 0x11], al
inc ecx
cmp ecx, 4
jae 0x4116e9
mov al, byte [esp + 0x10]
jmp 0x4116ca
push ebx
push ebx
lea eax, [esp + 0x1f]
mov byte [esp + 0x1d], bl
push eax
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x21]
push eax
push ebx
push 0x1483eb77
push 1
call fcn.0040ab30
pop ecx
pop ecx
call eax
pop esi
pop ebx
add esp, 0x38
ret
Function at 0x4137b8
Capabilities:
Parse credit card information

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
xor al, al
mov ecx, dword [esi + 0x4c]
cmp ecx, 0xffffffff
je 0x413914
mov edx, 0x10000000
cmp ecx, 0x7c
je 0x413914
cmp ecx, 0x29
jne 0x41381f
cmp dword [esi + 0x10], 0
jne 0x413914
lea edi, [esi + 0x50]
test dword [edi], edx
je 0x41391c
cmp ecx, 0x5d
jne 0x413800
test dword [edi], edx
je 0x41390c
movzx eax, byte [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.0041323c
mov ecx, esi
call fcn.004154e6
mov ecx, esi
call fcn.00415526
mov al, 1
jmp 0x4137bf
lea edi, [esi + 0x50]
cmp ecx, 0x2e
jne 0x413833
push 5
lea ecx, [esi + 0x24]
call fcn.004154af
jmp 0x41380d
cmp ecx, 0x5c
jne 0x41387e
mov ecx, esi
call fcn.004154e6
test byte [edi], 0x80
je 0x413875
mov al, byte [esi + 0x48]
cmp al, 0x62
jne 0x41385e
push 4
lea ecx, [esi + 0x24]
call fcn.004154af
mov ecx, esi
call fcn.004154e6
jmp 0x41381b
cmp al, 0x42
jne 0x413875
push 4
lea ecx, [esi + 0x24]
call fcn.004154af
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
jmp 0x413855
mov ecx, esi
call fcn.00413926
jmp 0x413814
cmp ecx, 0x5b
jne 0x4138a1
mov ecx, esi
call fcn.004154e6
mov ecx, esi
call fcn.00413e6c
push 4
push 0x5d
mov ecx, esi
call fcn.00414ca9
jmp 0x413814
cmp ecx, 0x28
jne 0x4138ce
mov ecx, esi
call fcn.004154e6
mov ecx, esi
call fcn.004159f1
push 5
push 0x29
mov ecx, esi
mov bl, al
call fcn.00414ca9
test bl, bl
je 0x41381b
jmp 0x413814
cmp ecx, 0x5e
jne 0x4138da
push 2
jmp 0x41384d
cmp ecx, 0x24
jne 0x4138e6
push 3
jmp 0x41384d
cmp ecx, 0x2a
je 0x413910
cmp ecx, 0x2b
je 0x413910
cmp ecx, 0x3f
je 0x413910
cmp ecx, 0x7b
je 0x413910
cmp ecx, 0x7d
jne 0x4137f3
test dword [edi], edx
je 0x413918
jmp 0x413800
push 4
jmp 0x41391e
push 0xa
jmp 0x41391e
pop edi
pop esi
pop ebx
ret
push 6
jmp 0x41391e
push 5
mov ecx, esi
call fcn.00414c78
int3
Function at 0x417a98
Capabilities:
Parse pe header

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

Function at 0x423abe
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x43460c
push 0x434604
push str.FlsAlloc
push 0x1f
call fcn.00423929
mov esi, eax
add esp, 0x10
test esi, esi
je 0x423af2
push dword [ebp + 8]
mov ecx, esi
call dword [0x42e1a0]
call esi
jmp 0x423af8
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x423b3c
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x43461c
push 0x434614
push str.FlsGetValue
push 0x21
call fcn.00423929
mov esi, eax
add esp, 0x10
test esi, esi
je 0x423b73
push dword [ebp + 8]
mov ecx, esi
call dword [0x42e1a0]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x423b7b
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x434624
push 0x43461c
push str.FlsSetValue
push 0x22
call fcn.00423929
mov esi, eax
add esp, 0x10
test esi, esi
je 0x423bb5
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x42e1a0]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x4241b5
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x43a078]
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 0x424200
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.00424350
test al, al
jne 0x4241fa
sub edx, 2
cmp edx, edi
jne 0x4241e0
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x424222
lea eax, [edi + 2]
cmp edx, eax
je 0x424222
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.00424101
add esp, 0x10
jmp 0x42431c
push esi
lea ecx, [ebp - 0x255]
call fcn.00424350
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 0x424265
push dword [ebp - 0x25c]
jmp 0x424212
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 0x4242a2
cmp word [ebp - 0x226], 0
je 0x4242c3
cmp word [ebp - 0x226], ax
jne 0x4242a2
cmp word [ebp - 0x224], 0
je 0x4242c3
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.00424101
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x42430f
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x42427c
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x4242f7
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x42431c
push 0x423f31
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.00429c00
add esp, 0x10
jmp 0x4242ec
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.00417cff
leave
ret
Function at 0x424cb3
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 0x424d50
push ebx
push esi
call fcn.00424c7c
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.00423618
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x424cfd
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x424d4f
push edi
push eax
call fcn.004227d9
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x424d1d
call fcn.0042279f
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x424d4e
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.00423618
add esp, 0x20
test eax, eax
jne 0x424d3c
push edi
call fcn.0042279f
jmp 0x424d44
push ebx
call fcn.0042279f
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 0x4280bb
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.00422c92
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x42812a
cmp esi, dword [ebp - 4]
je 0x428125
cmp dword [ebp + 0xc], 0
je 0x428125
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x428102
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.00427c0d
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x42812c
xor eax, eax
inc eax
jmp 0x42812c
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x428191
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x43a078]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.00422c92
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.00422c92
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x428208
cmp word [ecx], dx
je 0x428208
mov eax, dword [0x434abc]
push edi
dec eax
push eax
push 0x4349a8
call fcn.00428130
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x42827b
cmp word [eax], dx
je 0x42827b
mov eax, dword [edi]
test eax, eax
je 0x42822c
cmp word [eax], dx
je 0x42822c
lea eax, [ebp - 0x10]
push eax
call fcn.00427b13
jmp 0x428235
lea eax, [ebp - 0x10]
push eax
call fcn.00427bae
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x4282a5
mov eax, dword [0x4349a4]
push dword [ebp - 0x14]
dec eax
push eax
push 0x434698
call fcn.00428130
add esp, 0xc
test al, al
je 0x4282a5
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x428270
cmp word [eax], di
je 0x428270
lea eax, [ebp - 0x10]
push eax
call fcn.00427b13
pop ecx
jmp 0x4282a7
lea eax, [ebp - 0x10]
push eax
call fcn.00427bae
jmp 0x42826d
mov eax, dword [edi]
test eax, eax
je 0x428292
cmp word [eax], dx
je 0x428292
lea eax, [ebp - 0x10]
push eax
call fcn.00427ac8
pop ecx
jmp 0x4282a5
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x428370
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.00427fb5
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x428370
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x428370
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x428370
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4282fd
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.00423cbb
test ebx, ebx
je 0x42836b
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.00423cbb
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x428370
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x428370
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.0042b205
add esp, 0x10
xor eax, eax
inc eax
jmp 0x428372
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00417cff
leave
ret
Function at 0x42d170
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x42d19d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x42d19d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x413230
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xd000]
push edi
or ebp, 0xffffffff
jmp 0x413252
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x413259
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x413248
mov eax, 1
add ebx, ebx
jne 0x41326b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x413260
jne 0x41327c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x413260
xor ecx, ecx
sub eax, 3
jb 0x413290
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x413302
mov ebp, eax
add ebx, ebx
jne 0x41329b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4132a8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4132cc
inc ecx
add ebx, ebx
jne 0x4132b8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4132ad
jne 0x4132c9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4132ad
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4132ec
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4132dd
jmp 0x41324e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4132ec
add edi, ecx
jmp 0x41324e
pop esi
mov edi, esi
mov ecx, 0x6d
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41330a
cmp byte [edi], 2
jne 0x41330a
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 0x41330f
lea edi, [esi + 0x11000]
mov eax, dword [edi]
or eax, eax
je 0x413387
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x14370]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x143ac]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41333c
mov ecx, edi
jns 0x41336b
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 + 0x143b0]
or eax, eax
je 0x413381
mov dword [ebx], eax
add ebx, 4
jmp 0x413359
call dword [esi + 0x143c0]
mov ebp, dword [esi + 0x143b4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1e7]
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 0x4133bb
sub esp, 0xffffff80
jmp 0x401aa0
Function at 0x300210e5
Capabilities:
Check for software breakpoints

Disassembly:
mov ecx, dword [esp + 4]
push 0xfffffffffffffffb
pop eax
mov dl, byte [eax + ecx]
cmp dl, 0x90
je 0x300210f9
cmp dl, 0xcc
jne 0x30021143
inc eax
cmp eax, 0xffffffff
jle 0x300210ec
mov al, byte [ecx]
cmp al, 0x8b
je 0x30021109
cmp al, 0x89
jne 0x30021143
cmp byte [ecx + 1], 0xff
jne 0x30021143
mov eax, 0x40189c
mov byte [ecx - 5], 0xe9
sub eax, ecx
mov dword [ecx - 4], eax
lea eax, [ecx + 2]
mov dword [0x436a10], eax
mov eax, 0xf9eb
push 0
push 0
mov word [ecx], ax
call dword [0x42a014]
push eax
call dword [0x42a034]
mov al, 1
ret 0xc
xor al, al
jmp 0x30021140
Function at 0x3004ef3e
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
lea eax, [ebp - 0x410]
push eax
push dword [ebp + 8]
call fcn.3004f350
lea eax, [ebp - 0x208]
push 0x208
push eax
lea eax, [ebp - 0x410]
push eax
call fcn.3005033d
cmp byte [ebp - 0x208], 0
lea eax, [ebp - 0x208]
je 0x3004efbb
mov cl, byte [eax]
cmp cl, 0x5b
je 0x3004efac
cmp cl, 0x5d
je 0x3004efac
cmp cl, 0x3d
je 0x3004efac
cmp cl, 0x25
je 0x3004efac
cmp cl, 0x3b
je 0x3004efac
cmp cl, 0x2c
je 0x3004efac
cmp cl, 0x5c
je 0x3004efac
cmp cl, 0x3a
je 0x3004efac
cmp cl, 0x20
jne 0x3004efaf
mov byte [eax], 0x58
push eax
call dword [0x401270]
cmp byte [eax], 0
jne 0x3004ef7d
lea eax, [ebp - 0x208]
push eax
call dword [0x401180]
inc eax
push eax
lea eax, [ebp - 0x208]
push dword [ebp + 0xc]
push eax
call fcn.30050147
leave
ret 8
Function at 0x40103c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410004]
jne 0x401046
repz ret
jmp fcn.004016eb

Function at 0x407625
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004036ab
and dword [ebp - 4], 0
cmp dword [0x411988], 0
mov ebx, eax
jne 0x4076d6
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x407787
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x407787
push eax
call fcn.00403639
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x411988], eax
call esi
push eax
call fcn.00403639
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x41198c], eax
call esi
push eax
call fcn.00403639
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x411990], eax
call esi
push eax
call fcn.00403639
pop ecx
mov dword [0x411998], eax
test eax, eax
je 0x4076d6
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00403639
pop ecx
mov dword [0x411994], eax
mov eax, dword [0x411994]
cmp eax, ebx
je 0x40772e
cmp dword [0x411998], ebx
je 0x40772e
push eax
call fcn.004036b4
push dword [0x411998]
mov esi, eax
call fcn.004036b4
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40772e
test edi, edi
je 0x40772e
call esi
test eax, eax
je 0x407725
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x407725
test byte [ebp - 0xc], 1
jne 0x40772e
or dword [ebp + 0x10], 0x200000
jmp 0x407767
mov eax, dword [0x41198c]
cmp eax, ebx
je 0x407767
push eax
call fcn.004036b4
pop ecx
test eax, eax
je 0x407767
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x407767
mov eax, dword [0x411990]
cmp eax, ebx
je 0x407767
push eax
call fcn.004036b4
pop ecx
test eax, eax
je 0x407767
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x411988]
call fcn.004036b4
pop ecx
test eax, eax
je 0x407787
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x407789
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x409fe0
Capabilities:
Delete file
Get common file path
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x410004]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x5c
lea eax, [ebp - 0x210]
push eax
call fcn.00401020
add esp, 8
test eax, eax
je 0x40a01b
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x210]
push edx
call fcn.00401079
add esp, 8
push 0x104
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push str.inf_
lea ecx, [ebp - 0x210]
push ecx
call fcn.0040104b
add esp, 8
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x210]
push eax
call fcn.0040104b
add esp, 8
push 0x20
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x2e
lea eax, [ebp - 0x210]
push eax
call fcn.00401000
add esp, 8
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0
je 0x40a09b
xor ecx, ecx
mov edx, dword [ebp - 0x214]
mov word [edx], cx
push str..pnf
lea eax, [ebp - 0x210]
push eax
call fcn.0040104b
add esp, 8
push 0x20
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040103c
mov esp, ebp
pop ebp
ret

Function at 0x40a0e0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 8], 0
jne 0x40a0f1
xor eax, eax
jmp 0x40a192
push 0x3a
mov eax, dword [ebp + 8]
push eax
call fcn.00401020
add esp, 8
test eax, eax
je 0x40a148
mov ecx, dword [ebp + 8]
push ecx
push 0x42a110
call fcn.00401079
add esp, 8
push 0x42a110
push 0x42a318
call fcn.00401079
add esp, 8
push 0x5c
push 0x42a318
call fcn.00401000
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x40a146
xor edx, edx
mov eax, dword [ebp - 4]
mov word [eax], dx
jmp 0x40a18d
push 0x42a318
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0x42a318
push 0x42a110
call fcn.00401079
add esp, 8
push 0x40dca4
push 0x42a110
call fcn.0040104b
add esp, 8
mov ecx, dword [ebp + 8]
push ecx
push 0x42a110
call fcn.0040104b
add esp, 8
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x40b0c0
Capabilities:
Enumerate files on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x46c
mov eax, dword [0x410004]
xor eax, ebp
mov dword [ebp - 4], eax
push str.Remove_oem_inf_files_in_windows_inf_directory_n
call fcn.0040a370
add esp, 4
push 0x104
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0
jne 0x40b110
push 0x40df74
call fcn.0040a370
add esp, 4
jmp 0x40b188
push str.infoem.inf
lea ecx, [ebp - 0x210]
push ecx
call fcn.0040104b
add esp, 8
lea edx, [ebp - 0x468]
push edx
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x46c], eax
cmp dword [ebp - 0x46c], 0xffffffff
jne 0x40b154
push str.FindFirstFile_failed__n
call fcn.0040a370
add esp, 4
lea ecx, [ebp - 0x43c]
push ecx
call fcn.0040af80
add esp, 4
lea edx, [ebp - 0x468]
push edx
mov eax, dword [ebp - 0x46c]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x40b154
mov ecx, dword [ebp - 0x46c]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040103c
mov esp, ebp
pop ebp
ret
Function at 0x4209ab
Capabilities:
Parse pe header

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

Function at 0x433160
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x43318d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x43318d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40de38
nop
nop
mov ecx, 0x67215a8e
test eax, eax
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x433024
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x4304d8
mov ecx, 0x23412d10
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x433084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
popal
nop
jmp 0x431219