joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1023bd0
Capabilities:
Check http status code

Disassembly:
cmp esi, 0x13d
jge 0x1023f83
cmp esi, 0xab
jl case.0x1023c5e.85
cmp esi, 0xb0
jle 0x1023f7c
cmp esi, 0xb5
je 0x1023f75
cmp esi, 0xb6
je 0x1023f6e
cmp esi, 0x104
jne 0x1023eb0
push 0x1b
jmp 0x1023c67
push 0x13
jmp 0x1023c67
push 0x12
jmp 0x1023c67
push 0x11
jmp 0x1023c67
push 0x14
jmp 0x1023c67
cmp esi, 0x140
jle 0x100feb1
cmp esi, 0x141
jl case.0x1023c5e.85
cmp esi, 0x143
jle 0x1023fa2
cmp esi, 0x191
je 0x1023f9b
cmp esi, 0x192
je case.0x1023c5e.81
jmp 0x1023ecf
push 0xa
jmp 0x1023c67
push 0xb
jmp 0x1023c67
push 0xf
jmp 0x1023c67
push 0xd
jmp 0x1023c67
push 0x10
mov eax, 0x104c94c
call fcn.01002009
mov esi, dword [ebp + 8]
mov ecx, dword [ecx + 4]
push esi
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
xor edi, edi
mov dword [ebp + 8], eax
cmp eax, edi
je 0x1023cb5
lea ecx, [ebp - 0x1c]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ebx, dword [ebp + 0x14]
mov ecx, dword [ebx]
cmp ecx, edi
jne 0x1023e86
lea eax, [esi - 0x2bc]
cmp eax, 0x3f
jbe 0x1023e94
lea eax, [esi - 0x42f]
cmp eax, 5
jbe 0x1023e9b
lea eax, [esi - 0x82]
cmp eax, 9
jbe 0x1023cbd
mov eax, 0xa8
cmp esi, eax
jg 0x1020852
je 0x1023f67
lea eax, [esi - 0x50]
cmp eax, 0x49
ja case.0x1023c5e.85
movzx eax, byte [eax + 0x1023f16]
jmp dword [eax*4 + 0x1023ee2]
push 0xe
pop edi
push 0x41c
call fcn.0100219e
pop ecx
mov dword [ebp + 0x14], eax
and dword [ebp - 4], 0
test eax, eax
je 0x1023fa9
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push edi
call fcn.0100228d
mov ecx, eax
call fcn.01020b64
push eax
push dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
push dword [ebp + 0xc]
lea esi, [ebp - 0x1c]
push dword [ebp + 8]
sub esp, 0x10
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.01022c9d
mov dword [ebx], eax
call fcn.01001f6b
ret 0x18
push 9
jmp 0x1023c67
push 1
call fcn.01024ad2
mov dword [ebx], edi
jmp 0x1023c0f
push 7
jmp 0x1023c67
push 8
jmp 0x1023c67
xor edi, edi
jmp case.0x1023c5e.85
push 6
jmp 0x1023c67
cmp esi, 0x138
jle case.0x1023c5e.85
cmp esi, 0x13c
jg case.0x1023c5e.85
push 0x19
jmp 0x1023c67
cmp esi, 0x194
jne 0x1023f8a
push 2
jmp 0x1023c67
push 0x10
jmp 0x1023c67
push 0x16
jmp 0x1023c67
push 3
jmp 0x1023c67
push 4
jmp 0x1023c67
push 0x17
jmp 0x1023c67
push 0x1a
jmp 0x1023c67
cmp esi, 0x420
je case.0x1023c5e.81
jmp case.0x1023c5e.85
push 5
jmp 0x1023c67
push 0x18
jmp 0x1023c67
xor eax, eax
jmp 0x1023cb3

Function at 0x1032730
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push esi
mov esi, ecx
push 0
push dword [esi + 0x120]
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [0x10542ec], 3
jne 0x103275c
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_DestroyWindow]
push 0
mov ecx, esi
call fcn.0100aa2e
push 1
mov ecx, 0x10541f8
call fcn.010162ee
mov ecx, 0x105455c
pop esi
jmp 0x10335f3
xor eax, eax
push eax
cmp byte [ecx + 8], al
je 0x1033604
mov byte [ecx + 8], al
call fcn.01024e89
ret
mov byte [ecx + 8], 1
call fcn.010024df
ret
Function at 0x10336c0
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x88
mov eax, dword [0x105405c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x40
lea eax, [ebp - 0x84]
mov esi, ecx
push eax
push dword [esi + 0x410]
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0x88]
push eax
push 0x40
lea eax, [ebp - 0x84]
push eax
call fcn.0100304a
mov edi, eax
test edi, edi
jne 0x103373a
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 8]
add eax, eax
mov word [ebp + eax - 0x84], cx
xor ecx, ecx
mov word [ebp + eax - 0x82], cx
lea eax, [ebp - 0x84]
push eax
push dword [esi + 0x410]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov ecx, dword [ebp - 4]
xor eax, eax
test edi, edi
sete al
pop edi
xor ecx, ebp
pop esi
call fcn.01001e8f
leave
ret 4
Function at 0x10361f5
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x105405c]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x404], 0
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
xor eax, eax
push 0x3e6
push eax
mov word [ebp - 0x400], ax
lea eax, [ebp - 0x3fe]
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
xor eax, eax
push 0xa
mov word [esi], ax
lea eax, [ebp - 0x18]
push eax
push 0xc
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
lea eax, [ebp - 0x18]
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
test dx, dx
jne 0x1036253
sub eax, ecx
sar eax, 1
add eax, eax
push 0x20
pop ecx
mov word [ebp + eax - 0x18], cx
xor ecx, ecx
cmp dword [ebp + 0x10], ecx
mov word [ebp + eax - 0x16], cx
mov ebx, 0x1036414
mov edi, 0x1f4
jle 0x10362ce
push dword [ebp + 0x10]
lea eax, [ebp - 0x400]
push ebx
push edi
push eax
call fcn.0100ac67
add esp, 0x10
lea eax, [ebp - 0x400]
push eax
push dword [ebp + 0xc]
push esi
call fcn.010044bf
test eax, eax
jne 0x10362c4
cmp dword [ebp + 0x10], 1
push dword [ebp + 0xc]
push esi
jle 0x10362ba
push 0x390
jmp 0x10362bf
push 0x391
call fcn.0103618d
mov dword [ebp - 0x404], 1
cmp dword [ebp + 0x14], 0
jle 0x1036339
cmp dword [ebp - 0x404], 0
je 0x10362ec
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 0xc]
push esi
call fcn.010044bf
jmp 0x10362f6
mov dword [ebp - 0x404], 1
push dword [ebp + 0x14]
lea eax, [ebp - 0x400]
push ebx
push edi
push eax
call fcn.0100ac67
add esp, 0x10
lea eax, [ebp - 0x400]
push eax
push dword [ebp + 0xc]
push esi
call fcn.010044bf
test eax, eax
jne 0x1036339
cmp dword [ebp + 0x14], 1
push dword [ebp + 0xc]
push esi
jle 0x103632f
push 0x392
jmp 0x1036334
push 0x393
call fcn.0103618d
cmp dword [ebp + 0x18], 0
jle 0x10363a4
cmp dword [ebp - 0x404], 0
je 0x1036357
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 0xc]
push esi
call fcn.010044bf
jmp 0x1036361
mov dword [ebp - 0x404], 1
push dword [ebp + 0x18]
lea eax, [ebp - 0x400]
push ebx
push edi
push eax
call fcn.0100ac67
add esp, 0x10
lea eax, [ebp - 0x400]
push eax
push dword [ebp + 0xc]
push esi
call fcn.010044bf
test eax, eax
jne 0x10363a4
cmp dword [ebp + 0x18], 1
push dword [ebp + 0xc]
push esi
jle 0x103639a
push 0x394
jmp 0x103639f
push 0x395
call fcn.0103618d
cmp dword [ebp + 0x1c], 0
jle 0x1036403
cmp dword [ebp - 0x404], 0
je 0x10363c0
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 0xc]
push esi
call fcn.010044bf
push dword [ebp + 0x1c]
lea eax, [ebp - 0x400]
push ebx
push edi
push eax
call fcn.0100ac67
add esp, 0x10
lea eax, [ebp - 0x400]
push eax
push dword [ebp + 0xc]
push esi
call fcn.010044bf
test eax, eax
jne 0x1036403
cmp dword [ebp + 0x1c], 1
push dword [ebp + 0xc]
push esi
jle 0x10363f9
push 0x396
jmp 0x10363fe
push 0x397
call fcn.0103618d
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.01001e8f
leave
ret 0x18
Function at 0x1038c12
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x580
mov eax, dword [0x105405c]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x57c], 0
push ebx
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetWindowTextW]
push 0x64
pop ebx
push ebx
lea eax, [ebp - 0xcc]
mov esi, ecx
push eax
push dword [esi + 0x80]
call edi
cmp word [ebp - 0xcc], 0
mov byte [ebp - 0x575], 0
jne 0x1038c71
cmp dword [ebp + 8], 0x2b
jne 0x1038c6a
mov ecx, esi
call fcn.010388c9
mov al, 1
jmp 0x1038e1e
push ebx
lea eax, [ebp - 0xcc]
push eax
mov eax, dword [0x10542e8]
mov ecx, dword [eax + 0x10]
call fcn.01003672
push dword [0x1054054]
lea eax, [ebp - 0xcc]
push 4
push ebx
push eax
call fcn.01004138
mov dword [ebp - 0x580], eax
test eax, eax
jne 0x1038dbf
mov ecx, dword [0x10542e8]
lea eax, [ebp - 0x57c]
push eax
lea eax, [ebp - 0xcc]
push eax
call fcn.010358dc
test eax, eax
je 0x1038dbf
push ebx
lea eax, [ebp - 0xcc]
push eax
push dword [esi + 0x80]
call edi
cmp dword [ebp + 8], 0xd
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
je 0x1038cec
cmp dword [ebp + 8], 9
jne 0x1038cfa
cmp word [ebp - 0xcc], 0
je 0x1038d8d
push 0
push dword [esi + 0x90]
push 0x182
push dword [esi + 0x88]
call edi
cmp word [ebp - 0xcc], 0
je 0x1038d8d
mov eax, dword [0x10542e8]
mov ecx, dword [eax + 0x10]
call fcn.01015f10
test eax, eax
je 0x1038d5f
push 0x54
lea eax, [ebp - 0x174]
push eax
mov eax, dword [ebp - 0x57c]
push eax
push 0x2d
pop ecx
xor edx, edx
cmp cx, word [eax]
sete dl
push edx
push dword [0x1054050]
push 0x1055568
call fcn.01042622
lea eax, [ebp - 0x174]
push eax
jmp 0x1038d65
push dword [ebp - 0x57c]
push dword [esi + 0x90]
push 0x181
push dword [esi + 0x88]
call edi
push 0
push dword [esi + 0x90]
push 0x186
push dword [esi + 0x88]
jmp 0x1038dad
mov ebx, dword [esi + 0x90]
mov ecx, esi
call fcn.01038695
push 0
cmp eax, ebx
jne 0x1038da1
dec ebx
push ebx
push 0x186
push dword [esi + 0x88]
call edi
mov ecx, esi
call fcn.0103877c
mov byte [ebp - 0x575], 1
jmp 0x1038e0b
xor eax, eax
cmp dword [ebp - 0x57c], eax
je 0x1038dd1
push dword [ebp - 0x57c]
jmp 0x1038e04
cmp dword [ebp - 0x580], 0x77
push 0x200
lea ecx, [ebp - 0x574]
push ecx
jne 0x1038dea
push 0x77
jmp 0x1038def
push 0xdd
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.USER32.dll_LoadStringW]
lea eax, [ebp - 0x574]
push eax
mov ecx, esi
call fcn.01038176
push dword [ebp - 0x57c]
call dword [sym.imp.msvcrt.dll_free]
mov al, byte [ebp - 0x575]
pop ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.01001e8f
leave
ret 4
Function at 0x104168b
Capabilities:
Get geographical location
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x105405c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x10417f8
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x10417e4
push eax
mov dword [esi + 0x1c], eax
call edi
push 0x10417c4
push dword [esi + 0x1c]
mov dword [esi], eax
call edi
push 0x10417a4
push dword [esi + 0x1c]
mov dword [esi + 8], eax
call edi
push 0x104178c
push dword [esi + 0x1c]
mov dword [esi + 4], eax
call edi
push 0x1041774
push dword [esi + 0x1c]
mov dword [esi + 0xc], eax
call edi
push 0x1041758
push dword [esi + 0x1c]
mov dword [esi + 0x10], eax
call edi
push 0x1041740
push dword [esi + 0x1c]
mov dword [esi + 0x14], eax
call edi
push 8
mov dword [esi + 0x18], eax
lea eax, [ebp - 0x2c]
push eax
push 0x1009
push 0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.msvcrt.dll__wtoi]
pop ecx
mov ecx, dword [ebp - 4]
mov dword [esi + 0x20], eax
pop edi
mov eax, esi
xor ecx, ebp
pop esi
call fcn.01001e8f
leave
ret
Function at 0x1043f86
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
push 0x43c
mov eax, 0x104fd36
call fcn.01001ea1
mov esi, dword [ebp + 8]
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x428], ebx
push 0x206
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push ebx
push eax
mov dword [ebp - 4], ebx
mov edi, ecx
mov dword [ebp - 0x42c], esi
call sub.msvcrt.dll_memset
add esp, 0xc
push 0x1002b54
mov ecx, esi
call fcn.0100906d
push ebx
push 0x1a
lea eax, [ebp - 0x218]
push eax
push ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x428], 1
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x10440d3
lea eax, [ebp - 0x218]
push eax
mov ecx, esi
call fcn.01009099
push 0x10440e4
mov ecx, esi
call fcn.0103c017
lea eax, [edi + 0x1c]
push eax
mov ecx, esi
mov dword [ebp - 0x424], eax
call fcn.0103bd7e
push 0x10440e0
mov ecx, esi
call fcn.0103c017
cmp dword [esi + 0x18], 8
lea edi, [esi + 4]
jb 0x104403f
mov eax, dword [edi]
jmp 0x1044041
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1044065
cmp dword [esi + 0x18], 8
jb 0x1044057
mov eax, dword [edi]
jmp 0x1044059
mov eax, edi
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
cmp eax, ebx
jne 0x10440ad
mov eax, dword [ebp - 0x424]
cmp dword [eax + 0x18], 8
jb 0x1044076
mov eax, dword [eax + 4]
jmp 0x1044079
add eax, 4
cmp dword [esi + 0x18], 8
jb 0x1044081
mov edi, dword [edi]
lea ecx, [ebp - 0x420]
push ecx
push ebx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
push 0x1002b54
mov ecx, esi
call fcn.01009099
lea eax, [ebp - 0x420]
push eax
mov ecx, esi
call fcn.0103c017
jmp 0x10440d3
lea ecx, [ebp - 0x448]
call fcn.0100cebd
xor edi, edi
inc edi
push eax
mov ecx, esi
mov dword [ebp - 4], edi
call fcn.0100dc2e
push ebx
push edi
lea ecx, [ebp - 0x448]
call fcn.01008a37
mov eax, esi
call fcn.01001f5c
ret 4
Function at 0x1045e44
Capabilities:
Delete file

Disassembly:
push 0x60
mov eax, 0x105037d
call fcn.01001ea1
mov esi, ecx
lea eax, [esi + 0x1c]
push eax
lea eax, [ebp - 0x6c]
push 0x10300b8
push eax
call fcn.01043615
push 0x103009c
push eax
lea eax, [ebp - 0x2c]
xor edi, edi
push eax
mov dword [ebp - 4], edi
call fcn.01043e44
add esp, 0x18
push edi
push 1
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 2
call fcn.01008a37
push 0x1002b54
mov ecx, esi
call fcn.0103a83e
test eax, eax
jne 0x1045eb0
xor esi, esi
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.01008a37
mov eax, esi
call fcn.01001f5c
ret
push 0xffffffffffffffff
push edi
push esi
lea ecx, [ebp - 0x2c]
call fcn.0103af6f
mov edi, 0x1030054
push edi
lea ecx, [ebp - 0x50]
call fcn.0100906d
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x34]
lea ebx, [esi + 0x48]
push eax
mov ecx, ebx
mov byte [ebp - 4], 3
call fcn.01043caa
mov eax, dword [eax]
push 0
push 1
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 2
call fcn.01008a37
mov eax, dword [esi + 0x4c]
cmp dword [ebp - 0x30], eax
je 0x1045f36
push edi
lea ecx, [ebp - 0x50]
call fcn.0100906d
lea eax, [ebp - 0x50]
push eax
mov ecx, ebx
mov byte [ebp - 4], 4
call fcn.010454ea
cmp dword [eax + 0x18], 8
jb 0x1045f20
mov eax, dword [eax + 4]
jmp 0x1045f23
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
push 1
lea ecx, [ebp - 0x50]
call fcn.01008a37
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x1045f42
lea eax, [ebp - 0x28]
push eax
push 0x80000001
mov ecx, esi
call fcn.0104381e
mov esi, eax
jmp 0x1045e9c
Function at 0x104605a
Capabilities:
Query or enumerate registry key

Disassembly:
push 0x46c
mov eax, 0x1050458
call fcn.01001ea1
mov edi, dword [ebp + 8]
xor eax, eax
push 0x206
mov word [ebp - 0x418], ax
xor esi, esi
lea eax, [ebp - 0x416]
push esi
push eax
mov ebx, ecx
call sub.msvcrt.dll_memset
push 0x60
mov dword [ebp - 0x448], 0x104
mov dword [ebp - 0x424], esi
mov dword [ebp - 0x42c], esi
mov dword [ebp - 0x434], esi
mov dword [ebp - 0x438], esi
mov dword [ebp - 0x444], esi
mov dword [ebp - 0x430], esi
mov dword [ebp - 0x43c], esi
call fcn.0100219e
mov ecx, eax
add esp, 0x10
mov dword [ebp - 0x420], ecx
mov dword [ebp - 4], esi
cmp ecx, esi
je 0x10460e9
add ebx, 0x1c
push ebx
call fcn.0100ce58
mov dword [ebp - 0x41c], eax
jmp 0x10460ef
mov dword [ebp - 0x41c], esi
lea eax, [ebp - 0x45c]
push eax
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x43c]
push eax
lea eax, [ebp - 0x430]
push eax
lea eax, [ebp - 0x444]
push eax
lea eax, [ebp - 0x438]
push eax
lea eax, [ebp - 0x434]
push eax
lea eax, [ebp - 0x42c]
push eax
lea eax, [ebp - 0x424]
push eax
push esi
lea eax, [ebp - 0x448]
push eax
lea eax, [ebp - 0x418]
push eax
push edi
xor ebx, ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
cmp eax, esi
jne 0x1046291
cmp dword [ebp - 0x424], esi
je 0x104628e
lea ecx, [ebp - 0x454]
call fcn.0100dd46
mov dword [ebp - 4], 1
mov dword [ebp - 0x428], esi
cmp dword [ebp - 0x424], esi
jbe 0x1046245
lea eax, [ebp - 0x45c]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x440]
push eax
lea eax, [ebp - 0x210]
push eax
push dword [ebp - 0x428]
mov dword [ebp - 0x440], 0xff
push edi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, esi
jne 0x104622d
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x478]
call fcn.0100906d
mov ecx, dword [ebp - 0x41c]
lea eax, [ebp - 0x478]
push eax
mov byte [ebp - 4], 2
call fcn.01045969
push esi
push 1
lea ecx, [ebp - 0x478]
mov byte [ebp - 4], 1
call fcn.01008a37
mov ecx, dword [ebp - 0x41c]
call fcn.01045f5b
test eax, eax
je 0x1046206
mov ecx, dword [ebp - 0x41c]
call fcn.010437b8
test eax, eax
je 0x104622d
lea eax, [ebp - 0x420]
mov dword [ebp - 0x420], ebx
push eax
lea ecx, [ebp - 0x454]
inc ebx
call fcn.010455d9
lea ecx, [ebp - 0x210]
push ecx
mov ecx, eax
call fcn.01009099
inc dword [ebp - 0x428]
mov eax, dword [ebp - 0x428]
cmp eax, dword [ebp - 0x424]
jb 0x104617b
xor edi, edi
cmp ebx, esi
jbe 0x104627f
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x454]
mov dword [ebp - 0x420], edi
call fcn.010455d9
mov ecx, dword [ebp - 0x41c]
push eax
call fcn.01045969
mov ecx, dword [ebp - 0x41c]
call fcn.01045e44
inc edi
cmp edi, ebx
jb 0x104624b
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x454]
call fcn.01044f56
xor ebx, ebx
inc ebx
mov ecx, dword [ebp - 0x41c]
cmp ecx, esi
je 0x10462a2
push 1
call fcn.0100f09c
mov eax, ebx
call fcn.01001f5c
ret 4
Function at 0x3fe12e6b
Capabilities:
Check for hardware breakpoints

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2d4
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
push edi
test eax, eax
je 0x3fe12ec6
mov ecx, dword [esi]
mov dword [ebp - 0x2d0], ecx
lea ecx, [ebp - 0x2d0]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
jne 0x3fe12eb1
xor eax, eax
jmp 0x3fe1308d
test dword [ebp - 0x210], 0x20000
jne 0x3fe12ef3
cmp dword [ebp - 0x214], 0x1b
jne 0x3fe12ef3
lea eax, [ebp - 0x2d4]
push eax
mov edi, 0x2cc
push edi
lea eax, [ebp - 0x2d0]
push eax
push dword [0x3fe15160]
push ebx
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x3fe12eaa
cmp dword [ebp - 0x2d4], edi
jne 0x3fe12eaa
mov eax, dword [esi]
mov ecx, 0x10001
mov edx, eax
and edx, ecx
cmp edx, ecx
jne 0x3fe12f4a
mov ecx, dword [ebp - 0x21c]
mov dword [esi + 0xb4], ecx
mov ecx, dword [ebp - 0x218]
mov dword [esi + 0xb8], ecx
mov ecx, dword [ebp - 0x214]
mov dword [esi + 0xbc], ecx
mov ecx, dword [ebp - 0x210]
mov dword [esi + 0xc0], ecx
mov ecx, dword [ebp - 0x208]
mov dword [esi + 0xc8], ecx
mov ecx, dword [ebp - 0x20c]
mov dword [esi + 0xc4], ecx
mov ecx, 0x10004
mov edx, eax
and edx, ecx
cmp edx, ecx
jne 0x3fe12f87
mov ecx, dword [ebp - 0x244]
mov dword [esi + 0x8c], ecx
mov ecx, dword [ebp - 0x240]
mov dword [esi + 0x90], ecx
mov ecx, dword [ebp - 0x23c]
mov dword [esi + 0x94], ecx
mov ecx, dword [ebp - 0x238]
mov dword [esi + 0x98], ecx
mov ecx, 0x10002
mov edx, eax
and edx, ecx
cmp edx, ecx
jne 0x3fe12fdc
mov ecx, dword [ebp - 0x234]
mov dword [esi + 0x9c], ecx
mov ecx, dword [ebp - 0x230]
mov dword [esi + 0xa0], ecx
mov ecx, dword [ebp - 0x22c]
mov dword [esi + 0xa4], ecx
mov ecx, dword [ebp - 0x224]
mov dword [esi + 0xac], ecx
mov ecx, dword [ebp - 0x228]
mov dword [esi + 0xa8], ecx
mov ecx, dword [ebp - 0x220]
mov dword [esi + 0xb0], ecx
mov ecx, 0x10008
and eax, ecx
cmp eax, ecx
jne 0x3fe13047
mov eax, dword [ebp - 0x2b4]
mov dword [esi + 0x1c], eax
mov eax, dword [ebp - 0x2b0]
mov dword [esi + 0x20], eax
mov eax, dword [ebp - 0x2ac]
mov dword [esi + 0x24], eax
mov eax, dword [ebp - 0x2a8]
mov dword [esi + 0x28], eax
mov eax, dword [ebp - 0x2a4]
mov dword [esi + 0x2c], eax
mov eax, dword [ebp - 0x2a0]
mov dword [esi + 0x30], eax
mov eax, dword [ebp - 0x29c]
mov dword [esi + 0x34], eax
mov eax, dword [ebp - 0x248]
push 0x50
lea ecx, [ebp - 0x298]
mov dword [esi + 0x88], eax
lea eax, [esi + 0x38]
push ecx
push eax
call sub.ntdll.dll_memcpy
add esp, 0xc
mov ecx, dword [esi]
mov eax, 0x10010
and ecx, eax
cmp ecx, eax
jne 0x3fe1308a
mov eax, dword [ebp - 0x2cc]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x2c8]
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x2c4]
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0x2c0]
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 0x2bc]
mov dword [esi + 0x14], eax
mov eax, dword [ebp - 0x2b8]
mov dword [esi + 0x18], eax
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.3fe139e5
leave
ret 0xc
Function at 0x3fe1384b
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xac
push ebx
push esi
push 0xa0
xor esi, esi
lea eax, [ebp - 0xac]
push esi
push eax
xor ebx, ebx
call sub.ntdll.dll_memset
mov eax, dword [ebp + 8]
mov dword [ebp - 0xac], eax
mov eax, 0x1000
mov word [ebp - 0x14], ax
lea eax, [ebp - 0xc]
mov dword [ebp - 0x80], eax
add esp, 0xc
lea eax, [ebp - 0xac]
push eax
mov dword [ebp - 0x7c], 0xc
call sub.KERNEL32.dll_GetNextVDMCommand
test eax, eax
je 0x3fe138de
push edi
push dword [ebp - 0xc]
push esi
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
cmp edi, esi
je 0x3fe138dd
lea eax, [ebp + 8]
push eax
movzx eax, word [ebp + 0xc]
push esi
push eax
push dword [ebp - 4]
push esi
push esi
push edi
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
cmp eax, esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x3fe138da
push eax
inc ebx
call esi
push edi
call esi
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 8

Function at 0x3fe18231
Capabilities:
Encode data using xor

Disassembly:
call 0x3fe181aa
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 0x3fe181da
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 0x3fe181f6
xor edx, 0
jmp 0x3fe18201
xor edx, edx
jmp 0x3fe18218
jmp 0x3fe18224
xor eax, eax
push 0x8427d7c0
call 0x3fe18231
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x3fe1826d
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 0x3fe18246
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 0x3fe18284
add eax, 0
jno 0x3fe18289
add esi, 0
ret 0x10