joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4527e0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x4527f7
add esp, 0xfffffff0
call fcn.00403420
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041933c
mov eax, dword [0x457fec]
cmp word [eax + 2], 0
jne 0x45281f
mov eax, dword [0x457fec]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00453eb8
mov eax, dword [0x458098]
cmp word [eax + 2], 0
jne 0x452839
mov eax, dword [0x458098]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004540b0
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x411634]
call fcn.004030cc
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x411634]
call fcn.004030cc
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x41b870]
call fcn.00422c24
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x4529c0
mov eax, dword [0x457f14]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00422ff4
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x454650
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x457f14]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040c0a4
test eax, eax
je 0x45292e
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408354
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040c0cc
test eax, eax
je 0x452942
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.004040bc
mov eax, dword [0x457e08]
cmp byte [eax], 0
jne 0x452976
mov eax, ebx
call fcn.00452ae8
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.0045482c
mov eax, ebx
call fcn.004551f0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4529b6
call fcn.00403478
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x452d68
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x459bdc]
cmp dword [eax + 0x30], 0
je 0x452e12
cmp dword [ebx + 0x94], 0
jne 0x452e0c
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x452cf8
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x452e0c
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x452dd2
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x452e0c
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.0041399c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x452de1
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x453974
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x4539a9
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00403f3c
jmp 0x4539b6
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00403ea0
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x454a08
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x454a49
mov eax, esi
call fcn.0043b18c
test al, al
je 0x454a49
mov eax, dword [ebx + 0x84]
call fcn.0043ae88
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x454a49
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043ae88
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x461f20
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x455015
lea edi, [esi - 0x54015]
push edi
or ebp, 0xffffffff
jmp 0x461f42
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x461f49
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x461f38
mov eax, 1
add ebx, ebx
jne 0x461f5b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x461f50
jne 0x461f6c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x461f50
xor ecx, ecx
sub eax, 3
jb 0x461f80
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x461ff2
mov ebp, eax
add ebx, ebx
jne 0x461f8b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x461f98
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x461fbc
inc ecx
add ebx, ebx
jne 0x461fa8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x461f9d
jne 0x461fb9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x461f9d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x461fdc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x461fcd
jmp 0x461f3e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x461fdc
add edi, ecx
jmp 0x461f3e
pop esi
mov edi, esi
mov ecx, 0x32d
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x461ffa
cmp byte [edi], 0
jne 0x461ffa
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 eax, ebx
loop 0x461fff
lea edi, [esi + 0x5f000]
mov eax, dword [edi]
or eax, eax
je 0x46206e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x621f0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x62254]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x46202c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x62258]
or eax, eax
je 0x462068
mov dword [ebx], eax
add ebx, 4
jmp 0x462049
call dword [esi + 0x6225c]
popal
jmp 0x4095a4

Function at 0x401b66
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410004]
jne 0x401b70
repz ret
jmp fcn.0040324d
Function at 0x4024ca
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], esp
push dword [ebp + 8]
call dword [0x432435]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x402503
push 6
call fcn.0040e095
add esp, 4
mov dword [ebp - 0x18], eax
fild dword [ebp - 0x18]
fstp qword [ebp - 0x18]
fld qword [ebp - 0x18]
fadd qword [0x42d352]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
call fcn.004024a3
mov dword [ebp - 4], eax
push 0x80000301
push 0
push dword [ebp - 4]
push 1
mov ebx, 0x184
call fcn.0040f2e0
add esp, 0x10
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x402556
push ebx
call fcn.0040e08f
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
push dword [ebp - 4]
push dword [ebp - 8]
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextA]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x402582
push 6
call fcn.0040e095
add esp, 4
mov eax, dword [ebp - 8]
test eax, eax
je 0x40259e
push eax
mov ebx, eax
call fcn.00401055
inc eax
push eax
call fcn.0040e089
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x4025a3
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4025b4
push ebx
call fcn.0040e08f
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4
Function at 0x406a03
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
cmp dword [ebp + 0xc], 0
jne 0x406a1e
call fcn.004069d2
mov dword [ebp + 8], eax
mov dword [ebp - 4], esp
push dword [ebp + 8]
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
nop
nop
nop
nop
cmp dword [ebp - 4], esp
je 0x406a4a
push 6
call fcn.0040e095
add esp, 4
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
push 0
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x406a74
push 6
call fcn.0040e095
add esp, 4
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 1
mov eax, 0
sete al
jmp 0x406a88
mov esp, ebp
pop ebp
ret 8

Function at 0x40af78
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
push 0x80000301
push 0
push 0x2000
push 0x80000301
push 0
push 0x1000
push 2
mov ebx, 0xc8
call fcn.00411f40
add esp, 0x1c
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
push 0x40
push dword [ebp - 8]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x40afe2
push 6
call fcn.0040e095
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x40b055
push 0x80000301
push 0
push 0x2000
push 0x80000301
push 0
push 0x1000
push 2
mov ebx, 0xc8
call fcn.00411f40
add esp, 0x1c
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
push 0x40
push dword [ebp - 8]
push dword [ebp + 0xc]
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x40b04b
push 6
call fcn.0040e095
add esp, 4
jmp 0x40b05d
mov eax, dword [ebp - 4]
jmp 0x40b05d
mov esp, ebp
pop ebp
ret 8

Function at 0x40e8b0
Capabilities:
Get file size
Read file on windows

Disassembly:
mov eax, dword [esp + 8]
push edi
push 0
push 0x20
push 3
push 0
push 3
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
xor eax, eax
cmp edi, 0xffffffff
je 0x40e919
push ebx
lea ecx, [esp + 0x10]
push esi
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
lea edx, [ebx + 8]
push edx
call fcn.0040e310
add esp, 4
mov esi, eax
lea eax, [esp + 0x14]
push 0
push eax
lea ecx, [esi + 8]
push ebx
push ecx
push edi
mov dword [esi], 1
mov dword [esi + 4], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
pop ebx
pop edi
ret

Function at 0x411e00
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
mov eax, dword [esp + 8]
cmp edx, 1
jle 0x411e1e
push esi
lea ecx, [esp + 0x18]
dec edx
mov esi, dword [ecx]
add ecx, 0xc
xor eax, esi
dec edx
jne 0x411e13
pop esi
ret
Function at 0x4216db
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x42171d
call fcn.00424a2e
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x42171d
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x421714
xor eax, eax
jmp 0x421725
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0042172b
pop edi
pop esi
pop ebx
ret 4

Function at 0x4226b9
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x4262d8
call fcn.00414844
sub esp, 0x18
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], esi
mov eax, dword [esi + 0x48]
mov edi, dword [esi + 0x44]
mov dword [ebp - 0x18], eax
call fcn.00424a2e
cmp dword [esi + 0x40], 0
mov ebx, dword [eax + 0xc]
je 0x4226f8
call fcn.00424a2e
mov ebx, dword [eax + 0xc]
push 5
push dword [esi + 0x40]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x422706
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x422714
or eax, 0xffffffff
jmp 0x4227fc
mov ecx, esi
call fcn.0042262f
mov dword [ebp - 0x14], eax
call fcn.0041fd23
xor edi, edi
cmp dword [ebp - 0x14], edi
mov dword [ebp - 0x20], edi
je 0x42274b
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x42274b
push edi
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x20], 1
push esi
mov dword [ebp - 4], edi
call fcn.0041fcd7
push dword [ebp - 0x14]
call fcn.0041f809
push ebx
push eax
push dword [ebp - 0x18]
mov ecx, esi
call fcn.004223c7
cmp eax, edi
je 0x4227be
test byte [esi + 0x24], 0x10
je 0x42278c
push 4
mov ecx, esi
pop ebx
call fcn.0041f209
test ah, 1
je 0x422784
push 5
pop ebx
push ebx
mov ecx, esi
call fcn.0042182d
cmp dword [esi + 0x1c], edi
je 0x4227be
push 0x97
push edi
push edi
push edi
push edi
push edi
mov ecx, esi
call fcn.0041f23d
jmp 0x4227be
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x20], edi
je 0x4227d2
push 1
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebp - 0x14], edi
je 0x4227eb
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x1c]
jne 0x4227eb
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x58]
mov ecx, esi
call fcn.00422669
mov eax, dword [esi + 0x2c]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x4245a0
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4245ce
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4245ec
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00424506
jmp 0x4245ec
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4245ec
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00424506
test edi, edi
mov eax, edi
jne 0x4245d6
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x4012c5
Capabilities:
Hide graphical window

Disassembly:
push ebp
push 0x10000
push 0x1000
push 1
call dword [sym.imp.KERNEL32.dll_HeapCreate]
mov dword [0x403fa4], eax
push 0x64
push 8
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, 0x30
push eax
mov dword [eax], ecx
add eax, 0x4c
mov ebp, eax
mov eax, 0x400000
mov dword [0x403fa0], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x44], 0x401196
mov dword [ebp - 0x24], str.resiliency
call dword [sym.imp.USER32.dll_RegisterClassExA]
xor eax, eax
push eax
push dword [0x403fa0]
push eax
push eax
push 0x190
push 0x2b2
push 0x640
push 0x9c4
push 0
push str.abasement
push str.resiliency
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x403fa8], eax
push eax
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
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 0x40138f
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 0x401376
mov eax, dword [0x403fa4]
push eax
call dword [sym.imp.KERNEL32.dll_HeapDestroy]
pop ebp
ret 0x10

Function at 0x43cf69
Capabilities:
Encode data using xor

Disassembly:
sub esp, 4
mov dword [esp], 0x43ccda
pop esi
mov ebx, 0xfb060384
add edx, edx
call fcn.0043cfaa
sub edx, ebx
xor dword [ecx], esi
and ebx, edx
add ecx, 1
dec ebx
mov ebx, 0xe8e54239
cmp ecx, edi
jne fcn.0043cf69
sub edx, ebx
dec ebx
ret
Function at 0x401ea2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410284]
jne 0x401eac
repz ret
jmp fcn.00403e53

Function at 0x403f59
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
pushal
call 0x403f68
pop dword [ebp - 0x18]
mov eax, 0xb3d08af1
sub eax, 0xb3904b89
sub dword [ebp - 0x18], eax
mov dword [ebp - 0x28], 0x21e934a0
sub dword [ebp - 0x28], 0xd396ef55
mov dword [ebp - 0x24], 0xa68d15c5
add dword [ebp - 0x24], 0x8ba63680
mov dword [ebp - 0x20], 0xde80386b
add dword [ebp - 0x20], 0x6dcc0bc3
mov dword [ebp - 0x1c], 0xd29e0398
sub dword [ebp - 0x1c], 0xd29e0398
lea eax, [ebp - 0x28]
push eax
mov eax, 0x17a9adbc
add eax, 0xe8972298
add eax, dword [ebp - 0x18]
call dword [eax]
mov dword [ebp - 0x28], 0xe439e917
add dword [ebp - 0x28], 0x9038803f
mov dword [ebp - 0x24], 0x7e753d1
sub dword [ebp - 0x24], 0xc67af25c
mov dword [ebp - 0x20], 0x6d01942e
sub dword [ebp - 0x20], 0x99227c2
mov dword [ebp - 0x1c], 0x24776552
sub dword [ebp - 0x1c], 0x24776552
lea ebx, [ebp - 0x28]
push ebx
push eax
mov eax, 0x78f244cc
add eax, 0x874e8b80
add eax, dword [ebp - 0x18]
call dword [eax]
push 0x40
push 0x1000
push 0x3f5e4
push 0
call eax
mov ecx, 0x5f17
mov esi, eax
mov edx, 0x41b000
add edx, dword [ebp - 0x18]
mov edi, 0x95b6776e
mov ebx, dword [edx]
mov dword [ebp - 0xc], 0x513dc697
add ebx, edi
sub dword [ebp - 4], 0xa9fa0acc
mov dword [esi], ebx
xor dword [ebp - 0x14], ebx
add esi, 0x46fc9f57
add esi, 0xb90360ad
add edx, 4
loop 0x404078
add eax, 0x16305522
sub eax, 0x162ee5f3
xor ebx, ebx
add ebx, eax
add eax, 0x923f59db
sub eax, 0x923f59d6
mov ecx, 0x3c7c2eec
sub ecx, 0x3c3c2eec
add ecx, dword [ebp - 0x18]
call ebx
leave
ret
Function at 0x42b040
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
je 0x42b411
jne 0x42b411
mov dword [0x11554874], 0x113a69b0
mov eax, dword [edx*4 + 0x43eb90]
mov eax, 0xf295e8
mov edx, dword [0x1153e860]
fld dword [ecx + 0x2c]
mov cx, word [ecx + 8]
out dx, al
adc al, 0xed
inc eax
fnsave dword [edi + 0xff25c6]
add byte [eax], al
je 0x42b238
jne 0x42b238
mov dword [esi + 0xe5c], edx
mov eax, 0x10d8c7c4
mov dword [ebp - 0x4010], eax
mov dword [edi + 0x18], 0x111779a0
mov dword [0xf50908], eax
mov edi, 0xbf650b00
push dword [0x44406c]
push 0x1148e268
push 0x1153be70
stc
imul edx, edx, 0x91f8a89b
pop ecx
mov eax, 0xd89642a
add byte [eax], al
add byte [eax], al
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0046a5ef
mov esp, ebp
pop ebp
ret
mov eax, dword fs:[0]
push eax
jmp 0x42b1f7
sub esp, 0x120
mov eax, dword [0x534e78]
jmp 0x42b356
shr ecx, 8
xor ecx, dword [eax*4 + 0x401240]
inc esi
push 0x42b52e
ret
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
je 0x42b505
jne 0x42b505
mov byte [eax - 1], 0
mov dword [0x44f014], edx
adc byte [ecx + esi], ch
mov byte [edi + 3], 1
movzx eax, word [edx*2 + reloc.winhttp.dll_WinHttpQueryDataAvailable]
lea eax, [ecx + eax + 0x3af]
add eax, dword [ebp - 0x440]
push 0x1c8a
mov edx, dword [0x11551dd0]
mov esi, dword [0x9b3700]
push 0xb12110
push 0x115409a4
mov edx, dword [ebp + 0x459b3386]
adc dword [edx], eax
and al, 0x8d
test esp, edx
invalid
push 0xfffffffffffffffe
push 0x478420
je 0x42b63f
jne 0x42b63f
cmp dword [ebp - 0x14], edi
mov eax, 0x105b9a34
push 0x11107130
push 0x422580
test al, 0x10
mov esi, dword [esi - 0x18]
mov dx, word [reloc.winhttp.dll_WinHttpQueryDataAvailable]
push 0x487eb0
push 0x697acbdc
push 0x766
mov dword [0xe49010], eax
mov eax, dword [0x1153bdf8]
inc ebp
inc edx
imul eax, dword [ebp - 0x57], 0xffffff88
popfd
loopne 0x42b462
invalid
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
push 0x42b5c4
ret
push eax
jmp 0x42b4c4
push 0x46ac50
jmp 0x42b1aa
Function at 0x430ea0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x431036
push 0x431001
ret
cmove esi, eax
push 0x43111a
ret
xor eax, eax
cmp word [esi], ax
je 0x430f05
jne 0x430f05
mov edx, dword [0xe4ab0c]
mov eax, dword [0x112b6f28]
mov dword [0xe4b440], ebx
cmp word [ebp - 0x1a], 0xffff
cmp ecx, dword [eax + 0x28]
push 0xb03028
mov ecx, dword [0x42ced0]
push 0x4145a4
cmp dword [0x4137fc], ebx
jmp dword [0x508848]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
jmp 0x431059
mov ah, 0x85
test byte [edi], 0x84
pop ebx
add byte [eax], al
add bh, bh
jne 0x431070
test esi, esi
je 0x4310bc
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x4310b4
lea ebx, [ebx]
je 0x4310e9
jne 0x4310e9
mov eax, dword [0x100b4334]
mov dword [0x699772a4], 2
cmp dword [0xd12fa4], ebx
inc esp
jnp 0x431058
call 0xb64d7b14
shl byte [esi + 0x49], 0xf
test dword [0x3b000000], esi
bnd jb 0x430f5a
cmp esi, edx
jb 0x430f5a
xor eax, eax
push 0x430f57
ret
cmp esi, edx
jae 0x4310bc
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
push 0x4310ad
ret
Function at 0x412310
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax + 4], 0
jmp 0x412336
pop ebp
ret
mov dword [eax], 0
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
jmp 0x41232d
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x433072
nop
nop
mov ebx, 0x40de38
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x13687e87
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x433060
nop
nop
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
je 0x4330d2
nop
nop
mov ebx, 0x4304d8
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x7a5e6b85
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x4330c0
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219

Function at 0x5d8ab9
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x5d87dc
sub ebx, 0xe85845a5
sub ebx, ebx
mov edi, 0xcf5bf5e7
call fcn.005d8aff
add ebx, edi
sub edi, ebx
and ebx, ebx
xor dword [ecx], eax
and edi, ebx
and ebx, ebx
add ecx, 2
sub ebx, ebx
cmp ecx, esi
jl fcn.005d8ab9
sub ebx, 1
add edi, 1
sub ebx, edi
ret