joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10182de
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push esi
mov esi, ecx
cmp dword [esi + 0x27c], 0
push edi
jne 0x1018327
mov eax, dword [esi + 0x38]
test eax, eax
je 0x1018300
push 0
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, dword [esi + 0x38]
jmp 0x101832a
call fcn.01017776
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [esi + 0x3c]
call edi
mov eax, dword [esi + 0x40]
test eax, eax
je 0x1018323
push 5
push eax
call edi
mov eax, dword [esi + 0x40]
jmp 0x101832a
xor eax, eax
jmp 0x101832a
mov eax, dword [esi + 4]
push eax
mov ecx, esi
mov dword [esi + 0xc], 1
call fcn.0101678f
pop edi
pop esi
ret

Function at 0x1018fd7
Capabilities:
Terminate process

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x1053d10]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
mov eax, dword [esi + 4]
test eax, eax
push edi
je 0x1019016
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x20000000
je 0x1019016
push 5
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov edi, 0x100
push edi
lea eax, [ebp - 0x204]
push eax
push 0xbb7
push dword [esi + 0x2c]
call fcn.0104bece
test eax, eax
jne 0x1019046
push 0x10027f4
push edi
lea eax, [ebp - 0x204]
push eax
call fcn.010183fd
push dword [ebp + 0xc]
lea eax, [ebp - 0x204]
push eax
lea eax, [ebp - 0x404]
push edi
push eax
call fcn.0101846b
mov esi, dword [esi + 4]
add esp, 0x10
push 0x10010
lea eax, [ebp - 0x404]
push eax
push ebx
push esi
call fcn.0104bb33
dec eax
pop edi
pop esi
pop ebx
je 0x101908b
dec eax
dec eax
je 0x101908b
dec eax
jne 0x101909a
call dword [sym.imp.KERNEL32.dll_DebugBreak]
jmp 0x101909a
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.010356d1
leave
ret 8
Function at 0x101d91b
Capabilities:
Create directory

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push edi
mov dword [ebp - 4], 1
xor ebx, ebx
xor esi, esi
call fcn.0101d0a8
test eax, eax
je 0x101d944
xor eax, eax
inc eax
jmp 0x101da6c
cmp edi, ebx
je 0x101da69
push 0x5c
pop ecx
cmp word [edi], cx
jne 0x101d9b2
cmp word [edi + 2], cx
jne 0x101d9b2
push 2
pop esi
movzx eax, word [edi + esi*2]
cmp ax, bx
je 0x101d96c
inc esi
cmp ax, cx
jne 0x101d95d
cmp word [edi + esi*2], bx
jne 0x101d99e
mov eax, dword [section..data]
cmp eax, section..data
je 0x101d997
test byte [eax + 0x1c], 2
je 0x101d997
push edi
push 0x1002cb4
push 0x2b
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01013fed
xor eax, eax
jmp 0x101da6c
cmp word [edi + esi*2 + 2], 0x24
jne 0x101d9d1
cmp word [edi + esi*2 + 4], cx
jne 0x101d9d1
add esi, 3
jmp 0x101d9d1
movzx eax, word [edi + esi*2]
cmp ax, bx
je 0x101d9c2
inc esi
cmp ax, 0x3a
jne 0x101d9b2
movzx eax, word [edi + esi*2]
cmp ax, bx
je 0x101da19
cmp ax, cx
jne 0x101da19
inc esi
lea esi, [edi + esi*2]
movzx eax, word [esi]
cmp ax, bx
je 0x101da40
cmp ax, 0x5c
jne 0x101da10
push edi
mov word [esi], bx
call fcn.0101d0a8
test eax, eax
jne 0x101da0b
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x101da0b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x101da0b
mov dword [ebp - 4], ebx
mov word [esi], 0x5c
inc esi
inc esi
cmp dword [ebp - 4], ebx
jne 0x101d9d4
jmp 0x101da45
mov eax, dword [section..data]
cmp eax, section..data
je 0x101d997
test byte [eax + 0x1c], 2
je 0x101d997
push edi
push 0x1002cb4
push 0x2c
jmp 0x101d98c
cmp dword [ebp - 4], ebx
jne 0x101da69
mov eax, dword [section..data]
cmp eax, section..data
je 0x101da69
test byte [eax + 0x1c], 2
je 0x101da69
push 0x1002cb4
push 0x2d
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010141a1
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x101daff
Capabilities:
Check os version

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x1053d10]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x118]
push eax
xor esi, esi
mov dword [ebp - 0x118], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x101db4a
cmp dword [ebp - 0x114], 5
jb 0x101db45
jne 0x101db7a
cmp dword [ebp - 0x110], esi
jne 0x101db7a
xor esi, esi
inc esi
jmp 0x101db7a
mov eax, dword [section..data]
cmp eax, section..data
je 0x101db7a
test byte [eax + 0x1c], 2
je 0x101db7a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [section..data]
push 0x1002cb4
push 0x30
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01040e4a
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.010356d1
leave
ret
Function at 0x101e748
Capabilities:
Check os version

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x330
mov eax, dword [0x1053d10]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0x18]
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x324], eax
lea eax, [ebp - 0x320]
xor ebx, ebx
push eax
mov dword [ebp - 0x32c], ebx
mov dword [ebp - 0x328], ebx
mov dword [ebp - 0x320], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x101e7c9
mov eax, dword [section..data]
cmp eax, section..data
je 0x101e961
test byte [eax + 0x1c], 2
je 0x101e961
push 0x1002cb4
push 0x26
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010141a1
jmp 0x101e961
cmp dword [ebp - 0x310], 2
jne 0x101e94d
cmp dword [ebp - 0x31c], 5
jbe 0x101e8eb
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
mov esi, eax
cmp esi, ebx
jge 0x101e827
mov eax, dword [section..data]
cmp eax, section..data
je 0x101e95d
test byte [eax + 0x1c], 2
je 0x101e95d
push esi
push 0x1002f8c
push 0x1002cb4
push 0x27
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01040e76
jmp 0x101e95d
lea eax, [ebp - 0x32c]
push eax
push 0x1002f7c
push 0x17
push ebx
push 0x100a3b4
mov dword [ebp - 0x328], 1
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
cmp esi, ebx
jge 0x101e888
mov eax, dword [section..data]
cmp eax, section..data
je 0x101e957
test byte [eax + 0x1c], 2
je 0x101e957
push esi
push 0x1002f30
push 0x1002cb4
push 0x28
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01040e76
jmp 0x101e957
cmp dword [ebp + 0x10], ebx
je 0x101e895
push dword [ebp + 0x10]
call fcn.0101cd12
push edi
lea ecx, [ebp - 0x330]
call fcn.01019aa6
mov eax, dword [eax]
mov ecx, dword [ebp - 0x32c]
mov edx, dword [ecx]
push eax
push ecx
call dword [edx + 0xc]
push dword [ebp - 0x330]
mov esi, eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp esi, ebx
jge 0x101e94d
mov eax, dword [section..data]
cmp eax, section..data
je 0x101e957
test byte [eax + 0x1c], 2
je 0x101e957
push esi
push 0x1002ee0
push 0x1002cb4
push 0x29
jmp 0x101e878
cmp esi, ebx
mov edi, 0x1002ecc
je 0x101e93f
push esi
push edi
push 0x1002ebc
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.0101846b
add esp, 0x14
test eax, eax
jge 0x101e939
mov eax, dword [section..data]
cmp eax, section..data
je 0x101e93f
test byte [eax + 0x1c], 2
je 0x101e93f
push 0x1002cb4
push 0x2a
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010141a1
jmp 0x101e93f
lea edi, [ebp - 0x20c]
push ebx
push ebx
push edi
push dword [ebp - 0x324]
call fcn.0103e938
xor esi, esi
cmp dword [ebp - 0x328], ebx
je 0x101e974
call dword [sym.imp.ole32.dll_CoUninitialize]
cmp esi, ebx
jge 0x101e974
push dword [ebp + 0x14]
push 0x411
push dword [ebp - 0x324]
call fcn.01049a8e
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.010356d1
leave
ret 0x14
Function at 0x101fe3d
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp + 0x14]
push eax
push 0x20019
push 0
push dword [ebp + 0x14]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
cmp esi, 2
je 0x101ff0b
test esi, esi
je 0x101fe8b
mov eax, dword [section..data]
cmp eax, section..data
je 0x101fee9
test byte [eax + 0x1c], 2
je 0x101fee9
push esi
push 0x10033e0
push 0x1003340
push 0xf
jmp 0x101fede
lea eax, [ebp + 8]
push eax
push dword [ebp + 0x10]
lea eax, [ebp - 4]
push eax
push 0
push dword [ebp + 0xc]
mov dword [ebp + 8], 4
push dword [ebp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp + 0x14]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, 2
je 0x101ff0b
test esi, esi
je 0x101fefb
mov eax, dword [section..data]
cmp eax, section..data
je 0x101fee9
test byte [eax + 0x1c], 2
je 0x101fee9
push esi
push 0x10033e0
push 0x1003340
push 0x10
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01040e76
test esi, esi
jle 0x101ff0e
and esi, 0xffff
or esi, 0x80070000
jmp 0x101ff0e
cmp dword [ebp - 4], 4
jne 0x101ff0b
cmp dword [ebp + 8], 4
jne 0x101ff0b
xor esi, esi
jmp 0x101ff0e
xor esi, esi
inc esi
mov eax, esi
pop esi
leave
ret 0x10
Function at 0x1027ab0
Capabilities:
Delete registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
lea eax, [ebp + 0xc]
push eax
push 2
xor esi, esi
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1027ae9
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
jne 0x1027ae0
inc esi
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
pop ebp
ret 0xc
Function at 0x1028dc6
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push edi
push 0x20
pop edi
push edi
push edi
push 0x32cf
mov ebx, ecx
push 0x3300
push dword [ebx + 0x1c]
call esi
push eax
push dword [ebx + 4]
call fcn.0101d492
push edi
push edi
push 0x32cd
push 0x3301
push dword [ebx + 0x1c]
call esi
push eax
push dword [ebx + 4]
call fcn.0101d492
mov eax, dword [ebx + 0x10]
mov edx, dword [ebx + 0x18]
mov ecx, dword [ebx + 0xc]
xor edi, edi
push edi
sub edx, eax
push edx
mov edx, dword [ebx + 0x14]
sub edx, ecx
push edx
push eax
push ecx
push edi
push dword [ebx + 0x1c]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [ebx]
mov ecx, dword [eax + 0x79d0]
cmp dword [eax + 0x8008], edi
mov dword [ebp - 0x10], ecx
mov eax, 0x1007b58
jne 0x1028e4e
mov eax, 0x1007ac8
mov edi, dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 8], eax
lea eax, [eax + ecx*4 + 4]
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], 5
mov eax, dword [ebp - 4]
push dword [eax]
mov eax, dword [ebp - 8]
push dword [eax]
push dword [ebx + 0x1c]
call esi
push eax
call edi
add dword [ebp - 4], 0x1c
add dword [ebp - 8], 0x1c
dec dword [ebp - 0xc]
jne 0x1028e65
cmp dword [ebp - 0x10], 5
jne 0x1028e8e
push 0
jmp 0x1028e90
push 1
push 1
push dword [ebx + 0x20]
call esi
push eax
call edi
xor edi, edi
cmp dword [ebp + 8], edi
je 0x1028f85
cmp dword [ebx + 0x22c], edi
jne 0x1028ed9
push 0x834
call fcn.0104b68d
cmp eax, edi
je 0x1028ed1
mov edx, dword [ebx]
push edi
add edx, 0x8020
push edx
push dword [ebx + 4]
mov ecx, eax
call fcn.0104a429
jmp 0x1028ed3
xor eax, eax
mov dword [ebx + 0x22c], eax
push 0x32ff
push dword [ebx + 0x1c]
call esi
cmp dword [ebx + 0x22c], edi
mov dword [ebp + 8], eax
je 0x1028f7a
lea ecx, [ebp - 0x20]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x20]
push eax
push dword [ebx + 0x1c]
call fcn.0103fcf9
mov edi, dword [ebx + 0x22c]
add edi, 0x1c
lea esi, [ebp - 0x20]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0x32e9
movsd dword es:[edi], dword [esi]
push dword [ebx + 4]
call fcn.0104be0b
test eax, eax
je 0x1028f74
push dword [ebx + 0x22c]
push 0x104b1c4
push dword [ebx + 0x1c]
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_CreateDialogIndirectParamW]
push 5
push eax
mov dword [ebx + 0x230], eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x32fa
push dword [ebx + 0x1c]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 3
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push eax
push dword [ebx + 0x230]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
mov edi, 0x32fa
push edi
push dword [ebx + 0x1c]
call esi
push eax
push dword [ebx]
call fcn.0101d5ba
mov eax, dword [ebx]
lea ecx, [eax + 0x50]
call fcn.0102785e
push eax
push edi
push dword [ebx + 0x1c]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x102ce41
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov ebx, ecx
cmp dword [ebx + 0x3a0], 0
jne 0x102ce83
push 0x834
call fcn.0104b68d
test eax, eax
je 0x102ce7b
mov edx, dword [ebx + 0x24]
push 1
add edx, 0x8020
push edx
push dword [ebx + 0xc]
mov ecx, eax
call fcn.0104a429
jmp 0x102ce7d
xor eax, eax
mov dword [ebx + 0x3a0], eax
push 0x32ff
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp dword [ebx + 0x3a0], 0
mov dword [ebp - 4], eax
je 0x102cf2e
push esi
push edi
lea ecx, [ebp - 0x14]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x14]
push eax
push dword [ebx + 4]
call fcn.0103fcf9
mov edi, dword [ebx + 0x3a0]
add edi, 0x1c
lea esi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0x3a9a
movsd dword es:[edi], dword [esi]
push dword [ebx + 0xc]
call fcn.0104be0b
test eax, eax
pop edi
pop esi
je 0x102cf2e
push dword [ebx + 0x3a0]
push 0x104b1c4
push dword [ebx + 4]
push eax
push dword [ebx + 0xc]
call dword [sym.imp.USER32.dll_CreateDialogIndirectParamW]
push 5
push eax
mov dword [ebx + 0x3a4], eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x1394
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 3
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push eax
push dword [ebx + 0x3a4]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, ebx
call fcn.0102c273
push 0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop ebx
leave
ret
Function at 0x1031549
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
push 0x20
push 0x20
push 0x32d3
mov ebx, ecx
push 0x3364
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
mov ecx, ebx
call fcn.01041c81
mov eax, dword [ebx + 0x2c]
mov esi, 0x1364
add eax, esi
push eax
mov ecx, ebx
call fcn.0103139c
mov edi, eax
test edi, edi
jne 0x10315be
mov eax, dword [section..data]
cmp eax, section..data
je 0x1031716
test byte [eax + 0x1c], 2
je 0x1031716
push 0x1008844
push 0xa
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010141a1
jmp 0x1031716
push 0x65
mov ecx, ebx
call fcn.01041609
mov eax, dword [ebx + 0x2c]
add eax, esi
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [ebx + 0x2c]
lea ecx, [eax + 0x50]
call fcn.0102785e
push eax
mov esi, 0x335e
push esi
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
push 1
push esi
mov ecx, ebx
call fcn.01041b24
xor esi, esi
cmp dword [ebx + 0x34], esi
jne 0x103162c
push 0x834
call fcn.0104b68d
cmp eax, esi
je 0x1031627
mov edx, dword [ebx + 0x2c]
push esi
add edx, 0x8020
push edx
push dword [ebx + 0xc]
mov ecx, eax
call fcn.0104a429
jmp 0x1031629
xor eax, eax
mov dword [ebx + 0x34], eax
push 0x3366
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp dword [ebx + 0x34], esi
mov dword [ebp - 4], eax
je 0x10316d0
lea ecx, [ebp - 0x14]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x14]
push eax
push dword [ebx + 4]
call fcn.0103fcf9
mov edi, dword [ebx + 0x34]
add edi, 0x1c
lea esi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0x32e9
movsd dword es:[edi], dword [esi]
push dword [ebx + 0xc]
call fcn.0104be0b
test eax, eax
je 0x10316d0
push dword [ebx + 0x34]
push 0x104b1c4
push dword [ebx + 4]
push eax
push dword [ebx + 0xc]
call dword [sym.imp.USER32.dll_CreateDialogIndirectParamW]
push 5
push eax
mov dword [ebx + 0x38], eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x335e
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 3
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push eax
push dword [ebx + 0x38]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [ebx + 0x2c]
lea ecx, [eax + 0x50]
call fcn.0102785e
mov ecx, dword [ebx + 0x34]
push eax
call fcn.0104b167
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax + 0x79d0]
push dword [eax*4 + 0x1008858]
xor edi, edi
inc edi
push edi
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [ebp - 4]
call esi
push 2
push 2
push dword [ebx + 8]
mov ecx, ebx
call fcn.0104166b
push 9
push dword [ebx + 4]
call esi
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1031fc0
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ecx + 0x20c]
mov edx, dword [ecx + 0x208]
sub esp, 0xc
push ebx
xor ebx, ebx
push edi
inc ebx
xor edi, edi
cmp eax, edx
je 0x1031ffb
cmp eax, edi
jne 0x1031fed
mov dword [ecx + 0x20c], 0x258
cmp edx, edi
jne 0x1031ffb
mov dword [ecx + 0x208], 0x320
mov edx, dword [ecx + 0x20c]
cmp edx, edi
mov eax, 0xc8
je 0x1032028
cmp edx, eax
jae 0x1032016
mov dword [ecx + 0x20c], eax
jmp 0x1032028
cmp edx, 0x800
jbe 0x1032028
mov dword [ecx + 0x20c], 0x800
mov edx, dword [ecx + 0x208]
cmp edx, edi
je 0x1032045
cmp edx, eax
jb 0x103203f
mov eax, 0x1000
cmp edx, eax
jbe 0x1032045
mov dword [ecx + 0x208], eax
cmp dword [ecx + 0x838], edi
je 0x1032057
cmp dword [ecx + 0x834], edi
je 0x1032057
xor ebx, ebx
cmp dword [ecx + 0xc58], edi
je 0x10320b3
lea eax, [ebp - 4]
push eax
push 1
push edi
push 0x1008a68
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10320b3
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push edi
push edi
push 0x1008a38
push dword [ebp - 4]
mov dword [ebp - 8], edi
mov dword [ebp - 0xc], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10320aa
cmp dword [ebp - 8], edi
je 0x10320aa
xor ebx, ebx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, ebx
pop ebx
leave
ret
Function at 0x1032a5c
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x438
mov eax, dword [0x1053d10]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x438], 0
mov edx, dword [ebp + 8]
push ebx
push esi
push edi
push 8
mov ebx, ecx
pop ecx
xor eax, eax
lea edi, [ebp - 0x434]
rep stosd dword es:[edi], eax
mov esi, 0x104
push esi
lea eax, [ebp - 0x20c]
push eax
push edx
mov ecx, ebx
call fcn.01031d97
mov edi, eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
test eax, eax
je 0x1032c51
cmp word [eax], 0
je 0x1032c51
push 0xffffffffffffffff
push 0x1007be4
push 0xffffffffffffffff
push eax
push 1
push 0x7f
call dword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, 2
jne 0x1032c51
lea eax, [ebp - 0x414]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x1032b26
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [section..data]
cmp ecx, section..data
je 0x1032c75
test byte [ecx + 0x1c], 2
je 0x1032c75
push eax
push 0x1008b78
push 0x1008a14
push 0x17
jmp 0x1032bb0
push 1
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push eax
mov ecx, ebx
call fcn.01032690
test eax, eax
jne 0x1032b67
mov eax, dword [section..data]
cmp eax, section..data
je 0x1032c75
test byte [eax + 0x1c], 2
je 0x1032c75
push 0x1008a14
push 0x18
jmp 0x1032c6a
lea eax, [ebp - 0x438]
push eax
push 0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
jne 0x1032bc0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [section..data]
cmp ecx, section..data
je 0x1032c75
test byte [ecx + 0x1c], 2
je 0x1032c75
push eax
push 0x1008b40
push 0x1008a14
push 0x19
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.01040e76
jmp 0x1032c75
cmp dword [ebp - 0x41c], 0
jne 0x1032c1f
cmp dword [ebp - 0x418], 0x10000
ja 0x1032c1f
lea eax, [ebp - 0x20c]
push eax
push esi
add ebx, 0xc60
push ebx
call fcn.010183fd
test eax, eax
jge 0x1032c75
mov ecx, dword [section..data]
cmp ecx, section..data
je 0x1032c75
test byte [ecx + 0x1c], 2
je 0x1032c75
push eax
push 0x1004df0
push 0x1008a14
push 0x1b
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.01040e76
jmp 0x1032c75
mov eax, dword [section..data]
cmp eax, section..data
je 0x1032c75
test byte [eax + 0x1c], 2
je 0x1032c75
push dword [ebp - 0x418]
push dword [ebp - 0x41c]
push 0x1008a14
push 0x1a
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0101ff1a
jmp 0x1032c75
mov eax, dword [section..data]
cmp eax, section..data
je 0x1032c75
test byte [eax + 0x1c], 2
je 0x1032c75
push 0x1008a14
push 0x16
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010141a1
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.010356d1
leave
ret 4
Function at 0x10340c2
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, ecx
push 0x1008f0c
push dword [esi + 0x14]
call edi
test eax, eax
mov dword [esi + 0x1c], eax
mov ebx, section..data
jne 0x1034106
mov eax, dword [section..data]
cmp eax, ebx
je 0x1034106
test byte [eax + 0x1c], 2
je 0x1034106
push 0x1008e70
push 0x11
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010141a1
push 0x1008efc
push dword [esi + 0x14]
call edi
test eax, eax
mov dword [esi + 0x20], eax
jne 0x1034138
mov eax, dword [section..data]
cmp eax, ebx
je 0x1034138
test byte [eax + 0x1c], 2
je 0x1034138
push 0x1008e70
push 0x12
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010141a1
push 0x1008eec
push dword [esi + 0x14]
call edi
test eax, eax
mov dword [esi + 0x24], eax
jne 0x103416a
mov eax, dword [section..data]
cmp eax, ebx
je 0x103416a
test byte [eax + 0x1c], 2
je 0x103416a
push 0x1008e70
push 0x13
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010141a1
push 0x1008ed8
push dword [esi + 0x14]
call edi
test eax, eax
mov dword [esi + 0x28], eax
jne 0x103419c
mov eax, dword [section..data]
cmp eax, ebx
je 0x103419c
test byte [eax + 0x1c], 2
je 0x103419c
push 0x1008e70
push 0x14
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010141a1
push 0x1008ec0
push dword [esi + 0x14]
call edi
test eax, eax
mov dword [esi + 0x2c], eax
jne 0x10341ce
mov eax, dword [section..data]
cmp eax, ebx
je 0x10341ce
test byte [eax + 0x1c], 2
je 0x10341ce
push 0x1008e70
push 0x15
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010141a1
push 0x1008e9c
push dword [esi + 0x14]
call edi
test eax, eax
mov dword [esi + 0x30], eax
jne 0x1034200
mov eax, dword [section..data]
cmp eax, ebx
je 0x1034200
test byte [eax + 0x1c], 2
je 0x1034200
push 0x1008e70
push 0x16
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010141a1
cmp dword [esi + 0x1c], 0
je 0x1034211
cmp dword [esi + 0x24], 0
je 0x1034211
xor eax, eax
inc eax
jmp 0x1034213
xor eax, eax
pop edi
pop esi
pop ebx
ret

Function at 0x1034955
Capabilities:
Accept command line arguments

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov esi, eax
test esi, esi
je 0x10349aa
movzx eax, word [esi]
cmp ax, 0x22
push 2
pop ecx
jne 0x1034988
add esi, ecx
movzx eax, word [esi]
test ax, ax
je 0x1034980
cmp ax, 0x22
jne 0x1034970
cmp word [esi], 0x22
jne 0x10349a0
jmp 0x103499e
cmp ax, 0x20
jbe 0x10349a0
add esi, ecx
cmp word [esi], 0x20
ja 0x103498e
jmp 0x10349a0
cmp ax, 0x20
ja 0x10349ce
add esi, ecx
movzx eax, word [esi]
test ax, ax
jne 0x1034998
jmp 0x10349ce
mov eax, dword [section..data]
cmp eax, section..data
je 0x10349ce
test byte [eax + 0x1c], 2
je 0x10349ce
push 0x10090b0
push 0xa
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010141a1
mov eax, esi
pop esi
ret