joyce8/EMBER2024-capa huggingface dataset:
Function at 0x430ce0
Capabilities:
Encode data using xor

Disassembly:
mov ax, word [esp + 8]
push ebx
and ax, 0x8000
push esi
mov dx, word [esp + 0x10]
mov ecx, dword [esp + 0xc]
cmp ax, 1
sbb eax, eax
add dx, dx
inc eax
or ax, dx
mov word [esp + 0x10], ax
xor byte [esp + 0x11], al
mov ax, word [esp + 0x10]
and ax, 1
mov dx, word [esp + 0x10]
cmp ax, 1
mov eax, 0
adc eax, 0xffffffff
and ax, 0x8000
shr dx, 1
or ax, dx
mov word [esp + 0x10], ax
and ax, 1
mov dx, word [esp + 0x10]
cmp ax, 1
mov eax, 0
adc eax, 0xffffffff
mov esi, 0x55
and ax, 0x8000
shr dx, 1
or ax, dx
mov word [esp + 0x10], ax
mov eax, 0x58
mov dl, byte [esp + 0x10]
mov bl, byte [esp + 0x10]
and dl, 0x80
add bl, bl
shr dl, 7
add ecx, 2
or dl, bl
mov byte [esp + 0x10], dl
mov dl, byte [esp + 0x11]
and dl, 1
mov bl, byte [esp + 0x11]
shl dl, 7
shr bl, 1
or dl, bl
mov byte [esp + 0x11], dl
mov bl, byte [esp + 0x10]
xor byte [esp + 0x11], bl
mov dx, word [esp + 0x10]
not dx
mov word [esp + 0x10], dx
xor word [ecx - 2], dx
add word [esp + 0x10], si
dec eax
jne 0x430d63
pop esi
pop ebx
ret

Function at 0x432720
Capabilities:
Encode data using xor

Disassembly:
sub esp, 4
mov cl, byte [esp + 8]
push ebx
mov edx, dword [esp + 0x10]
push esi
xor si, si
push edi
cmp dword [esp + 0x1c], 0
push ebp
je 0x43274a
movzx eax, si
inc si
xor byte [eax + edx], cl
movzx ebx, si
cmp ebx, dword [esp + 0x20]
jb 0x432739
xor ax, ax
mov al, cl
and ax, 0xf
mov word [esp + 0x12], ax
mov di, word [esp + 0x20]
xor cl, cl
dec di
mov esi, edx
cmp word [esp + 0x20], 0
je 0x43278c
mov al, byte [esi]
mov ebp, esi
inc esi
mov bl, cl
shl bl, 7
mov cl, al
shr al, 1
and cl, 1
or al, bl
mov byte [ebp], al
mov bp, di
dec di
test bp, bp
jne 0x43276b
test cl, cl
je 0x432793
or byte [edx], 0x80
mov ax, word [esp + 0x12]
dec word [esp + 0x12]
test ax, ax
jne 0x432758
xor ax, ax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret

Function at 0x432af0
Capabilities:
Encode data using xor

Disassembly:
xor ax, ax
sub esp, 8
mov al, byte [esp + 0xc]
push ebx
and ax, 0xf
push esi
mov word [esp + 0xa], ax
push edi
mov eax, dword [esp + 0x1c]
push ebp
mov ebp, dword [esp + 0x24]
lea ecx, [eax + ebp - 1]
mov dword [esp + 0x14], ecx
xor dl, dl
mov edi, dword [esp + 0x14]
test bp, bp
lea esi, [ebp - 1]
je 0x432b41
mov bl, byte [edi]
mov eax, edi
dec edi
mov cl, dl
mov dl, bl
add bl, bl
shr dl, 7
or bl, cl
mov byte [eax], bl
mov ax, si
dec si
test ax, ax
jne 0x432b25
test dl, dl
je 0x432b4c
mov eax, dword [esp + 0x14]
or byte [eax], 1
mov ax, word [esp + 0x12]
dec word [esp + 0x12]
test ax, ax
jne 0x432b17
xor si, si
test ebp, ebp
je 0x432b79
mov dl, byte [esp + 0x1c]
mov eax, dword [esp + 0x20]
movzx ecx, si
inc si
xor byte [ecx + eax], dl
movzx ecx, si
cmp ecx, ebp
jb 0x432b62
xor ax, ax
pop ebp
pop edi
pop esi
pop ebx
add esp, 8
ret
Function at 0x4366e0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x88
push ebx
lea ecx, [eax + 7]
shr ecx, 3
push esi
push edi
and eax, 7
mov esi, dword [esp + 0x98]
push ebp
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], eax
jne 0x436710
mov dword [esp + 0x18], 8
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x20], 0
mov eax, dword [esp + 0x1c]
dec eax
mov dword [esp + 0x24], eax
je 0x436802
mov eax, dword [esp + 0x10]
xor dword [esi], eax
mov ecx, dword [esp + 0x14]
xor dword [esi + 4], ecx
cmp dword [esp + 0x20], 0
jne 0x4367d2
cmp dword [esp + 0x1c], 2
push 0
jbe 0x4367b3
lea eax, [esp + 0x2c]
push eax
push esi
call fcn.004368b0
add esp, 0xc
cmp dword [0x463d54], 0
jne 0x43689d
mov eax, dword [esp + 0x28]
lea ebx, [esp + 0x30]
mov edi, 0x19
mov dword [esp + 0x30], eax
mov eax, dword [ebx]
mov cl, 0x20
add eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x28]
mov dword [ebx + 4], eax
add ebx, 4
mov eax, dword [esp + 0x28]
mov edx, dword [ebx - 4]
and dl, 0x1f
sub cl, dl
shl eax, cl
mov cl, dl
shr ebp, cl
or eax, ebp
xor dword [esp + 0x34], eax
dec edi
jne 0x436784
jmp 0x4367e0
push 0
push esi
call fcn.004368b0
add esp, 0xc
cmp dword [0x463d54], 0
je 0x4367e0
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x88
ret
lea eax, [esp + 0x30]
push eax
push esi
call fcn.00436bf0
add esp, 8
mov eax, dword [esi]
add esi, 8
mov dword [esp + 0x10], eax
inc dword [esp + 0x20]
mov ecx, dword [esi - 4]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x14], ecx
cmp eax, dword [esp + 0x24]
jb 0x436737
xor eax, eax
cmp dword [esp + 0x18], eax
je 0x436818
mov cl, byte [esi + eax]
xor byte [esp + eax + 0x10], cl
inc eax
cmp eax, dword [esp + 0x18]
jb 0x43680a
cmp dword [esp + 0x1c], 2
jbe 0x436833
lea eax, [esp + 0x30]
lea ecx, [esp + 0x10]
push eax
push ecx
call fcn.00436bf0
add esp, 8
jmp 0x436858
cmp dword [esp + 0x1c], 1
jne 0x436847
mov eax, dword [esi]
mov dword [esp + 0x10], eax
mov ecx, dword [esi + 4]
mov dword [esp + 0x14], ecx
lea eax, [esp + 0x10]
push 0
push 0
push eax
call fcn.004368b0
add esp, 0xc
cmp dword [esp + 0x1c], 1
jbe 0x436890
xor eax, eax
cmp dword [esp + 0x18], eax
je 0x436877
mov dl, byte [esi + eax - 8]
lea ecx, [esi + eax]
inc eax
mov byte [ecx], dl
cmp eax, dword [esp + 0x18]
jb 0x436867
mov eax, dword [esp + 0x10]
mov dword [esi - 8], eax
mov ecx, dword [esp + 0x14]
pop ebp
pop edi
mov dword [esi - 4], ecx
pop esi
pop ebx
add esp, 0x88
ret
mov eax, dword [esp + 0x10]
mov dword [esi], eax
mov ecx, dword [esp + 0x14]
mov dword [esi + 4], ecx
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x88
ret
Function at 0x436bf0
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 8]
push ebx
push esi
push edi
mov eax, dword [edx]
push ebp
mov esi, dword [esp + 0x14]
add edx, 8
mov ebp, 0xc
add dword [esi + 4], eax
mov ecx, dword [edx - 4]
add dword [esi], ecx
mov ebx, dword [esi]
mov edi, dword [esi + 4]
xor edi, ebx
mov cl, 0x20
shr ebx, 4
mov eax, edi
and bl, 0x1f
add edx, 8
sub cl, bl
shr eax, cl
mov cl, bl
shl edi, cl
or eax, edi
mov cl, 0x20
sub eax, dword [edx - 8]
mov dword [esi + 4], eax
mov edi, dword [esi]
xor edi, eax
shr eax, 7
mov ebx, edi
and al, 0x1f
sub cl, al
shr ebx, cl
mov cl, al
shl edi, cl
or ebx, edi
add ebx, dword [edx - 4]
dec ebp
mov dword [esi], ebx
jne 0x436c0e
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x436c60
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x90
push ebx
lea ecx, [eax + 7]
shr ecx, 3
push esi
push edi
and eax, 7
mov ebx, dword [esp + 0xa0]
push ebp
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], eax
jne 0x436c90
mov dword [esp + 0x10], 8
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
cmp dword [esp + 0x14], 1
jbe 0x436d85
mov dword [esp + 0x28], 0
mov eax, dword [esp + 0x14]
sub eax, 2
mov dword [esp + 0x2c], eax
je 0x436d85
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
cmp dword [esp + 0x28], 0
jne 0x436d45
lea eax, [esp + 0x30]
push 0
push eax
push ebx
call fcn.004368b0
add esp, 0xc
cmp dword [0x463d54], 0
jne 0x436e82
mov eax, dword [esp + 0x30]
lea edi, [esp + 0x38]
mov esi, 0x19
mov dword [esp + 0x38], eax
mov eax, dword [edi]
mov cl, 0x20
add eax, dword [esp + 0x34]
mov ebp, dword [esp + 0x30]
mov dword [edi + 4], eax
add edi, 4
mov eax, dword [esp + 0x30]
mov edx, dword [edi - 4]
and dl, 0x1f
sub cl, dl
shl eax, cl
mov cl, dl
shr ebp, cl
or eax, ebp
xor dword [esp + 0x3c], eax
dec esi
jne 0x436d16
jmp 0x436d53
lea eax, [esp + 0x38]
push eax
push ebx
call fcn.00436e90
add esp, 8
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
xor dword [ebx], eax
mov edx, dword [esp + 0x20]
xor dword [ebx + 4], ecx
mov eax, dword [esp + 0x24]
add ebx, 8
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], eax
inc dword [esp + 0x28]
mov ecx, dword [esp + 0x28]
cmp ecx, dword [esp + 0x2c]
jb 0x436cd4
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
cmp dword [esp + 0x10], eax
je 0x436dae
mov eax, dword [esp + 0x10]
lea esi, [ebx + 8]
lea edi, [esp + 0x18]
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
cmp dword [esp + 0x14], 1
jne 0x436dd6
push 0
push 0
push ebx
call fcn.004368b0
add esp, 0xc
cmp dword [0x463d54], 0
je 0x436e0c
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x90
ret
cmp dword [esp + 0x14], 2
jne 0x436dfe
push 0
push 0
push ebx
call fcn.004368b0
add esp, 0xc
cmp dword [0x463d54], 0
je 0x436e0c
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x90
ret
lea eax, [esp + 0x38]
push eax
push ebx
call fcn.00436e90
add esp, 8
cmp dword [esp + 0x14], 1
jbe 0x436e75
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
xor dword [esp + 0x18], eax
xor dword [esp + 0x1c], ecx
xor ecx, ecx
cmp dword [esp + 0x10], ecx
je 0x436e3f
mov dl, byte [ebx + ecx + 8]
lea eax, [ebx + ecx]
inc ecx
mov byte [eax], dl
cmp ecx, dword [esp + 0x10]
mov dl, byte [esp + ecx + 0x17]
mov byte [eax + 8], dl
jb 0x436e28
cmp dword [esp + 0x14], 2
jne 0x436e67
push 0
push 0
push ebx
call fcn.004368b0
add esp, 0xc
cmp dword [0x463d54], 0
je 0x436e75
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x90
ret
lea eax, [esp + 0x38]
push eax
push ebx
call fcn.00436e90
add esp, 8
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
xor dword [ebx], eax
xor dword [ebx + 4], ecx
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x90
ret
Function at 0x436e90
Capabilities:
Encode data using xor

Disassembly:
sub esp, 4
mov dword [esp], 0xc
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
mov edi, dword [esp + 0x18]
push ebp
add edi, 0x64
mov ebp, dword [esi]
mov eax, dword [esi + 4]
sub ebp, dword [edi]
mov edx, eax
shr edx, 7
mov ebx, ebp
and dl, 0x1f
mov cl, 0x20
sub cl, dl
sub edi, 8
shl ebx, cl
mov cl, dl
shr ebp, cl
or ebx, ebp
mov cl, 0x20
xor ebx, eax
mov eax, ebx
mov dword [esi], ebx
shr eax, 4
mov edx, dword [edi + 4]
add edx, dword [esi + 4]
and al, 0x1f
mov ebp, edx
sub cl, al
shl ebp, cl
mov cl, al
shr edx, cl
or ebp, edx
xor ebp, ebx
dec dword [esp + 0x10]
mov dword [esi + 4], ebp
jne 0x436eaa
mov eax, dword [esp + 0x1c]
pop ebp
pop edi
mov ecx, dword [eax + 4]
sub dword [esi], ecx
mov edx, dword [eax]
sub dword [esi + 4], edx
pop esi
pop ebx
add esp, 4
ret

Function at 0x437b70
Capabilities:
Query environment variable

Disassembly:
sub esp, 4
lea eax, [esp]
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
push 0
push eax
mov edi, dword [sym.imp.kernel32.dll_GetEnvironmentVariableA]
push ebx
call edi
mov esi, eax
test esi, esi
jne 0x437b99
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 4
ret
inc esi
push esi
call fcn.00432a00
mov dword [esp + 0x10], eax
add esp, 4
test eax, eax
jne 0x437bb4
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 4
ret
mov eax, dword [esp + 0xc]
push esi
push eax
push ebx
call edi
test eax, eax
jne 0x437bca
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 4
ret
mov eax, dword [esp + 0xc]
pop edi
pop esi
pop ebx
add esp, 4
ret

Function at 0x439640
Capabilities:
Check os version

Disassembly:
sub esp, 0x94
push edi
mov ecx, 0x25
xor eax, eax
lea edi, [esp + 4]
rep stosd dword es:[edi], eax
lea eax, [esp + 4]
mov dword [esp + 4], 0x94
push eax
call dword [sym.imp.kernel32.dll_GetVersionExA]
test eax, eax
pop edi
je 0x4396b5
mov eax, dword [esp + 0x10]
mov ecx, 2
sub eax, ecx
je 0x43968c
mov word [0x46f294], cx
call fcn.0043d780
add esp, 0x94
ret
cmp dword [esp + 4], 5
jne 0x439679
mov edx, dword [esp + 8]
mov eax, 1
cmp edx, eax
jb 0x439679
mov word [0x46f294], ax
call fcn.00439390
call fcn.00439520
call fcn.0043d780
add esp, 0x94
ret
Function at 0x43a670
Capabilities:
Query environment variable

Disassembly:
sub esp, 0x20c
push ebx
mov bx, word [esp + 0x224]
neg bx
push ebp
mov ebp, dword [esp + 0x220]
sbb ebx, ebx
push esi
mov al, byte [ebp]
and ebx, 0xfffffffe
add ebx, 4
push edi
test al, al
mov dword [esp + 0x18], 0
je 0x43a6c6
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x24]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push 0x46aad0
mov byte [ebp], 0
call dword [sym.imp.msvcrt.dll_getenv]
add esp, 4
test eax, eax
je 0x43a6ee
jbe 0x43a6ee
push eax
call dword [sym.imp.msvcrt.dll_atoi]
add esp, 4
mov dword [esp + 0x10], eax
jmp 0x43a6f6
mov dword [esp + 0x10], 0xa
mov ecx, 0x55
xor eax, eax
lea edi, [esp + 0xc8]
lea edx, [esp + 0x10]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x22c]
lea eax, [esp + 0xc8]
push ecx
mov ecx, dword [esp + 0x228]
push edx
push eax
push ecx
push ebx
call fcn.0043f650
test ax, ax
jne 0x43a87d
cmp word [esp + 0x10], ax
mov dword [esp + 0x14], 0x46
mov dword [esp + 0x20], 0
jbe 0x43a8b1
mov ebx, dword [sym.imp.msvcrt.dll_sprintf]
lea esi, [esp + 0xc8]
mov dword [esp + 0x1c], esi
cmp word [esi + 0x20], 0
jbe 0x43a857
mov ecx, 0x10
xor eax, eax
mov edi, ebp
lea edx, [esp + 0x64]
push 0x46aab0
push edx
rep stosd dword es:[edi], eax
mov dword [esp + 0x20], 0
call ebx
mov eax, dword [esp + 0x228]
push esi
push eax
call fcn.00439ba0
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
push 0x46aab0
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea eax, [esp + 0x78]
mov edx, ecx
mov esi, edi
mov edi, ebp
push eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call ebx
lea ecx, [esp + 0x7c]
push 0x46aab0
push ecx
call ebx
mov esi, dword [sym.imp.msvcrt.dll__strcmpi]
lea edx, [esp + 0x44]
push 0x46aa30
push edx
call esi
add esp, 0x28
test eax, eax
je 0x43a7f9
lea eax, [esp + 0x24]
push 0x46aa74
push eax
call esi
add esp, 8
test eax, eax
jne 0x43a812
push 0x46aa20
push ebp
call esi
add esp, 8
test eax, eax
jne 0x43a812
mov dword [esp + 0x18], 1
jmp 0x43a853
mov ecx, dword [esp + 0x230]
mov edx, dword [esp + 0x22c]
mov eax, dword [esp + 0x224]
push ecx
mov ecx, dword [esp + 0x224]
push edx
push ebp
push eax
push ecx
call fcn.0043a020
add esp, 0x14
mov dword [esp + 0x14], eax
test ax, ax
je 0x43a879
lea edx, [esp + 0x64]
push 0x46aab0
push edx
call ebx
add esp, 8
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
inc eax
and ecx, 0xffff
add esi, 0x22
cmp eax, ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], esi
jl 0x43a75e
mov eax, dword [esp + 0x14]
cmp ax, 0x45
jne 0x43a892
pop edi
pop esi
pop ebp
mov ax, 3
pop ebx
add esp, 0x20c
ret
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x43a8b5
cmp word [esp + 0x10], 1
jne 0x43a8b5
pop edi
pop esi
pop ebp
mov ax, 3
pop ebx
add esp, 0x20c
ret
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20c
ret
Function at 0x43a8c0
Capabilities:
Get session user name

Disassembly:
sub esp, 0x4c8
push esi
lea eax, [esp + 8]
push edi
lea ecx, [esp + 0x10]
push eax
push ecx
mov dword [esp + 0x14], 0x40
call dword [sym.imp.advapi32.dll_GetUserNameA]
cmp eax, 1
jne 0x43a951
lea edi, [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xd0]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x40
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x14]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x54]
push ecx
push edx
call fcn.004431a0
add esp, 0xc
cmp eax, 0xffffffff
jne 0x43a947
mov eax, dword [0x46aaa8]
mov cx, word [0x46aaac]
mov dl, byte [0x46aaae]
mov dword [esp + 0x10], eax
mov word [esp + 0x14], cx
mov byte [esp + 0x16], dl
jmp 0x43a998
lea edi, [esp + 0x50]
lea edx, [esp + 0x10]
jmp 0x43a97b
mov dx, word [0x46aaac]
mov ecx, dword [0x46aaa8]
mov al, byte [0x46aaae]
mov word [esp + 0x14], dx
mov dword [esp + 0x10], ecx
mov byte [esp + 0x16], al
lea edi, [esp + 0x10]
lea edx, [esp + 0xd0]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x90]
push ebx
push ecx
call fcn.004427c0
lea edi, [esp + 0x98]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xd8]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x40
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x2dc]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0xe0]
push ecx
call fcn.004431a0
add esp, 0x10
cmp eax, 0xffffffff
pop ebx
jne 0x43aa30
mov edx, dword [0x46ab24]
mov eax, dword [0x46ab28]
mov ecx, dword [0x46ab2c]
mov dword [esp + 0xd0], edx
mov dx, word [0x46ab30]
mov dword [esp + 0xd4], eax
mov dword [esp + 0xd8], ecx
mov word [esp + 0xdc], dx
jmp 0x43aa5b
lea edi, [esp + 0x2d0]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xd0]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 8]
lea edi, [esp + 0xd0]
push ecx
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xd4]
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0xc], 0
push ecx
push edx
call fcn.004426e0
mov ecx, dword [esp + 0x14]
add esp, 0xc
inc eax
neg eax
sbb eax, eax
pop edi
and eax, ecx
pop esi
mov dword [0x46f298], eax
add esp, 0x4c8
ret
Function at 0x43b1e0
Capabilities:
Create thread

Disassembly:
mov eax, dword [esp + 0x18]
push ebx
mov ebx, dword [esp + 0x24]
push ebp
mov ebp, dword [esp + 0x24]
push esi
mov esi, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
push edi
mov edi, dword [esp + 0x34]
mov edx, dword [esp + 0x1c]
push edi
push ebx
push ebp
push eax
mov eax, dword [esp + 0x28]
push 0
push esi
push ecx
push edx
push eax
call fcn.0043c4b0
add esp, 0x24
test ax, ax
je 0x43b228
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
mov word [ecx + 6], ax
pop ebx
ret
cmp word [0x46f2a8], 0
jne 0x43b2ba
lea edx, [esp + 0x30]
lea eax, [esp + 0x34]
push edx
push 0
push eax
push fcn.0043c3e0
push 0
push 0
call dword [sym.imp.msvcrt.dll__beginthreadex]
add esp, 0x18
mov dword [0x46f2a4], eax
push 0x1b58
push eax
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
test eax, eax
jne 0x43b2ba
mov ax, word [esp + 0x34]
cmp ax, 2
jne 0x43b2c2
cmp dword [esp + 0x20], 0xffffffff
jne 0x43b28e
test esi, esi
jge 0x43b28e
mov ecx, dword [esp + 0x28]
push edi
push ebx
push ebp
push ecx
push 2
push esi
push 0xffffffffffffffff
jmp 0x43b29b
mov ecx, dword [esp + 0x28]
push edi
push ebx
push ebp
push ecx
push 2
push esi
push 1
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
push edx
push eax
call fcn.0043c4b0
mov ecx, dword [0x46f2a4]
add esp, 0x24
push ecx
call dword [sym.imp.kernel32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor ax, ax
pop ebx
ret
test ax, ax
jne 0x43b2dc
mov edx, dword [0x46f2a4]
push edx
call dword [sym.imp.kernel32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor ax, ax
pop ebx
ret
cmp dword [esp + 0x20], 1
jne 0x43b2f6
test esi, esi
jle 0x43b2f6
mov eax, dword [esp + 0x28]
push edi
push ebx
push ebp
push eax
push 1
push esi
push 1
jmp 0x43b303
mov eax, dword [esp + 0x28]
push edi
push ebx
push ebp
push eax
push 1
push esi
push 0xffffffffffffffff
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
push ecx
push edx
call fcn.0043c4b0
mov eax, dword [esp + 0x38]
add esp, 0x24
mov word [eax + 6], 0x46
mov ecx, dword [0x46f2a4]
push ecx
call dword [sym.imp.kernel32.dll_CloseHandle]
pop edi
pop esi
pop ebp
mov ax, 0x46
pop ebx
ret
Function at 0x43b340
Capabilities:
Create thread

Disassembly:
sub esp, 0x1c
push ebx
push ebp
mov ebp, dword [esp + 0x28]
xor eax, eax
push esi
cmp ebp, eax
push edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], 1
mov dword [esp + 0x14], eax
mov byte [esp + 0x13], al
je 0x43b595
mov ebx, dword [esp + 0x34]
cmp bx, ax
jbe 0x43b595
cmp bx, 0xffff
jne 0x43b38b
pop edi
pop esi
pop ebp
mov ax, 3
pop ebx
add esp, 0x1c
ret 0x14
push ebp
call fcn.0043bb30
mov esi, eax
add esi, 0x18
cmp word [esi], 0x7242
jne 0x43b587
test byte [esi + 0x12], 4
jne 0x43b3ba
mov eax, 2
pop edi
mov word [esi + 6], ax
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 0x14
mov edi, dword [esp + 0x40]
test di, di
jbe 0x43b3d0
push ebp
call fcn.0043ac30
add esp, 4
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x3c]
push eax
push ebx
push ebp
call fcn.0043bf30
test ax, ax
jne 0x43b599
mov ebx, dword [sym.imp.user32.dll_GetSystemMetrics]
push 0x1000
call ebx
test eax, eax
je 0x43b409
mov eax, 0x46
pop edi
mov word [esi + 6], ax
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 0x14
cmp word [esp + 0x38], 1
jne 0x43b57a
cmp word [0x46f2aa], 0
jne 0x43b497
lea ecx, [esp + 0x20]
push ecx
call fcn.00443600
add esp, 4
test eax, eax
je 0x43b443
mov eax, 0x4a
pop edi
mov word [esi + 6], ax
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 0x14
push 0
lea edx, [esp + 0x24]
push 0
push edx
call dword [sym.imp.kernel32.dll_CreateMutexA]
test eax, eax
mov dword [0x46f2b0], eax
jne 0x43b46e
mov eax, 0x4a
pop edi
mov word [esi + 6], ax
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 0x14
lea eax, [esp + 0x30]
push eax
push 0
push 0
push 0x43ce60
push 0
push 0
call dword [sym.imp.msvcrt.dll__beginthreadex]
add esp, 0x18
mov dword [0x46f2b4], eax
mov word [0x46f2aa], 1
push 0x1000
call ebx
test eax, eax
je 0x43b4b5
mov eax, 0x46
pop edi
mov word [esi + 6], ax
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 0x14
test di, di
jbe 0x43b521
lea ecx, [esp + 0x13]
lea edx, [esp + 0x14]
push ecx
push edx
push edi
push ebp
call fcn.00444920
test ax, ax
je 0x43b4de
mov word [esi + 6], ax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 0x14
cmp byte [esp + 0x13], 1
je 0x43b4f3
pop edi
pop esi
pop ebp
mov ax, 4
pop ebx
add esp, 0x1c
ret 0x14
cmp word [esp + 0x14], 0
ja 0x43b509
pop edi
pop esi
pop ebp
mov ax, 0x46
pop ebx
add esp, 0x1c
ret 0x14
push edi
push ebp
call fcn.0043ab70
add esp, 8
and eax, 0xffff
jne 0x43b599
mov ebx, 3
jmp 0x43b525
mov ebx, dword [esp + 0x1c]
push esi
mov word [esi + 0x30], 3
call fcn.0043e2c0
mov cx, word [esi + 0x38]
mov ax, word [esi + 0x36]
mov edx, dword [esp + 0x18]
push 0
push edx
mov edx, dword [0x46f298]
push edi
push edx
push ebx
push 1
push ecx
push eax
push esi
call fcn.0043b1e0
add esp, 0x24
test ax, ax
je 0x43b57a
push 0x404
push ebp
call fcn.004444b0
push ebp
call fcn.00444590
pop edi
pop esi
pop ebp
mov ax, 0x46
pop ebx
add esp, 0x1c
ret 0x14
pop edi
pop esi
pop ebp
xor ax, ax
pop ebx
add esp, 0x1c
ret 0x14
pop edi
pop esi
pop ebp
mov ax, 2
pop ebx
add esp, 0x1c
ret 0x14
mov ax, 0x10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 0x14