joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10030993
Capabilities:
Query or enumerate registry key

Disassembly:
push 0x244
mov eax, 0x100a2522
call fcn.10002f91
mov esi, dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 0x250], ebx
mov dword [ebp - 0x24c], ebx
mov dword [ebp - 0x248], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x238], ebx
mov dword [ebp - 0x234], ebx
mov dword [ebp - 0x230], ebx
mov dword [ebp - 0x23c], 0x100b5c70
mov dword [ebp - 0x22c], ebx
mov dword [ebp - 0x228], ebx
mov word [ebp - 0x224], bx
lea eax, [ebp - 0x250]
mov byte [ebp - 4], 1
push eax
call fcn.100373e2
mov edi, dword [ebp + 8]
xor edx, edx
lea eax, [ebp - 0x244]
mov dword [ebp - 0x220], 0x105
push eax
push edx
push edx
push edx
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x21c]
push eax
push ebx
push dword [ebp - 0x250]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
inc ebx
cmp eax, 0x103
jne 0x10030a43
push 0x80004005
push 0x2e6e3162
jmp 0x10030a61
test eax, eax
je 0x10030a66
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
push ecx
push 0x2e6e3163
call fcn.1003d2e5
mov eax, dword [ebp - 0x250]
lea ecx, [ebp - 0x228]
mov dword [ebp - 0x22c], eax
lea eax, [ebp - 0x21c]
push eax
call fcn.10006bee
push 0x20019
lea ecx, [ebp - 0x23c]
call fcn.10006d09
push eax
lea ecx, [ebp - 0x23c]
call fcn.10006de2
push esi
lea eax, [ebp - 0x23c]
push eax
call fcn.100390c7
mov eax, dword [esi]
push 0
pop edx
cmp eax, dword [edi]
jne 0x10030a00
lea eax, [edi + 4]
cmp word [eax], dx
je 0x10030afd
lea ecx, [esi + 4]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x10030aed
test dx, dx
je 0x10030ae7
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x10030aed
add ecx, 4
add eax, 4
test dx, dx
jne 0x10030ac5
xor edx, edx
mov eax, edx
jmp 0x10030af4
sbb eax, eax
or eax, 1
xor edx, edx
test eax, eax
je 0x10030b4d
jmp 0x10030a00
mov eax, dword [esi + 0x54]
cmp eax, dword [edi + 0x54]
jne 0x10030a00
mov eax, dword [esi + 0xa8]
cmp eax, dword [edi + 0xa8]
jne 0x10030a00
mov ecx, edx
mov eax, dword [esi + ecx*4 + 0x44]
cmp eax, dword [edi + ecx*4 + 0x44]
jne 0x10030a00
inc ecx
cmp ecx, 4
jne 0x10030b1d
mov ecx, edx
mov eax, dword [esi + ecx*4 + 0x98]
cmp eax, dword [edi + ecx*4 + 0x98]
jne 0x10030a00
inc ecx
cmp ecx, 4
jne 0x10030b33
lea ecx, [ebp - 0x23c]
call fcn.10007405
lea ecx, [ebp - 0x250]
call fcn.10006dcf
call fcn.100034a6
ret 8

Function at 0x10031d5c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x100b7c0c]
xor eax, ebp
mov dword [ebp - 4], eax
push 2
lea eax, [ebp - 8]
push eax
push 0x20001009
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov eax, dword [ebp - 8]
cmp eax, 8
ja 0x10031da0
je 0x10031da5
test eax, eax
je 0x10031da5
cmp eax, 5
jbe 0x10031da8
cmp eax, 6
je 0x10031da5
cmp eax, 7
jne 0x10031da5
jmp 0x10031da8
cmp eax, 0xc
jbe 0x10031da8
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10001550
mov esp, ebp
pop ebp
ret
Function at 0x10031e1d
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x100b7c0c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0xc]
push eax
push 0x20019
xor ebx, ebx
push ebx
push str.SoftwareMicrosoftWindows_NTCurrentVersionAeDebug
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10031e85
mov eax, dword [ebp + 0xc]
add eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push esi
push ebx
push ebx
push str.Debugger
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0xc]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
sete bl
mov ecx, dword [ebp - 4]
mov eax, ebx
pop esi
xor ecx, ebp
pop ebx
call fcn.10001550
mov esp, ebp
pop ebp
ret 8

Function at 0x10032000
Capabilities:
Get geographical location

Disassembly:
push 0x108
mov eax, 0x100a2962
call fcn.10002f91
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x110]
push 0x80
push eax
push 2
push dword [ecx]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
lea ecx, [ebp - 0x110]
test eax, eax
cmovle ecx, edx
push ecx
lea ecx, [ebp - 0x114]
call fcn.10006bd6
mov ecx, dword [eax]
and dword [eax], 0
mov dword [esi], ecx
and dword [ebp - 4], 0
lea ecx, [ebp - 0x114]
call fcn.10006c62
mov eax, esi
call fcn.100034a6
ret 4

Function at 0x1003247f
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x100b7c0c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ecx + 0x24]
test eax, eax
jne 0x100324dc
push 2
lea eax, [ebp - 8]
push eax
push 0x100c
push dword [ecx + 0x20]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x100324cc
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
push ecx
push 0x2e6e756c
call fcn.1003d2e5
movzx eax, word [ebp - 8]
sub eax, 0x2f
push 7
cdq
pop ecx
idiv ecx
lea eax, [edx + 1]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10001550
mov esp, ebp
pop ebp
ret

Function at 0x10032bb5
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x100b7c0c]
xor eax, ebp
mov dword [ebp - 4], eax
push 2
lea eax, [ebp - 8]
push eax
push 0x100d
push dword [ecx + 0x20]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x10032bfb
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
push ecx
push 0x2e6e756e
call fcn.1003d2e5
movzx eax, word [ebp - 8]
sub eax, 0x30
sub eax, 0
je 0x10032c19
sub eax, 1
je 0x10032c15
sub eax, 1
jne 0x10032c19
mov al, 4
jmp 0x10032c1b
mov al, 7
jmp 0x10032c1b
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10001550
mov esp, ebp
pop ebp
ret
Function at 0x100334f9
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a2b59
mov eax, dword fs:[0]
push eax
mov eax, 0x1060
call fcn.100040cc
mov eax, dword [0x100b7c0c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, dword [ebp + 8]
mov ecx, ebx
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x1060], eax
call fcn.10006c62
push ebx
push dword [ebp - 0x1060]
mov ecx, esi
call fcn.10009278
test al, al
je 0x10033566
test edi, edi
je 0x1003355f
mov dword [edi], 1
xor eax, eax
jmp 0x10033610
mov ecx, esi
call fcn.10006d43
test al, al
je 0x100335a8
cmp byte [esi + 0x18], 0
je 0x100335a3
push 0x80070002
push 0x2e6e3576
lea eax, [ebp - 0x106c]
push eax
call fcn.10041581
and dword [ebp - 4], 0
mov ecx, eax
call fcn.1003cdd4
lea ecx, [ebp - 0x106c]
call fcn.1002b592
push 2
pop eax
jmp 0x10033610
push 0x1048
lea eax, [ebp - 0x1058]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x105c], 0x1048
test esi, esi
je 0x100335d1
lea eax, [esi + 4]
jmp 0x100335d3
xor eax, eax
lea ecx, [ebp - 0x105c]
push ecx
lea ecx, [ebp - 0x1058]
push ecx
push edi
push 0
push dword [ebp - 0x1060]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push eax
mov ecx, esi
call fcn.10006de2
mov esi, eax
test esi, esi
jne 0x1003360e
lea eax, [ebp - 0x1058]
mov ecx, ebx
push eax
call fcn.10006bee
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10001550
mov esp, ebp
pop ebp
ret 0xc

Function at 0x100349b4
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2014
call fcn.100040cc
mov eax, dword [0x100b7c0c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x2010], 0x1000
lea ecx, [ebp - 0x2004]
mov byte [ebp - 0x200c], dl
mov dword [ebp - 0x2014], ecx
xor ecx, ecx
mov word [ebp - 0x2000], cx
lea ecx, [ebp - 0x2014]
push ecx
push eax
mov dword [ebp - 0x2008], edx
mov dword [ebp - 0x2004], edx
call fcn.10037253
push dword [ebp - 0x2014]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne bl
xor ecx, ecx
test bl, bl
cmovne ecx, eax
lea eax, [ebp - 0x2014]
mov dword [esi], ecx
mov ecx, eax
push eax
call fcn.100073e8
mov ecx, dword [ebp - 4]
mov al, bl
pop esi
xor ecx, ebp
pop ebx
call fcn.10001550
mov esp, ebp
pop ebp
ret 4
Function at 0x10035f68
Capabilities:
Get geographical location

Disassembly:
push 0x24
mov eax, 0x100a2ecb
call fcn.10002f91
push 2
lea eax, [ebp - 0x24]
push eax
push 0x23
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x10035fbf
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
lea eax, [ebp - 0x30]
push ecx
push 0x2e6e7664
push eax
call fcn.10041581
and dword [ebp - 4], 0
mov ecx, eax
call fcn.1003cdd4
lea ecx, [ebp - 0x30]
call fcn.1002b592
cmp word [ebp - 0x24], 0x30
je 0x10035fca
xor al, al
jmp 0x10035fe8
push 9
lea eax, [ebp - 0x24]
push eax
push 0x28
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x10035fc6
xor eax, eax
cmp word [ebp - 0x24], ax
setne al
call fcn.100034a6
ret 4

Function at 0x10038e1e
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x100b7c0c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov edx, dword [ebp + 8]
xor ebx, ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
add eax, eax
mov dword [edi], ebx
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push esi
lea eax, [ebp - 8]
push eax
push ebx
push edx
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10038e95
cmp dword [ebp - 8], 1
je 0x10038e6d
cmp dword [ebp - 8], 2
je 0x10038e6d
push 0xd
pop eax
jmp 0x10038e95
mov ecx, dword [ebp - 0xc]
test esi, esi
je 0x10038e8f
test ecx, ecx
je 0x10038e8a
test cl, 1
jne 0x10038e68
mov eax, ecx
shr eax, 1
cmp word [esi + eax*2 - 2], bx
jne 0x10038e68
jmp 0x10038e8f
xor eax, eax
mov word [esi], ax
shr ecx, 1
xor eax, eax
mov dword [edi], ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10001550
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10039559
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x424
mov eax, 0x100a3668
call fcn.100023e8
mov eax, dword [ebp + 0xc]
xor esi, esi
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x428], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x424], eax
mov dword [ebp - 0x430], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x420], esi
push 0x60
push esi
push ebx
mov byte [ebp - 4], 1
call fcn.100428f2
mov edi, eax
mov dword [ebp - 0x42c], edi
test edi, edi
jne 0x100395ce
push 2
push esi
push ebx
call fcn.100428f2
mov edi, eax
mov dword [ebp - 0x42c], eax
test edi, edi
jne 0x100395ce
call fcn.100103f2
mov esi, eax
jmp 0x100396a1
push dword [ebp - 0x424]
push dword [ebp - 0x428]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
jne 0x100395f1
call fcn.100103f2
jmp 0x10039694
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x424], eax
test eax, eax
je 0x100395e7
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
mov dword [ebp - 0x428], ebx
lea eax, [ebx + 1]
cmp eax, ebx
jae 0x10039621
mov esi, 0x8007000e
jmp 0x10039696
push eax
lea ecx, [ebp - 0x420]
mov byte [ebp - 4], 2
call fcn.1002cbb8
jmp 0x10039647
cmp dword [ebp - 0x420], 0
mov dword [ebp - 4], 1
je 0x1003961a
push ebx
push dword [ebp - 0x420]
push ebx
push dword [ebp - 0x424]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
je 0x100395e7
mov eax, dword [ebp - 0x420]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x1c]
push dword [ebp - 0x420]
call fcn.10039420
mov esi, eax
test edi, edi
je 0x100396a1
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x41c]
cmp dword [ebp - 0x420], eax
je 0x100396ba
lea ecx, [ebp - 0x420]
call fcn.10031568
lea ecx, [ebp - 0x430]
call fcn.1000f646
mov eax, esi
call fcn.10005574
ret 0x10
Function at 0x1003a1ea
Capabilities:
Terminate process

Disassembly:
push 0x24
mov eax, 0x100a371b
call fcn.100023e8
mov edi, dword [ebp + 8]
push 0
call fcn.1000242d
and dword [ebp - 4], 0
mov bl, byte [ebp + 0xc]
mov byte [ebp - 4], 1
test bl, bl
je 0x1003a22a
test byte [0x10107ff8], 4
je 0x1003a22a
push 0x666
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, dword [0x10107ffc]
test eax, eax
je 0x1003a24b
mov ecx, dword [eax + 0x24]
test ecx, ecx
sete al
test al, al
je 0x1003a245
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xbad_function_call_void_]
mov eax, dword [ecx]
push edi
call dword [eax + 8]
test bl, bl
je 0x1003a299
test dword [edi], 0x80000000
je 0x1003a299
mov eax, dword [0x10107ff8]
test al, 1
jne 0x1003a274
test al, 2
je 0x1003a299
mov esi, dword [0x10108004]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp eax, esi
jne 0x1003a299
xor eax, eax
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], al
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.1003013c
lea ecx, [ebp - 0x28]
call fcn.1002b592
mov dword [ebp - 4], 4
call fcn.100068de
call fcn.10005574
ret 8

Function at 0x1003b8a6
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov edx, dword [ebp + 0xc]
push ebx
mov ebx, ecx
test edx, edx
jne 0x1003b8b9
push 0xd
pop eax
jmp 0x1003b8fd
push esi
xor eax, eax
push edi
mov dword [ebp + 0xc], eax
mov esi, eax
mov edi, edx
mov ecx, edi
lea eax, [ecx + 2]
mov dword [ebp - 4], eax
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp + 0xc]
jne 0x1003b8cc
sub ecx, dword [ebp - 4]
sar ecx, 1
inc ecx
lea edi, [edi + ecx*2]
lea esi, [esi + ecx*2]
cmp ecx, 1
jne 0x1003b8c4
push esi
push edx
push 7
xor eax, eax
push eax
push dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x1003bdd5
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push esi
mov esi, ecx
test edx, edx
jne 0x1003bde7
push 0xd
pop eax
jmp 0x1003be19
mov ecx, edx
push ebx
push edi
xor ebx, ebx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x1003bdf0
sub ecx, edi
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push dword [ebp + 0x10]
push ebx
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop ebx
pop esi
pop ebp
ret 0xc
Function at 0x1003c37d
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x47c
mov eax, dword [0x100b7c0c]
xor eax, ebp
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
jne 0x1003c4ad
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x46c], 0xc
push 0x40
lea eax, [ebp - 0x45c]
mov dword [ebp - 0x468], ebx
xorps xmm0, xmm0
mov dword [ebp - 0x464], ebx
push ebx
push eax
movups xmmword [ebp - 0x47c], xmm0
mov dword [ebp - 0x460], 0x44
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov esi, 0x20a
mov edi, eax
push esi
lea eax, [ebp - 0x210]
push ebx
push eax
call sub.VCRUNTIME140.dll_memset
push esi
lea eax, [ebp - 0x41c]
push ebx
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x18
lea eax, [ebp - 0x210]
push 0x105
push eax
call fcn.10031e1d
test eax, eax
je 0x1003c4aa
push ebx
xor eax, eax
mov dword [ebp - 0x468], ebx
inc eax
push ebx
push eax
mov dword [ebp - 0x464], eax
lea eax, [ebp - 0x46c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov esi, eax
test esi, esi
je 0x1003c4aa
push esi
push edi
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x41c]
push eax
call fcn.1002a06a
add esp, 0x10
lea eax, [ebp - 0x47c]
push eax
lea eax, [ebp - 0x460]
push eax
push ebx
push ebx
push ebx
push 1
push ebx
push ebx
lea eax, [ebp - 0x41c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x1003c4a7
push dword [ebp - 0x47c]
call edi
push dword [ebp - 0x478]
call edi
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10001550
mov esp, ebp
pop ebp
ret

Function at 0x1003c4bb
Capabilities:
Create thread

Disassembly:
push 0x14
mov eax, 0x100a3ac8
call fcn.10002f91
mov esi, ecx
or ebx, 0xffffffff
xor edi, edi
cmp dword [esi], ebx
je 0x1003c4f7
push 0x80004005
push 0x2e68367a
lea eax, [ebp - 0x20]
push eax
call fcn.10041581
mov ecx, eax
mov dword [ebp - 4], edi
call fcn.1003cdd4
lea ecx, [ebp - 0x20]
call fcn.1002b592
mov eax, dword [ebp + 8]
mov dword [esi + 4], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 8], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 0xc], eax
lea eax, [ebp - 0x14]
push eax
push edi
push esi
push 0x10041a86
push edi
push edi
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x18
test eax, eax
cmove eax, ebx
mov dword [esi], eax
call fcn.100034a6
ret 0xc
Function at 0x1003c52e
Capabilities:
Create thread

Disassembly:
push 8
mov eax, 0x100a3b07
call fcn.10001360
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], ebx
push 0x14
mov dword [ebp - 4], ebx
call fcn.100024a3
pop ecx
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 1
test eax, eax
je 0x1003c56d
push dword [ebp + 0x14]
mov ecx, eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push esi
call fcn.1002a9ed
jmp 0x1003c56f
mov eax, ebx
push eax
lea ecx, [ebp - 0x10]
call fcn.1002bb08
push esi
mov dword [ebp + 0x14], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
inc dword [esi + 0x18]
cmp dword [esi + 0x18], 1
mov byte [ebp - 4], 2
jne 0x1003c59c
cmp dword [esi + 0x1c], ebx
jne 0x1003c59c
mov ecx, dword [esi + 0x24]
call fcn.1001b654
push esi
mov byte [ebp - 4], bl
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp - 0x10]
push eax
push ebx
push 0x1003c122
mov dword [ebp - 0x10], ebx
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthread]
add esp, 0xc
cmp eax, 0xffffffff
jne 0x1003c5cb
push 0x2e6b6832
call fcn.1003d291
call fcn.100013a0
ret 0x10

Function at 0x1003c5d3
Capabilities:
Create thread

Disassembly:
push 8
mov eax, 0x100a3b3c
call fcn.10001360
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], ebx
push 0x14
mov dword [ebp - 4], ebx
call fcn.100024a3
pop ecx
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 1
test eax, eax
je 0x1003c615
push dword [ebp + 0x18]
mov ecx, eax
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push esi
call fcn.1002ad54
jmp 0x1003c617
mov eax, ebx
push eax
lea ecx, [ebp - 0x10]
call fcn.1002bb08
push esi
mov dword [ebp + 0x18], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
inc dword [esi + 0x18]
cmp dword [esi + 0x18], 1
mov byte [ebp - 4], 2
jne 0x1003c644
cmp dword [esi + 0x1c], ebx
jne 0x1003c644
mov ecx, dword [esi + 0x24]
call fcn.1001b654
push esi
mov byte [ebp - 4], bl
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp - 0x10]
push eax
push ebx
push 0x1003cda4
mov dword [ebp - 0x10], ebx
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthread]
add esp, 0xc
cmp eax, 0xffffffff
jne 0x1003c673
push 0x2e6b6831
call fcn.1003d291
call fcn.100013a0
ret 0x14
Function at 0x1003d3da
Capabilities:
Print debug messages

Disassembly:
push 0x81c
mov eax, 0x100a3c78
call fcn.10002f91
mov esi, dword [ebp + 8]
push esi
call fcn.100093ab
mov edi, eax
mov ecx, 0x3e8
cmp edi, ecx
jle 0x1003d4a9
lea eax, [edi - 0x3e9]
xor edx, edx
div ecx
inc eax
imul ecx, eax, 0xfffffc18
add edi, ecx
mov dword [ebp - 0x828], edi
mov edi, eax
and dword [ebp - 0x814], 0
lea eax, [ebp - 0x810]
mov dword [ebp - 0x820], eax
xor eax, eax
mov word [ebp - 0x810], ax
and dword [ebp - 0x810], eax
mov dword [ebp - 0x81c], 0x400
mov byte [ebp - 0x818], 0
mov word [ebp - 0x80c], ax
and dword [ebp - 4], eax
lea eax, [ebp - 0x820]
push eax
push 0x3e8
push esi
call fcn.10027973
lea ecx, [ebp - 0x820]
add esi, 0x7d0
call fcn.10009546
push dword [ebp - 0x820]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x820]
push eax
mov ecx, eax
call fcn.100073e8
sub edi, 1
jne 0x1003d41c
mov edi, dword [ebp - 0x828]
test edi, edi
je 0x1003d4b4
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
call fcn.100034a6
ret 4
Function at 0x1003fe33
Capabilities:
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push 0x20
mov eax, 0x100a41ed
call fcn.10002f91
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x2c], eax
test edi, edi
je 0x1003ff6e
test ebx, ebx
je 0x1003ff6e
xor esi, esi
mov dword [ebp - 0x24], esi
lea eax, [ebp - 0x24]
mov dword [ebp - 4], esi
push eax
push esi
push esi
push 0x8003
call fcn.1003265b
push eax
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x1003ff57
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003fe87
push esi
sub ecx, edx
push ecx
push edi
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x1003ff57
push esi
xor edi, edi
inc edi
push edi
push 0x100c5510
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x1003ff57
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003fec4
push esi
sub ecx, edx
push ecx
push ebx
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x1003ff57
push esi
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], 0x10
push eax
lea eax, [ebp - 0x20]
push eax
push 2
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x1003ff57
mov ebx, dword [ebp - 0x1c]
push esi
push 0x3c9
push ebx
push dword [ebp - 0x20]
call fcn.1000a2d8
movzx ecx, word [eax*2 + 0x100c2a58]
test cx, cx
je 0x1003ff57
mov edx, dword [ebp - 0x20]
movzx eax, cx
imul eax, eax, 0xc
cmp dword [eax + 0x100c31f0], edx
jne 0x1003ff34
cmp dword [eax + 0x100c31f4], ebx
je 0x1003ff42
movzx ecx, word [eax + 0x100c31fa]
test cx, cx
je 0x1003ff5b
jmp 0x1003ff1e
movzx eax, cx
mov ecx, dword [ebp - 0x2c]
imul eax, eax, 0xc
mov ax, word [eax + 0x100c31f8]
mov word [ecx], ax
jmp 0x1003ff59
mov edi, esi
mov esi, edi
cmp dword [ebp - 0x24], 0
je 0x1003ff6a
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov eax, esi
jmp 0x1003ff70
xor eax, eax
call fcn.100034a6
ret 0xc