joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42eaa0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4653f6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x10], edi
mov dword [esp + 0x20], 0
lea eax, [edi + 0x34]
mov dword [esp + 0x14], eax
mov ecx, dword [eax + 8]
mov esi, dword [eax + 0xc]
push ecx
push esi
mov byte [esp + 0x28], 3
call fcn.0040a460
push esi
call fcn.0042ccf0
lea eax, [edi + 0x20]
mov dword [esp + 0x20], eax
mov esi, dword [eax + 8]
mov ebx, dword [eax + 0xc]
push 0
mov byte [esp + 0x30], 4
call fcn.0040a900
push 0
mov ebp, eax
call fcn.0040a900
mov ecx, eax
mov eax, ebp
xor edx, edx
add esp, 0x14
div ecx
test edx, edx
jne 0x42eb2f
test esi, esi
lea eax, [ebx + esi*4]
je 0x42eb82
sub eax, 4
mov dword [eax], 0
dec esi
jne 0x42eb21
jmp 0x42eb82
push 0
call fcn.0040a900
push 0
mov ebp, eax
call fcn.0040a900
mov ecx, eax
mov eax, ebp
xor edx, edx
add esp, 8
div ecx
test edx, edx
jne 0x42eb69
lea ecx, [esi + esi]
mov edx, ecx
lea eax, [ebx + ecx*2]
dec ecx
test edx, edx
je 0x42eb82
inc ecx
sub eax, 2
mov word [eax], 0
dec ecx
jne 0x42eb5c
jmp 0x42eb82
lea eax, [esi*4]
mov edx, eax
lea ecx, [eax + ebx]
dec eax
test edx, edx
je 0x42eb82
inc eax
dec ecx
mov byte [ecx], 0
dec eax
jne 0x42eb7b
push ebx
call fcn.0042ccf0
lea eax, [edi + 0xc]
mov dword [esp + 0x18], eax
mov esi, dword [eax + 8]
mov edi, dword [eax + 0xc]
push 0
mov byte [esp + 0x28], 5
call fcn.0040a900
mov ecx, eax
mov eax, 1
xor edx, edx
add esp, 8
div ecx
test edx, edx
jne 0x42ebc8
test esi, esi
lea eax, [edi + esi*4]
je 0x42ec1b
sub eax, 4
mov dword [eax], 0
dec esi
jne 0x42ebba
jmp 0x42ec1b
push 0
call fcn.0040a900
push 0
mov ebx, eax
call fcn.0040a900
mov ecx, eax
mov eax, ebx
xor edx, edx
add esp, 8
div ecx
test edx, edx
jne 0x42ec02
lea ecx, [esi + esi]
mov edx, ecx
lea eax, [edi + ecx*2]
dec ecx
test edx, edx
je 0x42ec1b
inc ecx
sub eax, 2
mov word [eax], 0
dec ecx
jne 0x42ebf5
jmp 0x42ec1b
lea eax, [esi*4]
mov edx, eax
lea ecx, [eax + edi]
dec eax
test edx, edx
je 0x42ec1b
inc eax
dec ecx
mov byte [ecx], 0
dec eax
jne 0x42ec14
push edi
call fcn.0042ccf0
mov ecx, dword [esp + 0x1c]
add esp, 4
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret

Function at 0x42eec0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4654c7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push edi
push ecx
lea ecx, [esp + 0xc]
mov dword [esp + 8], 0
call fcn.004401b0
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x24], 1
push ecx
mov ecx, eax
call fcn.00442420
mov edi, dword [esp + 0x2c]
push eax
mov ecx, edi
call fcn.004401b0
mov dword [esp + 4], 1
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, eax
mov dword [esp + 0x24], 2
test ecx, ecx
lea eax, [eax + ecx*4]
je 0x42ef38
sub eax, 4
mov dword [eax], 0
dec ecx
jne 0x42ef2c
push edx
call fcn.0042ccf0
mov ecx, dword [esp + 0x20]
add esp, 4
mov eax, edi
mov dword fs:[0], ecx
pop edi
add esp, 0x24
ret 8
Function at 0x42f0b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x465561
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x10], edi
mov ecx, dword [edi + 0x60]
mov edx, dword [edi + 0x64]
test ecx, ecx
mov dword [esp + 0x20], 1
lea eax, [edx + ecx*4]
je 0x42f0f3
sub eax, 4
mov dword [eax], 0
dec ecx
jne 0x42f0e7
push edx
call fcn.0042ccf0
lea eax, [edi + 0x48]
mov dword [esp + 0x18], eax
mov esi, dword [eax + 8]
mov ebx, dword [eax + 0xc]
push 0
mov byte [esp + 0x28], 2
call fcn.0040a900
push 0
mov ebp, eax
call fcn.0040a900
mov ecx, eax
mov eax, ebp
xor edx, edx
add esp, 0xc
div ecx
test edx, edx
jne 0x42f13f
test esi, esi
lea eax, [ebx + esi*4]
je 0x42f192
sub eax, 4
mov dword [eax], 0
dec esi
jne 0x42f131
jmp 0x42f192
push 0
call fcn.0040a900
push 0
mov ebp, eax
call fcn.0040a900
mov ecx, eax
mov eax, ebp
xor edx, edx
add esp, 8
div ecx
test edx, edx
jne 0x42f179
lea ecx, [esi + esi]
mov edx, ecx
lea eax, [ebx + ecx*2]
dec ecx
test edx, edx
je 0x42f192
inc ecx
sub eax, 2
mov word [eax], 0
dec ecx
jne 0x42f16c
jmp 0x42f192
lea eax, [esi*4]
mov edx, eax
lea ecx, [eax + ebx]
dec eax
test edx, edx
je 0x42f192
inc eax
dec ecx
mov byte [ecx], 0
dec eax
jne 0x42f18b
push ebx
call fcn.0042ccf0
mov dword [esp + 0x24], 3
lea eax, [edi + 0x34]
mov dword [esp + 0x18], eax
mov ecx, dword [eax + 8]
mov esi, dword [eax + 0xc]
push ecx
push esi
mov byte [esp + 0x2c], 6
call fcn.0040a460
push esi
call fcn.0042ccf0
lea eax, [edi + 0x20]
mov dword [esp + 0x24], eax
mov ecx, dword [eax + 8]
mov esi, dword [eax + 0xc]
push ecx
push esi
mov byte [esp + 0x38], 7
call fcn.0040a460
push esi
call fcn.0042ccf0
lea eax, [edi + 0xc]
mov dword [esp + 0x30], eax
mov esi, dword [eax + 0xc]
mov eax, dword [eax + 8]
push eax
push esi
mov byte [esp + 0x44], 8
call fcn.0040a460
push esi
call fcn.0042ccf0
mov ecx, dword [esp + 0x40]
add esp, 0x28
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x440320
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x465c5b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x48
mov eax, dword [0x488d68]
push ebx
push esi
xor ebx, ebx
mov esi, ecx
cmp eax, ebx
push edi
mov dword [esp + 0xc], esi
jne 0x4403fa
mov dword [0x48a550], fcn.004364f0
mov dword [0x48a52c], 0x437990
mov dword [0x48a508], 0x4370e0
mov dword [0x48a4e4], 0x437ef0
mov dword [0x48a4e8], 0x437f20
mov dword [0x48a554], 0x436570
mov dword [0x48a558], 0x4367b0
mov dword [0x48a530], 0x4379c0
mov dword [0x48a534], 0x437ab0
mov dword [0x48a50c], 0x437170
mov dword [0x48a510], 0x437350
mov dword [0x48a4ec], 0x4380f0
mov dword [0x48a560], 0x438700
mov dword [0x48a53c], 0x43c2f0
mov dword [0x48a518], 0x43ac20
mov dword [0x48a4f4], 0x43d4d0
mov dword [0x488d68], 0x436210
mov dword [esp + 0x5c], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
push 0xffffffffffffffff
lea ecx, [esp + 0x38]
mov byte [esp + 0x60], 2
mov dword [esi], vtable.CryptoPP::Integer.0
call fcn.00436080
mov byte [esp + 0x44], bl
push ebx
lea ecx, [esp + 0x2c]
mov byte [esp + 0x60], 3
mov dword [esp + 0x38], vtable.CryptoPP::StringStore.1.0
mov dword [esp + 0x3c], vtable.CryptoPP::StringStore.0
call fcn.0042c8e0
mov edi, dword [esp + 0x68]
mov eax, dword [esp + 0x64]
push ebx
push edi
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x68], 4
call fcn.004069f0
lea ecx, [esp + 0x1c]
push 1
push ecx
lea edx, [esp + 0x18]
mov bl, 5
push str.InputBuffer
push edx
mov byte [esp + 0x6c], bl
call fcn.00404df0
add esp, 0x10
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x60], 6
call fcn.0042c680
lea ecx, [esp + 0x10]
mov byte [esp + 0x5c], bl
call fcn.00406aa0
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
push ecx
push eax
mov byte [esp + 0x64], 3
mov ebx, eax
call fcn.00402f00
push ebx
call fcn.0042ccf0
add esp, 0xc
mov edx, dword [esp + 0x6c]
lea eax, [esp + 0x34]
push edx
push edi
push eax
mov ecx, esi
mov byte [esp + 0x68], 7
call fcn.00440f80
mov ecx, dword [esp + 0x54]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x54
ret 0xc
Function at 0x4427d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x465f3f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
mov eax, dword [0x488d68]
push esi
push edi
xor edi, edi
cmp eax, edi
mov esi, ecx
mov dword [esp + 8], edi
jne 0x44280a
call fcn.0043ea80
mov dword [0x488d68], 0x436210
push ebx
push ebp
mov ebx, 2
mov dword [esp + 0x3c], 1
push ebx
mov dword [esp + 0x2c], ebx
call fcn.0042f460
push 8
call fcn.0042cc90
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], edi
mov dword [esp + 0x28], vtable.CryptoPP::Integer.0
mov dword [eax + 4], edi
mov eax, dword [esp + 0x34]
add esp, 8
mov dword [eax], edi
mov ecx, esi
mov dword [esp + 0x3c], ebx
call fcn.00440e70
push eax
call fcn.00440700
mov ebp, dword [esp + 0x4c]
add esp, 4
mov ecx, ebp
mov edi, eax
call fcn.00440e70
push eax
call fcn.00440700
mov ebx, eax
lea eax, [ebx + edi]
push eax
call fcn.00440700
add esp, 8
lea ecx, [esp + 0x24]
push eax
call fcn.00445c20
lea eax, [ebx + edi]
lea ecx, [esp + 0x14]
push eax
mov dword [esp + 0x34], 0
call fcn.00445b70
mov eax, dword [ebp + 0xc]
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x2c]
push ebx
push eax
push edi
push ecx
mov ecx, dword [esp + 0x2c]
push ecx
push edx
mov byte [esp + 0x54], 3
call fcn.0043f1f0
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
push ecx
push eax
mov byte [esp + 0x5c], 2
mov edi, eax
call fcn.0040a460
push edi
call fcn.0042ccf0
mov eax, dword [ebp + 0x10]
mov ebx, dword [esi + 0x10]
mov edi, 1
add esp, 0x24
cmp eax, edi
setne dl
cmp ebx, edi
pop ebp
setne al
cmp al, dl
pop ebx
je 0x44290b
lea ecx, [esp + 0x18]
call fcn.004407c0
test al, al
jne 0x44290b
mov eax, dword [esp + 0x28]
mov ecx, edi
sub ecx, eax
mov dword [esp + 0x28], ecx
mov eax, dword [0x488d68]
test eax, eax
jne 0x442923
call fcn.0043ea80
mov dword [0x488d68], 0x436210
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
push edx
push eax
mov byte [esp + 0x3c], 4
call fcn.004363f0
add esp, 8
cmp eax, 8
ja 0x442948
mov edx, dword [eax*4 + 0x46d0c0]
jmp 0x442984
cmp eax, 0x10
ja 0x442954
mov edx, 0x10
jmp 0x442984
cmp eax, 0x20
ja 0x442960
mov edx, 0x20
jmp 0x442984
cmp eax, 0x40
ja 0x44296c
mov edx, 0x40
jmp 0x442984
lea ecx, [esp + 0x40]
dec eax
push ecx
mov dword [esp + 0x44], eax
call fcn.00446fe0
mov edx, edi
mov ecx, eax
add esp, 4
shl edx, cl
mov esi, dword [esp + 0x3c]
push edx
lea ecx, [esi + 4]
call fcn.00445b70
mov edx, dword [esp + 0x28]
mov dword [esi], vtable.CryptoPP::Integer.0
mov dword [esi + 0x10], edx
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0xc]
push eax
mov eax, dword [esp + 0x28]
push eax
push ecx
call fcn.004406e0
mov dword [esp + 0x14], edi
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
push ecx
push eax
mov dword [esp + 0x48], 5
mov edi, eax
call fcn.0040a460
push edi
call fcn.0042ccf0
mov ecx, dword [esp + 0x44]
add esp, 0x18
mov eax, esi
mov dword fs:[0], ecx
pop edi
pop esi
add esp, 0x30
ret 8
Function at 0x447750
Capabilities:
Hash data using sha256

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
mov ecx, 8
mov esi, 0x46d298
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
ret
Function at 0x44a9e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x46697e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
mov eax, dword [esi + 0x94]
mov dword [esp + 0x28], 2
test eax, eax
je 0x44aac8
mov edi, dword [esi + 0x74]
add edi, 4
dec eax
test eax, eax
mov dword [esi + 0x74], edi
mov ecx, edi
mov dword [esi + 0x94], eax
je 0x44aa36
cmp ecx, dword [esi + 0x70]
jne 0x44aaba
mov eax, dword [esi + 0x78]
lea ecx, [eax + 4]
mov dword [esi + 0x78], ecx
mov eax, dword [eax]
push eax
call fcn.00455cbe
mov eax, dword [esi + 0x94]
add esp, 4
test eax, eax
jne 0x44aa9e
lea ecx, [esp + 0x10]
call fcn.0044cc50
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
lea edx, [esi + 0x6c]
mov edi, dword [esp + 0x1c]
mov ebp, edx
mov edx, dword [esp + 0x18]
mov dword [ebp], eax
mov dword [ebp + 4], ecx
mov dword [ebp + 8], edx
mov dword [ebp + 0xc], edi
lea ebp, [esi + 0x7c]
mov dword [esi + 0x7c], eax
mov eax, dword [esi + 0x8c]
push eax
mov dword [ebp + 4], ecx
mov dword [ebp + 8], edx
mov dword [ebp + 0xc], edi
call fcn.00455cbe
add esp, 4
jmp 0x44aaba
mov eax, dword [esi + 0x78]
lea ebp, [esi + 0x6c]
mov edx, dword [eax]
mov ecx, edx
mov dword [ebp], ecx
lea edi, [ecx + 0x1000]
mov dword [ebp + 4], edi
mov dword [ebp + 8], edx
mov dword [ebp + 0xc], eax
mov eax, dword [esi + 0x94]
test eax, eax
jne 0x44aa17
mov eax, dword [esi + 0x64]
mov byte [esp + 0x28], 1
test eax, eax
je 0x44ab79
mov edi, dword [esi + 0x44]
add edi, 8
dec eax
test eax, eax
mov dword [esi + 0x44], edi
mov ecx, edi
mov dword [esi + 0x64], eax
je 0x44aaf0
cmp ecx, dword [esi + 0x40]
jne 0x44ab6e
mov eax, dword [esi + 0x48]
lea ecx, [eax + 4]
mov dword [esi + 0x48], ecx
mov eax, dword [eax]
push eax
call fcn.00455cbe
mov eax, dword [esi + 0x64]
add esp, 4
test eax, eax
jne 0x44ab52
lea ecx, [esp + 0x10]
call fcn.0044cc50
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
lea edx, [esi + 0x3c]
mov edi, dword [esp + 0x1c]
mov ebp, edx
mov edx, dword [esp + 0x18]
mov dword [ebp], eax
mov dword [ebp + 4], ecx
mov dword [ebp + 8], edx
mov dword [ebp + 0xc], edi
lea ebp, [esi + 0x4c]
mov dword [esi + 0x4c], eax
mov eax, dword [esi + 0x5c]
push eax
mov dword [ebp + 4], ecx
mov dword [ebp + 8], edx
mov dword [ebp + 0xc], edi
call fcn.00455cbe
add esp, 4
jmp 0x44ab6e
mov eax, dword [esi + 0x48]
lea ebp, [esi + 0x3c]
mov edx, dword [eax]
mov ecx, edx
mov dword [ebp], ecx
lea edi, [ecx + 0x1000]
mov dword [ebp + 4], edi
mov dword [ebp + 8], edx
mov dword [ebp + 0xc], eax
mov eax, dword [esi + 0x64]
test eax, eax
jne 0x44aad8
lea ecx, [esi + 0x10]
mov byte [esp + 0x28], 0
call fcn.00449070
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x20
ret
Function at 0x450a10
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
push 0xf00021
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
sub eax, edx
push eax
mov eax, dword [esi + 8]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.GDI32.dll_PatBlt]
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
lea eax, [eax + 5]
add eax, 3
and eax, 0xfffffffc
call fcn.00412ce0
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x450adb
add ebx, 2
mov eax, dword [ebp - 4]
push ebx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x450adb
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x450a8e
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x450a99
or bh, 8
and edi, 0x8000000
je 0x450ab4
mov eax, dword [0x48be5c]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
movzx eax, bx
push eax
push esi
push 0xffffffffffffffff
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawTextA]
test edi, edi
je 0x450adb
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x450eb0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
sub esp, 4
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
push ebp
push 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x450edb
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x450eff
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
jne 0x450f1a
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
mov edi, ebp
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov cl, ah
mov edx, eax
mov dword [esp + 0x10], 0
shl ecx, 8
shr edx, 0x10
mov byte [esp + 0x10], dl
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x28]
or ecx, edx
mov edx, eax
shr edx, 0x10
mov dword [ebp + 0x28], ecx
mov dword [esp + 0x10], 0
xor ecx, ecx
mov byte [esp + 0x10], dl
mov cl, ah
xor edx, edx
shl ecx, 8
mov dl, al
shl edx, 0x10
or ecx, dword [esp + 0x10]
or ecx, edx
mov eax, dword [esp + 0x24]
mov edx, eax
mov dword [ebp + 0x44], ecx
shr edx, 0x10
xor ecx, ecx
mov dword [esp + 0x10], 0
mov cl, ah
mov byte [esp + 0x10], dl
shl ecx, 8
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x2c]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x48], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x30]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x64], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x34]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x54], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
push 0
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
or ecx, edx
mov dword [ebp + 0x50], ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push 0
push ebp
lea ecx, [ebp + 0x68]
push ecx
push 4
push ebp
push edi
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
mov esi, eax
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
Function at 0x459450
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 0x459492
call fcn.0045ee02
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x459492
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x459489
xor eax, eax
jmp 0x45949a
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004594a0
pop edi
pop esi
pop ebx
ret 4

Function at 0x45d489
Capabilities:
Create http request

Disassembly:
mov eax, 0x4637d8
call fcn.00413674
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 0xc]
and dword [ebp - 4], 0
and dword [esi + 0x10], 0
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
test eax, eax
mov dword [esi], vtable.CInternetSession.0
jne 0x45d4c1
call fcn.0045ee02
mov eax, dword [eax + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetOpenA]
test eax, eax
mov dword [esi + 8], eax
jne 0x45d4e6
push eax
push dword [esi + 4]
call fcn.0045e10f
jmp 0x45d4f2
push esi
push eax
mov ecx, 0x487c20
call fcn.0045d503
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 0x18

Function at 0x45d663
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x463813
call fcn.00413674
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.0045b0be
mov eax, dword [0x47f664]
lea ebx, [esi + 0x24]
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebx], eax
mov eax, dword [ebp + 0x10]
mov dword [esi], vtable.CInternetFile.0
mov ecx, 0x487c20
mov byte [ebp - 4], 1
push dword [eax + 0xc]
push dword [ebp + 8]
call fcn.0045d503
push dword [ebp + 0xc]
lea ecx, [esi + 0xc]
call fcn.00456965
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx + 8]
mov dword [esi + 0x1c], eax
lea eax, [ebp + 0x10]
push eax
call fcn.0040b909
push eax
mov ecx, ebx
mov byte [ebp - 4], 2
call fcn.00456915
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 1
call fcn.004567dc
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x14], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x18], eax
mov dword [esi + 0x3c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x40], edi
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x10

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x405da0
Capabilities:
Get memory capacity

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x54
mov eax, dword [0x4bf018]
xor eax, esp
mov dword [esp + 0x50], eax
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov dword [esp + 0x2c], eax
lea esi, [esp + 0x2c]
push 4
push esi
push 9
call fcn.00416ad0
add esp, 0xc
call dword [sym.imp.USER32.dll_GetCapture]
mov dword [esp + 0x2c], eax
push 4
push esi
push 0xa
call fcn.00416ad0
add esp, 0xc
call dword [sym.imp.USER32.dll_GetClipboardOwner]
mov dword [esp + 0x2c], eax
push 4
push esi
push 0xb
call fcn.00416ad0
add esp, 0xc
push 0x1cbf
call dword [sym.imp.USER32.dll_GetQueueStatus]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x28]
push 4
push eax
push 0xc
call fcn.00416ad0
add esp, 0xc
lea esi, [esp + 0x20]
push esi
call dword [sym.imp.USER32.dll_GetCursorPos]
push 8
push esi
push 0xd
call fcn.00416ad0
add esp, 0xc
mov esi, esp
push esi
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
push 0x20
push esi
push 6
call fcn.00416ad0
add esp, 0xc
lea ebp, [esp + 0x48]
lea ebx, [esp + 0x40]
lea edi, [esp + 0x38]
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
lea esi, [esp + 0x30]
push ebp
push ebx
push edi
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetThreadTimes]
push 0x20
push esi
push 0xe
call fcn.00416ad0
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push ebp
push ebx
push edi
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcessTimes]
push 0x20
push esi
push 0xf
call fcn.00416ad0
add esp, 0xc
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.0046c040
add esp, 0x54
pop esi
pop edi
pop ebx
pop ebp
Function at 0x46c89c
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x46c8db
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x46c8db
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x46c8db
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x46c8db
cmp dword [ecx + 0x74], 0xe
jbe 0x46c8db
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x480be0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x480c0d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x480c0d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x480fe1
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4a1b00
push 0x4a1af8
push str.FlsAlloc
push 0x1e
call fcn.00481674
mov esi, eax
add esp, 0x10
test esi, esi
je 0x481015
push dword [ebp + 8]
mov ecx, esi
call dword [section..00cfg]
call esi
jmp 0x48101b
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x48105f
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4a1b10
push 0x4a1b08
push str.FlsGetValue
push 0x20
call fcn.00481674
mov esi, eax
add esp, 0x10
test esi, esi
je 0x481096
push dword [ebp + 8]
mov ecx, esi
call dword [section..00cfg]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x4862c1
Capabilities:
Hash data using murmur3

Disassembly:
shr edx, 0xf
xor ecx, dword [0x4bf0a2]
or esi, edi
xor esi, eax
mov edi, 0x12ee490c
inc eax
shr esi, 7
rol edi, 4
call fcn.00409f20
dec esi
xchg ecx, esi
sub ecx, dword [0x4bf820]
call fcn.0046c395
mov eax, esp
sub ebx, edx
mov esi, eax
mov edi, esp
not eax
xor ecx, edi
rol eax, 0xc
mov esi, eax
shl esi, 0xc
mov eax, eax
test edx, edx
jo 0x486323
and esi, edi
or esi, 0xf9d602
xor eax, 0xc8fb02d
inc esi
xor esi, eax
xor esi, eax
mov edi, esp
rol eax, 2
mov esi, eax
sub edx, edx
shr eax, 6
xor ecx, eax
xchg eax, esi
add eax, 0x2199ff14
dec edx
rol esi, 0x11
mov ecx, dword [0x4bf054]
mov esi, eax
or esi, edi
mov esi, esi
invalid
invalid