joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401f10
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x59df20]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
lea eax, [ebp - 0x34]
push eax
lea edx, [ebp - 0x14]
xor ecx, ecx
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x14], 0x4e52454b
mov dword [ebp - 0x10], 0x32334c45
mov dword [ebp - 0xc], 0x6c6c642e
mov byte [ebp - 8], 0
mov dword [ebp - 0x34], 0x61427349
mov dword [ebp - 0x30], 0x61655264
mov dword [ebp - 0x2c], 0x72745064
mov byte [ebp - 0x28], 0
call fcn.004019e0
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x24]
push eax
lea edx, [ebp - 0x14]
xor ecx, ecx
mov dword [ebp - 0x24], 0x64616f4c
mov dword [ebp - 0x20], 0x7262694c
mov dword [ebp - 0x1c], 0x41797261
mov byte [ebp - 0x18], 0
call fcn.004019e0
mov ebx, dword [edi]
mov esi, dword [edi + 4]
add esp, 8
cmp dword [ebx + 0x84], 0
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x38], esi
jbe 0x402096
mov ebx, dword [ebx + 0x80]
add ebx, esi
push 0x14
push ebx
mov dword [ebp - 0x44], ebx
call dword [ebp - 0x3c]
test eax, eax
jne 0x402096
jmp 0x401fd0
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x402096
add eax, esi
push eax
call dword [ebp - 0x48]
mov esi, eax
mov dword [ebp - 0x40], esi
cmp esi, 0xffffffff
je 0x402083
mov ecx, dword [edi + 0xc]
lea edx, [ecx*4 + 4]
mov ecx, dword [edi + 8]
call fcn.00401a90
mov dword [edi + 8], eax
test eax, eax
je 0x402083
mov ecx, dword [edi + 0xc]
mov dword [eax + ecx*4], esi
inc dword [edi + 0xc]
mov eax, dword [ebx]
mov ecx, dword [ebp - 0x38]
test eax, eax
je 0x402024
mov ebx, dword [ebx + 0x10]
lea esi, [eax + ecx]
add ebx, ecx
jmp 0x40202b
mov esi, dword [ebx + 0x10]
add esi, ecx
mov ebx, esi
mov eax, dword [esi]
test eax, eax
je 0x402068
sub ebx, esi
xor edx, edx
lea edi, [ebx + esi]
test eax, eax
jns 0x402041
movzx eax, ax
jmp 0x402046
add ecx, 2
add eax, ecx
mov ecx, dword [ebp - 0x40]
push eax
call fcn.004019e0
add esp, 4
mov dword [edi], eax
test eax, eax
je 0x402083
mov eax, dword [esi + 4]
mov ecx, dword [ebp - 0x38]
add esi, 4
test eax, eax
jne 0x402033
mov edi, dword [ebp - 0x4c]
mov ebx, dword [ebp - 0x44]
add ebx, 0x14
push 0x14
push ebx
mov dword [ebp - 0x44], ebx
call dword [ebp - 0x3c]
test eax, eax
jne 0x402096
mov esi, dword [ebp - 0x38]
jmp 0x401fd0
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00525066
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.00525066
mov esp, ebp
pop ebp
ret
Function at 0x4020b0
Capabilities:
Contain obfuscated stackstrings
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x59df20]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x30]
push edi
push eax
lea edx, [ebp - 0x14]
xor ecx, ecx
mov dword [ebp - 0x14], 0x4e52454b
mov dword [ebp - 0x10], 0x32334c45
mov dword [ebp - 0xc], 0x6c6c642e
mov byte [ebp - 8], 0
mov dword [ebp - 0x30], 0x74726956
mov dword [ebp - 0x2c], 0x416c6175
mov dword [ebp - 0x28], 0x636f6c6c
mov byte [ebp - 0x24], 0
call fcn.004019e0
mov edi, eax
lea eax, [ebp - 0x40]
push eax
lea edx, [ebp - 0x14]
xor ecx, ecx
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x40], 0x50746547
mov dword [ebp - 0x3c], 0x65636f72
mov dword [ebp - 0x38], 0x65487373
mov word [ebp - 0x34], 0x7061
mov byte [ebp - 0x32], 0
call fcn.004019e0
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x20]
push eax
lea edx, [ebp - 0x14]
xor ecx, ecx
mov dword [ebp - 0x20], 0x70616548
mov dword [ebp - 0x1c], 0x6f6c6c41
mov word [ebp - 0x18], 0x63
call fcn.004019e0
mov dword [ebp - 0x4c], eax
mov eax, 0x5a4d
add esp, 0xc
cmp word [0x59fd30], ax
je 0x40217d
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00525066
mov esp, ebp
pop ebp
ret
mov eax, dword [0x59fd6c]
push esi
cmp dword [eax + 0x59fd30], 0x4550
lea esi, [eax + 0x59fd30]
mov dword [ebp - 0x48], esi
je 0x4021aa
pop esi
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00525066
mov esp, ebp
pop ebp
ret
push ebx
push 4
push 0x2000
push dword [esi + 0x50]
push dword [esi + 0x34]
call edi
mov ebx, eax
test ebx, ebx
jne 0x4021d7
push 4
push 0x2000
push dword [esi + 0x50]
push eax
call edi
mov ebx, eax
test ebx, ebx
je 0x4022a5
push 0x14
push 0
call dword [ebp - 0x50]
push eax
call dword [ebp - 0x4c]
mov edi, eax
push 4
push 0x1000
mov dword [edi + 4], ebx
mov dword [edi + 0xc], 0
mov dword [edi + 8], 0
mov dword [edi + 0x10], 0
push dword [esi + 0x50]
push ebx
call dword [ebp - 0x44]
push 4
push 0x1000
push dword [esi + 0x54]
push ebx
call dword [ebp - 0x44]
mov ecx, dword [ebp - 0x48]
mov esi, eax
mov ecx, dword [ecx + 0x54]
add ecx, dword [0x59fd6c]
push ecx
push 0x59fd30
push esi
call fcn.00526e10
mov eax, dword [0x59fd6c]
add eax, esi
mov esi, dword [ebp - 0x48]
mov dword [edi], eax
push edi
mov edx, esi
mov dword [eax + 0x34], ebx
call fcn.00401c20
mov edx, ebx
add esp, 0x10
sub edx, dword [esi + 0x34]
je 0x40225a
mov ecx, edi
call fcn.00401e70
mov ecx, edi
call fcn.00401f10
test eax, eax
je 0x40229e
mov ecx, edi
call fcn.00401d20
mov eax, dword [edi]
mov eax, dword [eax + 0x28]
test eax, eax
je 0x40228b
add eax, ebx
je 0x40229e
push 0
push 1
push ebx
call eax
test eax, eax
je 0x40229e
mov dword [edi + 0x10], 1
pop ebx
pop esi
mov eax, edi
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00525066
mov esp, ebp
pop ebp
ret
mov ecx, edi
call fcn.00402390
mov ecx, dword [ebp - 4]
pop ebx
pop esi
xor ecx, ebp
xor eax, eax
pop edi
call fcn.00525066
mov esp, ebp
pop ebp
ret
Function at 0x402390
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x59df20]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
lea eax, [ebp - 0x2c]
push edi
mov esi, ecx
push eax
lea edx, [ebp - 0x14]
xor ecx, ecx
mov dword [ebp - 0x14], 0x4e52454b
mov dword [ebp - 0x10], 0x32334c45
mov dword [ebp - 0xc], 0x6c6c642e
mov byte [ebp - 8], 0
mov dword [ebp - 0x2c], 0x65657246
mov dword [ebp - 0x28], 0x7262694c
mov dword [ebp - 0x24], 0x797261
call fcn.004019e0
mov ebx, eax
lea eax, [ebp - 0x38]
push eax
lea edx, [ebp - 0x14]
xor ecx, ecx
mov dword [ebp - 0x38], 0x74726956
mov dword [ebp - 0x34], 0x466c6175
mov dword [ebp - 0x30], 0x656572
call fcn.004019e0
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x48]
push eax
lea edx, [ebp - 0x14]
xor ecx, ecx
mov dword [ebp - 0x48], 0x50746547
mov dword [ebp - 0x44], 0x65636f72
mov dword [ebp - 0x40], 0x65487373
mov word [ebp - 0x3c], 0x7061
mov byte [ebp - 0x3a], 0
call fcn.004019e0
mov edi, eax
lea eax, [ebp - 0x20]
push eax
lea edx, [ebp - 0x14]
xor ecx, ecx
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x20], 0x70616548
mov dword [ebp - 0x1c], 0x65657246
mov byte [ebp - 0x18], 0
call fcn.004019e0
add esp, 0x10
mov dword [ebp - 0x54], eax
test esi, esi
je 0x4024ca
cmp dword [esi + 0x10], 0
je 0x402483
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov eax, dword [eax + 0x28]
push 0
push 0
push ecx
add eax, ecx
call eax
mov dword [esi + 0x10], 0
cmp dword [esi + 8], 0
je 0x4024af
xor edi, edi
cmp dword [esi + 0xc], edi
jle 0x4024a4
mov eax, dword [esi + 8]
mov eax, dword [eax + edi*4]
cmp eax, 0xffffffff
je 0x40249e
push eax
call ebx
inc edi
cmp edi, dword [esi + 0xc]
jl 0x402490
mov ecx, dword [esi + 8]
call fcn.00401b80
mov edi, dword [ebp - 0x4c]
mov eax, dword [esi + 4]
test eax, eax
je 0x4024c1
push 0x8000
push 0
push eax
call dword [ebp - 0x50]
push esi
push 0
call edi
push eax
call dword [ebp - 0x54]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00525066
mov esp, ebp
pop ebp
ret

Function at 0x4024e0
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
push esi
push edi
xor esi, esi
xor edi, edi
lea ecx, [ecx]
push 0
call ebx
movsx eax, byte [edi + 0x59f4b0]
cdq
mov ecx, 0x68f7
idiv ecx
push 0
inc edi
add dl, 2
xor byte [esi + 0x59fd30], dl
call ebx
mov eax, 0xcccccccd
mul esi
shr edx, 2
mov ecx, esi
lea eax, [edx + edx*4]
sub ecx, eax
neg ecx
sbb ecx, ecx
inc esi
and edi, ecx
cmp esi, 0x110000
jl 0x4024f0
pop edi
pop esi
pop ebx
ret

Function at 0x4030e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
movzx eax, word [ebp + 8]
mov dword [ebp + 8], eax
pop ebp
jmp fcn.00410f35
Function at 0x403120
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x403135
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x403174
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x403170
lea ebx, [ebx]
cmp esi, edx
jae 0x403174
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
dec ecx
jne 0x403160
cmp esi, edx
jb 0x403179
xor eax, eax
pop esi
pop ebp
ret
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop ebp
ret

Function at 0x40524f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
mov esi, edi
mov eax, ecx
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], esi
je 0x405299
call fcn.004163c5
mov ebx, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x405296
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x4052d2
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov eax, dword [ebp - 4]
xor ebx, ebx
inc ebx
test edi, edi
je 0x4052bb
push dword [ebp + 0x10]
mov edx, dword [eax]
push edi
push dword [ebp + 8]
mov ecx, eax
call dword [edx + 0x20]
mov ebx, eax
test esi, esi
je 0x4052bb
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x68]
test ecx, ecx
je 0x4052d0
mov eax, dword [ecx]
push dword [ebp + 0x10]
call dword [eax + 0xa0]
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x410f91
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor esi, esi
call fcn.004163c5
mov ebx, dword [eax + 0xc]
push 5
push dword [ebp + 8]
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 0x410fc8
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
mov ecx, dword [ebp - 4]
push ebx
push dword [ebp + 0xc]
push esi
call fcn.00410fe7
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8
Function at 0x418b3d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
mov esi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], esi
je 0x418b82
call fcn.004163c5
mov ebx, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x418b82
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x418b9e
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.00487f4c
mov ebx, eax
test edi, edi
je 0x418b9c
test esi, esi
je 0x418b9c
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x41d5ba
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x54c1b2
call fcn.0052658c
mov edi, ecx
xor esi, esi
cmp dword [edi + 0x6c], esi
jne 0x41d5e0
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x41d634
call fcn.004129f8
push eax
lea ecx, [ebp - 0x10]
call fcn.004014e0
mov ecx, dword [edi + 0x6c]
lea edx, [ebp - 0x10]
mov eax, dword [ecx]
push edx
mov dword [ebp - 4], esi
call dword [eax + 0x8c]
mov edi, dword [ebp + 8]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push edi
call fcn.00527db7
push eax
call fcn.0040398f
add esp, 0x14
test edi, edi
je 0x41d627
push edi
call fcn.00526080
pop ecx
mov esi, eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00401560
mov eax, esi
call fcn.0052655a
ret 8

Function at 0x43170a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
test esi, esi
jne 0x431722
call fcn.004163c5
mov esi, dword [eax + 0xc]
push 0x551e54
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov ebx, eax
test ebx, ebx
je 0x431778
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x431777
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp + 0xc], eax
test eax, eax
jne 0x431758
xor esi, esi
jmp 0x43176e
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push dword [ebp + 0xc]
call fcn.0043177e
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x4b01a8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
test byte [esi + 4], 1
push edi
mov dword [ebp - 4], ebx
je 0x4b01c2
mov edi, dword [esi + 0xc]
jmp 0x4b0202
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x4b01db
call fcn.00413516
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x4b01f0
call fcn.00413516
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x4b0202
call fcn.00413516
call fcn.004163c5
cmp dword [eax + 0x3c], 0
je 0x4b0217
push edi
mov ecx, ebx
call fcn.004afa3c
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.004b03da
mov ebx, eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x7c]
test ecx, ecx
je 0x4b023a
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 4]
and dword [eax + 0x7c], 0
test ebx, ebx
je 0x4b0243
mov edi, ebx
mov dword [eax + 0x7c], ebx
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x4eef25
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 4]
mov ecx, dword [esi + 4]
push eax
push dword [ebp + 0xc]
call fcn.0041d220
push 0xfffffffffffffff0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowLongA]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x4eef61
call fcn.004ef140
mov dword [esi + 0xc], 1
jmp 0x4eef66
call fcn.004ef140
cmp dword [esi], 0
je 0x4eefaf
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov esi, dword [ebp + 0x10]
test eax, eax
jle 0x4eef89
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, esi
call fcn.00416bbe
jmp 0x4eef9a
push 0xff
mov ecx, esi
call fcn.004016c0
push 0x100
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0xffffffffffffffff
mov ecx, esi
call fcn.00410b02
jmp 0x4eefd3
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 0xffffffff
jne 0x4eefd3
push dword [esi]
push dword [ebp - 4]
call fcn.0041efa3
pop esi
leave
ret 0xc

Function at 0x4ef097
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push dword [ebp + 0xc]
mov ecx, esi
call fcn.004ef140
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x4ef0df
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.00416bbe
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00410b02
jmp 0x4ef0ea
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.0041efa3
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x538a18
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x59df20]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.0052e0d2
mov dword [ebp - 0x14], eax
cmp dword [0x6b5fbc], edi
jne 0x538b09
push 0x800
push edi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x538a96
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x538be9
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x538be9
push str.MessageBoxW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x538be9
push eax
call ebx
push 0x578904
push esi
mov dword [0x6b5fbc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x578914
push esi
mov dword [0x6b5fc0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x6b5fc4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x6b5fcc], eax
test eax, eax
je 0x538b06
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x6b5fc8], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x538b2e
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x538b21
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x538b43
push 4
pop eax
jmp 0x538beb
cmp dword [ebp - 0x14], edi
je 0x538b43
push dword [0x6b5fbc]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x538b28
mov eax, dword [0x6b5fc8]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x538ba1
cmp dword [0x6b5fcc], esi
je 0x538ba1
push eax
call ebx
push dword [0x6b5fcc]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x538ba1
test eax, eax
je 0x538ba1
call ecx
test eax, eax
je 0x538b96
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x538b96
test byte [ebp - 8], 1
jne 0x538ba1
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x538bd1
mov eax, dword [0x6b5fc0]
cmp eax, esi
je 0x538bce
push eax
call ebx
test eax, eax
je 0x538bce
call eax
mov edi, eax
test edi, edi
je 0x538bce
mov eax, dword [0x6b5fc4]
cmp eax, esi
je 0x538bce
push eax
call ebx
test eax, eax
je 0x538bce
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x6b5fbc]
call ebx
test eax, eax
je 0x538be9
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x538beb
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00525066
leave
ret
Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
cmp eax, 0
nop
nop
nop
je 0x431072
nop
nop
nop
nop
nop
mov ebx, 0x40915c
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x37912a2
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
nop
add eax, edi
loop 0x431060
nop
nop
nop
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4310d2
nop
mov ebx, 0x42f3f8
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x2cfa040c
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
loop 0x4310c0
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
je 0x433072
nop
nop
nop
mov ebx, 0x40de38
nop
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x18471153
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x433060
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4330d2
mov ebx, 0x4304d8
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x15a1588
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x433000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x433072
nop
nop
mov ebx, 0x40de38
nop
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x605544ff
nop
nop
nop
nop
xor dword [eax], esi
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x433060
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
je 0x4330d2
nop
nop
nop
nop
nop
mov ebx, 0x4304d8
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x2ccd1d85
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219