joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44b338
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44b4e3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x44b4c4
mov dl, 1
mov eax, dword [0x411770]
call fcn.004031f4
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00403f5c
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x44b4b3
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.0043936c
test al, al
je 0x44b4a6
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x44b4f4
lea eax, [ebp - 0x254]
call fcn.004088bc
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x44b4a6
xor eax, eax
push ebp
push 0x44b49f
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x44b52c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x44b488
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004041cc
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x44b488
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004041cc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44b4a6
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x44b3a9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041524c
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44b4ea
lea eax, [ebp - 0x260]
call fcn.00403f5c
ret

Function at 0x44be18
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x451bb0]
cmp byte [eax + 0xa5], 0
jne 0x44be89
cmp dword [0x451bc8], 0
jne 0x44be4a
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x44bdd4
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x451bc8], eax
cmp dword [0x451bc4], 0
jne 0x44be65
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x451bc4], eax
cmp dword [0x451bcc], 0
jne 0x44be89
push esp
push 0
push 0
push 0x44bd78
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x451bcc], eax
pop edx
ret
Function at 0x44bf80
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x44bf97
add esp, 0xfffffff0
call fcn.00403530
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041905c
mov eax, dword [0x44ff44]
cmp word [eax + 2], 0
jne 0x44bfbf
mov eax, dword [0x44ff44]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0044d658
mov eax, dword [0x44ffec]
cmp word [eax + 2], 0
jne 0x44bfd9
mov eax, dword [0x44ffec]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0044d850
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x411354]
call fcn.004031f4
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x411354]
call fcn.004031f4
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 [0x41b230]
call fcn.00420e78
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x44c160
mov eax, dword [0x44fe6c]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00421248
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x44ddf0
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x44fe6c]
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.0040bef8
test eax, eax
je 0x44c0ce
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.004082b0
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040bf20
test eax, eax
je 0x44c0e2
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.004041cc
mov eax, dword [0x44fd70]
cmp byte [eax], 0
jne 0x44c116
mov eax, ebx
call fcn.0044c288
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.0044dfcc
mov eax, ebx
call fcn.0044e990
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44c156
call fcn.00403588
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44c508
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x451bb0]
cmp dword [eax + 0x30], 0
je 0x44c5b2
cmp dword [ebx + 0x94], 0
jne 0x44c5ac
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x44c498
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x44c5ac
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 0x44c572
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x44c5ac
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.004136bc
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x44c581
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x44d114
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 0x44d149
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.0040404c
jmp 0x44d156
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00403fb0
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x44e1a8
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x44e1e9
mov eax, esi
call fcn.00434a2c
test al, al
je 0x44e1e9
mov eax, dword [ebx + 0x84]
call fcn.00434754
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x44e1e9
push 0
mov eax, dword [ebx + 0x84]
call fcn.00434754
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x10007320
Capabilities:
Identify system language via api

Disassembly:
sub esp, 0x104
mov eax, dword [0x100810a0]
xor eax, esp
mov dword [esp + 0x100], eax
push 0xfe
lea eax, [esp + 5]
push 0
push eax
mov byte [esp + 0xc], 0
call fcn.10048ee0
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
movzx eax, ax
cmp eax, 0x412
jg 0x10007394
je 0x10007383
sub eax, 0x404
je 0x1000737c
sub eax, 0xd
jne 0x1000739b
push str.MS_Gothic
push 0xff
lea ecx, [esp + 8]
push ecx
jmp 0x100073bb
push str.PMingliu
jmp 0x100073b1
push str.Gulim
push 0xff
lea eax, [esp + 8]
push eax
jmp 0x100073bb
cmp eax, 0x804
je 0x100073ac
push str.Gulim
push 0xff
lea ecx, [esp + 8]
push ecx
jmp 0x100073bb
push str.SimSun
push 0xff
lea edx, [esp + 8]
push edx
call fcn.10044fa0
add esp, 0xc
mov ecx, dword [esp + 0x108]
lea eax, [esp]
push eax
push 0
push 0
push 0
push 0
push 1
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push ecx
call dword [sym.imp.GDI32.dll_CreateFontA]
push 0
push eax
push 0x30
push esi
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [esp + 0x100]
xor ecx, esp
call fcn.100446ed
add esp, 0x104
ret

Function at 0x1000d7d0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea esi, [esp + 0x10]
mov eax, edi
call fcn.10006da0
mov ecx, dword [edi + 0x74]
lea eax, [edi + 0x70]
mov edi, dword [ecx]
mov ebx, eax
test ebx, ebx
je 0x1000d88b
cmp ebx, eax
jne 0x1000d88b
cmp edi, ecx
je 0x1000d86b
cmp edi, dword [ebx + 4]
je 0x1000d866
mov edx, dword [esp + 0x1c]
sub edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
sub eax, dword [esp + 0x10]
mov esi, dword [edi + 8]
mov ecx, dword [esi + 0x30]
push 0
sub edx, 0x11
push edx
push eax
push 0x11
push 0
push ecx
call dword [sym.imp.USER32.dll_MoveWindow]
mov eax, dword [ebp + 8]
mov ecx, dword [esi + 0x30]
xor edx, edx
cmp esi, dword [eax + 0x84]
setne dl
sub edx, 1
and edx, 5
push edx
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
cmp edi, dword [ebx + 4]
je 0x1000d866
mov eax, dword [ebp + 8]
mov edi, dword [edi]
mov ecx, dword [eax + 0x74]
add eax, 0x70
jmp 0x1000d7f4
call fcn.1000dd90
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x84]
test eax, eax
je 0x1000d882
mov eax, dword [eax + 0x30]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
call fcn.1000de00
int3
Function at 0x10019430
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x100194a8
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10019447
push esi
sub eax, edx
push edi
add eax, 1
push eax
push 0x2000
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edx, eax
mov eax, ebx
lea edi, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10019473
sub eax, edi
lea ecx, [eax + 1]
cmp ecx, 0x7fffffff
ja 0x10019490
mov eax, ebx
call fcn.10015550
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
pop edi
pop esi
jmp dword [sym.imp.USER32.dll_CloseClipboard]
ret
Function at 0x1001c450
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1006cbb8
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x100810a0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x14]
mov edx, dword [esi + 0x10]
lea edi, [esi + 0x10]
mov dword [esp + 0x1c], eax
mov eax, dword [edx + 4]
xor ebx, ebx
push 0xffffffffffffffff
mov ecx, edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x24], ebx
call eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x30], ebx
add esi, 4
lea ebx, [ebp + 8]
lea eax, [esp + 0x10]
call fcn.1001f220
mov edx, dword [esp + 0x10]
test edx, edx
mov ecx, dword [esi + 4]
je 0x1001c55f
cmp edx, esi
jne 0x1001c55f
mov eax, dword [esp + 0x14]
cmp eax, ecx
sete cl
test cl, cl
sete cl
test cl, cl
je 0x1001c525
cmp eax, dword [edx + 4]
jne 0x1001c4e8
call fcn.10022580
mov esi, dword [eax + 0x10]
mov dword [esp + 0x30], 0xffffffff
cmp dword [esp + 0x20], 0
je 0x1001c50e
mov edx, dword [edi]
mov eax, dword [edx + 0xc]
mov ecx, edi
call eax
neg eax
sbb eax, eax
add eax, 1
mov dword [esp + 0x20], eax
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov dword [esp + 0x30], 0xffffffff
cmp dword [esp + 0x20], 0
je 0x1001c548
mov edx, dword [edi]
mov eax, dword [edx + 0xc]
mov ecx, edi
call eax
neg eax
sbb eax, eax
add eax, 1
mov dword [esp + 0x20], eax
xor eax, eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
call fcn.100225f0
int3
Function at 0x1001c690
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1006cb88
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x100810a0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x14]
mov edx, dword [esi + 0x10]
lea edi, [esi + 0x10]
mov dword [esp + 0x1c], eax
mov eax, dword [edx + 4]
xor ebx, ebx
push 0xffffffffffffffff
mov ecx, edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x24], ebx
call eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x30], ebx
add esi, 4
lea ebx, [ebp + 8]
lea eax, [esp + 0x10]
call fcn.1001f220
mov edx, dword [esp + 0x10]
test edx, edx
mov eax, dword [esi + 4]
je 0x1001c7bf
cmp edx, esi
jne 0x1001c7bf
mov ebx, dword [esp + 0x14]
cmp ebx, eax
sete al
test al, al
sete al
test al, al
je 0x1001c785
cmp ebx, dword [edx + 4]
jne 0x1001c728
call fcn.10022580
mov ecx, dword [ebx + 0x10]
test ecx, ecx
je 0x1001c73b
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov edx, dword [esp + 0x10]
push ebx
push edx
lea ecx, [esp + 0x18]
push ecx
push esi
call fcn.1001ef60
mov dword [esp + 0x30], 0xffffffff
cmp dword [esp + 0x20], 0
je 0x1001c76b
mov edx, dword [edi]
mov eax, dword [edx + 0xc]
mov ecx, edi
call eax
neg eax
sbb eax, eax
add eax, 1
mov dword [esp + 0x20], eax
mov eax, 1
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov dword [esp + 0x30], 0xffffffff
cmp dword [esp + 0x20], 0
je 0x1001c7a8
mov edx, dword [edi]
mov eax, dword [edx + 0xc]
mov ecx, edi
call eax
neg eax
sbb eax, eax
add eax, 1
mov dword [esp + 0x20], eax
xor eax, eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
call fcn.100225f0
int3

Function at 0x1001d910
Capabilities:
Get system information on windows

Disassembly:
mov eax, dword [0x10148204]
mov edx, dword [esp + 8]
mov ecx, dword [eax + 8]
sub esp, 0x24
push edi
push edx
call fcn.1001c450
mov edi, eax
test edi, edi
jne 0x1001d933
pop edi
add esp, 0x24
ret 0x1c
push esi
mov esi, dword [esp + 0x38]
test esi, esi
jg 0x1001d95d
cmp dword [0x100836a0], 0
jne 0x1001d958
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov esi, dword [esp + 0x1c]
add esi, esi
jmp 0x1001d95d
mov esi, 1
mov ecx, edi
call fcn.1001c3c0
test eax, eax
jne 0x1001d970
pop esi
pop edi
add esp, 0x24
ret 0x1c
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x40]
push edx
push eax
push ecx
mov ecx, esi
mov edx, edi
call fcn.1003d6a0
pop esi
pop edi
add esp, 0x24
ret 0x1c

Function at 0x1001e600
Capabilities:
Get memory capacity

Disassembly:
sub esp, 0x24
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0xc]
mov dword [edx], ecx
mov ecx, dword [esp + 0x2c]
mov dword [ecx], eax
add esp, 0x24
ret
Function at 0x1001eb20
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1006ca48
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x100810a0]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push esi
push edi
mov eax, dword [0x100810a0]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
lea esi, [eax + 0x28c]
mov dword [esp + 0x18], edi
call fcn.1001cd30
xor ebx, ebx
cmp eax, ebx
je 0x1001ece0
cmp edi, ebx
je 0x1001ece0
mov ecx, dword [eax + 0x28]
cmp ecx, ebx
je 0x1001ece0
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], bl
mov dword [esp + 0x58], ebx
lea esi, [esp + 0x1c]
call fcn.1002cdc0
mov eax, dword [eax + 4]
push eax
call dword [sym.imp.WS2_32.dll_inet_ntoa]
mov ecx, eax
lea esi, [ecx + 1]
mov dl, byte [ecx]
add ecx, 1
cmp dl, bl
jne 0x1001ebb8
sub ecx, esi
push ecx
push eax
lea ecx, [esp + 0x34]
call fcn.10003b70
lea ecx, [esp + 0x14]
push ecx
push ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
call sub.iphlpapi.dll_GetAdaptersInfo
cmp eax, 0x6f
jne 0x1001ec2c
mov eax, dword [esp + 0x14]
xor ecx, ecx
mov edx, 0x280
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.10044629
add esp, 4
cmp eax, ebx
mov dword [esp + 0x10], eax
jne 0x1001ec21
mov dword [esp + 0x58], 0xffffffff
lea ecx, [esp + 0x2c]
call fcn.10003ab0
jmp 0x1001ece0
lea ecx, [esp + 0x14]
push ecx
push eax
call sub.iphlpapi.dll_GetAdaptersInfo
mov edi, dword [esp + 0x10]
cmp edi, ebx
je 0x1001ecab
jmp 0x1001ec40
mov eax, 6
cmp dword [edi + 0x190], eax
jne 0x1001eca1
cmp dword [edi + 0x1a0], eax
jne 0x1001eca1
lea esi, [edi + 0x1ac]
jmp 0x1001ec60
cmp dword [esp + 0x44], 0x10
mov eax, dword [esp + 0x30]
jae 0x1001ec6f
lea eax, [esp + 0x30]
lea ecx, [esi + 4]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1001ec92
cmp dl, bl
je 0x1001ec8e
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1001ec92
add eax, 2
add ecx, 2
cmp dl, bl
jne 0x1001ec72
xor eax, eax
jmp 0x1001ec97
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x1001ed02
mov esi, dword [esi]
cmp esi, ebx
jne 0x1001ec60
mov edi, dword [edi]
cmp edi, ebx
jne 0x1001ec40
mov edi, dword [esp + 0x10]
push edi
call fcn.10045e98
add esp, 4
mov dword [esp + 0x58], 0xffffffff
cmp dword [esp + 0x44], 0x10
jb 0x1001ecd0
mov ecx, dword [esp + 0x30]
push ecx
call fcn.100446e8
add esp, 4
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], bl
xor eax, eax
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.100446ed
mov esp, ebp
pop ebp
ret 0xc
mov edx, dword [edi + 0x194]
mov eax, dword [esp + 0x18]
mov dword [eax], edx
mov edx, dword [esp + 0x10]
mov cx, word [edi + 0x198]
push edx
mov word [eax + 4], cx
call fcn.10045e98
add esp, 4
mov dword [esp + 0x58], 0xffffffff
cmp dword [esp + 0x44], 0x10
jb 0x1001ed42
mov eax, dword [esp + 0x30]
push eax
call fcn.100446e8
add esp, 4
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], bl
mov eax, 1
jmp 0x1001ece2
Function at 0x1001fc50
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1006c958
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x100810a0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov esi, ecx
mov eax, dword [esi + 0x44]
mov edx, dword [esi + 0x40]
lea edi, [esi + 0x40]
mov dword [esp + 0x1c], eax
mov eax, dword [edx + 4]
push 0xffffffffffffffff
mov ecx, edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x24], 0
call eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x30], 0
test ebx, ebx
jne 0x1001fce8
mov dword [esp + 0x30], 0xffffffff
test eax, eax
je 0x1001fcd3
mov edx, dword [edi]
mov eax, dword [edx + 0xc]
mov ecx, edi
call eax
neg eax
sbb eax, eax
add eax, 1
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp dword [ebx + 0x1068], 0
lea eax, [ebx + 0x1068]
jne 0x1001fd30
mov ecx, dword [ebx + 0x1050]
movzx eax, word [ecx]
movzx edx, ax
push edx
push str.someone_about_to_free_msg_already_freed______0x_x_
push 0x2000001
call fcn.1001e9a0
add esp, 0xc
mov dword [esp + 0x30], 0xffffffff
cmp dword [esp + 0x20], 0
je 0x1001fcd3
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
mov ecx, edi
call edx
jmp 0x1001fcc8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov eax, dword [esi + 0x10]
cmp eax, 0xffffffff
mov dword [esp + 0x10], ebx
je 0x1001fd4a
cmp dword [esi + 0x24], eax
jae 0x1001fd57
lea eax, [esp + 0x10]
push eax
lea eax, [esi + 0x14]
call fcn.100233f0
add dword [esi + 0x38], 0xffffffff
add esi, 0x7c
lea ebx, [ebp + 8]
lea eax, [esp + 0x10]
call fcn.100207d0
mov eax, dword [esp + 0x10]
test eax, eax
mov edx, dword [esi + 4]
je 0x1001fdb7
cmp eax, esi
jne 0x1001fdb7
mov ecx, dword [esp + 0x14]
cmp ecx, edx
sete dl
test dl, dl
je 0x1001fd98
mov dword [esp + 0x30], 0xffffffff
cmp dword [esp + 0x20], 0
jmp 0x1001fcbd
push ecx
push eax
lea ecx, [esp + 0x18]
push ecx
push esi
call fcn.10020510
mov dword [esp + 0x30], 0xffffffff
cmp dword [esp + 0x20], 0
jmp 0x1001fcbd
call fcn.10022180
int3

Function at 0x10028af0
Capabilities:
Hash data with md5

Disassembly:
xor ecx, ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret

Function at 0x1002c100
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [edx]
push esi
mov ecx, 0x20
push edi
lea esp, [esp]
mov edi, eax
shr edi, 2
xor edi, eax
shr edi, 2
xor edi, eax
shr edi, 1
xor edi, eax
shr edi, 1
xor edi, eax
shr edi, 1
mov esi, eax
ror esi, 1
xor edi, eax
and esi, 0xfffffffe
and edi, 1
or esi, edi
sub ecx, 1
mov eax, esi
jne 0x1002c110
pop edi
mov dword [edx], eax
pop esi
ret