joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41a710
Capabilities:
Get common file path
Print debug messages

Disassembly:
sub esp, 0x214
mov eax, dword [0x4382c4]
xor eax, esp
mov dword [esp + 0x210], eax
push ebx
push edi
xor ebx, ebx
push 0x103
lea eax, [esp + 0x15]
push ebx
push eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], ebx
mov byte [esp + 0x1c], bl
call fcn.00420f50
push 0x103
lea ecx, [esp + 0x125]
push ebx
push ecx
mov byte [esp + 0x12c], bl
call fcn.00420f50
add esp, 0x18
push 0x104
lea edx, [esp + 0x118]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push 0x42cfcc
lea eax, [esp + 0x118]
push eax
push 0x42ced8
mov eax, 0x104
lea edi, [esp + 0x1c]
call fcn.0040d050
mov ecx, edi
push ebx
push ecx
call fcn.0041b0e5
add esp, 0x14
cmp eax, 0xffffffff
je 0x41a815
push esi
lea edx, [esp + 0xc]
push edx
lea edi, [esp + 0x14]
lea esi, [esp + 0x18]
call fcn.0041a830
cmp eax, 0xffffffff
pop esi
jne 0x41a7e2
push str.Get_NSP_DLL_version_error_may_be_no_version_Force_update_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop edi
mov eax, ebx
pop ebx
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.0041aec3
add esp, 0x214
ret
mov eax, dword [esp + 0xc]
cmp eax, 0x20001
jb 0x41a815
jne 0x41a7f9
cmp dword [esp + 8], 0x20001
jb 0x41a815
pop edi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.0041aec3
add esp, 0x214
ret
mov ecx, dword [esp + 0x218]
pop edi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.0041aec3
add esp, 0x214
ret

Function at 0x41a830
Capabilities:
Get file version info
Print debug messages

Disassembly:
mov eax, 0x100c
call fcn.00429600
mov eax, dword [0x4382c4]
xor eax, esp
mov dword [esp + 0x1008], eax
push ebp
mov ebp, dword [esp + 0x1014]
push 0xfff
lea eax, [esp + 0x11]
push 0
push eax
mov byte [esp + 0x18], 0
call fcn.00420f50
add esp, 0xc
test esi, esi
mov dword [esp + 4], 0
mov dword [esp + 8], 0
je 0x41a8a5
test edi, edi
je 0x41a8a5
test ebp, ebp
je 0x41a8a5
push 0
push esi
call sub.VERSION.dll_GetFileVersionInfoSizeA
test eax, eax
jne 0x41a8c0
push esi
push str.Get_File__s_Version:_Get_Version_size_failure___n
call fcn.00403400
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
or eax, 0xffffffff
pop ebp
mov ecx, dword [esp + 0x1008]
xor ecx, esp
call fcn.0041aec3
add esp, 0x100c
ret 4
lea ecx, [esp + 0xc]
push ecx
push 0x1000
push 0
push esi
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
jne 0x41a8de
push esi
push str.Get_File__s_Version:_Get_Version_failure___n
jmp 0x41a897
lea edx, [esp + 8]
push edx
lea eax, [esp + 8]
push eax
push 0x42cfc8
lea ecx, [esp + 0x18]
push ecx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
jne 0x41a903
push esi
push str.Get_File__s_Version:_Query_version_Value_failure___n
jmp 0x41a897
mov eax, dword [esp + 4]
mov edx, dword [eax + 8]
mov dword [edi], edx
mov eax, dword [eax + 0xc]
push str.Get_file_version_success
mov dword [ebp], eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [esp + 0x100c]
pop ebp
xor ecx, esp
xor eax, eax
call fcn.0041aec3
add esp, 0x100c
ret 4
Function at 0x41aec3
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4382c4]
jne 0x41aecd
repz ret
jmp fcn.0041e1f5

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

Disassembly:
push esi
xor esi, esi
cmp dword [esp + 8], esi
jne 0x41b08b
call fcn.0041ee3f
mov dword [eax], esi
call fcn.0041ee2c
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.0041bd66
add esp, 0x14
push 0x16
pop eax
pop esi
ret
test dword [esp + 0xc], 0xfffffff9
jne 0x41b067
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x41b0ba
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0041ee52
pop ecx
call fcn.0041ee2c
mov eax, dword [eax]
pop esi
ret
test al, 0x10
jne 0x41b0e1
test al, 1
je 0x41b0e1
test byte [esp + 0xc], 2
je 0x41b0e1
call fcn.0041ee3f
mov dword [eax], 5
call fcn.0041ee2c
mov dword [eax], 0xd
jmp 0x41b0b1
xor eax, eax
pop esi
ret
Function at 0x42865e
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0042153b
xor ebx, ebx
cmp dword [0x43a818], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x428733
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x42869e
xor eax, eax
jmp 0x4287f7
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x42ce4c
push edi
call esi
cmp eax, ebx
je 0x428697
push eax
call fcn.004214d8
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x43a818], eax
call esi
push eax
call fcn.004214d8
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x43a81c], eax
call esi
push eax
call fcn.004214d8
mov dword [0x43a820], eax
lea eax, [ebp - 8]
push eax
call fcn.0041f5b1
test eax, eax
pop ecx
pop ecx
je 0x428701
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0041bc6a
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x428733
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.004214d8
cmp eax, ebx
pop ecx
mov dword [0x43a828], eax
je 0x428733
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004214d8
pop ecx
mov dword [0x43a824], eax
mov eax, dword [0x43a824]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x4287ac
cmp dword [0x43a828], esi
je 0x4287ac
push eax
call fcn.00421544
pop ecx
call eax
cmp eax, ebx
je 0x428779
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x43a828]
call fcn.00421544
pop ecx
call eax
test eax, eax
je 0x428779
test byte [ebp - 0x18], 1
jne 0x4287ac
lea eax, [ebp - 0xc]
push eax
call fcn.0041f5e8
test eax, eax
pop ecx
je 0x428794
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0041bc6a
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x4287a3
or dword [ebp + 0x10], 0x200000
jmp 0x4287dd
or dword [ebp + 0x10], 0x40000
jmp 0x4287dd
mov eax, dword [0x43a81c]
cmp eax, esi
je 0x4287dd
push eax
call fcn.00421544
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x4287dd
mov eax, dword [0x43a820]
cmp eax, esi
je 0x4287dd
push dword [ebp - 4]
push eax
call fcn.00421544
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x43a818]
call fcn.00421544
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100643fd
Capabilities:
Encode data using xor

Disassembly:
call 0x10064376
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or eax, dword [ebx - 0x178f73c]
xor esi, 0xde5af04
add eax, esi
lea esp, [esp - 0xe]
mov esi, dword [esp + 0xe]
lea esp, [esp + 0x12]
xor esi, dword [esp]
push eax
sub eax, 0xf24f2b00
mov eax, esp
or dword [eax - 0x22], ebx
pop eax
jmp 0x100643a6
xor dword [esp], esi
xor eax, 0
mov dword [esp], esi
add esp, 4
add esi, dword [ebp + 8]
push ebp
add ebp, 0xc
mov ecx, dword [ebp]
pop ebp
ja 0x100643c2
xor edx, 0
jmp 0x100643cd
xor edx, edx
jmp 0x100643e4
jmp 0x100643f0
xor eax, eax
push 0x8427d7c0
call 0x100643fd
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x10064439
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
add bl, dl
xor byte [esi], bl
mov dl, byte [esi]
inc esi
add ebx, edi
rol ebx, 8
dec ecx
jne 0x10064412
lea esp, [esp - 4]
xchg dword [esp], ebx
mov ebx, dword [esp]
or eax, edx
xor eax, eax
add eax, dword [esp]
add esp, 4
pop esi
pop edi
pop ebx
xchg dword [esp], ecx
mov dword [esp], ecx
lea esp, [esp + 4]
pop edx
leave
je 0x10064450
add eax, 0
jno 0x10064455
add esi, 0
ret 0x10

Function at 0x100651be
Capabilities:
Encode data using xor

Disassembly:
lea esp, [esp - 0x63]
mov dword [esp + 0x5f], ebx
lea esp, [esp + 0x5f]
mov ebx, 0x8dff8662
xchg dword [esp], ebx
and dword [esp], ebp
jmp 0x100651e0
add ebx, 0
or dword [esp], ebp
mov ebp, esp
push eax
push edi
lea esp, [esp - 4]
xchg dword [esp], ecx
pop ecx
lea esp, [esp - 4]
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
cmp edi, dword [ebp + 0x14]
ja 0x10065382
cmp edi, dword [ebp + 0x10]
jb 0x10065382
lea esi, [esi]
sub esi, 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
sub esp, 0x6a
mov dword [esp + 0x66], 0xc2ccbc3c
add esp, 0x66
mov dword [esp], edi
or edi, 0xffffffff
and edi, 0xcedcf875
xor edi, 0xce9c140e
xchg dword [esp], edi
push edx
mov edx, esp
xor edx, 0
add edx, 0
push ebx
lea ebx, [edx + 4]
mov dword [ebx], eax
pop ebx
pop edx
push edi
call fcn.10064caa
inc edi
jmp 0x10065269
jmp 0x10065276
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.10064caa
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.10064caa
inc edi
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push 0
sub esi, 0
add dword [esp], edx
xor edx, edx
je 0x100652ca
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or edx, 0x13e27bd2
push ebx
add ebx, esi
mov ebx, esp
xor dword [ebx - 0x2a], edi
fdiv qword [ecx]
jnp 0x100652ae
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.100652f8
add dword [eax], 0x39
jle 0x100652d4
sub al, 0xf5
mov ch, al
call fcn.1006530d
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10
Function at 0x10066fe5
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push ecx
push edx
push 0
sub esi, esi
shr esi, 9
and dword [esp - 0x69], ebx
jbe 0x10066ffb
add edi, 0
shr esi, 0x17
or esi, dword [esp]
add esp, 4
add esi, dword [ebp + 8]
xor eax, eax
xor edx, edx
cld
and dword [esp - 0x46], edx
xor ecx, ecx
rol edx, 7
and dword [esp - 0x4b], edx
xor dl, al
mov al, byte [esi]
inc esi
or al, al
jne 0x1006700c
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.1006704d
std
inc ebx
sar cl, 0x3e
lahf
in al, dx
mov ch, 0x4a
mov ebx, 0x971631d8
test byte [ebp - 0x5e], ch
xor eax, dword [ebx + 0x2b5108c4]
add esp, 8
push ecx
sub ecx, eax
mov ecx, esp
cmp dword [ecx - 0x51], edx

Function at 0x100693b9
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0xffffffffffffffff
push esi
mov esi, esp
xor dword [esp - 0x43], esi
xor dword [esp - 0x45], esi
and dword [esi + 4], eax
pop esi
push 0
ja 0x10069302
add ebx, 0
push ecx
call 0x10069317
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
add esp, 8
xor dword [esp], ebx
sub esp, 0x6b
mov dword [esp + 0x67], edx
add esp, 0x67
push ecx
push 0
xor dword [esp - 0x56], edx
xor edi, 0
add dword [esp], edi
push esi
mov ebx, 0x6c3b90e1
sub ebx, dword [0x6c3d8920]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0x6c3d8910
call fcn.10064de1
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.100642ef
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0x10069475
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x10069475
mov ecx, dword [esi + 0x10]
sub dword [esp - 0x34], ebx
xor ecx, edi
mov edx, dword [esi + 0x14]
xor edx, edi
shl edx, 2
add edx, 0x18
mov eax, dword [esi]
xor eax, edi
cmp eax, 1
je 0x1006942c
mov eax, 1
lock xchg dword [0x6c3d891c], eax
push 0x3dd1fc71
call 0x100693b9
push esi
add esp, 8
cmp eax, 0
jne 0x100693a2
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x100693c8
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0x100693dd
cmp ecx, edx
cmp eax, 0
je 0x10069402
mov dword [ebp - 4], eax
lea ecx, [esi + 0x18]
mov eax, dword [esi + ecx]
xor eax, edi
add eax, edx
add dword [esi + eax], ebx
add ecx, 4
dec dword [ebp - 4]
jne 0x100693ec
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.1006941b
dec eax
loope 0x1006941e
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0x6c3d891c], 0
add edx, esi
mov dword [ebp + 4], edx
xchg dword [esp], esi
push ecx
lea ecx, [edi - 0x72d1f741]
mov ecx, esp
mov dword [ecx - 0x15], ebx
pop ecx
push esi
xor esi, esi
mov esi, esp
and dword [esi - 0x1d], ecx
pop esi
mov dword [esp], esi
jb 0x10069452
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0x10069467
jmp 0x10069472
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0x10069360
Function at 0x100704da
Capabilities:
Access peb ldr_data

Disassembly:
add esp, 8
and dword [esp], ebx
push ecx
push edx
push edi
push esi
or edi, 0xffffffff
not edi
add edi, dword [ebp + 8]
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 0xc]
push ecx
xor edx, edx
mov ecx, dword [ecx]
cmp ecx, dword [esp]
je 0x100707b0
push ebp
push 0xffffffffffffffff
sub esp, 0x32
mov dword [esp + 0x2e], 0x6c3c5594
add esp, 0x2e
sub esp, 4
mov dword [esp], 0x6c3bc55a
push 0xffffffffffffffff
call fcn.100676da
xchg edx, eax
and eax, 0
add eax, 0x75d46dc4
push ecx
and ecx, 0xcfb6d7ec
mov ecx, esp
mov dword [ecx - 0x54], esi
pop ecx
ja 0x10070544
and eax, eax
xchg edx, eax
mov edx, dword [ecx + edx - 0x75d46dac]
call fcn.1007055c
mov byte [0xee69f033], al
invalid
mov eax, ecx
pop esi
mov edi, dword [esp]
add esp, 4
pop edx
xor ecx, ecx
add ecx, 0xffffffff
and ecx, dword [esp]
xor ecx, 0
add esp, 4
pop ebx
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
jno 0x100707a4
xor eax, 0
ret 4
xor ecx, ecx
jmp 0x10070778
Function at 0x1007ffaa
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x1007ffcc
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x1007ffcc
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x1007ffcc
ret
cmp word [ebx + 4], 0x14c
jne 0x1007ffcc
test word [ebx + 0x16], 2
je 0x1007ffcc
test word [ebx + 0x16], 0x100
je 0x1007ffcc
cmp word [ebx + 0x18], 0x10b
jne 0x1007ffcc
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x1007ffcc
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x10080058
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x1007ffec
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.10066f37
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x1007ffcc
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8

Function at 0x10080058
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x1007ffcc
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x1007ffcc
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x1007ffcc
ret
cmp word [ebx + 4], 0x14c
jne 0x1007ffcc
test word [ebx + 0x16], 2
je 0x1007ffcc
test word [ebx + 0x16], 0x100
je 0x1007ffcc
cmp word [ebx + 0x18], 0x10b
jne 0x1007ffcc
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x1007ffcc
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x10080058
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x1007ffec
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.10066f37
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x1007ffcc
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8
Function at 0x1008010f
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x10080168
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x1008010f
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x1008011e
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 0x10485dc1
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 0x1008016f
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.10066fe5
cmp eax, dword [ebp + 0xc]
pop eax
je 0x1008020e
add edi, 4
add eax, 2
dec ecx
jne 0x10080154
call 0x100801bb
loope 0x100801b1
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x1008020b
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 0x1008021c
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 0x100801cf
cmp eax, ecx
ja 0x100801cf
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x10080259
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x1008024f
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.100674c4
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x1008011e
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x10080168
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x1008010f
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x1008011e
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 0x10485dc1
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 0x1008016f
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.10066fe5
cmp eax, dword [ebp + 0xc]
pop eax
je 0x1008020e
add edi, 4
add eax, 2
dec ecx
jne 0x10080154
call 0x100801bb
loope 0x100801b1
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x1008020b
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 0x1008021c
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 0x100801cf
cmp eax, ecx
ja 0x100801cf
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x10080259
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x1008024f
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.100674c4
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x443f8c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.004068b8
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
mov edx, eax
mov eax, ebx
call fcn.00442ef0
test al, al
jne 0x443fed
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4a92a0]
mov dl, 1
mov eax, dword [0x441a4c]
call fcn.00415224
call fcn.00405868
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00442ccc
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4445ec
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov esi, eax
xor eax, eax
push ebp
push 0x444714
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, esi
call fcn.00442f90
xor eax, eax
push ebp
push 0x4446ef
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x2c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.00443540
test al, al
je 0x4446d3
mov eax, dword [ebp + 8]
push eax
xor ecx, ecx
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.004444cc
pop ecx
mov ecx, dword [ebp - 0x20]
inc ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.00406968
mov ebx, dword [ebp - 0x24]
dec ebx
test ebx, ebx
jl 0x4446d3
inc ebx
xor edi, edi
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.004068b8
push eax
push edi
push esi
call sub.advapi32.dll_RegEnumValueW
mov edx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.00442ef0
test al, al
je 0x4446cf
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 4]
call fcn.004068b8
mov edx, eax
lea eax, [ebp - 0x30]
call fcn.004069d8
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.004444cc
pop ecx
inc edi
dec ebx
jne 0x444677
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4446f6
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0x10]
call fcn.00442f90
ret
Function at 0x401b60
Capabilities:
Move file

Disassembly:
sub esp, 0x208
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x109]
mov byte [esp + 0x108], 0
mov byte [esp + 4], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 5]
push 0x420258
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call fcn.004013f0
push 0x420258
call fcn.00401260
add esp, 8
lea eax, [esp + 0x108]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp + 0x108]
push 0x104
lea edx, [esp + 8]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
lea eax, [esp + 4]
push 0x4203d8
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea ecx, [esp + 4]
push 1
lea edx, [esp + 0x10c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
lea eax, [esp + 4]
push 0
push eax
call fcn.00403060
add esp, 8
mov ecx, 0x4221e0
push 2
call fcn.00406140
mov eax, 1
pop edi
add esp, 0x208
ret

Function at 0x401cb0
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x104
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor edx, edx
mov ecx, 0xa
div ecx
mov esi, dword [esp + 0x114]
mov ecx, 0x40
lea edi, [esp + 0xd]
mov byte [esp + 0xc], 0
add edx, esi
lea edx, [edx + edx*2]
lea eax, [edx + edx*4]
lea eax, [eax + eax*4]
lea esi, [eax + eax*4]
mov eax, 0x10624dd3
lea esi, [esi + esi*4]
shl esi, 5
mul esi
xor eax, eax
mov ebx, edx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, 0x45e7b273
mul esi
shr edx, 0xe
push edx
push 0x42038c
push 0x4203e0
lea edx, [esp + 0x18]
push 0x104
push edx
shr ebx, 5
call dword [sym.imp.SHLWAPI.dll_wnsprintfA]
add esp, 0x14
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x421940]
test eax, eax
je 0x401d79
test ebx, ebx
je 0x401d79
mov esi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [0x421940]
push 0x1f4
push ecx
dec ebx
call esi
test eax, eax
je 0x401d6b
test ebx, ebx
jne 0x401d4a
pop edi
pop esi
pop ebx
add esp, 0x104
ret
push 0
push 0
push 1
call fcn.00401c30
add esp, 0xc
pop edi
pop esi
pop ebx
add esp, 0x104
ret