joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407c84
Capabilities:
Get common file path

Disassembly:
push 0x854
mov eax, 0x44c01a
call fcn.0041be61
mov edi, ecx
push 0x800
xor esi, esi
lea eax, [ebp - 0x810]
push esi
push eax
call fcn.0041d2a0
add esp, 0xc
lea eax, [ebp - 0x810]
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
xor eax, eax
mov dword [ebp - 0x840], esi
push 7
pop ebx
mov word [ebp - 0x840], ax
lea ecx, [ebp - 0x840]
lea eax, [ebp - 0x810]
mov dword [ebp - 0x830], esi
push eax
mov dword [ebp - 0x82c], ebx
call fcn.00402e90
mov dword [ebp - 4], esi
mov ecx, ebx
xor eax, eax
mov dword [ebp - 0x828], esi
mov dword [ebp - 0x814], ecx
mov word [ebp - 0x828], ax
mov byte [ebp - 4], 1
mov ebx, SysReAllocString
cmp ecx, 8
mov dword [ebp - 0x818], esi
lea eax, [ebp - 0x828]
cmovae eax, dword [ebp - 0x828]
lea edx, [ebp - 0x828]
xor ecx, ecx
push 0xa
mov word [eax], cx
pop ecx
call fcn.004096f8
mov eax, ebx
sub eax, dword [ebp - 0x830]
cmp eax, dword [ebp - 0x818]
jb 0x407f13
cmp dword [ebp - 0x82c], 8
lea ecx, [ebp - 0x840]
push dword [ebp - 0x818]
cmovae ecx, dword [ebp - 0x840]
lea eax, [ebp - 0x828]
cmp dword [ebp - 0x814], 8
cmovae eax, dword [ebp - 0x828]
push eax
push dword [ebp - 0x830]
push ecx
push ecx
push dword [ebp - 0x85c]
lea ecx, [ebp - 0x858]
call fcn.004046d6
cmp dword [ebp - 0x844], 8
lea eax, [ebp - 0x858]
push esi
cmovae eax, dword [ebp - 0x858]
push eax
call fcn.00424645
pop ecx
pop ecx
lea ecx, [ebp - 0x858]
mov esi, eax
call fcn.00401dcb
test esi, esi
jne 0x407dcf
mov ecx, dword [ebp - 0x814]
jmp 0x407d11
sub ebx, dword [ebp - 0x830]
cmp ebx, dword [ebp - 0x818]
jb 0x407f13
push 8
pop ebx
cmp dword [ebp - 0x82c], ebx
lea ecx, [ebp - 0x840]
push dword [ebp - 0x818]
cmovae ecx, dword [ebp - 0x840]
lea eax, [ebp - 0x828]
cmp dword [ebp - 0x814], ebx
cmovae eax, dword [ebp - 0x828]
push eax
push dword [ebp - 0x830]
push ecx
push ecx
push dword [ebp - 0x85c]
lea ecx, [ebp - 0x858]
call fcn.004046d6
lea eax, [ebp - 0x858]
mov ecx, edi
push eax
call fcn.00406b5a
lea ecx, [ebp - 0x858]
call fcn.00401dcb
cmp dword [edi + 0x14], ebx
jb 0x407e4a
mov edi, dword [edi]
mov eax, dword [ebp - 0x814]
mov esi, 0x1000
cmp eax, ebx
jb 0x407ea0
mov ecx, dword [ebp - 0x828]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x860], eax
mov dword [ebp - 0x85c], ecx
cmp eax, esi
jb 0x407e97
lea eax, [ebp - 0x860]
push eax
lea eax, [ebp - 0x85c]
push eax
call fcn.00401dfe
mov eax, dword [ebp - 0x860]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x85c]
push eax
push ecx
call fcn.0041b53b
pop ecx
pop ecx
and dword [ebp - 0x818], 0
xor eax, eax
mov word [ebp - 0x828], ax
mov eax, dword [ebp - 0x82c]
mov dword [ebp - 0x814], 7
cmp eax, ebx
jb 0x407f0b
mov ecx, dword [ebp - 0x840]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x85c], eax
mov dword [ebp - 0x860], ecx
cmp eax, esi
jb 0x407f02
lea eax, [ebp - 0x85c]
push eax
lea eax, [ebp - 0x860]
push eax
call fcn.00401dfe
mov eax, dword [ebp - 0x85c]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x860]
push eax
push ecx
call fcn.0041b53b
pop ecx
pop ecx
mov eax, edi
call fcn.0041be10
ret
call fcn.00402eb7
int3
Function at 0x407f19
Capabilities:
Get common file path
Query or enumerate registry value

Disassembly:
push 0x844
mov eax, 0x44c088
call fcn.0041be61
mov esi, ecx
xor ebx, ebx
push ebx
mov dword [ebp - 0x84c], ebx
mov dword [ebp - 0x844], ebx
call fcn.00404bcc
mov edx, str.JaqKKLKJSDKTn9NPjHsGku6Tny6RJL6TSDpRjHcSkm6NJLrSoarRj1IJXuMOcLbSSL_RrabSkuMRau6T
lea ecx, [ebp - 0x840]
call fcn.004100c0
mov edx, eax
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x828]
call fcn.004095e3
cmp dword [eax + 0x14], 8
jb 0x407f66
mov eax, dword [eax]
lea ecx, [ebp - 0x844]
push ecx
push 0x20019
push ebx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea ecx, [ebp - 0x828]
call fcn.00401dcb
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x840]
call fcn.00404bf8
push 0x800
lea eax, [ebp - 0x810]
push ebx
push eax
call fcn.0041d2a0
add esp, 0xc
mov dword [ebp - 0x848], 0x400
cmp dword [ebp - 0x844], 0
je 0x408070
lea eax, [ebp - 0x848]
push eax
lea eax, [ebp - 0x810]
push eax
lea eax, [ebp - 0x850]
push eax
push ebx
push str.TEMP
push dword [ebp - 0x844]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x408064
lea eax, [ebp - 0x810]
mov ecx, esi
push eax
call fcn.00402e90
push ebx
push dword [0x49009c]
mov ecx, esi
call fcn.004083a5
mov edi, eax
cmp edi, 0xffffffff
je 0x408064
push 0x400
lea eax, [ebp - 0x810]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x408064
push dword [0x49009c]
call fcn.004270da
pop ecx
lea edx, [ebp - 0x810]
mov ecx, eax
lea ebx, [edx + 2]
mov ax, word [edx]
add edx, 2
cmp ax, word [ebp - 0x84c]
jne 0x408040
sub edx, ebx
lea eax, [ebp - 0x810]
sar edx, 1
push edx
push eax
push ecx
push edi
mov ecx, esi
call fcn.00408437
push dword [ebp - 0x844]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.0041be10
ret
Function at 0x40965b
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov esi, edx
xor bl, bl
push 0xb1
mov ecx, esi
call fcn.00409da0
jmp 0x4096e6
call fcn.0041ff0a
cdq
push 0x24
pop ecx
idiv ecx
push 9
pop eax
cmp eax, edx
sbb al, al
add dl, 0x30
and al, 0x27
add al, dl
lea edx, [eax - 0x30]
test edi, edi
jne 0x40969d
cmp dl, 9
jbe 0x4096e6
test edi, edi
je 0x4096ad
cmp dword [esi + 0x14], 0x10
mov ecx, esi
jb 0x4096a7
mov ecx, dword [esi]
cmp byte [edi + ecx - 1], al
je 0x4096e6
mov byte [ebp - 4], al
test bl, bl
jne 0x4096da
mov byte [ebp - 4], al
cmp dl, 9
ja 0x4096c0
inc bl
jmp 0x4096da
cmp dword [esi + 0x10], 0xb0
jne 0x4096da
call fcn.0041ff0a
push 0xa
cdq
pop ecx
idiv ecx
add dl, 0x30
mov byte [ebp - 4], dl
push dword [ebp - 4]
mov ecx, esi
push 1
call fcn.00409e01
mov edi, dword [esi + 0x10]
cmp edi, 0xb1
jb 0x409674
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x40b450
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, ecx
mov dword [ebp - 4], eax
add eax, 4
cmp dword [eax + 0x14], 8
jb 0x40b464
mov eax, dword [eax]
push esi
push 0x460390
push eax
call fcn.0042555b
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x40b4e3
push ebx
push edi
mov ecx, esi
call fcn.00407acf
mov ebx, eax
push ebx
call fcn.0041b7f2
push ebx
mov edi, eax
push 0
push edi
call fcn.0041d2a0
push esi
push 1
push ebx
push edi
call fcn.00425b8e
push esi
call fcn.00424c3c
mov ecx, dword [ebp - 4]
add esp, 0x24
cmp dword [ecx + 0x2c], 0
je 0x40b4cb
add ecx, 0x1c
cmp dword [ecx + 0x14], 0x10
jb 0x40b4bb
mov ecx, dword [ecx]
mov esi, dword [ebp + 8]
mov edx, edi
push esi
push ebx
call fcn.004103a2
pop ecx
pop ecx
jmp 0x40b4d7
mov esi, dword [ebp + 8]
mov ecx, esi
push ebx
push edi
call fcn.00405f93
push edi
call fcn.0041b7ed
mov eax, dword [esi + 0x10]
pop ecx
pop edi
pop ebx
pop esi
leave
ret 4
Function at 0x40fad9
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44cf50
mov eax, dword fs:[0]
push eax
mov eax, 0x1040
call fcn.0041c610
mov eax, dword [0x469034]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
call fcn.0040f732
mov ebx, 0x800
mov esi, eax
push ebx
lea eax, [ebp - 0x1010]
push 0
push eax
call fcn.0041d2a0
xor eax, eax
push ebx
push eax
mov dword [ebp - 0x1044], eax
mov dword [ebp - 0x104c], eax
mov dword [ebp - 0x1048], eax
lea eax, [ebp - 0x810]
push eax
call fcn.0041d2a0
add esp, 0x18
lea ecx, [ebp - 0x1040]
mov edx, str.3eoB
call fcn.004100c0
and dword [ebp - 4], 0
lea ecx, [ebp - 0x1028]
mov edx, eax
call fcn.004095e3
lea ecx, [ebp - 0x1040]
call fcn.00404bf8
cmp dword [ebp - 0x1014], 8
lea ecx, [ebp - 0x810]
mov edx, 0x400
lea eax, [ebp - 0x1028]
cmovae eax, dword [ebp - 0x1028]
push edx
push ecx
lea ecx, [ebp - 0x1048]
push ecx
lea ecx, [ebp - 0x104c]
push ecx
lea ecx, [ebp - 0x1044]
push ecx
push edx
lea ecx, [ebp - 0x1010]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
mov ecx, dword [ebp - 0x1044]
mov edx, esi
push edi
call fcn.0040fa39
pop ecx
lea ecx, [ebp - 0x1028]
call fcn.00401dcb
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041b52d
leave
ret
Function at 0x413b20
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], edi
mov ebx, dword [edi + 0x2c]
mov ecx, dword [edi + 0x74]
mov dword [ebp - 0x10], ebx
mov eax, dword [edi + 0x2c]
mov esi, dword [edi + 0x3c]
add eax, 0xfffffefa
sub esi, dword [edi + 0x6c]
add eax, ebx
sub esi, ecx
mov dword [ebp - 0xc], esi
cmp dword [edi + 0x6c], eax
jb 0x413bcb
mov ecx, dword [edi + 0x38]
push ebx
lea eax, [ecx + ebx]
push eax
push ecx
call fcn.0041cd20
mov ecx, dword [edi + 0x4c]
add esp, 0xc
mov eax, dword [edi + 0x44]
mov esi, ecx
sub dword [edi + 0x70], ebx
sub dword [edi + 0x6c], ebx
sub dword [edi + 0x5c], ebx
mov dword [ebp - 8], ecx
lea edi, [eax + ecx*2]
lea edi, [edi - 2]
movzx ecx, bx
movzx eax, word [edi]
mov edx, eax
mov dword [ebp - 8], ecx
sub eax, ecx
xor ecx, ecx
cmp edx, ebx
movzx eax, ax
cmovae ecx, eax
mov word [edi], cx
sub esi, 1
jne 0x413b79
mov edi, dword [ebp - 4]
mov esi, ebx
mov eax, dword [edi + 0x40]
lea edi, [eax + ebx*2]
lea edi, [edi - 2]
xor ecx, ecx
movzx eax, word [edi]
mov edx, eax
sub eax, dword [ebp - 8]
cmp edx, ebx
movzx eax, ax
cmovae ecx, eax
mov word [edi], cx
sub esi, 1
jne 0x413ba6
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 4]
add esi, ebx
mov ebx, dword [edi]
mov eax, dword [ebx + 4]
test eax, eax
je 0x413c85
mov edx, dword [edi + 0x6c]
mov ecx, dword [edi + 0x74]
add edx, ecx
add edx, dword [edi + 0x38]
cmp eax, esi
mov dword [ebp - 0xc], edx
cmovbe esi, eax
test esi, esi
je 0x413c3e
sub eax, esi
mov dword [ebx + 4], eax
mov eax, dword [ebx + 0x1c]
mov eax, dword [eax + 0x18]
cmp eax, 1
jne 0x413c0c
mov edx, dword [ebx]
mov ecx, dword [ebx + 0x30]
push esi
call fcn.004144cc
jmp 0x413c24
cmp eax, 2
jne 0x413c28
mov edx, dword [ebx]
test edx, edx
jne 0x413c1b
xor eax, eax
jmp 0x413c25
mov ecx, dword [ebx + 0x30]
push esi
call fcn.0041168d
pop ecx
mov dword [ebx + 0x30], eax
push esi
push dword [ebx]
push dword [ebp - 0xc]
call fcn.0041cd20
add dword [ebx], esi
add esp, 0xc
add dword [ebx + 8], esi
mov ecx, dword [edi + 0x74]
add ecx, esi
mov dword [ebp - 0xc], ecx
mov dword [edi + 0x74], ecx
cmp ecx, 3
jb 0x413c6d
mov edx, dword [edi + 0x6c]
mov eax, dword [edi + 0x38]
mov ecx, dword [edi + 0x58]
movzx esi, byte [edx + eax]
mov dword [edi + 0x48], esi
movzx eax, byte [edx + eax + 1]
shl esi, cl
mov ecx, dword [ebp - 0xc]
xor esi, eax
and esi, dword [edi + 0x54]
mov dword [edi + 0x48], esi
cmp ecx, 0x106
jae 0x413c85
mov eax, dword [edi]
cmp dword [eax + 4], 0
je 0x413c85
mov ebx, dword [ebp - 0x10]
jmp 0x413b37
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4175b9
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
sub esp, 0x14
push esi
push edi
call fcn.00407acf
push 0x14
pop esi
cmp eax, esi
jb 0x417627
push ebx
xor ebx, ebx
push ebx
push ebx
push dword [ebp + 8]
call fcn.00426547
push dword [ebp + 8]
xor eax, eax
mov word [ebp - 0x10], si
inc eax
mov byte [ebp - 0xc], bl
push eax
mov word [ebp - 0xe], ax
mov edi, 0x58453144
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], edi
push esi
push eax
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
call fcn.00425b8e
add esp, 0x1c
pop ebx
test eax, eax
je 0x417627
cmp dword [ebp - 0x14], edi
jne 0x417627
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x417623
push 5
pop ecx
lea esi, [ebp - 0x14]
rep movsd dword es:[edi], dword [esi]
mov al, 1
jmp 0x417629
xor al, al
pop edi
pop esi
leave
ret 8

Function at 0x417b3c
Capabilities:
Connect socket
Resolve dns
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x469034]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x18], esi
test edi, edi
je 0x417bac
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x417b62
sub ecx, edx
sar ecx, 1
lea eax, [ecx + 1]
mov dword [ebp - 0x1c], eax
cmp eax, 0x3fffffff
jg 0x417bac
add eax, eax
call fcn.0041bdd0
mov esi, esp
test esi, esi
je 0x417ba9
mov ecx, dword [ebp - 0x1c]
push ebx
push ebx
mov byte [esi], bl
lea eax, [ecx + ecx]
push eax
push esi
push 0xffffffffffffffff
push edi
push ebx
push 3
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
neg eax
sbb ebx, ebx
and ebx, esi
mov esi, dword [ebp - 0x18]
xor eax, eax
lea edi, [ebp - 0x14]
stosd dword es:[edi], eax
push 2
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
pop eax
push 0x7b
mov word [ebp - 0x14], ax
call dword [sym.imp.WSOCK32.dll_htons]
push ebx
mov word [ebp - 0x12], ax
call dword [sym.imp.WSOCK32.dll_inet_addr]
mov dword [ebp - 0x10], eax
cmp eax, 0xffffffff
jne 0x417bec
push ebx
call dword [sym.imp.WSOCK32.dll_gethostbyname]
test eax, eax
je 0x417c13
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
push 0x10
lea eax, [ebp - 0x14]
push eax
push dword [esi]
call dword [sym.imp.WSOCK32.dll_connect]
neg eax
sbb eax, eax
inc eax
lea esp, [ebp - 0x28]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041b52d
leave
ret 8
xor eax, eax
jmp 0x417bff
Function at 0x417c17
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x469034]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
xor edx, edx
push esi
push edi
mov edi, 0x3e8
mov esi, dword [ebp + 8]
div edi
xor edi, edi
mov dword [ebp - 0x110], eax
inc edi
mov eax, dword [ecx]
xor ecx, ecx
mov dword [ebp - 0x104], eax
lea eax, [ebp - 0x110]
push eax
push ecx
push ecx
lea eax, [ebp - 0x108]
mov dword [ebp - 0x10c], edx
push eax
push ecx
mov dword [ebp - 0x108], edi
call dword [sym.imp.WSOCK32.dll_select]
cmp eax, 0xffffffff
jne 0x417c7a
xor eax, eax
jmp 0x417c85
xor ecx, ecx
test eax, eax
mov eax, edi
setne cl
mov dword [esi], ecx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0041b52d
leave
ret 8
Function at 0x430b0d
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00430983

Function at 0x436efd
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00436a50
Function at 0x43e63f
Capabilities:
Enumerate gui resources
Get graphical window text

Disassembly:
push 0x464
mov eax, 0x44daa1
call fcn.0041be61
mov esi, ecx
mov ecx, dword [esi]
call fcn.00441d95
mov edx, dword [esi]
lea ecx, [ebp - 0x448]
mov edi, eax
call fcn.00441db3
lea eax, [ebp - 0x470]
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
push edi
mov dword [ebp - 0x470], ebx
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov dword [ebp - 0x46c], ebx
mov dword [ebp - 0x468], ebx
mov dword [ebp - 0x464], ebx
push 0x1c
lea eax, [ebp - 0x460]
mov byte [ebp - 4], 1
push eax
mov ecx, 0x46cfbc
call fcn.00407312
mov ecx, eax
cmp dword [ecx + 0x14], 8
jb 0x43e6b2
mov ecx, dword [ecx]
mov eax, dword [ebp - 0x46c]
mov dword [ebp - 0x468], eax
mov eax, dword [ebp - 0x470]
mov dword [ebp - 0x430], eax
xor eax, eax
mov dword [ebp - 0x42c], ebx
mov dword [ebp - 0x41c], ebx
mov dword [ebp - 0x418], 7
mov word [ebp - 0x42c], ax
mov byte [ebp - 4], 3
lea eax, [ebp - 0x46c]
mov dword [ebp - 0x414], eax
test ecx, ecx
je 0x43e709
push ecx
lea ecx, [ebp - 0x42c]
call fcn.00402e90
lea eax, [ebp - 0x430]
push eax
push 0x40fe91
call dword [sym.imp.USER32.dll_EnumWindows]
mov esi, dword [ebp - 0x468]
lea ecx, [ebp - 0x42c]
sub esi, dword [ebp - 0x46c]
sar esi, 2
call fcn.00401dcb
lea ecx, [ebp - 0x460]
call fcn.00401dcb
cmp esi, 1
jle 0x43e7e4
push 0x400
lea eax, [ebp - 0x410]
push ebx
push eax
call fcn.0041d2a0
mov esi, dword [ebp - 0x46c]
add esp, 0xc
cmp esi, dword [ebp - 0x468]
je 0x43e7fb
push 0x200
lea eax, [ebp - 0x410]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp dword [ebp - 0x434], 8
lea eax, [ebp - 0x448]
lea ecx, [ebp - 0x410]
cmovae eax, dword [ebp - 0x448]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x43e7c4
test dx, dx
je 0x43e7c0
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x43e7c4
add ecx, 4
add eax, 4
test dx, dx
jne 0x43e79e
mov eax, ebx
jmp 0x43e7c9
sbb eax, eax
or eax, 1
test eax, eax
je 0x43e7da
add esi, 4
cmp esi, dword [ebp - 0x468]
jne 0x43e770
jmp 0x43e7dc
mov edi, dword [esi]
mov esi, dword [ebp - 0x46c]
jmp 0x43e7fb
mov eax, dword [ebp - 0x468]
mov esi, dword [ebp - 0x46c]
sub eax, esi
sar eax, 2
test eax, eax
je 0x43e7fb
mov edi, dword [esi]
test esi, esi
je 0x43e825
mov eax, dword [ebp - 0x464]
sub eax, esi
and eax, 0xfffffffc
push eax
push esi
call fcn.00401e22
pop ecx
pop ecx
mov dword [ebp - 0x46c], ebx
mov dword [ebp - 0x468], ebx
mov dword [ebp - 0x464], ebx
lea ecx, [ebp - 0x448]
call fcn.00401dcb
mov eax, edi
call fcn.0041be10
ret
Function at 0x43ef92
Capabilities:
Create thread

Disassembly:
push 0x5c
mov eax, 0x44dc0f
call fcn.0041becd
cmp byte [0x48ffbd], 0
jne 0x43f00f
xor esi, esi
lea eax, [ebp - 0x48]
push eax
push esi
push 0x48fbb0
push 0x401fed
push esi
push esi
mov dword [0x48ff28], esi
mov dword [ebp - 0x48], esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 4], esi
call fcn.00445c70
or dword [ebp - 4], 0xffffffff
mov dword [0x48ff28], eax
jmp 0x43efe8
cmp dword [ebp - 0x48], 0
je 0x43f006
push esi
push esi
push 0x502
push dword [ebp - 0x48]
call dword [sym.imp.USER32.dll_PostThreadMessageW]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [0x48ff28], 0
je 0x43f015
call fcn.0041be1f
ret
lea ecx, [ebp - 0x2c]
call fcn.00406bd8
mov dword [ebp - 4], 2
call fcn.004066a2
test al, al
lea eax, [ebp - 0x44]
je 0x43f055
push 0x2b
push 0x13
push eax
call fcn.0043e3c2
push eax
lea ecx, [ebp - 0x2c]
call fcn.004059ed
lea ecx, [ebp - 0x44]
call fcn.00404c1e
lea ecx, [ebp - 0x2c]
call fcn.004448e9
jmp 0x43f070
push 0x29
push 0x11
push eax
call fcn.0043e3c2
push eax
lea ecx, [ebp - 0x2c]
call fcn.004059ed
lea ecx, [ebp - 0x44]
call fcn.00404c1e
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x58]
call fcn.00404ba2
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x68]
call fcn.00403e3d
push 0x465b2c
lea eax, [ebp - 0x68]
push eax
call fcn.0041e7be
int3

Function at 0x43f09b
Capabilities:
Create thread

Disassembly:
push esi
call fcn.004200c8
cmp byte [0x48ffbd], 0
mov esi, eax
jne 0x43f0f8
cmp dword [0x48ff24], 0
jne 0x43f0f8
cmp word [0x48ffc6], 3
push edi
mov edi, 0x48ffc0
jne 0x43f0dc
mov ecx, edi
call fcn.00406072
test al, 1
je 0x43f0dc
mov eax, dword [0x48fcd8]
shr eax, 9
test al, 1
je 0x43f0f7
push 0x48ff2c
xor eax, eax
push eax
push edi
push 0x404ee3
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x48ff30], eax
pop edi
mov eax, esi
pop esi
ret
Function at 0x43f1c6
Capabilities:
Check mutex on windows

Disassembly:
push 0x6c
mov eax, 0x44dc9f
call fcn.0041be61
mov eax, dword [0x48fcd8]
shr eax, 0xe
test al, 1
je 0x43f33c
xor ebx, ebx
lea ecx, [ebp - 0x58]
push 0x48fbc8
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], ebx
call fcn.00404c23
push 7
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x40]
pop esi
xor eax, eax
mov dword [ebp - 0x40], ebx
push 0x460368
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], esi
mov word [ebp - 0x40], ax
call fcn.00402e90
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
xor eax, eax
mov dword [ebp - 0x28], ebx
push 0x460330
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], esi
mov word [ebp - 0x28], ax
call fcn.00402e90
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 2
push eax
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x58]
call fcn.00409794
mov eax, dword [ebp - 0x14]
mov edi, 0x1000
pop ecx
push 8
pop esi
cmp eax, esi
jb 0x43f291
mov ecx, dword [ebp - 0x28]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x78], ecx
cmp eax, edi
jb 0x43f288
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.00401dfe
mov eax, dword [ebp - 0x74]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x78]
push eax
push ecx
call fcn.0041b53b
pop ecx
pop ecx
xor eax, eax
mov byte [ebp - 4], bl
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], 7
cmp eax, esi
jb 0x43f2dd
mov ecx, dword [ebp - 0x40]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], ecx
cmp eax, edi
jb 0x43f2d4
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.00401dfe
mov eax, dword [ebp - 0x78]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x74]
push eax
push ecx
call fcn.0041b53b
pop ecx
pop ecx
cmp dword [ebp - 0x44], esi
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push eax
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [0x48ff34], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x43f342
mov eax, dword [ebp - 0x44]
cmp eax, esi
jb 0x43f33c
mov ecx, dword [ebp - 0x58]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], ecx
cmp eax, edi
jb 0x43f333
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.00401dfe
mov eax, dword [ebp - 0x78]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x74]
push eax
push ecx
call fcn.0041b53b
pop ecx
pop ecx
call fcn.0041be10
ret
push 0x2e
push 0x29
lea eax, [ebp - 0x70]
push eax
call fcn.0043e3c2
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 3
call fcn.004448e9
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x38]
call fcn.00404ba2
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x20]
call fcn.00403e3d
push 0x465b2c
lea eax, [ebp - 0x20]
push eax
call fcn.0041e7be
int3