joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10188f30
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x101b9c15
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x91c
push esi
push edi
mov esi, dword [esp + 0x938]
mov ecx, 0x1ff
xor eax, eax
lea edi, [esp + 0x126]
mov word [esp + 0x124], 0
mov dword [esp + 0xc], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [0x102d4504]
test esi, esi
je 0x1018901c
test eax, eax
jne 0x10188fdb
mov ecx, 0x44
xor eax, eax
lea edi, [esp + 0x14]
mov dword [0x102d4504], 1
rep stosd dword es:[edi], eax
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0x114
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 0x20], 2
jne 0x10188fcf
cmp dword [esp + 0x14], 5
jb 0x10188fcf
mov ecx, dword [str.GlobalOCULAR_]
mov dword [0x102d4508], ecx
jmp 0x10188fdb
mov edx, dword [0x1022f064]
mov dword [0x102d4508], edx
mov eax, dword [esp + 0x93c]
test eax, eax
mov eax, dword [0x1022f064]
jne 0x10188ff0
mov eax, dword [0x102d4508]
mov ecx, dword [esp + 0x944]
mov edx, dword [esp + 0x940]
push ecx
push edx
push esi
push eax
lea eax, [esp + 0x134]
push str._s__s__08x__08x
push eax
call fcn.100ecfca
add esp, 0x18
jmp 0x101890ab
test eax, eax
jne 0x10189070
mov ecx, 0x44
xor eax, eax
lea edi, [esp + 0x14]
mov dword [0x102d4504], 1
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], 0x114
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 0x20], 2
jne 0x10189066
cmp dword [esp + 0x14], 5
jb 0x10189066
mov edx, dword [str.GlobalOCULAR_]
mov dword [0x102d4508], edx
jmp 0x10189070
mov eax, dword [0x1022f064]
mov dword [0x102d4508], eax
mov eax, dword [esp + 0x93c]
test eax, eax
mov eax, dword [0x1022f064]
jne 0x10189085
mov eax, dword [0x102d4508]
mov ecx, dword [esp + 0x944]
mov edx, dword [esp + 0x940]
push ecx
push edx
push eax
lea eax, [esp + 0x130]
push str._s___08x__08x
push eax
call fcn.100ecfca
add esp, 0x14
lea ecx, [esp + 0x124]
push ecx
lea ecx, [esp + 0xc]
call fcn.1013b770
mov esi, dword [esp + 0x934]
lea edx, [esp + 8]
push edx
mov ecx, esi
mov dword [esp + 0x930], 1
call fcn.1013b510
mov dword [esp + 0xc], 1
lea ecx, [esp + 8]
mov byte [esp + 0x92c], 0
call fcn.1013bf10
mov ecx, dword [esp + 0x924]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x928
ret
Function at 0x1018b850
Capabilities:
Set socket configuration

Disassembly:
sub esp, 8
push ebx
push esi
mov esi, ecx
cmp dword [esi + 0xc], 0xffffffff
je 0x1018b8d8
mov eax, dword [esi + 0x14]
xor ebx, ebx
cmp eax, ebx
je 0x1018b8b2
mov ecx, dword [esi + 0x18]
xor eax, eax
mov dword [esp + 9], eax
push edi
mov edi, dword [sym.imp.WS2_32.dll_htonl]
mov word [esp + 0x11], ax
push ecx
mov byte [esp + 0x10], bl
mov byte [esp + 0x17], al
call edi
push ebx
mov dword [esp + 0x10], eax
call edi
lea edx, [esp + 0xc]
push 8
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0xc]
push edx
push 0xd
push ebx
push eax
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
pop edi
jge 0x1018b8b2
pop esi
xor eax, eax
pop ebx
add esp, 8
ret
mov ecx, dword [esi + 0xc]
push 1
push ecx
call dword [sym.imp.WS2_32.dll_shutdown]
mov edx, dword [esi + 0xc]
push edx
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [esi + 0xc], 0xffffffff
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
pop esi
mov eax, 1
pop ebx
add esp, 8
ret
Function at 0x1018ef10
Capabilities:
Create thread
Resume thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 8]
test eax, eax
jne 0x1018efa5
push ebx
push edi
mov edi, dword [esi + 0x20]
mov ebx, 4
test edi, edi
je 0x1018ef5f
call fcn.10118290
test eax, eax
je 0x1018ef5f
xor ebx, ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x1018ef4c
mov ecx, dword [eax + 0x3c]
add ecx, eax
je 0x1018ef4c
mov ebx, dword [ecx + 0x64]
lea eax, [edi - 0x2000]
cmp ebx, eax
jbe 0x1018ef58
add edi, ebx
mov ebx, 0x10004
jmp 0x1018ef61
xor edi, edi
lea ecx, [esi + 4]
push ecx
push ebx
push esi
push 0x1018f160
push edi
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop edi
mov dword [esi + 8], eax
test eax, eax
pop ebx
je 0x1018efa5
mov ecx, dword [esi + 0x24]
mov dword [esi + 0xc], 1
test ecx, ecx
je 0x1018ef94
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov edx, dword [esi + 8]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, 1
pop esi
ret
xor eax, eax
pop esi
ret

Function at 0x1018efd0
Capabilities:
Terminate thread

Disassembly:
sub esp, 8
push esi
mov esi, ecx
mov eax, dword [esi + 8]
test eax, eax
jne 0x1018efe4
xor eax, eax
pop esi
add esp, 8
ret
mov eax, dword [esi + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, dword [esi + 0x14]
mov eax, dword [esi + 0x18]
mov edx, dword [esi + 8]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 8]
push 0
push ecx
push 2
mov dword [esp + 0x18], edx
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov edx, dword [esi + 0x1c]
mov eax, dword [esi + 8]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x1018f030
mov ecx, dword [esi + 8]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov edx, dword [esi + 0x10]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_ResetEvent]
push edx
call edi
mov eax, dword [esi + 0x14]
push eax
call edi
mov dword [esi + 0xc], 0
pop edi
mov eax, 1
pop esi
add esp, 8
ret
Function at 0x10190bb0
Capabilities:
Get user security identifier

Disassembly:
sub esp, 8
push ebx
push ebp
mov ebp, dword [esp + 0x14]
lea eax, [esp + 0x18]
push edi
mov edi, dword [esp + 0x1c]
lea ecx, [esp + 0xc]
xor ebx, ebx
push eax
push ecx
lea edx, [esp + 0x18]
push ebx
push edx
push ebx
push ebp
push ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], ebx
mov dword [edi], ebx
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
test eax, eax
jne 0x10190bfb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
je 0x10190bfb
pop edi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret
mov eax, dword [esp + 0x10]
push esi
push eax
call fcn.1019a42e
mov ecx, dword [esp + 0x14]
mov dword [edi], eax
lea edx, [ecx + ecx]
push edx
call fcn.1019a42e
mov esi, eax
mov eax, dword [edi]
add esp, 8
test eax, eax
je 0x10190c40
test esi, esi
je 0x10190c51
lea ecx, [esp + 0x20]
lea edx, [esp + 0x10]
push ecx
push edx
lea ecx, [esp + 0x1c]
push esi
push ecx
push eax
push ebp
push 0
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
mov ebx, eax
test esi, esi
je 0x10190c4d
push esi
call fcn.1019a457
add esp, 4
test ebx, ebx
jne 0x10190c60
mov edi, dword [edi]
test edi, edi
je 0x10190c60
push edi
call fcn.1019a457
add esp, 4
pop esi
pop edi
mov eax, ebx
pop ebp
pop ebx
add esp, 8
ret

Function at 0x10195420
Capabilities:
Create thread
Resume thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 8]
test eax, eax
jne 0x10195470
lea eax, [esi + 4]
push eax
push 4
push esi
push 0x10195640
push 0
push 0
call fcn.100ef54c
add esp, 0x18
mov dword [esi + 8], eax
test eax, eax
je 0x10195470
mov ecx, dword [esi + 0x1c]
mov dword [esi + 0xc], 1
test ecx, ecx
je 0x1019545f
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov ecx, dword [esi + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, 1
pop esi
ret
xor eax, eax
pop esi
ret

Function at 0x101954c0
Capabilities:
Terminate thread

Disassembly:
sub esp, 8
push esi
mov esi, ecx
mov eax, dword [esi + 8]
test eax, eax
jne 0x101954d4
xor eax, eax
pop esi
add esp, 8
ret
mov eax, dword [esi + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, dword [esi + 0x14]
mov eax, dword [esi + 0x18]
mov edx, dword [esi + 8]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 8]
push 0
push ecx
push 2
mov dword [esp + 0x18], edx
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov edx, dword [esi + 8]
push 0x3e8
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x10195521
mov eax, dword [esi + 8]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, dword [esi + 0x10]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_ResetEvent]
push ecx
call edi
mov edx, dword [esi + 0x14]
push edx
call edi
mov dword [esi + 0xc], 0
pop edi
mov eax, 1
pop esi
add esp, 8
ret
Function at 0x10195752
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
push edi
lea ebp, [esi + 0x42c]
lea edi, [esi + 0x2c]
mov ecx, 0x100
xor eax, eax
push ebx
mov dword [esi], ebx
mov dword [esi + 4], 0xffffffff
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [ebp], ebx
push 0x80
push 3
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x20]
push ebx
lea edi, [esi + 0xc]
push 7
push SysReAllocString
push eax
mov dword [esi + 8], ebx
mov dword [edi], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], 1
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [esi + 4], eax
je 0x101957e2
cmp eax, ebx
je 0x101957e2
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [esi + 4]
mov dword [esi + 8], eax
push ebx
push ebp
lea eax, [esi + 0x2c]
push 0x400
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x101957ea
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4
Function at 0x10195995
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 4]
cmp eax, 0xffffffff
je 0x10195ae7
xor edx, edx
cmp eax, edx
je 0x10195ae7
mov ebx, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x14], edx
lea eax, [ebx + ecx]
cmp eax, ebx
jb 0x101959ca
cmp eax, ecx
jb 0x101959ca
xor ecx, ecx
jmp 0x101959cf
mov ecx, 1
mov edi, dword [esi + 0xc]
mov dword [esp + 0x14], ecx
cmp ecx, edi
jl 0x101959e9
jg 0x10195ae7
cmp eax, dword [esi + 8]
ja 0x10195ae7
cmp ecx, edx
jne 0x10195a03
cmp eax, dword [esi + 0x42c]
ja 0x10195a03
lea eax, [ebx + esi + 0x2c]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 8
mov ebp, dword [esi + 0x1c]
cmp ebp, edx
je 0x10195a48
mov ecx, dword [esi + 0x28]
mov dword [esp + 0x1c], edx
mov edx, dword [esi + 0x24]
lea edi, [edx + ecx]
cmp edi, ecx
jb 0x10195a23
cmp edi, edx
jb 0x10195a23
xor edx, edx
jmp 0x10195a28
mov edx, 1
cmp ecx, ebx
ja 0x10195a48
cmp dword [esp + 0x14], edx
jg 0x10195a48
jl 0x10195a38
cmp eax, edi
ja 0x10195a48
mov eax, ebp
pop edi
sub eax, ecx
pop esi
add eax, ebx
pop ebp
pop ebx
add esp, 0x10
ret 8
mov eax, dword [esp + 0x28]
mov ecx, esi
push eax
call fcn.10195b00
test eax, eax
je 0x10195ae7
cmp ebx, 0x7fffffff
push 0
push 0
jbe 0x10195a96
mov ecx, dword [esi + 4]
mov edi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
push SysReAllocString
push ecx
call edi
cmp eax, 0xffffffff
je 0x10195ad7
mov eax, dword [esi + 4]
push 1
lea edx, [ebx - 0x7fffffff]
push 0
push edx
push eax
call edi
cmp eax, 0xffffffff
je 0x10195ad7
jmp 0x10195aa6
mov ecx, dword [esi + 4]
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x10195ad7
mov ebp, dword [esp + 0x28]
mov edx, dword [esi + 0x1c]
mov eax, dword [esi + 4]
lea edi, [esi + 0x24]
push 0
push edi
push ebp
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10195ad7
cmp dword [edi], ebp
jne 0x10195ad7
mov eax, dword [esi + 0x1c]
mov dword [esi + 0x28], ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 8
xor eax, eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10
ret 8
Function at 0x10195f30
Capabilities:
Get file size

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x101ba518
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, ecx
push edi
xor ebx, ebx
mov eax, dword [esi + 0x20]
xor edi, edi
xor ebp, ebp
cmp eax, ebx
je 0x10195f62
call fcn.10191630
mov ebp, eax
mov eax, dword [esi + 0x18]
mov ecx, 0xc0000000
cmp eax, ebx
je 0x10195f73
mov ecx, SysReAllocString
mov eax, dword [esi + 0x24]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], ebx
cmp dword [eax - 8], ebx
je 0x10195fc8
push ebx
push 0x80
push 3
push ebp
push 3
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
mov dword [esi + 4], eax
je 0x10195fae
lea ecx, [esp + 0x18]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [esp + 0x14], eax
cmp dword [esi + 4], 0xffffffff
je 0x101960f4
cmp dword [esp + 0x18], ebx
jne 0x10195fc8
cmp dword [esp + 0x14], ebx
je 0x101960f4
mov eax, dword [esi + 0x18]
mov edi, 4
cmp eax, ebx
je 0x10195fd9
mov edi, 2
lea ebx, [esi + 0x28]
lea ecx, [esp + 0x10]
push ebx
call fcn.10199ad2
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x24], 0
test eax, eax
je 0x1019601f
mov edx, dword [ebx]
mov eax, dword [edx - 8]
test eax, eax
je 0x1019601f
call fcn.10118250
test eax, eax
je 0x1019601f
push 0x101f5ed4
lea ecx, [esp + 0x14]
call fcn.10199efc
push ebx
lea ecx, [esp + 0x14]
call fcn.1019a192
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx - 8]
neg eax
sbb eax, eax
and eax, ecx
mov ecx, dword [esi + 4]
push eax
mov eax, dword [esi + 0x10]
push eax
push 0
push edi
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
test eax, eax
mov dword [esi + 8], eax
je 0x101960ce
mov edx, dword [esi + 0x18]
mov ecx, 6
test edx, edx
je 0x1019605b
mov ecx, 4
mov edx, dword [esi + 0x10]
push edx
mov edx, dword [esi + 0x14]
push edx
push 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
mov dword [esi + 0xc], eax
je 0x101960ce
mov eax, dword [esi + 0x10]
mov ebp, 1
test eax, eax
jne 0x101960a9
mov eax, dword [esi + 4]
or ebx, 0xffffffff
cmp eax, ebx
je 0x101960ac
mov ecx, dword [esp + 0x14]
mov edx, dword [esi + 0x14]
mov eax, dword [esp + 0x18]
xor edi, edi
sub ecx, edx
sbb eax, edi
test eax, eax
jle 0x101960a4
mov dword [esi + 0x10], ebx
jmp 0x101960ac
mov dword [esi + 0x10], ecx
jmp 0x101960ac
or ebx, 0xffffffff
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], ebx
call fcn.10199d65
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], 0xffffffff
call fcn.10199d65
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
mov ecx, dword [esp + 0x1c]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x10195f4a
Capabilities:
Get file size

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x101ba518
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, ecx
push edi
xor ebx, ebx
mov eax, dword [esi + 0x20]
xor edi, edi
xor ebp, ebp
cmp eax, ebx
je 0x10195f62
call fcn.10191630
mov ebp, eax
mov eax, dword [esi + 0x18]
mov ecx, 0xc0000000
cmp eax, ebx
je 0x10195f73
mov ecx, SysReAllocString
mov eax, dword [esi + 0x24]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], ebx
cmp dword [eax - 8], ebx
je 0x10195fc8
push ebx
push 0x80
push 3
push ebp
push 3
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
mov dword [esi + 4], eax
je 0x10195fae
lea ecx, [esp + 0x18]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [esp + 0x14], eax
cmp dword [esi + 4], 0xffffffff
je 0x101960f4
cmp dword [esp + 0x18], ebx
jne 0x10195fc8
cmp dword [esp + 0x14], ebx
je 0x101960f4
mov eax, dword [esi + 0x18]
mov edi, 4
cmp eax, ebx
je 0x10195fd9
mov edi, 2
lea ebx, [esi + 0x28]
lea ecx, [esp + 0x10]
push ebx
call fcn.10199ad2
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x24], 0
test eax, eax
je 0x1019601f
mov edx, dword [ebx]
mov eax, dword [edx - 8]
test eax, eax
je 0x1019601f
call fcn.10118250
test eax, eax
je 0x1019601f
push 0x101f5ed4
lea ecx, [esp + 0x14]
call fcn.10199efc
push ebx
lea ecx, [esp + 0x14]
call fcn.1019a192
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx - 8]
neg eax
sbb eax, eax
and eax, ecx
mov ecx, dword [esi + 4]
push eax
mov eax, dword [esi + 0x10]
push eax
push 0
push edi
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
test eax, eax
mov dword [esi + 8], eax
je 0x101960ce
mov edx, dword [esi + 0x18]
mov ecx, 6
test edx, edx
je 0x1019605b
mov ecx, 4
mov edx, dword [esi + 0x10]
push edx
mov edx, dword [esi + 0x14]
push edx
push 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
mov dword [esi + 0xc], eax
je 0x101960ce
mov eax, dword [esi + 0x10]
mov ebp, 1
test eax, eax
jne 0x101960a9
mov eax, dword [esi + 4]
or ebx, 0xffffffff
cmp eax, ebx
je 0x101960ac
mov ecx, dword [esp + 0x14]
mov edx, dword [esi + 0x14]
mov eax, dword [esp + 0x18]
xor edi, edi
sub ecx, edx
sbb eax, edi
test eax, eax
jle 0x101960a4
mov dword [esi + 0x10], ebx
jmp 0x101960ac
mov dword [esi + 0x10], ecx
jmp 0x101960ac
or ebx, 0xffffffff
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], ebx
call fcn.10199d65
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], 0xffffffff
call fcn.10199d65
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
mov ecx, dword [esp + 0x1c]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x1019b16b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
mov eax, ebx
push edi
mov edi, ecx
shr eax, 0x10
test ax, ax
mov dword [edi + 0x40], ebx
jne 0x1019b18d
cmp dword [edi + 0x3c], 0
jne 0x1019b18d
movzx eax, bx
mov dword [edi + 0x3c], eax
call fcn.101a655a
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
mov ecx, edi
push dword [esp + 0x18]
push eax
call fcn.1019b1cc
pop edi
pop esi
pop ebx
ret 8

Function at 0x1019c8d1
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x1019c909
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.1019a223
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.1019a1fa
jmp 0x1019c915
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x1019e6d6
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x1019e718
call fcn.101a655a
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
cmp eax, edi
je 0x1019e718
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x1019e70f
xor eax, eax
jmp 0x1019e720
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.1019e726
pop edi
pop esi
pop ebx
ret 4

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x5f195f01
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
push ebx
push esi
movzx esi, word [ecx + 6]
xor edx, edx
push edi
lea eax, [eax + ecx + 0x18]
test esi, esi
jbe 0x5f195f43
mov edi, dword [ebp + 0xc]
mov ecx, dword [eax + 0xc]
cmp edi, ecx
jb 0x5f195f3b
mov ebx, dword [eax + 8]
add ebx, ecx
cmp edi, ebx
jae 0x5f195f3b
pop edi
pop esi
pop ebx
pop ebp
ret
inc edx
add eax, 0x28
cmp edx, esi
jb 0x5f195f26
xor eax, eax
jmp 0x5f195f36
Function at 0x5f1a18cd
Capabilities:
Encode data using xor

Disassembly:
adc bl, byte [edx + 0x242a2e]
mov byte [0x70d190d1], al
add bh, ch
lcall 0xd1a2, 0x242a2e
nop
sal dword [eax + 2], 1
std
or ebx, 0x80eb364
add al, dl
dec esi
dec ebx
pushal
inc esp
test eax, ecx
inc ecx
and dword [eax], ebp
enter 0x2141, 0x28
test byte [esi], al
adc eax, esi
and dword [ecx], eax
mov al, byte [0x45115961]
jo 0x5f1a18cc
add ebp, edx
and eax, 0x3532308
sub byte cs:[edi - 0x77a2ffd1], al
or dword [ebx + 0x7d], edx
xchg edi, eax
scasb al, byte es:[edi]
sbb dword [eax], 0xdc4495f
push cs
jp 0x5f1a18e7
adc byte [eax - 0x7c106b20], 0x11
add eax, 0x16627589
pop ecx
rol byte [esi + 0x1648dc90], 1
push esp
les esp, [edi]
adc eax, 0xa64a0bbc
jo 0x5f1a1983
add dword [eax], 0xa00a7b99
add eax, 0xa1008a1f
jnp 0x5f1a1942
mov al, byte [0x8a1f05]
mov eax, dword [0x37e64af8]
clc
dec edx
out 0x37, al
adc al, 0x18
push es
xor dl, byte [ebp + 0x34ea249]
mov al, byte [0xfe268b08]
adc dword [eax + eax], ebp
sbb dword [eax + 0x70], 0x6ae4c93
cmpsb byte [esi], byte es:[edi]
add dword [esi - 0x4f9ddbcf], eax
sbb al, byte [ecx - 0x66]
loopne 0x5f1a193e
sub byte [esi], cl
ljmp 0x9d77
popfd
or dword [eax], ebp
push es
and dl, byte [edx + esi*4 + 0x60]
adc eax, 0x80498492
js 0x5f1a198f
daa
add byte [eax], bl
popfd
and dword [edi + 0x1e29ec98], edi
cwde
in al, dx
sub dword [esi], ebx
dec eax
pop es
adc byte [edx], ah
rol dword [edx], cl
xchg esp, eax
jno 0x5f1a19f2
test dword [ecx + 0x2334244c], esp
inc ebx
mov dl, 0x54
aaa
push esp
mov bl, 5
adc byte [ebp - 0x38], al
out 0x19, al
sbb byte [ecx + 0x193143a4], dl
pop ss
xor cl, byte [eax + edx*4]
shl byte [edx], cl
pushal
add ebx, ecx
loopne 0x5f1a1936
adc dword [eax + 0x18524557], 0x20455340
or al, 0x26
xchg edx, eax
push 0xf1228750
push eax
xchg dword [edx], esp
int1
push 0x22
push ebp
sbb ch, byte [esi + 0x68c08234]
jle 0x5f1a196e
test dword [eax], eax
retf
adc eax, 0x1a306b16
cmp byte [0x73c94718], bh
or byte [edx], dl
adc byte [esi], dh
cmp byte [edx - 0x1aa5bcab], bl
xor byte [ebx + edx*4], bl
shl byte [ebx - 0x5f], 0xe1
inc eax
sub bl, byte [eax]
jae 0x5f1a19c2
lcall 0xc614, 0xf8528589
nop
pushfd
test byte [eax + 0x38], ch
or eax, 0x609010b0
mov dword [0x198034d3], eax
loop 0x5f1a1a7b
sub byte [ecx], al
or ebp, dword [esp + eax*2]
xor ch, 0xea
aad 0xe1
mov word [ecx], es
dec esp
cmp dl, byte [eax]
adc byte [ecx + 0x49], al
adc al, al
add eax, 0x231e0096
add esp, ebp
and byte [edx + 0x10], cl
push es
popal
sub dl, byte [ebp + eax*2 + 0x4120914d]
or ch, 0x83
sub byte [ebx + 0xc7f104b], cl
sbb eax, 0x42f02a89
push ss
rol dword [eax + eax*2 - 0x2c], 0xa4
sub dword [eax + 0x5c], 0xffffffec
sub edx, 0x4845a801
imul ebp, dword [edi], 0x38
movsb byte es:[edi], byte [esi]
out 0x23, eax
xor cl, byte [ecx + 0x71]
dec ecx
jno 0x5f1a1ac6
stosb byte es:[edi], al
push eax
xor al, byte [eax*4 - 0x6e3237f0]
mov ebp, 0xc460b384
add dl, ch
mov bl, 0x38
adc byte [ebp + 1], ch
adc cl, byte [edx + 0x714c5058]
xor dword [edi], ebp
inc ebx
push cs
push esp
lea edi, [ebp + 0x222f2c33]
add dl, bl
retf
mov bl, byte [eax + 6]
int3