joyce8/EMBER2024-capa huggingface dataset:
Function at 0x412140
Capabilities:
Read file on windows

Disassembly:
mov ecx, dword [esi + 8]
mov eax, dword [esi + 4]
cmp ecx, eax
je 0x412154
movzx eax, byte [ecx + esi + 0x1d]
inc ecx
mov dword [esi + 8], ecx
ret
cmp byte [esi + 0x1c], 0
je 0x41215e
or eax, 0xffffffff
ret
add dword [esi + 0x10], eax
mov eax, dword [esi + 0x18]
push edi
push eax
push 0x2800
lea edi, [esi + 0x1d]
push 1
push edi
call fcn.00514b00
add esp, 0x10
mov dword [esi + 4], eax
mov dword [esi + 8], 0
test eax, eax
jne 0x412190
mov byte [esi + 0x1c], 1
or eax, 0xffffffff
pop edi
ret
movzx eax, byte [edi]
mov dword [esi + 8], 1
pop edi
ret

Function at 0x412550
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
cmp dword [edi + 0x14], 0x10
mov esi, eax
mov dword [edi + 0x10], 0
jb 0x41256c
mov eax, dword [edi]
jmp 0x41256e
mov eax, edi
mov byte [eax], 0
mov ebx, 1
mov ecx, dword [esi + 8]
mov eax, dword [esi + 4]
cmp ecx, eax
je 0x41258b
movzx eax, byte [ecx + esi + 0x1d]
inc ecx
mov dword [esi + 8], ecx
jmp 0x4125ce
cmp byte [esi + 0x1c], 0
je 0x412596
or eax, 0xffffffff
jmp 0x4125ce
add dword [esi + 0x10], eax
mov eax, dword [esi + 0x18]
push eax
push 0x2800
lea edi, [esi + 0x1d]
push ebx
push edi
call fcn.00514b00
add esp, 0x10
mov dword [esi + 4], eax
mov dword [esi + 8], 0
test eax, eax
jne 0x4125c5
mov byte [esi + 0x1c], bl
or eax, 0xffffffff
jmp 0x4125cb
movzx eax, byte [edi]
mov dword [esi + 8], ebx
mov edi, dword [ebp + 8]
lea ecx, [eax + 1]
cmp ecx, 0x3e
ja case.0x4125dd.0
movzx ecx, byte [ecx + 0x412648]
jmp dword [ecx*4 + 0x412634]
cmp eax, 0xd
jne 0x412604
call fcn.00412140
cmp eax, 0xa
je 0x412604
cmp byte [esi + 0x1c], 0
jne 0x412604
mov eax, dword [esi + 8]
test eax, eax
je 0x412604
dec eax
mov dword [esi + 8], eax
mov edx, dword [esi + 0x10]
add dword [esi + 0xc], ebx
add edx, dword [esi + 8]
mov dword [esi + 0x14], edx
jmp case.0x4125dd.9
mov eax, esi
call fcn.00412690
jmp case.0x4125dd.9
mov ecx, edi
mov edx, esi
call fcn.00412810
jmp case.0x4125dd.9
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x412576
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
cmp dword [edi + 0x14], 0x10
mov esi, eax
mov dword [edi + 0x10], 0
jb 0x41256c
mov eax, dword [edi]
jmp 0x41256e
mov eax, edi
mov byte [eax], 0
mov ebx, 1
mov ecx, dword [esi + 8]
mov eax, dword [esi + 4]
cmp ecx, eax
je 0x41258b
movzx eax, byte [ecx + esi + 0x1d]
inc ecx
mov dword [esi + 8], ecx
jmp 0x4125ce
cmp byte [esi + 0x1c], 0
je 0x412596
or eax, 0xffffffff
jmp 0x4125ce
add dword [esi + 0x10], eax
mov eax, dword [esi + 0x18]
push eax
push 0x2800
lea edi, [esi + 0x1d]
push ebx
push edi
call fcn.00514b00
add esp, 0x10
mov dword [esi + 4], eax
mov dword [esi + 8], 0
test eax, eax
jne 0x4125c5
mov byte [esi + 0x1c], bl
or eax, 0xffffffff
jmp 0x4125cb
movzx eax, byte [edi]
mov dword [esi + 8], ebx
mov edi, dword [ebp + 8]
lea ecx, [eax + 1]
cmp ecx, 0x3e
ja case.0x4125dd.0
movzx ecx, byte [ecx + 0x412648]
jmp dword [ecx*4 + 0x412634]
cmp eax, 0xd
jne 0x412604
call fcn.00412140
cmp eax, 0xa
je 0x412604
cmp byte [esi + 0x1c], 0
jne 0x412604
mov eax, dword [esi + 8]
test eax, eax
je 0x412604
dec eax
mov dword [esi + 8], eax
mov edx, dword [esi + 0x10]
add dword [esi + 0xc], ebx
add edx, dword [esi + 8]
mov dword [esi + 0x14], edx
jmp case.0x4125dd.9
mov eax, esi
call fcn.00412690
jmp case.0x4125dd.9
mov ecx, edi
mov edx, esi
call fcn.00412810
jmp case.0x4125dd.9
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x4125e4
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
cmp dword [edi + 0x14], 0x10
mov esi, eax
mov dword [edi + 0x10], 0
jb 0x41256c
mov eax, dword [edi]
jmp 0x41256e
mov eax, edi
mov byte [eax], 0
mov ebx, 1
mov ecx, dword [esi + 8]
mov eax, dword [esi + 4]
cmp ecx, eax
je 0x41258b
movzx eax, byte [ecx + esi + 0x1d]
inc ecx
mov dword [esi + 8], ecx
jmp 0x4125ce
cmp byte [esi + 0x1c], 0
je 0x412596
or eax, 0xffffffff
jmp 0x4125ce
add dword [esi + 0x10], eax
mov eax, dword [esi + 0x18]
push eax
push 0x2800
lea edi, [esi + 0x1d]
push ebx
push edi
call fcn.00514b00
add esp, 0x10
mov dword [esi + 4], eax
mov dword [esi + 8], 0
test eax, eax
jne 0x4125c5
mov byte [esi + 0x1c], bl
or eax, 0xffffffff
jmp 0x4125cb
movzx eax, byte [edi]
mov dword [esi + 8], ebx
mov edi, dword [ebp + 8]
lea ecx, [eax + 1]
cmp ecx, 0x3e
ja case.0x4125dd.0
movzx ecx, byte [ecx + 0x412648]
jmp dword [ecx*4 + 0x412634]
cmp eax, 0xd
jne 0x412604
call fcn.00412140
cmp eax, 0xa
je 0x412604
cmp byte [esi + 0x1c], 0
jne 0x412604
mov eax, dword [esi + 8]
test eax, eax
je 0x412604
dec eax
mov dword [esi + 8], eax
mov edx, dword [esi + 0x10]
add dword [esi + 0xc], ebx
add edx, dword [esi + 8]
mov dword [esi + 0x14], edx
jmp case.0x4125dd.9
mov eax, esi
call fcn.00412690
jmp case.0x4125dd.9
mov ecx, edi
mov edx, esi
call fcn.00412810
jmp case.0x4125dd.9
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x412615
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
cmp dword [edi + 0x14], 0x10
mov esi, eax
mov dword [edi + 0x10], 0
jb 0x41256c
mov eax, dword [edi]
jmp 0x41256e
mov eax, edi
mov byte [eax], 0
mov ebx, 1
mov ecx, dword [esi + 8]
mov eax, dword [esi + 4]
cmp ecx, eax
je 0x41258b
movzx eax, byte [ecx + esi + 0x1d]
inc ecx
mov dword [esi + 8], ecx
jmp 0x4125ce
cmp byte [esi + 0x1c], 0
je 0x412596
or eax, 0xffffffff
jmp 0x4125ce
add dword [esi + 0x10], eax
mov eax, dword [esi + 0x18]
push eax
push 0x2800
lea edi, [esi + 0x1d]
push ebx
push edi
call fcn.00514b00
add esp, 0x10
mov dword [esi + 4], eax
mov dword [esi + 8], 0
test eax, eax
jne 0x4125c5
mov byte [esi + 0x1c], bl
or eax, 0xffffffff
jmp 0x4125cb
movzx eax, byte [edi]
mov dword [esi + 8], ebx
mov edi, dword [ebp + 8]
lea ecx, [eax + 1]
cmp ecx, 0x3e
ja case.0x4125dd.0
movzx ecx, byte [ecx + 0x412648]
jmp dword [ecx*4 + 0x412634]
cmp eax, 0xd
jne 0x412604
call fcn.00412140
cmp eax, 0xa
je 0x412604
cmp byte [esi + 0x1c], 0
jne 0x412604
mov eax, dword [esi + 8]
test eax, eax
je 0x412604
dec eax
mov dword [esi + 8], eax
mov edx, dword [esi + 0x10]
add dword [esi + 0xc], ebx
add edx, dword [esi + 8]
mov dword [esi + 0x14], edx
jmp case.0x4125dd.9
mov eax, esi
call fcn.00412690
jmp case.0x4125dd.9
mov ecx, edi
mov edx, esi
call fcn.00412810
jmp case.0x4125dd.9
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x412a10
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov esi, eax
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
cmp eax, ecx
je 0x412a30
movzx edx, byte [eax + esi + 0x1d]
inc eax
mov dword [ebp - 4], edx
mov dword [esi + 8], eax
jmp 0x412a7b
cmp byte [esi + 0x1c], 0
je 0x412a3b
or eax, 0xffffffff
jmp 0x412a76
mov eax, dword [esi + 0x18]
add dword [esi + 0x10], ecx
push eax
push 0x2800
lea edi, [esi + 0x1d]
push 1
push edi
call fcn.00514b00
add esp, 0x10
mov dword [esi + 4], eax
mov dword [esi + 8], 0
test eax, eax
jne 0x412a6c
mov byte [esi + 0x1c], 1
or eax, 0xffffffff
jmp 0x412a76
movzx eax, byte [edi]
mov dword [esi + 8], 1
mov dword [ebp - 4], eax
mov edx, eax
lea eax, [edx + 1]
cmp eax, 0x5d
ja case.0x412a8a.0
movzx ecx, byte [eax + 0x412b74]
jmp dword [ecx*4 + 0x412b60]
cmp edx, 0xd
jne 0x412ab1
call fcn.00412140
cmp eax, 0xa
je 0x412ab1
cmp byte [esi + 0x1c], 0
jne 0x412ab1
mov eax, dword [esi + 8]
test eax, eax
je 0x412ab1
dec eax
mov dword [esi + 8], eax
mov edx, dword [esi + 0x10]
inc dword [esi + 0xc]
add edx, dword [esi + 8]
mov dword [esi + 0x14], edx
jmp case.0x412a8a.9
mov eax, ebx
mov ecx, esi
call fcn.00412be0
jmp case.0x412a8a.9
mov eax, dword [ebx + 0x10]
or ecx, 0xffffffff
sub ecx, eax
cmp ecx, 1
jbe 0x412b50
lea edi, [eax + 1]
cmp edi, 0xfffffffe
ja 0x412b50
mov ecx, dword [ebx + 0x14]
cmp ecx, edi
jae 0x412b0c
push eax
push edi
push ebx
call fcn.00412f70
mov edx, dword [ebp - 4]
test edi, edi
je case.0x412a8a.9
cmp dword [ebx + 0x14], 0x10
mov ecx, dword [ebx + 0x10]
jb 0x412b2c
mov eax, dword [ebx]
jmp 0x412b2e
test edi, edi
jne 0x412aff
mov dword [ebx + 0x10], edi
cmp ecx, 0x10
jb 0x412b22
mov eax, dword [ebx]
mov byte [eax], 0
jmp case.0x412a8a.9
mov eax, ebx
mov byte [eax], 0
jmp case.0x412a8a.9
mov eax, ebx
mov byte [eax + ecx], dl
cmp dword [ebx + 0x14], 0x10
mov dword [ebx + 0x10], edi
jb 0x412b45
mov eax, dword [ebx]
mov byte [eax + edi], 0
jmp case.0x412a8a.9
mov eax, ebx
mov byte [eax + edi], 0
jmp case.0x412a8a.9
push str.string_too_long
call fcn.0052b420
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x415400
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x415448
call fcn.0041aa57
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x415448
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x41548b
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x415474
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x415474
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x68], 0
je 0x415488
mov ecx, dword [esi + 0x68]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x417598
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor ebx, ebx
call fcn.0041aa57
mov esi, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x4175d1
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov ecx, dword [ebp - 4]
push esi
push dword [ebp + 0xc]
push ebx
call fcn.004171d5
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 0x41762f
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 + 0x78], ebx
test ebx, 0xffff0000
jne 0x417653
cmp dword [edi + 0x74], 0
jne 0x417653
movzx eax, bx
mov dword [edi + 0x74], eax
call fcn.0041aa57
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.004175f0
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 0x41b2ad
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x52ee94
call fcn.00515113
mov esi, ecx
cmp dword [esi + 0x6c], 0
jne 0x41b2d2
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x41b324
call fcn.00415d37
push eax
lea ecx, [ebp - 0x10]
call fcn.004049f0
mov ecx, dword [esi + 0x6c]
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.00515b18
push eax
call fcn.004064b0
add esp, 0x14
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00404a20
mov eax, esi
call fcn.005151eb
ret 8

Function at 0x421896
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 0x4218dd
call fcn.0041aa57
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4218dd
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x4218f9
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.00421396
mov esi, eax
test edi, edi
je 0x4218f7
test ebx, ebx
je 0x4218f7
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x45feb3
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push dword [ebp + 0xc]
mov ecx, esi
call fcn.0045fb57
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x45fefd
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.0041f88f
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00419838
jmp 0x45ff08
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.00423a21
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x45ff0e
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 4]
lea eax, [ebp + 8]
push eax
push dword [ebp + 0xc]
call fcn.0041ab7c
push 0xfffffffffffffff0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x45ff4b
call fcn.0045fb57
mov dword [esi + 0xc], 1
jmp 0x45ff50
call fcn.0045fb57
cmp dword [esi], 0
je 0x45ff99
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
jle 0x45ff71
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.0041f88f
jmp 0x45ff83
mov ecx, dword [ebp + 0x10]
push 0xff
call fcn.004048a0
push 0x100
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00419838
jmp 0x45ffbd
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x45ffbd
push dword [esi]
push dword [ebp + 8]
call fcn.00423a21
pop esi
pop ebp
ret 0xc

Function at 0x464bf3
Capabilities:
Get common file path
Get file system object information

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.004ce832
call fcn.0041a488
cmp dword [eax + 0x14], 0
jne 0x464c10
mov ecx, esi
pop esi
jmp fcn.004645c6
pop esi
ret

Function at 0x49f9a2
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [ebp - 4], ecx
test esi, esi
jne 0x49f9bc
call fcn.0041aa57
mov esi, dword [eax + 0xc]
push dword [0x591afc]
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x49f9da
xor eax, eax
pop edi
pop esi
leave
ret 8
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp + 0xc], eax
test eax, eax
je 0x49f9d2
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x49fa07
xor esi, esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop ebx
jmp 0x49f9d4
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.0049f8d0
mov esi, eax
jmp 0x49f9f9
Function at 0x4f2f9d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
test byte [esi + 4], 1
push edi
mov ebx, ecx
je 0x4f2fb5
mov edi, dword [esi + 0xc]
jmp 0x4f2ff5
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x4f2fce
call fcn.004179df
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x4f2fe3
call fcn.004179df
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x4f2ff5
call fcn.004179df
call fcn.0041aa57
cmp dword [eax + 0x3c], 0
je 0x4f300a
push edi
mov ecx, ebx
call fcn.004f1e59
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.004f2eb7
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x7c]
test eax, eax
je 0x4f3028
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
and dword [ebx + 0x7c], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x4f3034
mov edi, eax
mov dword [ebx + 0x7c], eax
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x51202b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x58bd20]
jne 0x512035
repz ret
jmp fcn.0051a713
Function at 0x525488
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x58bd20]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0051a13b
and dword [ebp - 0x14], 0
cmp dword [0x594150], 0
mov dword [ebp - 0x18], eax
jne 0x52553b
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x5255e3
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x564c88
push ebx
call edi
test eax, eax
je 0x5255e3
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x564c78
push ebx
mov dword [0x594150], eax
call edi
push eax
call esi
push 0x564c64
push ebx
mov dword [0x594154], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x594158], eax
call edi
push eax
call esi
mov dword [0x594160], eax
test eax, eax
je 0x52553b
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x59415c], eax
mov eax, dword [0x59415c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x525594
cmp dword [0x594160], ecx
je 0x525594
push eax
call esi
push dword [0x594160]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x525594
test ebx, ebx
je 0x525594
call edi
test eax, eax
je 0x52558b
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x52558b
test byte [ebp - 8], 1
jne 0x525594
or dword [ebp + 0x10], 0x200000
jmp 0x5255c7
mov eax, dword [0x594154]
cmp eax, dword [ebp - 0x18]
je 0x5255c7
push eax
call esi
test eax, eax
je 0x5255c7
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x5255c7
mov eax, dword [0x594158]
cmp eax, dword [ebp - 0x18]
je 0x5255c7
push eax
call esi
test eax, eax
je 0x5255c7
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x594150]
call esi
test eax, eax
je 0x5255e3
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x5255e5
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0051202b
leave
ret
Function at 0x403d61
Capabilities:
Encode data using xor

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

Function at 0x41e7c0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x19000]
push edi
or ebp, 0xffffffff
jmp 0x41e7e2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x41e7e9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x41e7d8
mov eax, 1
add ebx, ebx
jne 0x41e7fb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x41e7f0
jne 0x41e80c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41e7f0
xor ecx, ecx
sub eax, 3
jb 0x41e820
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41e892
mov ebp, eax
add ebx, ebx
jne 0x41e82b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x41e838
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41e85c
inc ecx
add ebx, ebx
jne 0x41e848
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41e83d
jne 0x41e859
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41e83d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41e87c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41e86d
jmp 0x41e7de
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41e87c
add edi, ecx
jmp 0x41e7de
pop esi
mov edi, esi
mov ecx, 0x88
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41e89a
cmp byte [edi], 3
jne 0x41e89a
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 0x41e89f
lea edi, [esi + 0x1c000]
mov eax, dword [edi]
or eax, eax
je 0x41e917
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x204f0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x20570]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41e8cc
mov ecx, edi
jns 0x41e8fb
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 + 0x20578]
or eax, eax
je 0x41e911
mov dword [ebx], eax
add ebx, 4
jmp 0x41e8e9
call dword [esi + 0x20574]
mov ebp, dword [esi + 0x2057c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1f7]
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 0x41e94b
sub esp, 0xffffff80
jmp 0x401745
Function at 0x4039e3
Capabilities:
Accept command line arguments
Copy file
Create directory
Delete file
Get common file path
Get file system object information
Set current directory
Shutdown system
Terminate process

Disassembly:
sub esp, 0x2d4
push ebx
push ebp
push esi
push edi
push 0x20
xor ebp, ebp
pop esi
mov dword [esp + 0x18], ebp
mov dword [esp + 0x10], str.Error_writing_temporary_file._Make_sure_your_temp_folder_is_valid.
mov dword [esp + 0x14], ebp
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
push 0x8001
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
push ebp
call dword [sym.imp.ole32.dll_OleInitialize]
push 8
mov dword [0x472eb8], eax
jmp loc.0073c000