joyce8/EMBER2024-capa huggingface dataset:
Function at 0x419cc3
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 0x419d05
call fcn.0041ee9f
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x419d05
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x419cfc
xor eax, eax
jmp 0x419d0d
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00419d13
pop edi
pop esi
pop ebx
ret 4

Function at 0x41aa00
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x420624
call fcn.00409938
sub esp, 0x18
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], esi
mov eax, dword [esi + 0x48]
mov edi, dword [esi + 0x44]
mov dword [ebp - 0x18], eax
call fcn.0041ee9f
cmp dword [esi + 0x40], 0
mov ebx, dword [eax + 0xc]
je 0x41aa3f
call fcn.0041ee9f
mov ebx, dword [eax + 0xc]
push 5
push dword [esi + 0x40]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x41aa4d
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x41aa5b
or eax, 0xffffffff
jmp 0x41ab43
mov ecx, esi
call fcn.0041a976
mov dword [ebp - 0x14], eax
call fcn.00418038
xor edi, edi
cmp dword [ebp - 0x14], edi
mov dword [ebp - 0x20], edi
je 0x41aa92
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x41aa92
push edi
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x20], 1
push esi
mov dword [ebp - 4], edi
call fcn.00417fec
push dword [ebp - 0x14]
call fcn.00417b1e
push ebx
push eax
push dword [ebp - 0x18]
mov ecx, esi
call fcn.0041a70e
cmp eax, edi
je 0x41ab05
test byte [esi + 0x24], 0x10
je 0x41aad3
push 4
mov ecx, esi
pop ebx
call fcn.0041a3b4
test ah, 1
je 0x41aacb
push 5
pop ebx
push ebx
mov ecx, esi
call fcn.00419e15
cmp dword [esi + 0x1c], edi
je 0x41ab05
push 0x97
push edi
push edi
push edi
push edi
push edi
mov ecx, esi
call fcn.0041a440
jmp 0x41ab05
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x20], edi
je 0x41ab19
push 1
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebp - 0x14], edi
je 0x41ab32
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x1c]
jne 0x41ab32
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x58]
mov ecx, esi
call fcn.0041a9b0
mov eax, dword [esi + 0x2c]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x41f4e1
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 0x41f50f
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x41f52d
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0041f447
jmp 0x41f52d
mov eax, dword [esi + 0x14]
test eax, eax
je 0x41f52d
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0041f447
test edi, edi
mov eax, edi
jne 0x41f517
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x4010c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
movzx edx, word [esp + 4]
mov dword [esp + 4], edx
jmp fcn.00404f5a

Function at 0x401240
Capabilities:
Allocate thread local storage

Disassembly:
push 0xffffffffffffffff
push 0x4308fb
mov eax, dword fs:[0]
push eax
sub esp, 0x78
push esi
mov eax, dword [0x440710]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
mov esi, ecx
push 0
call fcn.0040b675
add esp, 4
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
push 0
lea ecx, [esp + 0xc]
mov dword [0x441a70], eax
call fcn.00401b40
lea eax, [esp + 8]
push 0
push 0x66
mov ecx, eax
mov dword [esp + 0x90], 0
mov dword [esi + 0x20], eax
call fcn.00404f5a
push 0
lea ecx, [esp + 0xc]
call fcn.004078f2
mov ecx, dword [0x441a70]
push ecx
call dword [sym.imp.KERNEL32.dll_TlsFree]
lea ecx, [esp + 8]
mov dword [0x441a70], 0
mov dword [esp + 0x88], 0xffffffff
call fcn.004045e3
xor eax, eax
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x84
ret

Function at 0x401a50
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 0x401a69
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x401aa4
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x401aa0
lea ebx, [ebx]
cmp esi, eax
jae 0x401aa4
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x401a90
cmp esi, eax
jb 0x401aaa
pop esi
pop edi
xor eax, eax
pop ebx
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret

Function at 0x404f5a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
test ebx, 0xffff0000
jne 0x404f7e
cmp dword [edi + 0x54], 0
jne 0x404f7e
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.0040cfa4
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.00404f1b
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x40abb9
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x40ac00
call fcn.0040cfa4
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x40ac00
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x40ac1c
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0040a731
mov esi, eax
test edi, edi
je 0x40ac1a
test ebx, ebx
je 0x40ac1a
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x40b0df
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x40b127
call fcn.0040cfa4
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x40b127
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x40b16a
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x40b153
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x40b153
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x40b167
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x40c244
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x430ea2
call fcn.0041ed2d
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x40c269
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x40c2af
lea ecx, [ebp - 0x10]
call fcn.004014d0
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00405235
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401070
mov eax, esi
call fcn.0041ee05
ret 8
Function at 0x41ea39
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x440710]
jne 0x41ea43
repz ret
jmp fcn.004261ac

Function at 0x429e72
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00422b92
and dword [ebp - 4], 0
cmp dword [0x444598], 0
mov ebx, eax
jne 0x429f23
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x429fd4
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x429fd4
push eax
call fcn.00422b20
mov dword [esp], 0x436608
push edi
mov dword [0x444598], eax
call esi
push eax
call fcn.00422b20
mov dword [esp], 0x4365f4
push edi
mov dword [0x44459c], eax
call esi
push eax
call fcn.00422b20
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4445a0], eax
call esi
push eax
call fcn.00422b20
pop ecx
mov dword [0x4445a8], eax
test eax, eax
je 0x429f23
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00422b20
pop ecx
mov dword [0x4445a4], eax
mov eax, dword [0x4445a4]
cmp eax, ebx
je 0x429f7b
cmp dword [0x4445a8], ebx
je 0x429f7b
push eax
call fcn.00422b9b
push dword [0x4445a8]
mov esi, eax
call fcn.00422b9b
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x429f7b
test edi, edi
je 0x429f7b
call esi
test eax, eax
je 0x429f72
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x429f72
test byte [ebp - 0xc], 1
jne 0x429f7b
or dword [ebp + 0x10], 0x200000
jmp 0x429fb4
mov eax, dword [0x44459c]
cmp eax, ebx
je 0x429fb4
push eax
call fcn.00422b9b
pop ecx
test eax, eax
je 0x429fb4
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x429fb4
mov eax, dword [0x4445a0]
cmp eax, ebx
je 0x429fb4
push eax
call fcn.00422b9b
pop ecx
test eax, eax
je 0x429fb4
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x444598]
call fcn.00422b9b
pop ecx
test eax, eax
je 0x429fd4
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x429fd6
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401ee2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x411280]
jne 0x401eec
repz ret
jmp fcn.00404369

Function at 0x4025e7
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
push 0x14
push 0x40f530
call fcn.00403770
mov eax, 0x5a4d
cmp word [0x400000], ax
jne 0x4024e7
mov eax, dword [0x40003c]
cmp dword [eax + 0x400000], 0x4550
jne 0x4024e7
mov ecx, 0x10b
cmp word [eax + 0x400018], cx
jne 0x4024e7
cmp dword [eax + 0x400074], 0xe
jbe 0x4024e7
xor ecx, ecx
cmp dword [eax + 0x4000e8], ecx
setne cl
mov dword [ebp - 0x1c], ecx
jmp 0x4024eb
and dword [ebp - 0x1c], 0
push 1
call fcn.004060bc
pop ecx
test eax, eax
jne 0x4024ff
push 0x1c
call fcn.004060bc
pop ecx
call fcn.00405287
test eax, eax
jne 0x402510
push 0x10
call fcn.004060bc
pop ecx
call fcn.00405952
and dword [ebp - 4], 0
call fcn.004032ff
test eax, eax
jge 0x40252a
push 0x1b
call fcn.004060bc
pop ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x412ba0], eax
call fcn.004060bc
mov dword [0x41203c], eax
call fcn.004060bc
test eax, eax
jge 0x402550
push 8
call fcn.004060bc
pop ecx
call fcn.00405fde
test eax, eax
jge 0x402561
push 9
call fcn.004060bc
pop ecx
push 1
call fcn.004060bc
pop ecx
test eax, eax
je 0x402574
push eax
call fcn.004060bc
pop ecx
mov eax, dword [0x412018]
mov dword [0x41201c], eax
push eax
push dword [0x412010]
push dword [0x41200c]
call main
add esp, 0xc
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x1c], 0
jne 0x4025a2
push eax
call fcn.004060bc
call fcn.00402400
jmp 0x4025d7
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x20]
call fcn.004037b5
ret
call fcn.004060bc
jmp 0x402495

Function at 0x4060bc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
pushal
call 0x4060cb
pop dword [ebp - 8]
mov eax, 0x38dcddd6
sub eax, 0x389c7d0b
sub dword [ebp - 8], eax
push 0x40
push 0x1000
push 0x35cc9
push 0
mov eax, 0x5de3f220
sub eax, 0x5da31148
add eax, dword [ebp - 8]
call dword [eax]
mov ecx, 0x4909b130
sub ecx, 0x490976cd
mov edx, eax
mov edi, 0x413bc4
add edi, dword [ebp - 8]
mov esi, 0x9d4d6219
sub esi, 0xa9c95d0d
sub dword [ebp - 4], esi
mov ebx, dword [edi]
mov dword [ebp - 4], 0x7fadd7d3
xor ebx, esi
mov dword [ebp - 4], 0x2fc16e33
mov dword [edx], ebx
add dword [ebp - 4], 0xcaf69c83
add edx, 4
add edi, 0x5f2057be
add edi, 0xa0dfa846
loop 0x406124
add eax, 0xdc5f
xor ebx, ebx
add ebx, eax
add eax, 0xb09b90cb
sub eax, 0xb09b90c6
mov ecx, 0x13bc80e2
add ecx, 0xec837f1e
add ecx, dword [ebp - 8]
call ebx
leave
ret
Function at 0x401ee2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x411280]
jne 0x401eec
repz ret
jmp fcn.00404369

Function at 0x4025e7
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
push 0x14
push 0x40f530
call fcn.00403770
mov eax, 0x5a4d
cmp word [0x400000], ax
jne 0x4024e7
mov eax, dword [0x40003c]
cmp dword [eax + 0x400000], 0x4550
jne 0x4024e7
mov ecx, 0x10b
cmp word [eax + 0x400018], cx
jne 0x4024e7
cmp dword [eax + 0x400074], 0xe
jbe 0x4024e7
xor ecx, ecx
cmp dword [eax + 0x4000e8], ecx
setne cl
mov dword [ebp - 0x1c], ecx
jmp 0x4024eb
and dword [ebp - 0x1c], 0
push 1
call fcn.00407571
pop ecx
test eax, eax
jne 0x4024ff
push 0x1c
call fcn.00407571
pop ecx
call fcn.00405287
test eax, eax
jne 0x402510
push 0x10
call fcn.00407571
pop ecx
call fcn.00405952
and dword [ebp - 4], 0
call fcn.004032ff
test eax, eax
jge 0x40252a
push 0x1b
call fcn.00407571
pop ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x412ba0], eax
call fcn.00407571
mov dword [0x41203c], eax
call fcn.00407571
test eax, eax
jge 0x402550
push 8
call fcn.00407571
pop ecx
call fcn.00405fde
test eax, eax
jge 0x402561
push 9
call fcn.00407571
pop ecx
push 1
call fcn.00407571
pop ecx
test eax, eax
je 0x402574
push eax
call fcn.00407571
pop ecx
mov eax, dword [0x412018]
mov dword [0x41201c], eax
push eax
push dword [0x412010]
push dword [0x41200c]
call main
add esp, 0xc
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x1c], 0
jne 0x4025a2
push eax
call fcn.00407571
call fcn.00402400
jmp 0x4025d7
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x20]
call fcn.004037b5
ret
call fcn.00407571
jmp 0x402495

Function at 0x407571
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
pushal
call 0x407580
pop dword [ebp - 0x20]
mov eax, 0x407580
sub dword [ebp - 0x20], eax
push 0x40
push 0x1000
push 0x3742c
push 0
mov eax, 0xaace558f
add eax, 0x55728b49
add eax, dword [ebp - 0x20]
call dword [eax]
mov ecx, 0x993e9509
add ecx, 0x66c1aae0
xor edx, edx
add edx, eax
mov ebx, 0x8ffa2fb9
add ebx, 0x70470c0b
add ebx, dword [ebp - 0x20]
mov esi, 0xc1dca85e
add esi, 0x46a22978
xor dword [ebp - 0xc], 0x61444406
mov edi, dword [ebx]
mov dword [ebp - 4], 0x8bbcf5ad
sub edi, esi
sub dword [ebp - 0x18], 0x52f859e5
mov dword [edx], edi
sub dword [ebp - 0x14], ecx
add edx, 0xd037b6fd
add edx, 0x2fc84907
add ebx, 0x7b99573e
add ebx, 0x8466a8c6
loop 0x4075dc
add eax, 0xf277
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x400000
add ecx, dword [ebp - 0x20]
call ebx
leave
ret
Function at 0x10001020
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001e078
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x10026484]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, 0xf
mov word [ebp - 0x30], ax
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x24], 0xffffffff
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x1c], 1
xor ecx, ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], ecx
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [edx + 0xc]
call ecx
test eax, eax
jge 0x1000109d
mov eax, 0x80070057
jmp 0x100011fa
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x100010ba
mov eax, 0x80070057
jmp 0x100011fa
push 0
push 0
push 0xffffffffffffffff
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.SHELL32.dll_DragQueryFileW]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], 0
cmp dword [ebp - 0x34], 0
je 0x100010e0
cmp dword [ebp - 0x34], 0x64
jbe 0x100010fe
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.ole32.dll_ReleaseStgMedium]
mov eax, 0x80070057
jmp 0x100011fa
mov ecx, dword [ebp + 8]
add ecx, 0xc
call fcn.100021b0
mov dword [ebp - 0x3c], 0
jmp 0x1000111b
mov eax, dword [ebp - 0x3c]
add eax, 1
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
cmp ecx, dword [ebp - 0x34]
jae 0x100011e4
push 0
push 0
mov edx, dword [ebp - 0x3c]
push edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.SHELL32.dll_DragQueryFileW]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
add eax, 8
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1000b41d
add esp, 4
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x40]
add ecx, 1
push ecx
mov edx, dword [ebp - 0x44]
push edx
mov eax, dword [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.SHELL32.dll_DragQueryFileW]
test eax, eax
jbe 0x100011df
mov edx, dword [ebp - 0x44]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
and eax, 0x10
je 0x100011ae
push str..
mov ecx, dword [ebp - 0x40]
add ecx, 8
push ecx
mov edx, dword [ebp - 0x44]
push edx
call fcn.1000b50f
add esp, 0xc
mov eax, dword [ebp - 0x44]
push eax
lea ecx, [ebp - 0x68]
call fcn.10002090
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x68]
push ecx
mov ecx, dword [ebp + 8]
add ecx, 0xc
call fcn.10002170
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x68]
call fcn.100020d0
jmp 0x10001112
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.ole32.dll_ReleaseStgMedium]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x10001210
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1238
call fcn.1000b990
mov eax, dword [0x10026484]
xor eax, ebp
mov dword [ebp - 0x1c], eax
call fcn.10002030
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x10]
and eax, 5
je 0x100013a1
mov dword [ebp - 0x18], 0x208
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x228]
push edx
lea eax, [ebp - 0x14]
push eax
push 0x1001f348
push 0x1001f354
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x100012a0
push 0x104
lea ecx, [ebp - 0x228]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x5c
lea edx, [ebp - 0x228]
push edx
call fcn.10002010
add esp, 8
mov dword [ebp - 0x122c], eax
xor eax, eax
mov ecx, dword [ebp - 0x122c]
mov word [ecx], ax
push str._res.ini
push 0x104
lea edx, [ebp - 0x228]
push edx
call fcn.1000b50f
add esp, 0xc
lea eax, [ebp - 0x228]
push eax
push 0x1000
lea ecx, [ebp - 0x1228]
push ecx
push 0x1001f39c
push str.1015
push 0x1001f3ac
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov edx, dword [ebp + 0x10]
and edx, 4
je 0x1000130c
mov eax, dword [ebp + 0x1c]
push eax
lea ecx, [ebp - 0x1228]
push ecx
call fcn.10009f90
add esp, 4
push eax
mov edx, dword [ebp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
jmp 0x1000139d
lea eax, [ebp - 0x1228]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x10001327
mov dword [ebp - 0x1230], 0
jmp 0x10001388
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x3fffffff
jle 0x1000134c
mov dword [ebp - 0x1234], 0
jmp 0x1000137c
mov eax, dword [ebp - 4]
shl eax, 1
call fcn.1000b9c0
mov dword [ebp - 0x1238], esp
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 4]
shl eax, 1
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0x1238]
push edx
call fcn.10002040
mov dword [ebp - 0x1234], eax
mov eax, dword [ebp - 0x1234]
mov dword [ebp - 0x1230], eax
mov ecx, dword [ebp + 0x1c]
push ecx
mov edx, dword [ebp - 0x1230]
push edx
mov eax, dword [ebp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
xor eax, eax
jmp 0x100013a6
mov eax, 0x80070057
lea esp, [ebp - 0x1238]
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.1000b972
mov esp, ebp
pop ebp
ret 0x18
Function at 0x10006d90
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001e678
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x10026484]
xor eax, ebp
mov dword [ebp - 0x28], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x23c], ecx
lea ecx, [ebp - 0x20]
call fcn.10006b60
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x23c]
mov ecx, dword [eax + 4]
or ecx, 0x2001f
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x23c]
mov ecx, dword [eax]
push ecx
lea ecx, [ebp - 0x20]
call fcn.10006d30
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x10006e21
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x230], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.10006b90
mov eax, dword [ebp - 0x230]
jmp 0x10006ec0
mov dword [ebp - 0x10], 0x100
lea eax, [ebp - 0x18]
push eax
push 0
push 0
push 0
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x22c]
push edx
push 0
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x10006e8e
lea ecx, [ebp - 0x22c]
push ecx
lea ecx, [ebp - 0x20]
call fcn.10006d90
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x10006e85
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x234], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.10006b90
mov eax, dword [ebp - 0x234]
jmp 0x10006ec0
mov dword [ebp - 0x10], 0x100
jmp 0x10006e28
lea ecx, [ebp - 0x20]
call fcn.10006c70
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x23c]
call fcn.10006c10
mov dword [ebp - 0x238], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.10006b90
mov eax, dword [ebp - 0x238]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x28]
xor ecx, ebp
call fcn.1000b972
mov esp, ebp
pop ebp
ret 4