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

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x100c20a6
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x100c204d
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x100c205c
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x104c7cff
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x100c20ad
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.100a8f23
cmp eax, dword [ebp + 0xc]
pop eax
je 0x100c214c
add edi, 4
add eax, 2
dec ecx
jne 0x100c2092
call 0x100c20f9
loope 0x100c20ef
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x100c2149
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x100c215a
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x100c210d
cmp eax, ecx
ja 0x100c210d
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x100c2197
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x100c218d
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.100a9402
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x100c205c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x100c20a6
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x100c204d
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x100c205c
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x104c7cff
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x100c20ad
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.100a8f23
cmp eax, dword [ebp + 0xc]
pop eax
je 0x100c214c
add edi, 4
add eax, 2
dec ecx
jne 0x100c2092
call 0x100c20f9
loope 0x100c20ef
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x100c2149
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x100c215a
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x100c210d
cmp eax, ecx
ja 0x100c210d
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x100c2197
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x100c218d
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.100a9402
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x46a41f
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x50
push ebp
lea eax, [esp + 0x28]
push edi
push eax
call fcn.0046a5cf
mov ecx, dword [esp + 0x5c]
xor edx, edx
xor ebp, ebp
mov dword [esp + 0xc], 1
mov edi, dword [ecx]
mov dword [esp + 0x10], 8
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 4
mov dx, word [edi + 0x14]
cmp word [edi + 6], bp
mov dword [esp + 0x1c], 0x10
mov dword [esp + 0x20], 0x80
mov dword [esp + 0x24], 0x20
mov dword [esp + 0x28], 0x40
lea eax, [edx + edi + 0x18]
jbe 0x46a51d
push ebx
push esi
lea ebx, [eax + 0x24]
mov eax, dword [ebx]
mov ecx, eax
mov edx, eax
shr ecx, 0x1d
shr edx, 0x1e
mov esi, eax
and ecx, 1
and edx, 1
shr esi, 0x1f
test eax, 0x2000000
je 0x46a4c0
mov eax, dword [ebx - 0x14]
mov ecx, dword [ebx - 0x1c]
push 0x4000
push eax
push ecx
call dword [esp + 0x4c]
jmp 0x46a503
lea edx, [edx + ecx*2]
test eax, 0x4000000
lea ecx, [esi + edx*2]
mov esi, dword [esp + ecx*4 + 0x14]
je 0x46a4d7
or esi, 0x200
mov edx, dword [ebx - 0x14]
mov ecx, edx
test ecx, ecx
jne 0x46a4f2
test al, 0x40
je 0x46a4e9
mov ecx, dword [edi + 0x20]
jmp 0x46a4f0
test al, 0x80
je 0x46a503
mov ecx, dword [edi + 0x24]
test ecx, ecx
jbe 0x46a503
mov ecx, dword [ebx - 0x1c]
lea eax, [esp + 0x10]
push eax
push esi
push edx
push ecx
call dword [esp + 0x44]
mov edx, dword [esp + 0x64]
xor eax, eax
inc ebp
add ebx, 0x28
mov edi, dword [edx]
mov ax, word [edi + 6]
cmp ebp, eax
jl 0x46a48f
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x50
ret
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x408ecc
nop
mov ecx, 0x30b4143d
nop
nop
nop
nop
nop
test eax, eax
je 0x43004e
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x430024
nop
nop
mov eax, section..rdata
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x5a4347d8
nop
test eax, eax
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x10030f0
Capabilities:
Check os version
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x3a0
mov eax, dword [0x100c034]
mov dword [ebp - 4], eax
mov dword [ebp - 0xa0], 0x94
add byte [eax], al
add byte [ebp - 0x9f7b], cl
call dword [eax - 1]
adc eax, sym.imp.KERNEL32.dll_GetVersionExA

Function at 0x1003560
Capabilities:
Print debug messages
Terminate process

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x100c034]
mov dword [ebp - 8], eax
push 0x100143c
call fcn.010034c0
mov dword [ebp - 4], eax
push 0
push 0x14e
push 0x100141c
lea eax, [ebp - 0x88]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
push 0x1001388
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea ecx, [ebp - 0x88]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor edx, edx
jne 0x1003580
cmp dword [ebp - 4], 0xffffffff
je 0x100366f
mov eax, dword [ebp - 4]
push eax
push 1
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 0
jne 0x1003621
push 0
push 0x158
push 0x10013fc
lea ecx, [ebp - 0x110]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
push 0x1001388
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea edx, [ebp - 0x110]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor eax, eax
jne 0x10035e2
xor eax, eax
jmp 0x10036ac
push 0
mov ecx, dword [ebp - 0x8c]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0
push 0x15c
push 0x10013e4
lea edx, [ebp - 0x190]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
push 0x1001388
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea eax, [ebp - 0x190]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor ecx, ecx
jne 0x1003630
mov eax, 1
jmp 0x10036ac
push 0
push 0x15f
push 0x10013c4
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
push 0x1001388
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor ecx, ecx
jne 0x100366f
mov eax, 1
mov ecx, dword [ebp - 8]
call fcn.01005938
mov esp, ebp
pop ebp
ret
Function at 0x1003710
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x100c034]
mov dword [ebp - 8], eax
push edi
mov dword [ebp - 4], 0
mov byte [ebp - 0x110], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x10f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [ebp + 8]
push eax
push 0
call dword [sym.imp.USER32.dll_FindWindowA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x1003805
push 0
push 0x180
push 0x1001474
lea ecx, [ebp - 0x190]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
push 0x1001388
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea edx, [ebp - 0x190]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor eax, eax
jne 0x100375d
push 0x104
lea ecx, [ebp - 0x110]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.USER32.dll_GetClassNameA]
push 0x182
lea eax, [ebp - 0x110]
push eax
push 0x1001454
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
push 0x1001388
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor eax, eax
jne 0x10037ab
push 0
push 0xf060
push 0x112
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 4], 0
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.USER32.dll_CloseWindow]
mov ecx, dword [ebp - 8]
call fcn.01005938
pop edi
mov esp, ebp
pop ebp
ret 4
Function at 0x1003830
Capabilities:
Create process on windows
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x160
mov eax, dword [0x100c034]
mov dword [ebp - 0x5c], eax
push edi
mov dword [ebp - 0x58], 0x44
mov ecx, 0x10
xor eax, eax
lea edi, [ebp - 0x54]
rep stosd dword es:[edi], eax
mov ecx, 0x11
xor eax, eax
lea edi, [ebp - 0x58]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x2c], 1
mov dword [ebp - 0x58], 0x44
xor eax, eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
push 0
mov ecx, dword [ebp + 8]
push ecx
push 0x10014dc
lea edx, [ebp - 0xe0]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
push 0x1001388
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea eax, [ebp - 0xe0]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor ecx, ecx
jne 0x100387f
push 0
mov edx, dword [ebp + 0xc]
push edx
push 0x10014d0
lea eax, [ebp - 0x160]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
push 0x1001388
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea ecx, [ebp - 0x160]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor edx, edx
jne 0x10038b6
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x58]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push 0
push 0x10
push 1
push 0
push 0
push 0x10014c8
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x1003939
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x10014ac
call fcn.01005caa
add esp, 8
push 0x1001494
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor eax, eax
jmp 0x1003961
cmp dword [ebp + 0x10], 0
je 0x100394b
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [ebp - 0x5c]
call fcn.01005938
pop edi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1003980
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xb8
mov eax, dword [0x100c034]
mov dword [ebp - 4], eax
mov dword [ebp - 0x28], 0
push 2
push 0
push 0
lea eax, [ebp + 8]
push eax
call dword [sym.imp.SETUPAPI.dll_SetupDiGetClassDevsA]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0xffffffff
jne 0x10039f2
push 0
push 0x1cd
push 0x10014ec
lea ecx, [ebp - 0xb0]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
push 0x1001388
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea edx, [ebp - 0xb0]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor eax, eax
jne 0x10039b3
xor eax, eax
jmp 0x1003b2a
mov dword [ebp - 0x20], 0x1c
mov dword [ebp - 0x24], 0
jmp 0x1003a0b
mov ecx, dword [ebp - 0x24]
add ecx, 1
mov dword [ebp - 0x24], ecx
lea edx, [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInfo]
test eax, eax
je 0x1003b1d
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xb4], 0
lea edx, [ebp - 0xb4]
push edx
mov eax, dword [ebp - 0xb4]
push eax
mov ecx, dword [ebp - 0xb8]
push ecx
push 0
push 0xc
lea edx, [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceRegistryPropertyA]
test eax, eax
jne 0x1003aad
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xd
jne 0x1003a71
jmp 0x1003aad
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1003aa9
cmp dword [ebp - 0xb8], 0
je 0x1003a92
mov ecx, dword [ebp - 0xb8]
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov edx, dword [ebp - 0xb4]
push edx
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0xb8], eax
jmp 0x1003aab
jmp 0x1003b1d
jmp 0x1003a39
cmp dword [ebp - 0xb8], 0
jne 0x1003abb
jmp 0x1003a02
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp - 0xb8]
push ecx
call fcn.01003320
test eax, eax
je 0x1003af8
mov dword [ebp - 0x28], 1
cmp dword [ebp - 0xb8], 0
je 0x1003af6
mov edx, dword [ebp - 0xb8]
push edx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [ebp - 0xb8], 0
jmp 0x1003b1d
cmp dword [ebp - 0xb8], 0
je 0x1003b18
mov eax, dword [ebp - 0xb8]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [ebp - 0xb8], 0
jmp 0x1003a02
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.SETUPAPI.dll_SetupDiDestroyDeviceInfoList]
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 4]
call fcn.01005938
mov esp, ebp
pop ebp
ret 0x14
Function at 0x1003b40
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x188
mov eax, dword [0x100c034]
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0
push 0x10015c0
sub esp, 0x10
mov eax, esp
mov ecx, dword [0x10012a0]
mov dword [eax], ecx
mov edx, dword [0x10012a4]
mov dword [eax + 4], edx
mov ecx, dword [0x10012a8]
mov dword [eax + 8], ecx
mov edx, dword [0x10012ac]
mov dword [eax + 0xc], edx
call fcn.01003980
test eax, eax
jne 0x1003bd0
push 0
push 0x227
push 0x1001594
lea eax, [ebp - 0x88]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
push 0x1001388
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea ecx, [ebp - 0x88]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor edx, edx
jne 0x1003b90
mov eax, dword [ebp - 4]
jmp 0x1003cc0
push 0x100156c
sub esp, 0x10
mov eax, esp
mov ecx, dword [0x1001290]
mov dword [eax], ecx
mov edx, dword [0x1001294]
mov dword [eax + 4], edx
mov ecx, dword [0x1001298]
mov dword [eax + 8], ecx
mov edx, dword [0x100129c]
mov dword [eax + 0xc], edx
call fcn.01003980
test eax, eax
jne 0x1003c43
push 0
push 0x22d
push 0x1001538
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
push 0x1001388
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea ecx, [ebp - 0x108]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor edx, edx
jne 0x1003c06
mov eax, dword [ebp - 4]
jmp 0x1003cc0
push 0x1001510
sub esp, 0x10
mov eax, esp
mov ecx, dword [0x1001290]
mov dword [eax], ecx
mov edx, dword [0x1001294]
mov dword [eax + 4], edx
mov ecx, dword [0x1001298]
mov dword [eax + 8], ecx
mov edx, dword [0x100129c]
mov dword [eax + 0xc], edx
call fcn.01003980
test eax, eax
jne 0x1003cb6
push 0
push 0x233
push 0x1001538
lea eax, [ebp - 0x188]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
push 0x1001388
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea ecx, [ebp - 0x188]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor edx, edx
jne 0x1003c79
mov eax, dword [ebp - 4]
jmp 0x1003cc0
mov dword [ebp - 4], 1
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
call fcn.01005938
mov esp, ebp
pop ebp
ret
Function at 0x1003ce0
Capabilities:
Print debug messages
Set file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x100c034]
mov dword [ebp - 0x10], eax
push edi
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
push 0x104
call fcn.01005e3b
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x1003d5c
push 0
push 0x246
push 0x1001608
lea eax, [ebp - 0x90]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
push 0x1001388
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea ecx, [ebp - 0x90]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor edx, edx
jne 0x1003d1f
jmp 0x1003e47
push 0x104
call fcn.01005e3b
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x1003daf
push 0
push 0x24c
push 0x1001608
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
push 0x1001388
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea ecx, [ebp - 0x110]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor edx, edx
jne 0x1003d72
jmp 0x1003e47
mov ecx, 0x41
xor eax, eax
mov edi, dword [ebp - 4]
rep stosd dword es:[edi], eax
mov ecx, 0x41
xor eax, eax
mov edi, dword [ebp - 0xc]
rep stosd dword es:[edi], eax
call fcn.01003090
test eax, eax
jne 0x1003dee
mov eax, dword [0x10011ac]
push eax
movsx ecx, byte [ebp + 8]
push ecx
push 0x1001600
mov edx, dword [ebp - 0xc]
push edx
call fcn.01005d8b
add esp, 0x10
jmp 0x1003e0a
mov eax, dword [0x10011b0]
push eax
movsx ecx, byte [ebp + 8]
push ecx
push 0x1001600
mov edx, dword [ebp - 0xc]
push edx
call fcn.01005d8b
add esp, 0x10
push 0x10015f8
push 0x10015f4
mov eax, dword [ebp - 4]
push eax
call fcn.01005d8b
add esp, 0xc
push 0x80
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 4]
push eax
push 0x10015ec
push 0x10015e4
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
cmp dword [ebp - 0xc], 0
je 0x1003e60
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.01005d15
add esp, 4
mov dword [ebp - 0xc], 0
cmp dword [ebp - 4], 0
je 0x1003e79
mov edx, dword [ebp - 4]
push edx
call fcn.01005d15
add esp, 4
mov dword [ebp - 4], 0
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
call fcn.01005938
pop edi
mov esp, ebp
pop ebp
ret 4

Function at 0x1003e90
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x88
mov eax, dword [0x100c034]
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0
push 0x1001638
push 0
call dword [sym.imp.USER32.dll_FindWindowA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x1003f12
push 0
push 0
push 0x1001620
lea eax, [ebp - 0x88]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
push 0x1001388
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea ecx, [ebp - 0x88]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor edx, edx
jne 0x1003ec0
push 0
push 0xf060
push 0x112
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 8]
call fcn.01005938
mov esp, ebp
pop ebp
ret
Function at 0x1003f30
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x88
mov eax, dword [0x100c034]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 5
call dword [sym.imp.SETUPAPI.dll_SetupDiCallClassInstaller]
test eax, eax
jne 0x1003f98
push 0x2e4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x100164c
lea edx, [ebp - 0x88]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
push 0x1001388
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea eax, [ebp - 0x88]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor ecx, ecx
jne 0x1003f57
xor eax, eax
jmp 0x1003f9d
mov eax, 1
mov ecx, dword [ebp - 4]
call fcn.01005938
mov esp, ebp
pop ebp
ret 8
Function at 0x1003fb0
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x524
mov eax, dword [0x100c034]
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x220], 1
jmp 0x1003fec
mov eax, dword [ebp - 0x220]
add eax, 1
mov dword [ebp - 0x220], eax
cmp dword [ebp - 0x220], 3
ja 0x10040e1
mov word [ebp - 0x218], 0
push 0
push 0x104
lea ecx, [ebp - 0x218]
push ecx
lea edx, [ebp - 4]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SETUPAPI.dll_CM_Request_Device_EjectW]
mov dword [ebp - 0x21c], eax
cmp dword [ebp - 0x21c], 0
jne 0x100403f
cmp dword [ebp - 4], 0
jne 0x100403f
mov dword [ebp - 0x524], 1
jmp 0x1004049
mov dword [ebp - 0x524], 0
mov ecx, dword [ebp - 0x524]
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
je 0x1004092
push 0
push 0x30b
push 0x1001748
lea edx, [ebp - 0x2a0]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
push 0x1001388
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea eax, [ebp - 0x2a0]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor ecx, ecx
jne 0x1004058
jmp 0x10040e1
mov edx, dword [ebp - 0x21c]
push edx
mov eax, dword [ebp - 0x220]
push eax
push 0x1001718
lea ecx, [ebp - 0x320]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
push 0x1001388
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea edx, [ebp - 0x320]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor eax, eax
jne 0x1004092
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1003fdd
cmp dword [ebp - 8], 0
je 0x1004129
push 0
push 0x315
push 0x10016f8
lea ecx, [ebp - 0x3a0]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
push 0x1001388
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea edx, [ebp - 0x3a0]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor eax, eax
jne 0x10040e7
mov eax, 1
jmp 0x10041e5
push 0
push 0x319
push 0x10016d8
lea ecx, [ebp - 0x420]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
push 0x1001388
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea edx, [ebp - 0x420]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor eax, eax
jne 0x1004129
push 0x31b
mov ecx, dword [ebp - 4]
push ecx
push 0x10016b0
lea edx, [ebp - 0x4a0]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
push 0x1001388
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea eax, [ebp - 0x4a0]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor ecx, ecx
jne 0x1004161
movzx edx, word [ebp - 0x218]
test edx, edx
je 0x10041e3
push 0x31f
lea eax, [ebp - 0x218]
push eax
push 0x1001688
lea ecx, [ebp - 0x520]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
push 0x1001388
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea edx, [ebp - 0x520]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor eax, eax
jne 0x10041a6
xor eax, eax
mov ecx, dword [ebp - 0xc]
call fcn.01005938
mov esp, ebp
pop ebp
ret 4