joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42cbb0
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 0x42cbde
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x42cbfc
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0042cb1a
jmp 0x42cbfc
mov eax, dword [esi + 0x14]
test eax, eax
je 0x42cbfc
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.0042cb1a
test edi, edi
mov eax, edi
jne 0x42cbe6
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x440e88]
test ecx, ecx
je 0x42ccaf
jmp 0x42cbaf
ret 8

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 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 0x4034cc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
pushal
call 0x4034db
pop dword [ebp - 0x3c]
mov eax, 0x4034db
sub dword [ebp - 0x3c], eax
mov dword [ebp - 0x4c], 0x52601480
add dword [ebp - 0x4c], 0xfbf230cb
mov dword [ebp - 0x48], 0xe838face
add dword [ebp - 0x48], 0x49fa5177
mov dword [ebp - 0x44], 0xf710f585
sub dword [ebp - 0x44], 0xaac4b157
mov dword [ebp - 0x40], 0x20cbb939
sub dword [ebp - 0x40], 0x20cbb939
lea eax, [ebp - 0x4c]
push eax
mov eax, 0xe02e134c
sub eax, 0xdfedd2f8
add eax, dword [ebp - 0x3c]
call dword [eax]
mov dword [ebp - 0x4c], 0x32d453ee
sub dword [ebp - 0x4c], 0xbe61ea98
mov dword [ebp - 0x48], 0xb19bf564
add dword [ebp - 0x48], 0x8fd06c11
mov dword [ebp - 0x44], 0xcb9a7274
sub dword [ebp - 0x44], 0x682b0608
mov dword [ebp - 0x40], 0xc4849638
add dword [ebp - 0x40], 0x3b7b69c8
lea ebx, [ebp - 0x4c]
push ebx
push eax
mov eax, 0xa0234f7a
add eax, 0x601cf0d6
add eax, dword [ebp - 0x3c]
call dword [eax]
push 0x40
push 0x1000
push 0x33e14
push 0
call eax
mov ecx, 0x3bfa
xor edx, edx
add edx, eax
mov esi, 0x408400
add esi, dword [ebp - 0x3c]
mov ebx, 0x16c47597
add ebx, 0x96737aa
sub dword [ebp - 0x2c], 0xe25009c5
mov edi, dword [esi]
xor dword [ebp - 0x24], edi
add edi, ebx
xor dword [ebp - 0x20], 0x8ca91d8
mov dword [edx], edi
add dword [ebp - 0x10], 0x824d66ff
add edx, 0xaa319aa3
add edx, 0x55ce6561
add esi, 4
loop 0x4035ee
add eax, 0x988b3ab6
add eax, 0x6775a805
xor ebx, ebx
add ebx, eax
add eax, 0xc4ba310a
sub eax, 0xc4ba3105
mov ecx, 0xfa941380
sub ecx, 0xfa541380
add ecx, dword [ebp - 0x3c]
call ebx
leave
ret
Function at 0x401000
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x401090
push ebp
mov ebp, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x10]
push ebx
cmp byte [esi], 0
je 0x40108d
push 0x5c
push esi
call dword [sym.imp.MSVCR71.dll_strchr]
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x40108d
push edi
mov byte [esi], 0
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x401066
push 0
push edi
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
test eax, eax
jne 0x40105f
test ebp, ebp
je 0x40105f
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
jmp 0x401066
push edi
push 1
call ebp
pop ecx
pop ecx
test bl, 0x10
jne 0x401087
push 0xb7
call dword [sym.imp.kernel32.dll_SetLastError]
test ebp, ebp
je 0x401087
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
mov byte [esi], 0x5c
inc esi
jne 0x401018
pop ebx
pop edi
pop ebp
xor eax, eax
inc eax
pop esi
ret

Function at 0x40287f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
pushal
call 0x40288e
pop dword [ebp - 0x38]
mov eax, 0x40288e
sub dword [ebp - 0x38], eax
mov dword [ebp - 0x48], 0xd71e4746
sub dword [ebp - 0x48], 0x88cc01fb
mov dword [ebp - 0x44], 0x75e20e61
sub dword [ebp - 0x44], 0x43aec21c
mov dword [ebp - 0x40], 0x4aed748a
add dword [ebp - 0x40], 0x15ecfa4
mov dword [ebp - 0x3c], 0x89d24c81
add dword [ebp - 0x3c], 0x762db37f
lea eax, [ebp - 0x48]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x38]
call dword [eax]
mov dword [ebp - 0x48], 0x2a78932b
sub dword [ebp - 0x48], 0xb60629d5
mov dword [ebp - 0x44], 0x25d5363d
sub dword [ebp - 0x44], 0xe468d4c8
mov dword [ebp - 0x40], 0x8fea4ef6
add dword [ebp - 0x40], 0xd3851d76
mov dword [ebp - 0x3c], 0x2ef1b0e2
add dword [ebp - 0x3c], 0xd10e4f1e
lea ebx, [ebp - 0x48]
push ebx
push eax
mov eax, 0xd7bce73b
sub eax, 0xd77c6667
add eax, dword [ebp - 0x38]
call dword [eax]
push 0x40
push 0x1000
push 0x366e6
push 0
call eax
mov ecx, 0x102086ae
sub ecx, 0x10203f57
xor esi, esi
add esi, eax
mov edi, 0x411000
add edi, dword [ebp - 0x38]
mov ebx, 0xc1ea913
mov edx, dword [edi]
sub dword [ebp - 0x18], edi
xor edx, ebx
xor dword [ebp - 0x28], 0xfa76a2a7
mov dword [esi], edx
xor dword [ebp - 0x1c], ebx
add esi, 0x51235ee9
add esi, 0xaedca11b
add edi, 0xe508f2fa
add edi, 0x1af70d0a
loop 0x40299c
add eax, 0x1102f
mov ebx, eax
add eax, 5
mov ecx, 0x6d95221a
add ecx, 0x92aadde6
add ecx, dword [ebp - 0x38]
call ebx
leave
ret
Function at 0x403255
Capabilities:
Get file attributes

Disassembly:
push ecx
mov eax, dword [0x4056dc]
push ebx
push ebp
xor ebp, ebp
test eax, 0x80000001
push esi
push edi
mov dword [esp + 0x10], ebp
je 0x403277
cmp eax, 0x80008090
jne 0x4033d9
sar eax, 4
and eax, 1
push 0x731d
push 0x72711110
mov esi, eax
call fcn.00403669
mov edi, dword [0x405700]
mov dword [0x40561c], eax
mov eax, dword [0x405288]
cmp eax, 0x5b
pop ecx
pop ecx
jge 0x4032bc
cmp edi, 1
jne 0x4032b0
cmp eax, ebp
jle 0x4032b0
mov edi, eax
lea eax, [edi + esi]
push eax
call fcn.004031e5
pop ecx
jmp 0x4032e0
cmp edi, ebp
je 0x4032dc
test byte [esp + 0x18], 4
mov eax, 0x40529b
je 0x4032e0
or byte [0x40561d], 2
or dword [0x4056dc], 4
jmp 0x4032e0
mov eax, dword [esp + 0x18]
lea ecx, [edi + esi - 1]
shl esi, 0xa
cmp dword [0x405700], ebp
mov dword [0x405708], ecx
mov ebx, 0x40529c
jne 0x403333
mov ecx, dword [0x405288]
cmp ecx, ebp
jle 0x403333
cmp ecx, 0x5b
jle 0x403323
push ebp
push ebp
call fcn.00402caa
push eax
push ebx
call fcn.00403887
add esp, 0x10
or dword [0x40561c], 0x3e
jmp 0x403386
mov eax, dword [0x405284]
or eax, 0x40
or dword [0x40561c], eax
jmp 0x4033ae
mov ecx, dword [0x405704]
cmp ecx, 0x8700
jb 0x40336a
push esi
mov byte [eax], 0x5c
mov dword [esp + 0x14], eax
push pe_nt_image_headers32
inc eax
push eax
push dword [0x405704]
mov eax, dword [0x405700]
push dword [eax*4 + 0x405648]
call dword [sym.imp.USER32.dll_GetMenuStringA]
jmp 0x403386
cmp ecx, 0x8400
jb 0x403386
mov eax, dword [0x405610]
push dword [eax + ecx*4 - 0x21000]
push ebx
call fcn.00403887
pop ecx
pop ecx
cmp dword [0x405704], 0x8302
jne 0x4033a6
cmp dword [0x405288], ebp
jle 0x4033ae
mov dword [0x40529c], 0x5c
jmp 0x4033ae
cmp dword [0x405284], ebp
jne 0x4033b5
or dword [0x405284], 2
test byte [0x40561c], 0x40
jne 0x4033e8
cmp byte [0x40529c], 0x5c
je 0x4033e8
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test eax, eax
jge 0x4033e8
and dword [0x405284], 0xfffffffd
push 0x30
call dword [sym.imp.USER32.dll_MessageBeep]
xor eax, eax
jmp 0x4034a6
mov eax, esi
or eax, 8
push eax
push dword [0x405704]
mov eax, dword [0x405700]
push dword [eax*4 + 0x405648]
call dword [sym.imp.USER32.dll_CheckMenuItem]
mov edi, dword [sym.imp.USER32.dll_FindWindowExA]
push ebp
mov ebp, str.32768
push ebp
push 0
push 0
call edi
test eax, eax
je 0x403434
test esi, esi
je 0x403429
push 0
push ebp
push eax
push 0
call edi
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_InvalidateRgn]
cmp dword [0x405284], 1
jne 0x403491
mov eax, dword [0x405640]
test eax, eax
jne 0x40345b
push 0x128
push eax
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
test eax, eax
je 0x403486
add eax, 0xc
je 0x403486
mov ecx, 0x405644
mov edx, dword [ecx - 8]
mov dword [ecx], edx
sub ecx, 4
cmp ecx, 0x40561c
jg 0x403460
push ebx
push eax
mov dword [0x405620], eax
call fcn.00403887
pop ecx
pop ecx
push 0x20
call dword [sym.imp.USER32.dll_MessageBeep]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x403491
and byte [eax], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
or byte [0x4056df], 0x80
mov dword [0x4056d8], eax
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x4034ac
Capabilities:
Enumerate files on windows
Enumerate files recursively
Log keystrokes via polling

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 0x10
call esi
test ax, ax
jne 0x403663
push 0x1b
call esi
test ax, ax
jne 0x403663
mov esi, dword [esp + 0x14]
cmp byte [esi], 0
je 0x4034db
inc esi
jmp 0x4034d3
mov ebx, dword [esp + 0x10]
mov eax, dword [0x4056dc]
mov ebp, esi
sub ebp, ebx
test al, 1
jne 0x403510
lea eax, [ebx - 4]
push 0x20
push eax
mov word [esi], 0x5c
push 0
mov dword [eax], 0x202c4e2f
call fcn.00403713
add esp, 0xc
test eax, eax
jg 0x403543
jmp 0x403665
test eax, eax
jl 0x403524
mov eax, dword [0x405708]
lea eax, [eax + ebp + 2]
mov dword [0x405708], eax
jmp 0x403543
push ebx
push dword [0x40570c]
call fcn.00403887
mov dword [0x40570c], eax
pop ecx
mov word [eax], 0xa0d
add dword [0x40570c], 2
pop ecx
test byte [0x4056dc], 2
mov dword [esp + 0x10], 1
je 0x40365d
push 0x4053bc
push ebx
mov dword [esi], 0x2a5c
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0x14], eax
je 0x40365a
push edi
mov edi, 0x4053e8
test byte [0x4053bc], 0x10
je 0x4035c9
cmp byte [0x4053e8], 0x2e
jne 0x4035a7
mov ax, word [0x4053e9]
test al, al
je 0x403638
cmp ax, 0x2e
je 0x403638
lea eax, [esi + 1]
push edi
push eax
call fcn.00403887
push eax
push ebx
call fcn.004034ac
add esp, 0x10
test eax, eax
mov dword [esp + 0x14], eax
jle 0x40364f
jmp 0x403638
mov ecx, dword [0x4056dc]
test cl, 1
je 0x403638
mov eax, dword [0x4056e4]
test eax, eax
je 0x4035e2
cmp byte [eax], 0
je 0x403638
test ecx, ecx
jl 0x40360c
cmp byte [0x4053e8], 0
mov eax, dword [0x405708]
lea ecx, [eax + ebp + 3]
mov eax, edi
je 0x403600
inc eax
cmp byte [eax], 0
jne 0x4035fa
sub eax, edi
add ecx, eax
mov dword [0x405708], ecx
jmp 0x403638
and byte [esi + 1], 0
push edi
push ebx
push dword [0x40570c]
call fcn.00403887
pop ecx
pop ecx
push eax
call fcn.00403887
mov dword [0x40570c], eax
pop ecx
mov word [eax], 0xa0d
add dword [0x40570c], 2
pop ecx
push 0x4053bc
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x40357d
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
and byte [esi], 0
mov eax, dword [esp + 0x10]
jmp 0x403665
xor eax, eax
pop esi
pop ebp
pop ebx
ret
Function at 0x403669
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
and dword [ebp - 4], 0
push ebx
push esi
push edi
mov al, byte [ebp + 8]
push 0xf
lea esi, [ebp + 8]
xor edi, edi
pop ebx
movzx eax, al
push eax
inc esi
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
movzx eax, ax
mov cl, bl
shr eax, cl
or edi, eax
mov al, byte [esi]
dec ebx
test al, al
je 0x4036a0
cmp al, 0xb0
jb 0x403681
cmp byte [esi], 0
je 0x4036fb
xor esi, esi
cmp edi, esi
je 0x40370b
or dword [ebp - 4], edi
xor edi, edi
push 1
push esi
push esi
push esi
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x4036ee
mov eax, dword [ebp - 0x1c]
cmp eax, 0x10
jb 0x4036d0
cmp eax, 0x12
jbe 0x4036ff
cmp eax, 0x100
jb 0x4036de
cmp eax, 0x108
jbe 0x4036e8
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
inc edi
cmp edi, 5
jb 0x4036b0
push 0xd
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x403676
mov eax, edi
jmp 0x40370e
push esi
push esi
push eax
push dword [ebp - 0x20]
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x403713
Capabilities:
Check for foreground window switch
Create process on windows
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_FindWindowA]
push edi
and eax, 2
push 0
mov dword [ebp - 8], eax
pop ebx
mov edi, str.CabinetWClass
je 0x40373d
call dword [sym.imp.USER32.dll_GetForegroundWindow]
jmp 0x40374a
cmp dword [ebp + 0x10], ebx
je 0x403807
push ebx
push edi
call esi
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
cmp eax, ebx
mov dword [ebp - 0x48], 0x3c
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x44], 0x2000700
jne 0x40376d
mov eax, str.EXPLORER
cmp byte [eax], 0x5c
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], 1
jne 0x40378c
mov dword [ebp - 0x44], 0x2000780
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
je 0x403882
mov eax, dword [ebp + 0x10]
dec eax
cmp eax, ebx
mov dword [ebp + 0xc], eax
jl 0x403801
push 0x5d
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0xffffffffffffffff
push 0x1b10
call fcn.00403669
test eax, eax
pop ecx
pop ecx
jne 0x40383c
cmp dword [ebp - 8], ebx
je 0x4037d3
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov dword [ebp + 8], eax
jmp 0x4037da
push ebx
push edi
call esi
mov dword [ebp + 8], eax
cmp eax, dword [ebp - 4]
je 0x4037fc
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4037fc
cmp dword [ebp - 8], ebx
jne 0x403801
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
test eax, eax
jne 0x403801
dec dword [ebp + 0xc]
jns 0x4037a9
test byte [ebp + 0x10], 1
jne 0x403853
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 0x48], 0x40
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
je 0x40386f
cmp dword [ebp + 0x10], ebx
mov eax, dword [ebp - 0x44]
jne 0x40385b
mov dword [0x405608], eax
mov eax, dword [ebp - 0x3c]
cmp eax, ebx
jne 0x403840
mov dword [0x40560c], 0x14
jmp 0x403853
xor eax, eax
jmp 0x403856
inc eax
cdq
sub eax, edx
mov ecx, eax
push 0x10
pop eax
cdq
sar ecx, 1
idiv ecx
mov dword [0x40560c], eax
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret
sub eax, dword [0x405608]
cmp eax, dword [0x40560c]
jg 0x403882
cmp dword [ebp - 0x44], 0x50
ja 0x403882
cmp dword [ebp + 0xc], 4
jg 0x403853
push ebx
push ebx
push 0x10
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_PostMessageA]
or eax, 0xffffffff
jmp 0x403856
Function at 0x16a59f0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.FKP1
lea edi, [esi - 0x1272000]
push edi
or ebp, 0xffffffff
jmp 0x16a5a12
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x16a5a19
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x16a5a08
mov eax, 1
add ebx, ebx
jne 0x16a5a2b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x16a5a3c
jne 0x16a5a5b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x16a5a5b
dec eax
add ebx, ebx
jne 0x16a5a48
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x16a5a20
add ebx, ebx
jne 0x16a5a57
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x16a5aad
xor ecx, ecx
sub eax, 3
jb 0x16a5a73
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x16a5ae2
sar eax, 1
mov ebp, eax
jmp 0x16a5a7e
add ebx, ebx
jne 0x16a5a7e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x16a5a4c
inc ecx
add ebx, ebx
jne 0x16a5a8c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x16a5a4c
add ebx, ebx
jne 0x16a5a99
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x16a5a8e
jne 0x16a5aaa
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x16a5a8e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x16a5acc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x16a5abe
jmp 0x16a5a0e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x16a5acc
add edi, ecx
jmp 0x16a5a0e
pop esi
mov edi, esi
mov ecx, 0x34f3
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x16a5aea
cmp byte [edi], 0x16
jne 0x16a5aea
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 0x16a5aef
lea edi, [esi + 0x12a2000]
mov eax, dword [edi]
or eax, eax
je 0x16a5b5e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x12a67a0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x12a6890]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x16a5b1c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x12a6894]
or eax, eax
je 0x16a5b58
mov dword [ebx], eax
add ebx, 4
jmp 0x16a5b39
call dword [esi + 0x12a68a4]
mov ebp, dword [esi + 0x12a6898]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
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 0x16a5b92
sub esp, 0xffffff80
jmp 0x46c1ac

Function at 0x4ca254
Capabilities:
Encode data using xor

Disassembly:
push 0x4c9fca
pop esi
and edi, edi
dec edi
call fcn.004ca28b
add edi, ebx
xor dword [edx], esi
dec ebx
add edi, 0x51eadbf7
inc edi
add edx, 1
add edi, 0xb8024698
cmp edx, ecx
jne fcn.004ca254
sub ebx, 0xfd203a09
ret
Function at 0x408924
Capabilities:
Encode data using xor

Disassembly:
mov edi, 0x4085d8
call fcn.00408947
sub eax, 0x6174d503
sub ecx, ecx
xor dword [esi], edi
sub ecx, 0x67dfec59
inc ecx
inc esi
sub ecx, ecx
cmp esi, ebx
jne fcn.00408924
ret
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 0x40ed60
Capabilities:
Encode data using xor

Disassembly:
push 0x40eae0
pop edi
call fcn.0040ed92
xor dword [edx], edi
add ecx, 0xc168ba4
sub ecx, ecx
add edx, 1
mov eax, 0xf8deb4cf
mov ecx, eax
cmp edx, ebx
jne fcn.0040ed60
add ecx, 0xd43fd6b
dec ecx
ret
Function at 0x7a9370
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push edi
push 0x1a
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x7a938e
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [esp + 0x14]
push 0x7d2074
push ecx
mov edi, eax
call fcn.007bd198
mov esi, eax
add esp, 8
test esi, esi
jne 0x7a93cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.007bd02e
push esi
call fcn.007bcfb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret