joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401ae8
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebx, section..text
push 0x67
push dword [0x4028f4]
call dword [sym.imp.USER32.dll_LoadBitmapA]
sub ebx, 0x1000
mov dword [0x4028f4], ebx
xor eax, eax
mov ebp, esp
mov ecx, 0xa
push eax
dec ecx
jne 0x401b11
push esp
mov eax, str.contents
mov dword [ebp - 4], eax
lea eax, [0x401187]
mov dword [ebp - 0x24], eax
mov ecx, dword [0x4028f4]
mov dword [ebp - 0x18], ecx
call dword [sym.imp.USER32.dll_RegisterClassA]
push 0x67
push dword [0x4028f4]
call dword [sym.imp.USER32.dll_LoadBitmapA]
xor eax, eax
push eax
push dword [0x4028f4]
push eax
push eax
push 0x1f4
push 0x2f4
push 0x578
push 0xce4
push 0
mov ecx, str.frantically
push eax
push str.contents
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x402904], eax
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x402904]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x401bc9
mov esi, dword [sym.imp.USER32.dll_TranslateMessage]
mov edi, dword [sym.imp.USER32.dll_DispatchMessageA]
lea ecx, [ebp - 0x1c]
push ecx
call edi
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
jne 0x401bb0
pop ebp
ret 0x10

Function at 0x401686
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
call dword [sym.imp.KERNEL32.DLL_GetCommandLineA]
mov dword [0x404474], eax
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
mov dword [0x4041cf], ebp
mov dword [0x404404], eax
mov dword [0x4041c7], eax
mov dword [0x4043f0], 0x30
mov dword [0x4043f4], 2
jmp 0x4016c6
mov dword [0x4043f8], 0x403051
mov dword [0x4043fc], 0
mov dword [0x404400], 0
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x40440c], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x404408], eax
mov dword [0x40441c], eax
mov dword [0x404418], 0x40439a
mov dword [0x404410], 0xf
push 0x4043f0
call dword [sym.imp.user32.dll_RegisterClassExA]
push 0
push dword [0x4041c7]
push 0
push 0
push 0x1e0
push 0x1fe
push 0xfffff862
push 0xfffff8f8
push 0xcf0000
push 0x4043e7
push str.lunt
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x404468], eax
push 5
push dword [0x404468]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x404468]
call dword [sym.imp.user32.dll_UpdateWindow]
xor edi, edi
lea ebx, [0x404420]
jmp 0x40179a
push ebx
call dword [sym.imp.user32.dll_TranslateMessage]
push ebx
call dword [sym.imp.user32.dll_DispatchMessageA]
push edi
push edi
push edi
push ebx
call dword [sym.imp.user32.dll_GetMessageA]
test al, al
jne 0x40178c
mov eax, dword [0x404428]
jmp 0x4017b5
call 0x402a06
ret
Function at 0x406de0
Capabilities:
Hide graphical window

Disassembly:
push 0
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_ShowWindow
push 0xffffffffffffffec
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x80
push eax
push 0xffffffffffffffec
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_SetWindowLongA
push 5
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_ShowWindow
ret

Function at 0x109ba194
Capabilities:
Encode data using xor

Disassembly:
jmp 0x109ba19e
pushal
call 0x109ba1a4
pop ebp
sub ebp, 0x10
sub ebp, 0x9ba194
mov al, byte [esp + 0x28]
cmp al, 1
je 0x109ba1c8
popal
xor eax, eax
inc eax
ret 0xc
jmp 0x109ba1d1
mov eax, 0x9ba194
add eax, ebp
add eax, 0x63
mov ecx, 0x5d7
mov edx, 0x525baf4a
xor byte [eax], dl
inc eax
dec ecx
jne 0x109ba1e8
jmp 0x109ba1fb
rol dword [edi + 0x4a76c3c1], 0x4a
dec edx
retf
Function at 0x10002c00
Capabilities:
Access firewall rule properties via inetfwrule

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
xor eax, eax
push ebx
push edi
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
cmp dword [ebp + 8], eax
je 0x10002dca
mov edi, dword [ebp + 0xc]
cmp edi, eax
je 0x10002dca
mov ebx, dword [ebp + 0x10]
cmp ebx, eax
je 0x10002dca
push esi
mov esi, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
push edi
call esi
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x10002c4a
mov esi, 0x8007000e
jmp 0x10002c97
push ebx
call esi
mov ebx, eax
test ebx, ebx
jne 0x10002c5a
mov esi, 0x8007000e
jmp 0x10002c8d
cmp byte [ebp + 0x18], 0
je 0x10002cbe
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0xc]
push ecx
push edi
mov edi, dword [ebp + 8]
push edi
call fcn.10002740
mov esi, eax
add esp, 0x10
test esi, esi
js 0x10002c86
cmp dword [ebp - 0xc], 0
je 0x10002cc1
mov esi, 4
push ebx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 4]
test eax, eax
je 0x10002ca6
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov eax, dword [ebp - 8]
test eax, eax
je 0x10002cb5
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, esi
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp + 8]
mov edx, dword [edi]
mov ecx, dword [edx + 0x48]
lea eax, [ebp - 8]
push eax
push edi
call ecx
mov esi, eax
test esi, esi
js 0x10002c86
lea edx, [ebp - 4]
push edx
push 0x1000d1f0
push 1
push 0
push 0x1000d210
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test esi, esi
js 0x10002c86
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x30]
call eax
mov esi, eax
test esi, esi
js 0x10002c86
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x20]
push ebx
push eax
call edx
mov esi, eax
test esi, esi
js 0x10002c86
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x70]
push 1
push eax
call edx
mov esi, eax
test esi, esi
js 0x10002c86
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xa8]
push 1
push eax
call edx
mov esi, eax
test esi, esi
js 0x10002c86
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 0x14]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x40]
call eax
mov esi, eax
test esi, esi
js 0x10002c86
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x98]
push 7
push eax
call edx
mov esi, eax
test esi, esi
js 0x10002c86
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x88]
push 0xffffffffffffffff
push eax
call edx
mov esi, eax
test esi, esi
js 0x10002c86
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xa0]
push 0
push eax
call edx
mov esi, eax
test esi, esi
js 0x10002c86
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x20]
call eax
mov esi, eax
jmp 0x10002c86
pop edi
mov eax, 0x80004003
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100037e6
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [section..data]
jne 0x100037f0
repz ret
jmp fcn.10004108

Function at 0x1000555d
Capabilities:
Contain obfuscated stackstrings

Disassembly:
add byte [edx + 0x40], ch
pop ecx
xor eax, eax
lea edi, [ebp - 0x22f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x12c], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x12b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x654], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x653]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x504], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x503]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call fcn.10004677
or byte [eax + 0x2ff845c6], ah
mov byte [ebp - 0x24], 0x34
and byte [ebp - 0x36c], 0
and byte [ebp - 0x36b], 0
mov byte [ebp - 0x36a], 0xaa
and byte [ebp - 0x369], 0
mov byte [ebp - 0x368], 0x12
mov byte [ebp - 0x367], 0x30
mov byte [ebp - 0x366], 0x21
mov byte [ebp - 0x365], 6
mov byte [ebp - 0x364], 0x2c
mov byte [ebp - 0x363], 0x26
mov byte [ebp - 0x362], 0x21
mov byte [ebp - 0x361], 0x30
mov byte [ebp - 0x360], 0x38
mov byte [ebp - 0x35f], 0x11
mov byte [ebp - 0x35e], 0x3c
mov byte [ebp - 0x35d], 0x27
mov byte [ebp - 0x35c], 0x30
mov byte [ebp - 0x35b], 0x36
mov byte [ebp - 0x35a], 0x21
mov byte [ebp - 0x359], 0x3a
mov byte [ebp - 0x358], 0x27
mov byte [ebp - 0x357], 0x2c
mov byte [ebp - 0x356], 0x14
mov byte [ebp - 0x355], 0x55
lea eax, [ebp - 0x36c]
push eax
call fcn.100046a9
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.1000465e
add esp, 0xc
mov dword [ebp - 0x3d4], eax
call fcn.10004699
xchg edx, eax
sub ecx, edx
popal
push 0x104
lea eax, [ebp - 0x12c]
push eax
invalid
xchg ebp, eax
sub al, 0xfc
invalid

Function at 0x10005d94
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x3ac]
push eax
lea eax, [ebp - 0x688]
push eax
call fcn.1000460a
add esp, 0xc
mov eax, dword [ebp - 0x678]
mov ecx, dword [ebp - 4]
lea eax, [ecx + eax + 4]
mov dword [ebp - 0x748], eax
mov eax, dword [ebp - 0x3ac]
mov ecx, dword [ebp - 4]
lea eax, [ecx + eax + 4]
mov dword [ebp - 0x6f8], eax
and dword [ebp - 0x700], 0
jmp 0x10005de9
mov eax, dword [ebp - 0x700]
inc eax
mov dword [ebp - 0x700], eax
mov eax, dword [ebp - 0x700]
cmp eax, dword [ebp - 0x38c]
jae 0x10005e3b
mov eax, dword [ebp - 0x748]
add eax, dword [ebp - 0x700]
movsx eax, byte [eax]
movsx ecx, byte [ebp - 8]
xor eax, ecx
mov ecx, dword [ebp - 0x748]
add ecx, dword [ebp - 0x700]
mov byte [ecx], al
mov eax, dword [ebp - 0x748]
add eax, dword [ebp - 0x700]
movsx eax, byte [eax]
not eax
invalid
invalid
invalid
clc
invalid
Function at 0x40b2c0
Capabilities:
Check mutex on windows
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x2c
mov ebx, dword [ebp + 8]
mov dword [esp], ebx
call sub.msvcrt.dll_strlen
mov esi, eax
lea eax, [eax + 0x41]
and eax, 0xfffffff0
call fcn.0040a190
mov edx, 0x326d
sub esp, eax
lea eax, [esp + 0x1b]
mov dword [esp + 8], esi
lea edi, [esp + 0xc]
mov dword [esp + 4], ebx
mov dword [esp], eax
mov word [esp + 0x18], dx
mov dword [esp + 0xc], 0x2d636367
mov dword [esp + 0x10], 0x656d6873
mov dword [esp + 0x14], 0x64742d6d
mov byte [esp + 0x1a], 0x2d
call sub.msvcrt.dll_memcpy
lea eax, [esi + 0x10]
mov dword [ebp - 0x1c], eax
add eax, edi
mov dword [eax], 0x61616161
mov dword [eax + 4], 0x61616161
mov dword [eax + 8], 0x61616161
mov dword [eax + 0xc], 0x61616161
mov dword [eax + 0x10], 0x61616161
mov dword [eax + 0x14], 0x61616161
mov dword [eax + 0x18], 0x61616161
mov dword [eax + 0x1c], 0x61616161
mov byte [esp + esi + 0x3c], 0
mov byte [esp + esi + 0x1b], 0
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov byte [edi + esi + 0xf], 0x2d
sub esp, 0xc
mov dword [ebp - 0x20], eax
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
sub esp, 8
test eax, eax
je 0x40b3a8
int3
mov dword [esp], edi
call dword [sym.imp.KERNEL32.dll_FindAtomA]
sub esp, 4
test ax, ax
jne 0x40b443
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call sub.msvcrt.dll_malloc
mov ebx, eax
mov eax, dword [ebp - 0x1c]
lea edx, [edi + eax]
mov eax, 0x20
bt ebx, eax
jae 0x40b3dd
mov byte [edx], 0x41
add edx, 1
sub eax, 1
jne 0x40b3d5
mov dword [esp], edi
call dword [sym.imp.KERNEL32.dll_AddAtomA]
sub esp, 4
test ax, ax
je 0x40b440
lea ecx, [esi + 0x31]
mov esi, dword [ebp - 0x1c]
movzx eax, ax
mov edx, edi
mov dword [esp], esi
call fcn.0040b250
cmp eax, ebx
mov esi, eax
je 0x40b45a
mov dword [esp], ebx
call sub.msvcrt.dll_free
mov edi, dword [ebp - 0x20]
mov dword [esp], edi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
sub esp, 4
mov dword [esp], edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
int3
lea ecx, [esi + 0x31]
mov esi, dword [ebp - 0x1c]
movzx eax, ax
mov edx, edi
mov dword [esp], esi
call fcn.0040b250
mov esi, eax
jmp 0x40b417
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], 0
mov dword [esp], ebx
mov dword [esp + 8], eax
call sub.msvcrt.dll_memset
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x40b417
mov dword [esp], ebx
call dword [ebp + 0x10]
nop
jmp 0x40b417
Function at 0x40c340
Capabilities:
Allocate thread local storage

Disassembly:
push ebx
sub esp, 0x18
mov ebx, dword [0x41e40c]
test ebx, ebx
je 0x40c370
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [ebx], eax
mov eax, dword [0x41e40c]
test eax, eax
je 0x40c395
cmp dword [eax], 0xffffffff
je 0x40c3b8
add esp, 0x18
pop ebx
ret
mov dword [esp + 8], 0x40b5c0
mov dword [esp + 4], 4
mov dword [esp], 0x41cc69
call fcn.004109d0
mov dword [0x41e40c], eax
mov ebx, eax
jmp 0x40c34e
mov dword [esp + 8], 0x40b5c0
mov dword [esp + 4], 4
mov dword [esp], 0x41cc69
call fcn.004109d0
mov dword [0x41e40c], eax
jmp 0x40c35f
call sub.msvcrt.dll_abort
lea esi, [esi]

Function at 0x40e5b0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x10
mov esi, dword [ebp + 8]
call fcn.0040c990
mov ebx, eax
mov dword [eax + 4], esi
mov eax, dword [eax + 0xbc]
test eax, eax
jne 0x40e631
test byte [ebx + 0x20], 0x30
je 0x40e638
mov eax, dword [0x41e40c]
test eax, eax
je 0x40e6c1
mov eax, dword [eax]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
test eax, eax
mov ebx, eax
je 0x40e628
cmp dword [eax + 0x14], 0
je 0x40e68e
mov esi, dword [eax + 4]
mov dword [eax + 0x70], 1
mov eax, dword [eax + 0x18]
test eax, eax
je 0x40e61b
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
test byte [ebx + 0x24], 4
mov dword [ebx + 0x18], 0
jne 0x40e64b
mov dword [esp], esi
call dword [sym.imp.msvcrt.dll__endthreadex]
call fcn.0040cf00
jmp 0x40e5cf
add ebx, 0x78
mov dword [esp + 4], 1
mov dword [esp], ebx
call 0x4134b5
mov eax, dword [ebx + 0x14]
mov dword [ebx], 0xdeadbeef
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
cmp dword [ebx + 0xb8], 0
mov dword [ebx + 0x14], 0
je 0x40e6b8
mov eax, dword [0x41e40c]
test eax, eax
je 0x40e6e7
mov dword [esp + 4], 0
mov eax, dword [eax]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push eax
push eax
jmp 0x40e628
mov dword [eax], 0xdeadbeef
mov eax, dword [eax + 0x18]
test eax, eax
je 0x40e6a5
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
cmp dword [ebx + 0xb8], 0
mov dword [ebx + 0x18], 0
mov esi, dword [ebx + 4]
jne 0x40e66e
mov eax, ebx
call fcn.0040c3c0
jmp 0x40e66e
mov dword [esp + 8], 0x40b5c0
mov dword [esp + 4], 4
mov dword [esp], 0x41cc69
call fcn.004109d0
mov dword [0x41e40c], eax
jmp 0x40e5e2
mov dword [esp + 8], 0x40b5c0
mov dword [esp + 4], 4
mov dword [esp], 0x41cc69
call fcn.004109d0
mov dword [0x41e40c], eax
jmp 0x40e677
Function at 0x4109d0
Capabilities:
Check mutex on windows
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x2c
mov edi, dword [ebp + 8]
mov dword [esp], edi
call sub.msvcrt.dll_strlen
mov ebx, eax
lea eax, [eax + 0x40]
and eax, 0xfffffff0
call fcn.0040a190
mov edx, 0x326d
sub esp, eax
lea eax, [esp + 0x1b]
mov dword [esp + 4], edi
lea esi, [esp + 0xc]
mov dword [esp + 8], ebx
mov dword [esp], eax
mov word [esp + 0x18], dx
mov dword [esp + 0xc], 0x2d636367
mov dword [esp + 0x10], 0x656d6873
mov dword [esp + 0x14], 0x64742d6d
mov byte [esp + 0x1a], 0x2d
call sub.msvcrt.dll_memcpy
lea eax, [ebx + 0x10]
lea edx, [esi + eax]
mov dword [ebp - 0x1c], eax
lea eax, [ebx + 0x30]
mov dword [edx], 0x61616161
mov dword [edx + 4], 0x61616161
mov dword [edx + 8], 0x61616161
mov dword [edx + 0xc], 0x61616161
mov dword [edx + 0x10], 0x61616161
mov dword [edx + 0x14], 0x61616161
mov dword [edx + 0x18], 0x61616161
mov dword [edx + 0x1c], 0x61616161
mov dword [ebp - 0x20], eax
mov byte [esp + ebx + 0x3c], 0
mov byte [esp + ebx + 0x1b], 0
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov byte [esi + ebx + 0xf], 0x2d
sub esp, 0xc
mov edi, eax
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
sub esp, 8
test eax, eax
je 0x410abe
int3
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_FindAtomA]
sub esp, 4
test ax, ax
jne 0x410b57
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call sub.msvcrt.dll_malloc
mov ebx, eax
mov eax, dword [ebp - 0x1c]
lea edx, [esi + eax]
mov eax, 0x20
nop
lea esi, [esi]
bt ebx, eax
jae 0x410af8
mov byte [edx], 0x41
add edx, 1
sub eax, 1
jne 0x410af0
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_AddAtomA]
sub esp, 4
test ax, ax
je 0x410b54
mov ecx, dword [ebp - 0x1c]
mov edx, esi
movzx eax, ax
mov dword [esp], ecx
mov ecx, dword [ebp - 0x20]
call fcn.00410960
cmp eax, ebx
mov esi, eax
je 0x410b6e
mov dword [esp], ebx
call sub.msvcrt.dll_free
mov dword [esp], edi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
sub esp, 4
mov dword [esp], edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
int3
mov ecx, dword [ebp - 0x1c]
mov edx, esi
movzx eax, ax
mov dword [esp], ecx
mov ecx, dword [ebp - 0x20]
call fcn.00410960
mov esi, eax
jmp 0x410b32
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], 0
mov dword [esp], ebx
mov dword [esp + 8], eax
call sub.msvcrt.dll_memset
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x410b32
mov dword [esp], ebx
call dword [ebp + 0x10]
jmp 0x410b32
Function at 0x1009220
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x7000]
push edi
jmp 0x100923a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x1009241
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1009230
mov eax, 1
add ebx, ebx
jne 0x1009253
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x1009248
jne 0x1009264
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1009248
xor ecx, ecx
sub eax, 3
jb 0x1009278
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x10092ea
mov ebp, eax
add ebx, ebx
jne 0x1009283
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x1009290
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x10092b4
inc ecx
add ebx, ebx
jne 0x10092a0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x1009295
jne 0x10092b1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1009295
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x10092d4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x10092c5
jmp 0x1009236
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x10092d4
add edi, ecx
jmp 0x1009236
pop esi
lea edi, [esi + 0x7000]
mov eax, dword [edi]
or eax, eax
je 0x1009333
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x9398]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x93fc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x10092f1
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x9404]
or eax, eax
je 0x100932d
mov dword [ebx], eax
add ebx, 4
jmp 0x100930e
call dword [esi + 0x9400]
mov ebp, dword [esi + 0x9408]
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 0x1009367
sub esp, 0xffffff80
jmp 0x1003dfc
Function at 0x401ef0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x466ca8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
mov eax, dword [0x46f028]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
xor ecx, ecx
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], vtable.CBitmap.0
mov eax, dword [ebp + 8]
mov dword [esp + 0x38], ecx
cmp eax, 2
jl 0x401f39
cmp eax, 6
jle 0x401f3e
mov eax, 2
cmp dword [ebp + 0xc], ecx
je 0x401f4d
movzx eax, word [eax*2 + 0x468bfc]
jmp 0x401f55
movzx eax, word [eax*2 + 0x468bf0]
push eax
push 2
push eax
call dword [0x468830]
push eax
call dword [0x46824c]
push eax
lea ecx, [esp + 0x10]
call dword [0x468690]
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x14]
push eax
push 0x18
push ecx
call dword [0x468074]
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x1c]
push edx
call dword [0x468070]
mov dword [esp + 0x38], 0xffffffff
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], vtable.CBitmap.0
call fcn.00402260
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x403320
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46709c
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x46f028]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea edi, [esi + 0x18]
xor ebx, ebx
lea ecx, [esi + 0x30]
mov dword [edi], ebx
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
call dword [0x46884c]
mov dword [ebp - 4], ebx
xor eax, eax
lea ebx, [esi + 0x34]
mov dword [ebx], eax
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], eax
call fcn.004033f0
mov dword [esi], eax
xor eax, eax
push eax
push eax
push eax
push eax
mov ecx, 2
push edi
mov edi, dword [0x46823c]
mov dword [esi + 4], ecx
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], ecx
call edi
xor eax, eax
push 0x46915c
lea ecx, [esi + 0x30]
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
call dword [0x468670]
push 0
push 0
push 0
push 0
push ebx
call edi
cmp byte [ebp + 0xc], 0
mov dword [esi + 0x44], 0x18
je 0x4033d4
mov ecx, esi
call fcn.00403d30
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 8
Function at 0x403d30
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x467069
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x46f028]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov esi, ecx
xor ecx, ecx
call fcn.004035a0
mov ecx, 1
mov dword [esi], eax
call fcn.004035a0
mov ecx, 2
mov dword [esi + 4], eax
call fcn.004035a0
mov ecx, 3
mov dword [esi + 8], eax
call fcn.004035a0
mov ecx, 4
mov dword [esi + 0xc], eax
call fcn.004035a0
mov ecx, 5
mov dword [esi + 0x10], eax
call fcn.004035a0
mov ecx, 7
mov dword [esi + 0x14], eax
call fcn.004035a0
mov ecx, 8
mov dword [esi + 0x28], eax
call fcn.004035a0
lea edi, [esi + 0x30]
lea ebx, [esp + 0x10]
mov dword [esi + 0x2c], eax
call fcn.004038d0
push eax
mov ecx, edi
mov dword [esp + 0x44], 0
call dword [0x468668]
mov ecx, ebx
mov dword [esp + 0x40], 0xffffffff
call dword [0x468874]
mov ecx, 0x12
call fcn.004035a0
push 0x11
lea edx, [esi + 0x34]
lea ecx, [esp + 0x18]
mov dword [esi + 0x44], eax
call fcn.00403750
mov ecx, dword [eax]
mov dword [esi + 0x34], ecx
mov edx, dword [eax + 4]
mov dword [esi + 0x38], edx
mov ecx, dword [eax + 8]
mov dword [esi + 0x3c], ecx
mov edx, dword [eax + 0xc]
mov dword [esi + 0x40], edx
push 6
lea edx, [esi + 0x18]
lea ecx, [esp + 0x28]
call fcn.00403750
mov ecx, dword [eax]
mov dword [esi + 0x18], ecx
mov edx, dword [eax + 4]
mov dword [esi + 0x1c], edx
mov ecx, dword [eax + 8]
mov dword [esi + 0x20], ecx
mov edx, dword [eax + 0xc]
mov dword [esi + 0x24], edx
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret