joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40f250
Capabilities:
Create thread

Disassembly:
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi], ebx
jbe 0x40f2cb
push ebp
push edi
lea edi, [esi + 4]
lea eax, [esp + 0x10]
push eax
push 0
push esi
push 0x40f400
push 0x10000
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebp, eax
test ebp, ebp
jne 0x40f2a7
push str.CreateThread_failed
push 0x43bbf8
call fcn.00406a1c
pop ecx
pop ecx
mov ecx, 0x43bbf8
call fcn.00420f89
push 2
mov ecx, 0x43bbf8
call fcn.00406a17
mov dword [edi], ebp
inc dword [esi + 0x84]
mov eax, dword [0x44149c]
test eax, eax
je 0x40f2c1
push eax
push dword [edi]
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
inc ebx
add edi, 4
cmp ebx, dword [esi]
jb 0x40f260
pop edi
pop ebp
pop esi
pop ebx
pop ecx
ret

Function at 0x417497
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0x24
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
xor eax, eax
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
call ebx
mov esi, dword [esp + 0x38]
mov ebp, eax
mov ecx, dword [esi]
lea eax, [esp + 0x10]
push eax
push esi
call dword [ecx + 0x48]
test eax, eax
js 0x4174ce
cmp dword [esp + 0x10], 0
jne 0x417516
call ebx
sub eax, ebp
cmp eax, 0x7d0
ja 0x417516
xor eax, eax
push eax
push eax
push eax
push eax
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x4174b8
xor eax, eax
push eax
push eax
push eax
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
jmp 0x4174b8
mov eax, dword [esi]
lea ecx, [esp + 0x10]
push ecx
push esi
call dword [eax + 0x48]
mov esi, eax
test esi, esi
js 0x417584
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x41757c
mov eax, dword [ecx]
lea edx, [esp + 0x14]
push edx
push 0x4307cc
push ecx
call dword [eax]
mov esi, eax
test esi, esi
js 0x41756e
mov eax, dword [esp + 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
mov esi, eax
test esi, esi
js 0x417564
mov eax, dword [esp + 0x14]
push dword [esp + 0x3c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov esi, eax
mov eax, dword [esp + 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [esp + 0x10]
test esi, esi
js 0x417584
test ecx, ecx
jne 0x4175d5
xor ebp, ebp
cmp dword [edi + 8], ebp
je 0x4175d5
cmp dword [edi + 0x18], ebp
jne 0x4175d5
cmp dword [edi + 0x14], ebp
je 0x4175d5
push dword [edi + 0x14]
mov ecx, edi
call fcn.00417acc
mov ebx, eax
test ebx, ebx
je 0x4175d5
push 0x204
push ebp
push ebp
push ebp
push ebp
push 1
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
push 5
push dword [edi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
push ebx
push dword [edi + 8]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push ebx
call fcn.004216e0
pop ecx
pop edi
xor eax, eax
test esi, esi
pop esi
pop ebp
setns al
pop ebx
add esp, 0x24
ret 8
Function at 0x417ca9
Capabilities:
Hide graphical window

Disassembly:
mov al, byte [esp + 0x14]
sub esp, 0x10
push ebx
push ebp
mov ebp, dword [esp + 0x20]
mov ebx, ecx
push esi
push 0
push ebp
mov dword [ebx + 8], ebp
mov byte [ebx + 0x1e], al
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esp + 0x20]
mov ecx, ebx
call fcn.00417a16
mov eax, dword [esp + 0x28]
mov dword [ebx + 0x14], eax
mov eax, dword [esp + 0x2c]
mov dword [ebx + 0x18], eax
lea eax, [esp + 0xc]
push eax
push ebp
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea eax, [esp + 0x10]
push eax
push ebp
call dword [sym.imp.USER32.dll_GetParent]
push eax
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
cmp dword [ebx + 4], 0
je 0x417d13
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [esp + 0xc]
mov esi, dword [esp + 0x14]
push edi
push ebx
push dword [ebx]
sub esi, eax
lea edi, [eax + 1]
push 0
push ebp
sub esi, 2
call dword [sym.imp.USER32.dll_GetParent]
push eax
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + 0x24]
push eax
push esi
push dword [esp + 0x2c]
xor esi, esi
push edi
push 0x40000000
push esi
push 0x430090
push esi
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebx + 4], eax
pop edi
cmp dword [ebx + 0x10], esi
jne 0x417d95
test ebp, ebp
je 0x417dab
cmp dword [ebx + 0x18], esi
jne 0x417dab
cmp dword [ebx + 0x14], esi
je 0x417dab
push dword [ebx + 0x14]
mov ecx, ebx
call fcn.00417acc
mov esi, eax
test esi, esi
je 0x417dab
push 5
push ebp
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
push ebp
call dword [sym.imp.USER32.dll_SetWindowTextW]
push esi
call fcn.004216e0
pop ecx
jmp 0x417dab
test eax, eax
je 0x417dab
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_UpdateWindow]
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0x14
Function at 0x418031
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
lea eax, [ebp - 4]
xor ebx, ebx
push eax
push 0x43073c
push 1
push ebx
push 0x43080c
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x418102
mov eax, dword [ebp - 4]
lea edx, [ebp - 8]
push edx
push 0x4307fc
push eax
mov ecx, dword [eax]
call dword [ecx]
test eax, eax
js 0x4180f9
cmp byte [ebp + 8], bl
je 0x418084
mov eax, dword [ebp - 8]
push 2
push dword [ebp + 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov eax, dword [ebp - 4]
push dword [ebp + 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
cmp dword [ebp + 0x18], ebx
je 0x4180a1
mov eax, dword [ebp - 4]
push dword [ebp + 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebp - 4]
push ebx
mov ecx, dword [eax]
cmp dword [ebp + 0x1c], ebx
jne 0x4180b3
push 0x42f5dc
jmp 0x4180b6
push dword [ebp + 0x1c]
push eax
call dword [ecx + 0x44]
cmp dword [ebp + 0x20], ebx
je 0x4180cb
mov eax, dword [ebp - 4]
push dword [ebp + 0x20]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
cmp dword [ebp + 0x14], ebx
je 0x4180dc
mov eax, dword [ebp - 4]
push dword [ebp + 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov eax, dword [ebp - 8]
push 1
push dword [ebp + 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
test eax, eax
js 0x4180f0
mov bl, 1
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 0x1c

Function at 0x4181b0
Capabilities:
Get common file path

Disassembly:
push dword [esp + 4]
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
neg eax
sbb eax, eax
neg eax
ret 8

Function at 0x418733
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1020
call fcn.0041c230
push 0x800
lea eax, [ebp - 0x1020]
push eax
call fcn.004181b0
cmp byte [0x44874e], 0
jne 0x4187c8
push 6
push dword [0x43914c]
lea eax, [ebp - 0x1020]
push eax
call fcn.0040b203
push eax
call fcn.004100f6
test eax, eax
jne 0x4187c8
push 0x42f4f4
call fcn.0041854a
lea eax, [ebp - 0x1020]
push eax
call fcn.004216c5
xor ecx, ecx
push 0x1e
push ecx
mov word [ebp + eax*2 - 0x101e], cx
lea eax, [ebp - 0x20]
push eax
call fcn.0041d1d0
add esp, 0x10
mov dword [ebp - 0x1c], 3
push 0x14
pop eax
mov word [ebp - 0x10], ax
lea eax, [ebp - 0x1020]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov esp, ebp
pop ebp
ret
Function at 0x418824
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
cmp dword [0x439160], 0
push ebx
push esi
push edi
mov ebx, 0x400
jne 0x41886f
push 0x64
lea eax, [ebp - 0x12c]
push eax
push 0xf
push ebx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov ax, word [ebp - 0x12c]
mov word [0x455e2c], ax
xor eax, eax
mov word [0x455e2e], ax
mov dword [0x439160], 0x455e2c
push 0x32
lea eax, [ebp - 0x64]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0040e75c
mov edi, dword [ebp + 0x10]
xor eax, eax
mov esi, dword [ebp + 0x14]
push esi
push edi
push 0x439150
mov word [edi], ax
lea eax, [ebp - 0x64]
push eax
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetNumberFormatW]
xor eax, eax
mov word [edi + esi*2 - 2], ax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x418a70
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x200c
call fcn.0041c230
cmp byte [0x448758], 0
je 0x418b19
lea eax, [ebp - 0x200c]
push eax
push dword [ebp + 8]
call fcn.00419e0b
lea eax, [ebp - 8]
push eax
push 1
push 0
push str.SoftwareWinRAR_SFX
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x418b19
lea eax, [ebp - 4]
mov dword [ebp - 4], 0x1000
push eax
lea eax, [ebp - 0x100c]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
lea eax, [ebp - 0x200c]
push eax
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x418b10
mov eax, dword [ebp - 4]
mov ecx, 0x7ff
shr eax, 1
mov dword [ebp - 4], eax
cmp eax, ecx
jb 0x418af4
mov eax, ecx
push dword [ebp + 0xc]
xor ecx, ecx
mov word [ebp + eax*2 - 0x100c], cx
lea eax, [ebp - 0x100c]
push eax
push dword [ebp + 8]
call fcn.0040e83c
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esp, ebp
pop ebp
ret 8
Function at 0x418bc5
Capabilities:
Query environment variable

Disassembly:
mov eax, 0x2004
call fcn.0041c230
mov ecx, dword [esp + 0x2014]
push ebx
xor ebx, ebx
push esi
test ecx, ecx
je 0x418be0
mov byte [ecx], bl
mov edx, dword [esp + 0x2020]
test edx, edx
je 0x418bed
mov byte [edx], bl
mov esi, dword [esp + 0x2010]
test esi, esi
je 0x418cb0
movzx eax, word [esi]
test ax, ax
je 0x418cb0
push ebp
mov ebp, dword [esp + 0x2018]
push edi
mov edi, dword [esp + 0x2020]
mov dword [esp + 0x10], ebx
movzx eax, ax
add esi, 2
cmp eax, 0x3d
jne 0x418c3a
test edi, edi
je 0x418c44
test ebx, ebx
jne 0x418c44
test ecx, ecx
je 0x418c36
mov byte [ecx], 1
mov ebx, ebp
jmp 0x418c5b
cmp eax, 0xd
je 0x418c6e
cmp eax, 0xa
je 0x418c71
mov word [ebp], ax
add ebp, 2
mov eax, dword [esp + 0x202c]
add eax, 0xfffffffe
cmp dword [esp + 0x10], eax
jge 0x418c69
movzx eax, word [esi]
inc dword [esp + 0x10]
test ax, ax
jne 0x418c1c
jmp 0x418c71
mov byte [edx], 1
jmp 0x418c71
add esi, 2
xor eax, eax
mov word [ebp], ax
test edi, edi
je 0x418caa
mov word [edi], ax
test ebx, ebx
je 0x418caa
push 0x1000
lea eax, [esp + 0x18]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
push dword [esp + 0x202c]
lea eax, [esp + 0x18]
push eax
push edi
call fcn.0040e83c
xor eax, eax
mov word [ebx], ax
pop edi
mov eax, esi
pop ebp
jmp 0x418cb2
xor eax, eax
pop esi
pop ebx
add esp, 0x2004
ret 0x18

Function at 0x418cbd
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
lea eax, [ebp - 8]
push eax
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
lea eax, [ebp - 4]
push eax
xor eax, eax
push eax
push eax
push dword [ebp + 0xc]
push eax
call dword [sym.imp.SHELL32.dll_SHGetFolderLocation]
mov ebx, eax
neg ebx
sbb bl, bl
add bl, 1
je 0x418d0c
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
push dword [ebp - 4]
dec eax
neg eax
sbb al, al
lea ebx, [eax + 1]
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
jmp 0x418d14
mov eax, dword [ebp + 8]
xor ecx, ecx
mov word [eax], cx
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x41ada9
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x1040
call fcn.0041c230
push ebx
push esi
mov esi, dword [esp + 0x1050]
xor ebx, ebx
cmp word [esi], bx
je 0x41afd0
push esi
call fcn.004216c5
pop ecx
cmp eax, 0x7f6
jae 0x41afd0
push ebp
push edi
push 0x3c
pop edi
push edi
lea eax, [esp + 0x18]
push ebx
push eax
call fcn.0041d1d0
movzx ecx, word [esi]
lea edx, [esi + 2]
add esp, 0xc
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], 0x1c0
push 0x22
pop ebp
cmp cx, bp
je 0x41ae09
mov edx, esi
mov dword [esp + 0x24], edx
mov eax, ebx
test cx, cx
je 0x41ae52
push 0x20
mov ecx, esi
pop edi
cmp word [ecx], bp
jne 0x41ae33
jmp 0x41ae26
cmp word [esi + eax*2], bp
je 0x41ae2f
inc eax
cmp word [esi + eax*2], bx
jne 0x41ae20
jmp 0x41ae33
mov word [esi + eax*2], di
cmp word [esi + eax*2], di
je 0x41afa7
cmp word [esi + eax*2 + 2], 0x2f
je 0x41afa1
inc eax
lea ecx, [esi + eax*2]
cmp word [ecx], bx
jne 0x41ae19
mov eax, dword [esp + 0x28]
test eax, eax
je 0x41ae5f
cmp word [eax], bx
jne 0x41ae79
cmp byte [esp + 0x105c], bl
jne 0x41ae79
cmp word [0x44975a], bx
je 0x41ae79
mov dword [esp + 0x28], 0x44975a
push edx
mov dword [esp + 0x34], 1
call fcn.0040aa7d
mov esi, eax
test esi, esi
je 0x41aea4
push str..inf
push esi
call fcn.004100d4
test eax, eax
jne 0x41aea4
mov dword [esp + 0x20], 0x43067c
push dword [esp + 0x24]
call fcn.00409870
test al, al
je 0x41aecc
push 0x800
lea eax, [esp + 0x54]
push eax
push dword [esp + 0x2c]
call fcn.0040a806
lea eax, [esp + 0x50]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x41afce
mov edi, dword [esp + 0x1054]
mov ebp, dword [sym.imp.USER32.dll_ShowWindow]
cmp byte [0x448750], bl
jne 0x41af05
cmp byte [esp + 0x105c], bl
jne 0x41af05
cmp byte [0x454e1c], bl
je 0x41af64
test edi, edi
je 0x41af1a
push edi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x41af1a
push ebx
push edi
call ebp
mov bl, 1
push 0x7d0
push dword [esp + 0x50]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
push dword [esp + 0x4c]
call fcn.0041b256
cmp byte [0x454e1c], 0
je 0x41af64
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x50]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x41af64
mov eax, dword [esp + 0x10]
add eax, 0x3e8
cmp eax, dword [0x454e20]
jbe 0x41af64
mov dword [0x454e20], eax
push dword [esp + 0x4c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x41af81
push str..exe
push esi
call fcn.004100d4
test eax, eax
je 0x41afba
cmp byte [0x448750], 0
mov al, byte [esp + 0x105c]
je 0x41afc1
test al, al
jne 0x41afc1
mov dword [0x454e24], 0x1b58
jmp 0x41afc1
cmp word [esi + eax*2], di
jne 0x41afad
xor ecx, ecx
mov word [esi + eax*2], cx
inc eax
lea eax, [esi + eax*2]
mov dword [esp + 0x28], eax
jmp 0x41ae56
mov al, byte [esp + 0x105c]
test bl, bl
je 0x41afce
test al, al
je 0x41afce
push 1
push edi
call ebp
pop edi
pop ebp
pop esi
pop ebx
add esp, 0x1040
ret 0xc
Function at 0x41afdb
Capabilities:
Hide graphical window

Disassembly:
and dword [0x441728], 0
push 1
push dword [esp + 8]
mov byte [0x441725], 1
mov byte [0x441726], 1
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 2
push dword [esp + 0xc]
call fcn.004014c3
cmp dword [0x448734], 0
jne 0x41b01b
cmp byte [0x44874d], 0
je 0x41b024
cmp dword [0x448748], 0
jne 0x41b037
push 0
push 1
push 0x111
push dword [esp + 0x10]
call dword [sym.imp.USER32.dll_SendMessageW]
ret 4

Function at 0x41b137
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1008
call fcn.0041c230
cmp byte [0x448758], 0
je 0x41b1c1
cmp word [0x454e28], 0
je 0x41b1c1
push esi
lea eax, [ebp - 0x1008]
push eax
push 0x454e28
call fcn.00419e0b
lea eax, [ebp - 8]
xor esi, esi
push eax
lea eax, [ebp - 4]
push eax
push esi
push 0x20006
push esi
push esi
push esi
push str.SoftwareWinRAR_SFX
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x41b1c0
push dword [ebp + 8]
call fcn.004216c5
pop ecx
lea eax, [eax*2 + 2]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x1008]
push 1
push esi
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x41b1c7
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2000
call fcn.0041c230
push esi
push dword [ebp + 8]
push str.sfxcmd
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
push 0x1000
lea eax, [ebp - 0x2000]
push eax
push dword [ebp + 8]
call fcn.0040e631
mov esi, eax
test esi, esi
je 0x41b21f
movzx ecx, word [esi]
push ecx
jmp 0x41b20a
add esi, 2
movzx eax, word [esi]
push eax
call fcn.0040e728
test al, al
jne 0x41b203
push esi
push str.sfxpar
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

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

Function at 0x4282a0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x17000]
push edi
jmp 0x4282ba
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4282c1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4282b0
mov eax, 1
add ebx, ebx
jne 0x4282d3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4282c8
jne 0x4282e4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4282c8
xor ecx, ecx
sub eax, 3
jb 0x4282f8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x42836a
mov ebp, eax
add ebx, ebx
jne 0x428303
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x428310
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x428334
inc ecx
add ebx, ebx
jne 0x428320
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x428315
jne 0x428331
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x428315
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x428354
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x428345
jmp 0x4282b6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x428354
add edi, ecx
jmp 0x4282b6
pop esi
mov edi, esi
mov ecx, 0x115
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x428372
cmp byte [edi], 3
jne 0x428372
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 0x428377
lea edi, [esi + 0x26000]
mov eax, dword [edi]
or eax, eax
je 0x4283e6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x28000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x280c4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4283a4
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x280cc]
or eax, eax
je 0x4283e0
mov dword [ebx], eax
add ebx, 4
jmp 0x4283c1
call dword [esi + 0x280c8]
mov ebp, dword [esi + 0x280d0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1ef]
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 0x42841a
sub esp, 0xffffff80
jmp 0x409ac0
Function at 0x401dc0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x439070]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov esi, ecx
mov edi, edx
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x401df1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040a82b
mov esp, ebp
pop ebp
ret
push 0x34
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0xaac56b
movups xmmword [ebp - 0x24], xmm0
lea eax, [ebp - 0x58]
mov dword [ebp - 0x10], 0x11d0cd44
push 0
push eax
mov dword [ebp - 0xc], 0xc000c28c
mov dword [ebp - 8], 0xee95c24f
mov dword [ebp - 0x24], 0x10
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
call fcn.0040efc0
add esp, 0xc
mov dword [ebp - 0x58], 0x34
mov ecx, 0x1000
mov dword [ebp - 0x54], 0
test edi, edi
mov dword [ebp - 0x4c], 2
mov eax, 0x100
mov dword [ebp - 0x48], 0
cmovne eax, ecx
mov dword [ebp - 0x44], 1
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x24]
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x3c], 0
push eax
push 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x2c], 0
call dword [sym.imp.WINTRUST.dll_WinVerifyTrust]
mov ecx, dword [ebp - 4]
neg eax
pop edi
sbb eax, eax
xor ecx, ebp
inc eax
pop esi
call fcn.0040a82b
mov esp, ebp
pop ebp
ret

Function at 0x402870
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4281aa
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x439070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x28], esi
mov edi, dword [ebp + 8]
push 0
mov dword [ebp - 0x2c], esi
call fcn.004099a3
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov byte [ebp - 4], 6
test edi, edi
jne 0x402930
lea eax, [ebp - 0x20]
mov dword [ebp - 0x24], vtable.std::exception.0
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], str.bad_locale_name
xorps xmm0, xmm0
mov byte [ebp - 0x14], 1
push eax
movq qword [ebp - 0x20], xmm0
call fcn.0040cb36
add esp, 8
mov dword [ebp - 0x24], vtable.std::runtime_error.0
lea eax, [ebp - 0x24]
push 0x437a4c
push eax
call fcn.0040ce7c
push edi
push esi
call fcn.00409ceb
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040a82b
mov esp, ebp
pop ebp
ret 4