joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10071050
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
sub esp, 0x1c
push ebx
push ebp
push esi
xor esi, esi
xor ebx, ebx
push edi
mov dword [esp + 0x18], esi
mov dword [esp + 0x24], esi
cmp dword [esp + 0x30], esi
je 0x1007108a
cmp dword [esp + 0x34], esi
je 0x1007108a
push 0x200
call fcn.100774c5
mov edi, eax
add esp, 4
cmp edi, esi
jne 0x10071095
push 8
call dword [sym.imp.KERNEL32.dll_SetLastError]
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
lea eax, [esp + 0x14]
push eax
push 0x20119
push esi
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionNetworkCards
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100711f4
mov edx, dword [esp + 0x14]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
push esi
push esi
push esi
push esi
lea ecx, [esp + 0x20]
push ecx
push edi
push esi
push edx
mov dword [esp + 0x30], 0x100
call ebp
test eax, eax
jne 0x1007118a
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x100710ed
mov eax, reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [esp + 0x1c]
push ecx
push 0x20119
push 0
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10071163
lea edx, [esp + 0x34]
push edx
mov edx, dword [esp + 0x20]
lea eax, [edi + 4]
push eax
lea ecx, [esp + 0x28]
push ecx
push 0
push str.ServiceName
push edx
mov dword [esp + 0x38], 1
mov dword [esp + 0x28], 0x200
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x10071158
mov eax, edi
mov dword [edi], 0x5c2e5c5c
call fcn.10070fc0
cmp edx, ebx
jb 0x10071158
ja 0x10071152
cmp eax, dword [esp + 0x24]
jbe 0x10071158
mov dword [esp + 0x24], eax
mov ebx, edx
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [esp + 0x14]
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x20]
push ecx
push edi
inc esi
push esi
push edx
mov dword [esp + 0x30], 0x100
call ebp
test eax, eax
je 0x100710e0
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
ja 0x100711a0
cmp dword [esp + 0x24], 0
jbe 0x100711f4
mov ecx, dword [esp + 0x24]
push ebx
push ecx
push str._012I64X
push 0x200
call fcn.1006ee70
add esp, 0x10
test eax, eax
jne 0x100711d9
push edi
mov dword [esp + 0x1c], 0xffffffff
call fcn.100773e8
mov eax, dword [esp + 0x1c]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
push edi
push edx
push str.MAC:
call fcn.10070c10
add esp, 0xc
mov dword [esp + 0x18], eax
push edi
call fcn.100773e8
mov eax, dword [esp + 0x1c]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
Function at 0x100741f0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10095b70
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x100c230c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ecx, dword [0x100c66b0]
xor edi, edi
cmp ecx, edi
jne 0x1007423b
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ecx + 4]
cmp eax, 0xffffffff
jne 0x10074248
mov dword [ebp - 0x14], edi
jmp 0x10074260
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp - 0x14], eax
cmp eax, edi
jne 0x100742f6
mov ecx, dword [0x100c66b0]
mov eax, dword [ecx]
cmp eax, edi
je 0x10074227
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x10074227
mov ebx, 0x100c66b0
mov dword [ebp - 4], edi
call fcn.10074310
mov esi, eax
mov dword [ebp - 0x14], esi
cmp esi, edi
jne 0x1007429e
push 0x100b3efc
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x18], 1
call fcn.10079fdb
mov ecx, dword [0x100c66b0]
mov eax, dword [ecx + 4]
cmp eax, 0xffffffff
je 0x100742b8
push esi
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
cmp eax, edi
jne 0x100742e2
push 0x100b3efc
lea edx, [ebp - 0x1c]
push edx
mov dword [ebp - 0x1c], 4
call fcn.10079fdb
mov esi, dword [ebp - 0x14]
test esi, esi
je 0x100742d9
call fcn.10074670
mov eax, 0x100742df
ret
mov eax, dword [0x100c66b0]
mov eax, dword [eax]
test eax, eax
je 0x100742f4
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10074310
Capabilities:
Print debug messages

Disassembly:
sub esp, 8
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [esp + 4], eax
mov eax, dword [ebx]
mov ecx, dword [eax + 0x5b0]
add eax, 8
mov dword [eax + 0x5b0], ecx
cmp ecx, eax
jne 0x1007433d
xor ecx, ecx
jmp 0x10074349
mov edx, dword [ecx + 0x5a8]
mov dword [eax + 0x5b0], edx
push esi
mov esi, ecx
test ecx, ecx
je 0x100743fd
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_OpenThread]
mov eax, dword [esi]
cmp dword [esp + 0x10], eax
jne 0x10074370
mov dword [esp + 0xc], esi
jmp 0x100743d0
push eax
push 1
push 0x40
call edi
test eax, eax
jne 0x100743c9
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x100743bc
mov eax, dword [esi + 0x5ac]
mov ecx, dword [esi + 0x5a8]
mov dword [eax + 0x5a8], ecx
mov edx, dword [esi + 0x5a8]
mov eax, dword [esi + 0x5ac]
mov dword [edx + 0x5ac], eax
call ebp
test eax, eax
je 0x100743d0
push esi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x100743d0
push 0x100b0970
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x100743d0
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebx]
mov esi, dword [eax + 0x5b8]
add eax, 8
cmp esi, eax
je 0x100743f3
mov ecx, dword [esi + 0x5a8]
mov dword [eax + 0x5b0], ecx
test esi, esi
jne 0x10074362
mov eax, dword [esp + 0xc]
pop edi
pop ebp
test eax, eax
jne 0x10074411
mov ecx, dword [ebx]
add ecx, 8
call fcn.100745a0
test eax, eax
je 0x10074411
mov edx, dword [esp + 8]
mov dword [eax], edx
pop esi
add esp, 8
ret

Function at 0x10074420
Capabilities:
Allocate thread local storage

Disassembly:
push 0xffffffffffffffff
push 0x10095b4b
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x100c230c]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov edi, dword [esp + 0x1c]
lea esi, [edi + 8]
push 0x5a0
lea eax, [esi + 8]
push 0
mov dword [edi], 0
mov dword [edi + 4], 0xffffffff
push eax
mov dword [esi], 0
call fcn.10079c60
add esp, 0xc
mov dword [esi + 0x5ac], esi
mov dword [esi + 0x5a8], esi
mov dword [esi + 0x5b0], esi
mov dword [esp + 0x14], 0
mov dword [edi + 0x5bc], 0
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [edi + 4], eax
cmp eax, 0xffffffff
jne 0x100744b8
push 0x100b3efc
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x28], 2
call fcn.10079fdb
mov ecx, dword [esp + 0x20]
mov dword [edi], ecx
mov eax, edi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 8

Function at 0x100755ed
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x100c230c]
jne 0x100755f7
repz ret
jmp fcn.1007da25
Function at 0x1008cf0c
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.1007dc0d
and dword [ebp - 4], 0
cmp dword [0x100c56b4], 0
mov ebx, eax
jne 0x1008cfbd
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x1008d06e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x1008d06e
push eax
call fcn.1007db9b
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x100c56b4], eax
call esi
push eax
call fcn.1007db9b
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x100c56b8], eax
call esi
push eax
call fcn.1007db9b
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x100c56bc], eax
call esi
push eax
call fcn.1007db9b
pop ecx
mov dword [0x100c56c4], eax
test eax, eax
je 0x1008cfbd
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.1007db9b
pop ecx
mov dword [0x100c56c0], eax
mov eax, dword [0x100c56c0]
cmp eax, ebx
je 0x1008d015
cmp dword [0x100c56c4], ebx
je 0x1008d015
push eax
call fcn.1007dc16
push dword [0x100c56c4]
mov esi, eax
call fcn.1007dc16
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x1008d015
test edi, edi
je 0x1008d015
call esi
test eax, eax
je 0x1008d00c
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x1008d00c
test byte [ebp - 0xc], 1
jne 0x1008d015
or dword [ebp + 0x10], 0x200000
jmp 0x1008d04e
mov eax, dword [0x100c56b8]
cmp eax, ebx
je 0x1008d04e
push eax
call fcn.1007dc16
pop ecx
test eax, eax
je 0x1008d04e
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x1008d04e
mov eax, dword [0x100c56bc]
cmp eax, ebx
je 0x1008d04e
push eax
call fcn.1007dc16
pop ecx
test eax, eax
je 0x1008d04e
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x100c56b4]
call fcn.1007dc16
pop ecx
test eax, eax
je 0x1008d06e
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x1008d070
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401005
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
jmp 0x403b40
sub esp, 0x2c
lea eax, [esp + 8]
push ebx
push esi
push edi
push ebp
push 0x22
push eax
call fcn.00401019
mov dx, 8
add esp, 8
movzx eax, dx
dec dx
mov ecx, dword [esp + 0x40]
mov ebx, dword [ecx + eax*4 - 4]
lea eax, [ecx + eax*4]
sub dword [eax], ebx
cmp dx, 2
jae 0x403b5a
mov si, 8
xor edi, edi
mov word [esp + 0x12], di
mov ebx, 0x80000000
mov eax, dword [esp + 0x12]
and eax, 0xffff
mov ecx, dword [esp + 0x40]
mov eax, dword [ecx + eax*4]
mov ecx, eax
and ecx, ebx
cmp ecx, 1
sbb dl, dl
xor cx, cx
inc dl
mov ebp, ebx
and ebp, eax
je 0x403baa
test dl, dl
je 0x403bbd
test ebp, ebp
jne 0x403bb2
test dl, dl
jne 0x403bbd
shr ebx, 1
inc cx
cmp cx, 0x20
jb 0x403ba0
shr cx, 2
mov bl, 7
sub bl, cl
movzx cx, bl
lea edx, [edx + ebx*2]
lea ecx, [ecx*4 + 4]
mov word [esp + 0x14], cx
mov byte [esp + 0x11], dl
xor dx, dx
mov bl, byte [esp + 0x11]
mov cl, 3
movzx ebp, di
sub cl, dl
shr bl, cl
and bl, 1
lea ecx, [esi - 1]
shl bl, cl
or byte [esp + ebp + 0x18], bl
dec si
jne 0x403c02
mov si, 8
inc di
inc dx
cmp dx, 4
jb 0x403bdf
xor dx, dx
cmp word [esp + 0x14], dx
je 0x403c42
mov ebx, eax
mov cl, byte [esp + 0x14]
movzx ebp, di
sub cl, dl
dec cl
shr ebx, cl
and bl, 1
lea ecx, [esi - 1]
shl bl, cl
or byte [esp + ebp + 0x18], bl
dec si
jne 0x403c39
mov si, 8
inc di
inc dx
cmp dx, word [esp + 0x14]
jb 0x403c14
inc word [esp + 0x12]
cmp word [esp + 0x12], 9
jb 0x403b7d
cmp si, 8
je 0x403c5b
inc di
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, dword [esp + 0x44]
push 0x28
mov dword [esp + 0x18], eax
push esi
call fcn.00401019
mov al, byte [esp + 0x1c]
add esp, 8
movzx ecx, di
mov edi, 0x26
mov byte [esi], al
xor eax, eax
sub edi, ecx
mov al, byte [esp + 0x15]
cdq
idiv edi
add dl, 2
mov al, byte [esp + 0x14]
sub al, dl
movzx bx, dl
movzx edx, bx
mov byte [esi + 1], al
lea edi, [ecx + edx]
cmp edi, edx
jle 0x403cb7
movzx eax, bx
inc bx
mov byte [eax + esi], 1
movzx ebp, bx
cmp ebp, edi
jl 0x403ca7
mov bx, 2
movzx eax, bx
lea edi, [eax + esi]
cmp byte [edi], 0
jne 0x403ccc
mov al, byte [esp + 0x16]
mov byte [edi], al
inc bx
cmp bx, 0x28
jb 0x403cbb
lea eax, [esp + 0x18]
push ecx
push eax
add edx, esi
push edx
call fcn.00401014
mov cx, 1
add esp, 0xc
movzx eax, cx
inc cx
add eax, esi
mov dl, byte [eax - 1]
xor byte [eax], dl
cmp cx, 0x28
jb 0x403ce9
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x2c
ret
Function at 0x100128f
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push esi
push edi
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov edi, eax
push edi
mov dword [ebp - 0x10], edi
call dword [sym.imp.KERNEL32.dll_GetFileType]
test al, 2
je 0x10012e8
lea eax, [ebp - 0x14]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetConsoleMode]
test eax, eax
je 0x10012e8
mov eax, dword [ebp + 8]
lea edx, [eax + 2]
xor esi, esi
mov cx, word [eax]
inc eax
inc eax
cmp cx, si
jne 0x10012c8
push esi
sub eax, edx
lea ecx, [ebp - 0xc]
push ecx
sar eax, 1
push eax
push dword [ebp + 8]
push edi
call dword [sym.imp.KERNEL32.dll_WriteConsoleW]
jmp 0x100134e
mov edi, dword [sym.imp.KERNEL32.dll_GetConsoleOutputCP]
push ebx
xor esi, esi
push esi
push esi
push esi
push esi
push 0xffffffffffffffff
push dword [ebp + 8]
push esi
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push eax
call ebx
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.msvcrt.dll_malloc]
pop ecx
mov dword [ebp - 8], eax
cmp eax, esi
je 0x100134b
push esi
push esi
push dword [ebp - 4]
push eax
push 0xffffffffffffffff
push dword [ebp + 8]
push esi
call edi
push eax
call ebx
push esi
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
dec eax
push eax
push dword [ebp - 8]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [ebp - 8]
mov esi, eax
call dword [sym.imp.msvcrt.dll_free]
pop ecx
mov eax, esi
pop ebx
pop edi
pop esi
leave
ret 4

Function at 0x1001452
Capabilities:
Execute command

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x1003008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov eax, ebx
push edi
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x1001472
sub eax, edx
sar eax, 1
mov edi, eax
mov dword [ebp - 0x210], 0x5a50
push dword [ebp - 0x210]
call fcn.01001265
test eax, eax
jne 0x10014cb
push dword [ebp - 0x210]
call fcn.01001359
mov esi, eax
pop ecx
test esi, esi
je 0x10014fa
push edi
push esi
push ebx
call dword [sym.imp.msvcrt.dll__wcsnicmp]
add esp, 0xc
test eax, eax
jne 0x10014c4
cmp word [esi + edi*2], 0x20
je 0x1001518
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
inc dword [ebp - 0x210]
cmp dword [ebp - 0x210], 0x5aa8
jbe 0x100148c
push ebx
push 0x5a4e
call fcn.01001359
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x10014fa
push esi
call fcn.0100128f
xor edi, edi
jmp 0x1001550
push dword [ebp - 0x210]
call fcn.01001392
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.010018c9
leave
ret 4
push ebx
mov edi, 0x104
lea eax, [ebp - 0x20c]
push edi
push eax
call sub.msvcrt.dll_wcscpy_s
push 0x100116c
lea eax, [ebp - 0x20c]
push edi
push eax
call sub.msvcrt.dll_wcscat_s
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.msvcrt.dll__wsystem]
xor edi, edi
add esp, 0x1c
inc edi
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, edi
jmp 0x1001507
Function at 0x10018ba
Capabilities:
Terminate process

Disassembly:
push 0x10
push 0x1001d48
call fcn.01001a74
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov dword [ebp - 0x1c], ebx
mov edi, 0x1003378
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
cmp eax, ebx
je 0x10016cf
cmp eax, esi
jne 0x10016c2
xor esi, esi
inc esi
mov dword [ebp - 0x1c], esi
jmp 0x10016d2
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x10016a9
xor esi, esi
inc esi
mov eax, dword [0x1003374]
cmp eax, esi
jne 0x10016e5
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x1001720
mov eax, dword [0x1003374]
test eax, eax
jne 0x100171a
mov dword [0x1003374], esi
push 0x10010d8
push 0x10010cc
call fcn.01001626
pop ecx
pop ecx
test eax, eax
je 0x1001720
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x10017ea
mov dword [0x100303c], esi
mov eax, dword [0x1003374]
cmp eax, esi
jne 0x1001744
push 0x10010c8
push 0x10010c0
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x1003374], 2
cmp dword [ebp - 0x1c], ebx
jne 0x1001751
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x100337c], ebx
je 0x1001772
push 0x100337c
call fcn.010019e9
pop ecx
test eax, eax
je 0x1001772
push ebx
push 2
push ebx
call dword [0x100337c]
push dword [0x1003024]
push dword [0x1003028]
push dword [0x1003020]
call fcn.01001560
add esp, 0xc
mov dword [0x1003038], eax
cmp dword [0x100302c], ebx
jne 0x10017d0
push eax
call dword [sym.imp.msvcrt.dll_exit]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov ecx, dword [ecx]
mov dword [ebp - 0x20], ecx
push eax
push ecx
call sub.msvcrt.dll__XcptFilter
pop ecx
pop ecx
ret
cmp dword [0x100303c], ebx
jne 0x10017de
call dword [sym.imp.msvcrt.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x1003038]
call fcn.01001ab9
ret
call fcn.01001bc1
jmp 0x1001687
Function at 0x437420
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x25000]
push edi
jmp 0x43743a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x437441
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x437430
mov eax, 1
add ebx, ebx
jne 0x437453
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x437448
jne 0x437464
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x437448
xor ecx, ecx
sub eax, 3
jb 0x437478
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4374ea
mov ebp, eax
add ebx, ebx
jne 0x437483
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x437490
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4374b4
inc ecx
add ebx, ebx
jne 0x4374a0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x437495
jne 0x4374b1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x437495
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4374d4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4374c5
jmp 0x437436
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4374d4
add edi, ecx
jmp 0x437436
pop esi
mov edi, esi
mov ecx, 0xa88
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4374f2
cmp byte [edi], 0x12
jne 0x4374f2
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 0x4374f7
lea edi, [esi + 0x35000]
mov eax, dword [edi]
or eax, eax
je 0x43756f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x45fc4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x460a4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x437524
mov ecx, edi
jns 0x437553
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 + 0x460ac]
or eax, eax
je 0x437569
mov dword [ebx], eax
add ebx, 4
jmp 0x437541
call dword [esi + 0x460a8]
mov ebp, dword [esi + 0x460b0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x17f]
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 0x4375a3
sub esp, 0xffffff80
jmp 0x41c35f
Function at 0x401160
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ecx
mov eax, dword [esp + 0x10]
push ebp
push esi
push edi
mov edi, dword [esp + 0x18]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x14]
push eax
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x40121c
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebp, eax
test ebp, ebp
je 0x40121c
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
push ebx
push 0x22
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x40120b
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push ebp
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x401204
test edi, edi
je 0x401204
push ebx
push eax
push edi
call fcn.00466530
add esp, 0xc
push ebp
call dword [sym.imp.KERNEL32.dll_FreeResource]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov edi, dword [esp + 0x10]
push ebx
mov ecx, esi
call fcn.00401230
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop ebx
pop edi
pop esi
mov eax, 1
pop ebp
pop ecx
ret 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push ebp
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop ebx
pop edi
pop esi
xor eax, eax
pop ebp
pop ecx
ret 0xc
pop edi
pop esi
xor eax, eax
pop ebp
pop ecx
ret 0xc

Function at 0x401b00
Capabilities:
Create thread

Disassembly:
sub esp, 0x10c
mov eax, dword [0x5655bc]
xor eax, esp
mov dword [esp + 0x108], eax
mov eax, dword [esp + 0x114]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x11c]
push 0x104
mov ebx, ecx
lea ecx, [esp + 0x14]
push 0
push ecx
mov dword [esp + 0x18], eax
call fcn.00463a20
add esp, 0xc
cmp dword [esi + 0x18], 8
lea ebp, [esi + 4]
jb 0x401b4d
mov eax, dword [ebp]
jmp 0x401b4f
mov eax, ebp
push edi
mov edi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push eax
push 0
push 1
call edi
cmp dword [esi + 0x18], 8
jb 0x401b72
mov ecx, dword [ebp]
jmp 0x401b74
mov ecx, ebp
xor ebp, ebp
push ebp
push ebp
push eax
lea edx, [esp + 0x20]
push edx
push 0xffffffffffffffff
push ecx
push ebp
push 1
call edi
mov eax, dword [esp + 0x10]
mov edi, dword [ebx + 4]
push eax
lea edx, [esp + 0x18]
call fcn.00401950
mov esi, dword [ebx + 4]
lea ecx, [esp + 0x10]
push ecx
push ebp
push esi
push 0x4018d0
push ebp
push ebp
mov dword [esp + 0x28], ebp
call fcn.0046c915
add esp, 0x18
cmp eax, ebp
mov dword [esi + 0xc], eax
pop edi
je 0x401be6
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x401bde
mov edx, dword [esi + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0xc], ebp
mov eax, dword [ebx + 4]
mov al, byte [eax + 4]
jmp 0x401bec
mov ecx, dword [ebx + 4]
mov al, byte [ecx + 4]
jmp 0x401bec
mov edx, dword [ebx + 4]
mov al, byte [edx + 4]
mov ecx, dword [esp + 0x114]
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00463a0b
add esp, 0x10c
ret 8