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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0xc]
imul eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 0x14]
movzx edx, byte [ecx]
test edx, edx
je 0x429bef
push 0
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x429be5
mov edx, dword [ebp + 0x14]
mov byte [edx + 8], 1
mov eax, dword [ebp - 0x10]
xor edx, edx
div dword [ebp + 0xc]
jmp 0x429c49
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 0x18]
add ecx, dword [ebp - 8]
mov edx, dword [ebp + 0x14]
cmp ecx, dword [edx + 0x14]
jbe 0x429c0f
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x14]
mov edx, dword [eax + 0x14]
sub edx, dword [ecx + 0x18]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx + 0x10]
mov eax, dword [ebp + 0x14]
add edx, dword [eax + 0x18]
push edx
mov ecx, dword [ebp + 8]
push ecx
call fcn.0052cef0
add esp, 0xc
mov edx, dword [ebp - 8]
mov dword [ebp - 4], edx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 0x18]
add ecx, dword [ebp - 4]
mov edx, dword [ebp + 0x14]
mov dword [edx + 0x18], ecx
mov eax, dword [ebp - 4]
xor edx, edx
div dword [ebp + 0xc]
mov esp, ebp
pop ebp
ret

Function at 0x42b600
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push edi
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0
jne 0x42b61b
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 4], 0xffffffff
je 0x42b625
mov eax, 0x1000000
jmp 0x42b6cc
mov edx, dword [ebp - 0x10]
add edx, 0x138
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov eax, dword [ebp - 0x10]
add eax, 0x137
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
mov dl, byte [ecx + 1]
mov byte [ebp - 0x15], dl
add dword [ebp - 0x14], 1
cmp byte [ebp - 0x15], 0
jne 0x42b645
mov edi, dword [ebp - 0x14]
mov ax, word [0x55b210]
mov word [edi], ax
cmp dword [ebp + 0x10], 1
jne 0x42b684
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileType]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 1
je 0x42b684
mov eax, 0x2000000
jmp 0x42b6cc
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00429870
add esp, 0x10
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x42b6aa
mov eax, dword [ebp - 8]
jmp 0x42b6cc
mov eax, dword [ebp - 4]
push eax
call fcn.0042a080
add esp, 4
mov ecx, dword [ebp - 0x10]
mov dword [ecx], eax
mov edx, dword [ebp - 0x10]
cmp dword [edx], 0
jne 0x42b6ca
mov eax, 0x700
jmp 0x42b6cc
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x42bf40
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24c
mov eax, dword [0x5a7634]
xor eax, ebp
mov dword [ebp - 8], eax
push esi
push edi
cmp dword [ebp + 0xc], 0
je 0x42bf65
mov eax, dword [ebp + 0xc]
movsx ecx, byte [eax]
test ecx, ecx
jne 0x42bf6a
jmp 0x42c129
mov edx, dword [ebp + 0xc]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
mov dword [ebp - 0x118], eax
mov ecx, dword [ebp - 0x118]
movsx edx, byte [ecx]
test edx, edx
je 0x42bfbc
mov eax, dword [ebp - 0x118]
movsx ecx, byte [eax]
cmp ecx, 0x2f
je 0x42bfa2
mov edx, dword [ebp - 0x118]
movsx eax, byte [edx]
cmp eax, 0x5c
jne 0x42bfab
mov ecx, dword [ebp - 0x118]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0x118]
add edx, 1
mov dword [ebp - 0x118], edx
jmp 0x42bf79
mov eax, dword [ebp - 4]
mov dword [ebp - 0x114], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
je 0x42c017
mov edx, dword [ebp - 4]
sub edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x220]
push ecx
call fcn.0042d4c0
add esp, 0xc
mov edx, dword [ebp - 4]
sub edx, dword [ebp + 0xc]
mov byte [ebp + edx - 0x220], 0
lea eax, [ebp - 0x220]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0042bf40
add esp, 8
mov edx, dword [ebp - 0x114]
add edx, 1
mov dword [ebp - 0x114], edx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x224], eax
lea ecx, [ebp - 0x110]
mov dword [ebp - 0x228], ecx
mov edx, dword [ebp - 0x228]
mov dword [ebp - 0x22c], edx
mov eax, dword [ebp - 0x224]
mov cl, byte [eax]
mov byte [ebp - 0x22d], cl
mov edx, dword [ebp - 0x228]
mov al, byte [ebp - 0x22d]
mov byte [edx], al
mov ecx, dword [ebp - 0x224]
add ecx, 1
mov dword [ebp - 0x224], ecx
mov edx, dword [ebp - 0x228]
add edx, 1
mov dword [ebp - 0x228], edx
cmp byte [ebp - 0x22d], 0
jne 0x42c038
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x234], eax
mov ecx, dword [ebp - 0x234]
mov dword [ebp - 0x238], ecx
mov edx, dword [ebp - 0x234]
mov al, byte [edx]
mov byte [ebp - 0x239], al
add dword [ebp - 0x234], 1
cmp byte [ebp - 0x239], 0
jne 0x42c090
mov ecx, dword [ebp - 0x234]
sub ecx, dword [ebp - 0x238]
mov edx, dword [ebp - 0x238]
mov dword [ebp - 0x240], edx
mov dword [ebp - 0x244], ecx
lea eax, [ebp - 0x110]
add eax, 0xffffffff
mov dword [ebp - 0x248], eax
mov ecx, dword [ebp - 0x248]
mov dl, byte [ecx + 1]
mov byte [ebp - 0x249], dl
add dword [ebp - 0x248], 1
cmp byte [ebp - 0x249], 0
jne 0x42c0db
mov edi, dword [ebp - 0x248]
mov esi, dword [ebp - 0x240]
mov eax, dword [ebp - 0x244]
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push 0
lea ecx, [ebp - 0x110]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0052c40e
mov esp, ebp
pop ebp
ret
Function at 0x42dfa6
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.004390ff
mov esi, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x42dfdf
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.0042dbe8
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 0x42e03d
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 0x42e061
cmp dword [edi + 0x74], 0
jne 0x42e061
movzx eax, bx
mov dword [edi + 0x74], eax
call fcn.004390ff
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
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.0042dffe
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 0x434411
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 0x434458
call fcn.004390ff
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x434458
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x434474
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.00433f16
mov esi, eax
test edi, edi
je 0x434472
test ebx, ebx
je 0x434472
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x4352ec
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x55291a
call fcn.0052f39d
mov esi, ecx
cmp dword [esi + 0x6c], 0
jne 0x435311
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x435363
call fcn.00437e60
push eax
lea ecx, [ebp - 0x10]
call fcn.00401730
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.00530b7a
push eax
call fcn.00406af0
add esp, 0x14
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.004017d0
mov eax, esi
call fcn.0052f475
ret 8
Function at 0x439d49
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.00439a08
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x439d93
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.004323ac
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00430a47
jmp 0x439d9e
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.00445904
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x439da4
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.00434bda
push 0xfffffffffffffff0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowLongA]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x439de1
call fcn.00439a08
mov dword [esi + 0xc], 1
jmp 0x439de6
call fcn.00439a08
cmp dword [esi], 0
je 0x439e2f
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
test eax, eax
jle 0x439e07
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.004323ac
jmp 0x439e19
mov ecx, dword [ebp + 0x10]
push 0xff
call fcn.00401950
push 0x100
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00430a47
jmp 0x439e53
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 0xffffffff
jne 0x439e53
push dword [esi]
push dword [ebp + 8]
call fcn.00445904
pop esi
pop ebp
ret 0xc

Function at 0x43ddad
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 0x43ddf5
call fcn.004390ff
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x43ddf5
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x43de38
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 0x43de21
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 0x43de21
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x68], 0
je 0x43de35
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 0x444658
Capabilities:
Create http request

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
and dword [esi + 0x10], 0
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
mov dword [esi], vtable.CInternetSession.0
test eax, eax
jne 0x444683
call fcn.004390ff
mov eax, dword [eax + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esi + 8], eax
test eax, eax
jne 0x4446a6
push eax
push dword [esi + 4]
call fcn.004445de
push esi
push eax
mov ecx, 0x5ab2c4
call fcn.00444287
mov eax, esi
pop esi
pop ebp
ret 0x18
Function at 0x45b0c1
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.004927a5
call fcn.00438b1c
cmp dword [eax + 0x14], 0
jne 0x45b0de
mov ecx, esi
pop esi
jmp fcn.0045aba8
pop esi
ret

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

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.0048fafd
call fcn.00438b1c
cmp dword [eax + 0x14], 0
jne 0x45e763
mov ecx, esi
pop esi
jmp fcn.0045e119
pop esi
ret

Function at 0x49600c
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 0x496026
call fcn.004390ff
mov esi, dword [eax + 0xc]
push dword [0x5acfc0]
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x496044
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 0x49603c
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x496071
xor esi, esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop ebx
jmp 0x49603e
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.00495f3a
mov esi, eax
jmp 0x496063

Function at 0x5127bf
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 0x5127d7
mov edi, dword [esi + 0xc]
jmp 0x512817
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x5127f0
call fcn.00435a29
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x512805
call fcn.00435a29
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x512817
call fcn.00435a29
call fcn.004390ff
cmp dword [eax + 0x3c], 0
je 0x51282c
push edi
mov ecx, ebx
call fcn.005115f3
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.005126d9
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x7c]
test eax, eax
je 0x51284a
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
and dword [ebx + 0x7c], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x512856
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 0x52c40e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x5a7634]
jne 0x52c418
repz ret
jmp fcn.00535f8d
Function at 0x5418d5
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x5a7634]
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.00535981
and dword [ebp - 0x14], 0
cmp dword [0x5afa38], 0
mov dword [ebp - 0x18], eax
jne 0x541988
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x541a30
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x541a30
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x581ea4
push ebx
mov dword [0x5afa38], eax
call edi
push eax
call esi
push 0x581e90
push ebx
mov dword [0x5afa3c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x5afa40], eax
call edi
push eax
call esi
mov dword [0x5afa48], eax
test eax, eax
je 0x541988
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x5afa44], eax
mov eax, dword [0x5afa44]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x5419e1
cmp dword [0x5afa48], ecx
je 0x5419e1
push eax
call esi
push dword [0x5afa48]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x5419e1
test ebx, ebx
je 0x5419e1
call edi
test eax, eax
je 0x5419d8
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x5419d8
test byte [ebp - 8], 1
jne 0x5419e1
or dword [ebp + 0x10], 0x200000
jmp 0x541a14
mov eax, dword [0x5afa3c]
cmp eax, dword [ebp - 0x18]
je 0x541a14
push eax
call esi
test eax, eax
je 0x541a14
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x541a14
mov eax, dword [0x5afa40]
cmp eax, dword [ebp - 0x18]
je 0x541a14
push eax
call esi
test eax, eax
je 0x541a14
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x5afa38]
call esi
test eax, eax
je 0x541a30
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x541a32
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0052c40e
leave
ret

Function at 0x54613d
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 0x546164
call fcn.0052f5f0
mov dword [eax], esi
call fcn.0052f5dd
push 0x16
pop esi
mov dword [eax], esi
call fcn.00536322
mov eax, esi
jmp 0x5461b9
test dword [ebp + 0xc], 0xfffffff9
jne 0x54614a
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x546191
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0052f603
pop ecx
call fcn.0052f5dd
mov eax, dword [eax]
jmp 0x5461b9
test al, 0x10
jne 0x5461b7
test al, 1
je 0x5461b7
test byte [ebp + 0xc], 2
je 0x5461b7
call fcn.0052f5f0
mov dword [eax], 5
call fcn.0052f5dd
mov dword [eax], 0xd
jmp 0x546188
xor eax, eax
pop esi
pop ebp
ret
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x432072
nop
nop
nop
nop
mov ebx, 0x40c7d0
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x4e6c6853
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
loop 0x432060
nop
nop
nop
nop
nop
mov eax, section..tls
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x4320d2
nop
nop
mov ebx, 0x42f314
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x14086c04
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x4320c0
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x43869d
Capabilities:
Encode data using xor

Disassembly:
wait
xor dword [ebx], edi
adc byte [ebp + 0x25], dl
cmp dword [eax], edi
adc edx, 0xffffff99
aad 0xa4
xchg esi, eax
mov edx, 0x380cfcf5
xchg ecx, eax
fst qword [ecx + 0x12fa0c3c]
jb 0x4386ce
invalid
adc dh, byte [eax + 0x70c0b002]
xlatb
pop ds
adc eax, 0xc9c41572
mov al, byte [0x6e23dbed]
sbb ebp, ecx
add eax, 0xd43a2832
xor bl, dl
movsd dword es:[edi], dword [esi]
xchg edx, eax
mov edi, 0x5696ff05
pop ss
sub byte [edi], bl
xor al, 7
fldenv [esi]
push cs
dec edx
enter 0xffffffffffffc497, 0xffffffffffffffdf
xchg ebp, eax
invalid

Function at 0x43c8c4
Capabilities:
Encode data using xor

Disassembly:
mov byte [ebx + 0x7cfdae1b], bh
int3
sub byte [edi + 0x2dee0dc4], cl
jnp 0x43c880
xor dword [edx + 0x67059e1d], edx
ror dword [esi - 0x45440ffc], 1
jb 0x43c88d
sbb dword [ecx - 0x9d7ba50], 0x4e
lea edx, [ecx]
cmp byte [ebp + 0x40672d2], bh
not dword [ecx + 7]
lds edx, [edi + 0x66]
sbb dword [eax + ebx*4 + 0x5232b3ed], ebp
mov word [ecx + 0x29d300db], gs
jp 0x43c951
iretd
leave
cwde
mov cl, 0x17
adc ebp, dword [esi - 0x24]
inc ebp
popfd
invalid
Function at 0x44f92f
Capabilities:
Check for software breakpoints

Disassembly:
dec eax
cmp eax, 0x7c0011f8
cmp cl, 0x39
call 0xf6c9c33a
jle 0x44f8a4
or ecx, dword [ebx - 0x1a]
sbb eax, 0x45fd676a
scasb al, byte es:[edi]
idiv byte [0x29ea078a]
jl 0x44f888
adc byte [edx], dh
invalid
lea edi, [eax + 0x1faf9f62]
hlt
mov dword [ebp - 0x5e15f0dc], edi
fcom dword [ebx - 0x36]
insb byte es:[edi], dx
adc ah, ah
dec esi
pop ebp
mov ebx, 0xf9f3d92f
in eax, dx
outsd dx, dword [esi]
scasb al, byte es:[edi]
jge 0x44f9a3
jl 0x44f98a
cmp ah, byte [edx + ecx*2 - 0x5b]
and eax, 0xdbc2be21
mov ebp, 0x6f6088dc
loopne 0x44f8f1
dec edx
mov cl, 0x4d
mov bl, 0x6e
les esp, [esi + 0x4cbac2d8]
mov esp, 0xe53f21
jg 0x44f998
add byte [edi + 0x2d], bh
push 0x2e
aad 0xa3
jmp 0x44f914
aam 0x22
sbb eax, 0x92e4f3e1
adc ecx, esi
invalid
fcmovne st(0), st(1)
salc
and byte [esi - 0xa], al
jmp 0x516b317c
inc esi
imul cl
fnstenv [edi]
push ecx
cwde
dec edx
stc
jne 0x44fa0c
mov dl, 0x65
imul edi, dword [edx - 0x69a0485d], 0xffffffca
cmp al, 0xcc
in al, 0xae
imul edi, dword [ebx + 0x2873a756], 0xfbe51159
pop edi
xchg esi, eax
retf 0xcc3c
sti
loope 0x44f99c
je 0x44f9d9
nop
int1
dec esi
mov edx, 0xa8f96967
jg 0x44fa38
jg 0x44fa38
invalid

Function at 0x45be2f
Capabilities:
Encode data using xor

Disassembly:
mov dl, 0xf8
mov al, 0x85
sub al, 0x1a
lodsd eax, dword [esi]
jno 0x45be72
jge 0x45be6d
xor eax, dword [edx + 0x1c2aabb8]
push ecx
wait
cmp byte [eax + 0x511c2aab], 0x9b
movsb byte es:[edi], byte [esi]
je 0x45be39
adc al, 0x89
popfd
dec ebx
cli
push edi
ror bl, 1
sahf
mov bh, 0x74
adc al, 0xb2
in eax, 0xcc
jb 0x45be55
clc
dec ebp
invalid
sub esi, dword [0x45c6e933]
inc ebp
jp 0x45be6a
wait
arpl word [0xb399ffd6], di
dec edi
dec ebx
adc bl, byte [ecx + esi*8 - 0x1f0cf3a4]
nop