joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ec460
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x54c178
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push esi
push edi
mov eax, dword [0x5b0c20]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0x30]
call fcn.004e38a0
mov eax, dword [esi + 8]
mov dword [esp + 0x10], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x14], eax
test eax, eax
je 0x4ec544
mov esi, dword [esp + 0x78]
or edi, 0xffffffff
push 0x10
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x18]
push edx
push eax
mov eax, dword [esp + 0x20]
push eax
lea ecx, [esp + 0x44]
call fcn.004e3a30
test eax, eax
jne 0x4ec549
lea ecx, [esp + 0x48]
call fcn.004e31e0
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x78]
push ecx
mov ecx, dword [esp + 0x3c]
lea edx, [esp + 0x10]
push edx
push eax
push ecx
lea ecx, [esp + 0x58]
mov dword [esp + 0x80], 0
call fcn.004e30e0
mov eax, dword [esp + 0x60]
mov ecx, esi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4ec523
test dl, dl
je 0x4ec51f
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4ec523
add eax, 2
add ecx, 2
test dl, dl
jne 0x4ec503
xor eax, eax
jmp 0x4ec527
sbb eax, eax
sbb eax, edi
test eax, eax
je 0x4ec55d
lea ecx, [esp + 0x48]
mov dword [esp + 0x70], edi
call fcn.004e3200
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x4ec4ad
mov eax, 0x11
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x68
ret 0x10
lea ecx, [esp + 0x18]
call fcn.004e38a0
mov ecx, dword [esp + 0x78]
push edi
lea edx, [esp + 0x7c]
push edx
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x14]
push eax
push ecx
push edx
lea ecx, [esp + 0x2c]
call fcn.004e3a30
mov esi, eax
test esi, esi
je 0x4ec5ad
lea ecx, [esp + 0x48]
mov dword [esp + 0x70], edi
call fcn.004e3200
mov eax, esi
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x68
ret 0x10
cmp byte [esp + 0x18], 1
jne 0x4ec5e9
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x4ec5c5
mov ecx, dword [esp + 0x20]
movzx edx, byte [ecx]
mov dword [eax], edx
mov edx, dword [esp + 0x78]
push edi
lea eax, [esp + 0x7c]
push eax
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x14]
push ecx
push edx
push eax
lea ecx, [esp + 0x2c]
call fcn.004e3a30
mov esi, eax
test esi, esi
jne 0x4ec58a
cmp byte [esp + 0x18], 4
mov dword [esp + 0x70], edi
je 0x4ec616
lea ecx, [esp + 0x48]
call fcn.004e3200
mov eax, 0xc
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x68
ret 0x10
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x84]
mov dword [ecx], edx
mov ecx, dword [esp + 0x1c]
mov dword [eax], ecx
lea ecx, [esp + 0x48]
call fcn.004e3200
xor eax, eax
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x68
ret 0x10
Function at 0x4ec650
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x48
test eax, eax
je 0x4ec661
mov dword [eax], 0
push ebx
push ebp
mov ebp, dword [esp + 0x58]
push esi
push edi
test ebp, ebp
je 0x4ec674
mov dword [ebp], 0
mov eax, dword [esp + 0x64]
test eax, eax
je 0x4ec682
mov dword [eax], 0
mov ebx, dword [esp + 0x68]
test ebx, ebx
je 0x4ec690
mov dword [ebx], 0
mov edi, dword [esp + 0x6c]
test edi, edi
je 0x4ec69e
mov dword [edi], 0
mov esi, dword [esp + 0x70]
test esi, esi
je 0x4ec6ac
mov dword [esi], 0
lea eax, [esp + 0x68]
push eax
lea edx, [esp + 0x70]
push edx
lea eax, [esp + 0x78]
push eax
push str.2.5.29.35
call fcn.004ec460
test eax, eax
jne 0x4ec844
lea ecx, [esp + 0x40]
call fcn.004e38a0
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x6c]
push 0x30
push 0
push 0
push ecx
push edx
lea ecx, [esp + 0x54]
call fcn.004e3a30
test eax, eax
jne 0x4ec844
mov eax, dword [esp + 0x48]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x68], eax
test eax, eax
je 0x4ec842
nop
lea ecx, [esp + 0x10]
call fcn.004e38a0
mov eax, dword [esp + 0x68]
push 0xffffffffffffffff
lea ecx, [esp + 0x6c]
push ecx
mov ecx, dword [esp + 0x74]
lea edx, [esp + 0x74]
push edx
push eax
push ecx
lea ecx, [esp + 0x24]
call fcn.004e3a30
test eax, eax
jne 0x4ec844
lea ecx, [esp + 0x10]
call fcn.004e37b0
test al, al
je 0x4ec807
lea ecx, [esp + 0x10]
call fcn.004e37e0
sub eax, 0
je 0x4ec816
sub eax, 1
je 0x4ec7a2
sub eax, 1
jne 0x4ec807
test esi, esi
je 0x4ec832
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
xor ecx, ecx
dec eax
test eax, eax
jl 0x4ec832
movzx ebp, byte [eax + edx]
shl ebp, cl
add ecx, 8
dec eax
add dword [esi], ebp
cmp ecx, 0x20
jl 0x4ec784
jmp 0x4ec832
lea ecx, [esp + 0x28]
call fcn.004e38a0
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
push 0xffffffffffffffff
push 0
push 0
push edx
push eax
lea ecx, [esp + 0x3c]
call fcn.004e3a30
test eax, eax
jne 0x4ec844
lea ecx, [esp + 0x28]
call fcn.004e37b0
test al, al
je 0x4ec807
mov ebp, dword [esp + 0x64]
test ebp, ebp
je 0x4ec7e9
lea ecx, [esp + 0x28]
call fcn.004e37e0
mov dword [ebp], eax
test ebx, ebx
je 0x4ec7f3
mov ecx, dword [esp + 0x30]
mov dword [ebx], ecx
test edi, edi
je 0x4ec7fd
mov edx, dword [esp + 0x2c]
mov dword [edi], edx
mov eax, dword [esp + 0x14]
cmp eax, dword [esp + 0x38]
je 0x4ec832
pop edi
pop esi
pop ebp
mov eax, 8
pop ebx
add esp, 0x48
ret 0x18
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
push ebp
push ecx
push edx
push eax
call fcn.004ec410
add esp, 0x10
test eax, eax
jne 0x4ec844
cmp dword [esp + 0x68], 0
je 0x4ec842
mov ebp, dword [esp + 0x60]
jmp 0x4ec710
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x48
ret 0x18

Function at 0x4f3680
Capabilities:
Encode data using xor

Disassembly:
xor ecx, ecx
test esi, esi
jle 0x4f36af
push ebx
push edi
mov eax, dword [edx + ecx*4]
rol eax, 0x10
mov edi, eax
shr edi, 8
mov ebx, eax
shl ebx, 8
xor edi, ebx
and edi, 0xff00ff
shl eax, 8
xor edi, eax
mov dword [edx + ecx*4], edi
inc ecx
cmp ecx, esi
jl 0x4f3688
pop edi
pop ebx
ret
Function at 0x4f36b0
Capabilities:
Hash data using sha256

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
push 0x40
mov dword [eax], 0x6a09e667
mov dword [eax + 4], 0xbb67ae85
mov dword [eax + 8], 0x3c6ef372
mov dword [eax + 0xc], 0xa54ff53a
mov dword [eax + 0x10], 0x510e527f
mov dword [eax + 0x14], 0x9b05688c
mov dword [eax + 0x18], 0x1f83d9ab
mov dword [eax + 0x1c], 0x5be0cd19
mov dword [eax + 0x24], ecx
mov dword [eax + 0x20], ecx
push ecx
add eax, 0x28
push eax
call fcn.00526520
add esp, 0xc
xor eax, eax
ret
Function at 0x4fa610
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0x14]
push ebp
mov ebp, dword [esp + 0x10]
push esi
push edi
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x10], 0x20
lea esp, [esp]
mov ecx, dword [ebx]
mov esi, dword [ebp]
add ecx, esi
mov edx, ecx
shr edx, 0x10
mov eax, edx
shr eax, 8
movzx eax, al
movzx ax, byte [eax + 0x5a85c8]
movzx edx, dl
movzx edx, byte [edx + 0x5a84c8]
shl ax, 8
movzx eax, ax
or eax, edx
mov edx, ecx
shr edx, 8
movzx edx, dl
movzx dx, byte [edx + 0x5a83c8]
shl dx, 8
shl eax, 0x10
movzx edx, dx
or eax, edx
movzx ecx, cl
movzx edx, byte [ecx + 0x5a82c8]
or eax, edx
rol eax, 0xb
xor eax, dword [edi]
add ebx, 4
sub dword [esp + 0x10], 1
mov dword [edi], esi
mov dword [ebp], eax
jne 0x4fa630
mov ecx, dword [edi]
mov dword [ebp], ecx
mov dword [edi], eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x4fd050
Capabilities:
Encode data using xor
Encrypt data using blowfish
Encrypt data using rc4 prga

Disassembly:
sub esp, 8
push ebx
mov ebx, dword [esp + 0x14]
xor eax, eax
push edi
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
cmp ebx, eax
je 0x4fd163
mov edi, dword [esp + 0x1c]
cmp edi, eax
je 0x4fd163
mov ecx, 0x5a8910
mov eax, edi
sub ecx, edi
mov edx, 0x12
push esi
mov esi, dword [ecx + eax]
mov dword [eax], esi
add eax, 4
sub edx, 1
jne 0x4fd086
mov eax, 0x5a8958
lea ecx, [edi + 0x48]
lea esi, [edx + 4]
push ebp
nop
mov edx, 0x100
mov ebp, dword [eax]
mov dword [ecx], ebp
add eax, 4
add ecx, 4
sub edx, 1
jne 0x4fd0a5
sub esi, 1
jne 0x4fd0a0
mov eax, dword [esp + 0x1c]
cdq
and edx, 7
add eax, edx
xor ecx, ecx
mov esi, eax
sar esi, 3
lea ebp, [ecx + 0x12]
lea ecx, [ecx]
movzx ecx, cx
movzx eax, byte [ecx + ebx]
mov dword [esp + 0x20], 0
mov byte [esp + 0x23], al
lea eax, [ecx + 1]
cdq
idiv esi
lea eax, [ecx + 2]
add edi, 4
movzx edx, byte [edx + ebx]
mov byte [esp + 0x22], dl
cdq
idiv esi
movzx eax, byte [edx + ebx]
mov byte [esp + 0x21], al
lea eax, [ecx + 3]
cdq
idiv esi
movzx edx, byte [edx + ebx]
mov byte [esp + 0x20], dl
mov eax, dword [esp + 0x20]
xor dword [edi - 4], eax
lea eax, [ecx + 4]
cdq
idiv esi
sub ebp, 1
movzx ecx, dx
jne 0x4fd0d0
mov ebx, dword [esp + 0x24]
mov esi, ebx
mov edi, 0x209
pop ebp
push ebx
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x14]
push edx
call fcn.004fc850
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [esi], eax
mov dword [esi + 4], ecx
add esp, 0xc
add esi, 8
sub edi, 1
jne 0x4fd131
pop esi
lea eax, [edi + 1]
pop edi
pop ebx
add esp, 8
ret
pop edi
xor eax, eax
pop ebx
add esp, 8
ret
Function at 0x501780
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
lea eax, [ebp - 4]
push esi
xor esi, esi
push eax
push 0x20019
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x5017d8
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x104
push eax
push dword [ebp + 8]
push esi
push esi
push 0x58946c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x5017cb
push 1
pop esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x5017da
xor eax, eax
pop esi
leave
ret 4

Function at 0x5076ee
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x507735
call fcn.0050bde7
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x507735
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x507751
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.00507266
mov esi, eax
test edi, edi
je 0x50774f
test ebx, ebx
je 0x50774f
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x5083b4
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x54ca35
call fcn.0052d799
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x5083d9
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x50841f
lea ecx, [ebp - 0x10]
call fcn.00404b40
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0050fdca
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401d30
mov eax, esi
call fcn.0052d871
ret 8

Function at 0x508e30
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
test ebx, 0xffff0000
jne 0x508e54
cmp dword [edi + 0x54], 0
jne 0x508e54
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.0050bde7
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.00508df1
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x50c541
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x274
mov eax, dword [0x5b0c20]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0x800
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x234], eax
mov esi, ecx
lea eax, [ebp - 0xc]
jne 0x50c5d9
push 0x58adec
push 4
push eax
call fcn.005267e8
push eax
call fcn.00401bd0
add esp, 0x10
push ebx
push edi
call fcn.0052aff4
mov edi, dword [eax]
call fcn.0052aff4
xor ebx, ebx
mov dword [eax], ebx
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x234]
lea eax, [ebp - 0x230]
push esi
push 0x111
mov esi, 0x112
push esi
push eax
call fcn.00526026
add esp, 0x18
mov dword [ebp - 0x234], eax
call fcn.0052aff4
cmp dword [eax], ebx
je 0x50c5f0
call fcn.0052aff4
push dword [eax]
call fcn.005018d9
pop ecx
jmp 0x50c5f7
push 4
push eax
push 3
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x50c584
jmp 0x50c67e
call fcn.0052aff4
mov dword [eax], edi
cmp dword [ebp - 0x234], 0xffffffff
je 0x50c67a
cmp dword [ebp - 0x234], esi
jae 0x50c67a
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push 0x3c
mov esi, eax
lea eax, [ebp - 0x270]
push ebx
push eax
mov dword [ebp - 0x274], 0x40
call fcn.00526520
add esp, 0xc
push 0x58a9e0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp eax, ebx
je 0x50c669
push str.FindActCtxSectionStringW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x50c669
lea ecx, [ebp - 0x274]
push ecx
push esi
push 2
push ebx
push ebx
call eax
test eax, eax
je 0x50c669
push ebx
push ebx
push esi
jmp 0x50c672
push ebx
push ebx
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
jmp 0x50c67c
xor eax, eax
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00524d83
leave
ret

Function at 0x50e9b4
Capabilities:
Get file attributes

Disassembly:
mov edi, edi
push esi
mov esi, ecx
push dword [esi + 0x24]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push 1
mov ecx, esi
test al, 1
je 0x50e9d8
mov eax, dword [esi]
push 0
call dword [eax + 0x98]
test eax, eax
jne 0x50e9e6
pop esi
ret
mov eax, dword [esi + 0x24]
mov edx, dword [esi]
push eax
call dword [edx + 0x98]
jmp 0x50e9d2
xor eax, eax
inc eax
pop esi
ret

Function at 0x51c70c
Capabilities:
Query or enumerate registry value

Disassembly:
push 0
mov eax, 0x54d624
call fcn.0052d799
push dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
call fcn.00405d30
and dword [ebp - 4], 0
cmp dword [ebp + 8], 0x80000000
jne 0x51c76e
call fcn.0050b6c1
cmp eax, 1
jne 0x51c76e
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push 0x58b06c
push eax
call fcn.0050d7f6
add esp, 0xc
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.00404f00
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00401d30
mov dword [ebp + 8], closesocket
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401d30
mov eax, esi
call fcn.0052d871
ret 0x10
Function at 0x51c797
Capabilities:
Set registry value

Disassembly:
push 0
mov eax, 0x54d624
call fcn.0052d799
push dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
call fcn.00405d30
and dword [ebp - 4], 0
cmp dword [ebp + 8], 0x80000000
jne 0x51c7f9
call fcn.0050b6c1
cmp eax, 1
jne 0x51c7f9
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push 0x58b06c
push eax
call fcn.0050d7f6
add esp, 0xc
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.00404f00
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00401d30
mov dword [ebp + 8], closesocket
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueW]
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401d30
mov eax, esi
call fcn.0052d871
ret 0x14

Function at 0x521d8a
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x5b0c20]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x105
push esi
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x521dbf
xor eax, eax
jmp 0x521e12
lea eax, [ebp - 0x210]
push eax
call fcn.0052d77f
cmp word [ebp + eax*2 - 0x212], 0x5c
pop ecx
je 0x521df0
push 0x554368
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.00527a99
add esp, 0xc
test eax, eax
jne 0x521dbb
push edi
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.00527a99
add esp, 0xc
test eax, eax
jne 0x521dbb
lea eax, [ebp - 0x210]
push eax
call fcn.0051f380
pop ecx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00524d83
leave
ret

Function at 0x524d83
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x5b0c20]
jne 0x524d8d
repz ret
jmp fcn.005323a7

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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x526078
call fcn.0052b007
mov dword [eax], esi
call fcn.0052aff4
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.005295af
add esp, 0x14
push 0x16
pop eax
jmp 0x5260cd
test dword [ebp + 0xc], 0xfffffff9
jne 0x526054
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x5260a5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0052b01a
pop ecx
call fcn.0052aff4
mov eax, dword [eax]
jmp 0x5260cd
test al, 0x10
jne 0x5260cb
test al, 1
je 0x5260cb
test byte [ebp + 0xc], 2
je 0x5260cb
call fcn.0052b007
mov dword [eax], 5
call fcn.0052aff4
mov dword [eax], 0xd
jmp 0x52609c
xor eax, eax
pop esi
pop ebp
ret
Function at 0x526d89
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x526dba
call fcn.0052b007
mov dword [eax], esi
call fcn.0052aff4
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.005295af
add esp, 0x14
push 0x16
pop eax
jmp 0x526e0f
test dword [ebp + 0xc], 0xfffffff9
jne 0x526d96
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x526de7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0052b01a
pop ecx
call fcn.0052aff4
mov eax, dword [eax]
jmp 0x526e0f
test al, 0x10
jne 0x526e0d
test al, 1
je 0x526e0d
test byte [ebp + 0xc], 2
je 0x526e0d
call fcn.0052b007
mov dword [eax], 5
call fcn.0052aff4
mov dword [eax], 0xd
jmp 0x526dde
xor eax, eax
pop esi
pop ebp
ret
Function at 0x53f5c2
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.005301a0
and dword [ebp - 4], 0
cmp dword [0x603fb0], 0
mov ebx, eax
jne 0x53f673
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x53f724
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x58ffd0
push edi
call esi
test eax, eax
je 0x53f724
push eax
call fcn.0053012e
mov dword [esp], 0x58ffc0
push edi
mov dword [0x603fb0], eax
call esi
push eax
call fcn.0053012e
mov dword [esp], 0x58ffac
push edi
mov dword [0x603fb4], eax
call esi
push eax
call fcn.0053012e
mov dword [esp], 0x58ff90
push edi
mov dword [0x603fb8], eax
call esi
push eax
call fcn.0053012e
pop ecx
mov dword [0x603fc0], eax
test eax, eax
je 0x53f673
push 0x58ff78
push edi
call esi
push eax
call fcn.0053012e
pop ecx
mov dword [0x603fbc], eax
mov eax, dword [0x603fbc]
cmp eax, ebx
je 0x53f6cb
cmp dword [0x603fc0], ebx
je 0x53f6cb
push eax
call fcn.005301a9
push dword [0x603fc0]
mov esi, eax
call fcn.005301a9
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x53f6cb
test edi, edi
je 0x53f6cb
call esi
test eax, eax
je 0x53f6c2
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x53f6c2
test byte [ebp - 0xc], 1
jne 0x53f6cb
or dword [ebp + 0x10], 0x200000
jmp 0x53f704
mov eax, dword [0x603fb4]
cmp eax, ebx
je 0x53f704
push eax
call fcn.005301a9
pop ecx
test eax, eax
je 0x53f704
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x53f704
mov eax, dword [0x603fb8]
cmp eax, ebx
je 0x53f704
push eax
call fcn.005301a9
pop ecx
test eax, eax
je 0x53f704
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x603fb0]
call fcn.005301a9
pop ecx
test eax, eax
je 0x53f724
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x53f726
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x53f864
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.005301a0
and dword [ebp - 4], 0
cmp dword [0x603fc4], 0
mov ebx, eax
jne 0x53f915
push 0x57bda4
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x53f9c6
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x590010
push edi
call esi
test eax, eax
je 0x53f9c6
push eax
call fcn.0053012e
mov dword [esp], 0x58ffc0
push edi
mov dword [0x603fc4], eax
call esi
push eax
call fcn.0053012e
mov dword [esp], 0x58ffac
push edi
mov dword [0x603fc8], eax
call esi
push eax
call fcn.0053012e
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x603fcc], eax
call esi
push eax
call fcn.0053012e
pop ecx
mov dword [0x603fd4], eax
test eax, eax
je 0x53f915
push 0x58ff78
push edi
call esi
push eax
call fcn.0053012e
pop ecx
mov dword [0x603fd0], eax
mov eax, dword [0x603fd0]
cmp eax, ebx
je 0x53f96d
cmp dword [0x603fd4], ebx
je 0x53f96d
push eax
call fcn.005301a9
push dword [0x603fd4]
mov esi, eax
call fcn.005301a9
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x53f96d
test edi, edi
je 0x53f96d
call esi
test eax, eax
je 0x53f964
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x53f964
test byte [ebp - 0xc], 1
jne 0x53f96d
or dword [ebp + 0x10], 0x200000
jmp 0x53f9a6
mov eax, dword [0x603fc8]
cmp eax, ebx
je 0x53f9a6
push eax
call fcn.005301a9
pop ecx
test eax, eax
je 0x53f9a6
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x53f9a6
mov eax, dword [0x603fcc]
cmp eax, ebx
je 0x53f9a6
push eax
call fcn.005301a9
pop ecx
test eax, eax
je 0x53f9a6
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x603fc4]
call fcn.005301a9
pop ecx
test eax, eax
je 0x53f9c6
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x53f9c8
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x430004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..text
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
je 0x430072
nop
nop
nop
nop
mov ebx, 0x408ecc
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x53875242
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x430060
mov eax, section..data
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4300d2
nop
mov ebx, 0x42e1d0
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x1f095dad
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219