joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48fd5e
Capabilities:
Accept command line arguments
Write file on windows

Disassembly:
push 0x98
mov eax, 0x4a4a4c
call fcn.00427fa7
and dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
and dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0x88]
call fcn.00402861
xor ebx, ebx
inc ebx
mov byte [ebp - 4], bl
call fcn.0049174e
push eax
lea ecx, [ebp - 0x70]
call fcn.0040811d
push 0x37
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 2
push eax
mov ecx, 0x4d7148
call fcn.00409235
mov esi, eax
push 0x4be748
lea edx, [ebp - 0x70]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
call fcn.00401adc
push esi
mov edx, eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x58]
call fcn.00403f95
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.0040197a
xor edi, edi
lea ecx, [ebp - 0x58]
push edi
push ebx
call fcn.00401656
push edi
push ebx
lea ecx, [ebp - 0x40]
call fcn.00401656
push edi
push ebx
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 2
call fcn.00401656
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0x4be768
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.0044e1ce
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x48feb1
lea edx, [ebp - 0x88]
lea ecx, [ebp - 0x58]
call fcn.0040af4b
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x58]
cmp dword [ebp - 0x44], 0x10
push esi
push dword [ebp - 0x48]
cmovae ecx, dword [ebp - 0x58]
push ebx
push ecx
call fcn.0044de27
push esi
push ebx
push ebx
push 0x4be7ac
call fcn.0044de27
add esp, 0x20
lea ecx, [ebp - 0x40]
mov edx, 0x4fed88
call fcn.0040af4b
cmp dword [ebp - 0x30], edi
je 0x48fe96
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
push esi
push dword [ebp - 0x30]
cmovae eax, dword [ebp - 0x40]
push ebx
push eax
call fcn.0044de27
add esp, 0x10
push esi
call fcn.0044daa4
pop ecx
push edi
push ebx
lea ecx, [ebp - 0x40]
call fcn.00405e63
push edi
push ebx
lea ecx, [ebp - 0x58]
call fcn.00405e63
push edi
push ebx
lea ecx, [ebp - 0x70]
call fcn.00401656
push 0
push ebx
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0
call fcn.00401656
call fcn.00491579
push 8
pop edi
cmp dword [0x4fede4], edi
mov esi, 0x4fedd0
push ecx
mov eax, esi
mov ecx, esp
cmovae eax, dword [0x4fedd0]
push eax
call fcn.00407603
mov ecx, dword [0x4ff070]
call fcn.00493b28
pop ecx
test eax, eax
je 0x48ff08
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [0x4fede4], edi
cmovae esi, dword [0x4fedd0]
push esi
call fcn.0044da05
cmp dword [ebp - 0x18], 0
pop ecx
je 0x48ff4e
cmp dword [ebp - 0x14], edi
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
call fcn.0040ce9f
test al, al
je 0x48ff4e
cmp dword [ebp - 0x14], edi
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.0044da05
pop ecx
xor edi, edi
lea ecx, [ebp - 0x28]
push edi
push ebx
call fcn.00401656
call fcn.00427f51
ret
Function at 0x490651
Capabilities:
Enumerate gui resources
Get graphical window text

Disassembly:
push 0x464
mov eax, 0x4a4bda
call fcn.00427fa7
mov esi, ecx
mov ecx, dword [esi]
call fcn.00493a00
mov edx, dword [esi]
lea ecx, [ebp - 0x448]
mov edi, eax
call fcn.00493a20
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, 0x4d7148
call fcn.00409235
mov esi, eax
cmp dword [esi + 0x14], 8
jb 0x4906c4
mov esi, dword [esi]
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 - 0x418], 7
mov dword [ebp - 0x41c], ebx
mov word [ebp - 0x42c], ax
mov byte [ebp - 4], 3
lea eax, [ebp - 0x46c]
mov dword [ebp - 0x414], eax
test esi, esi
je 0x49071d
push esi
call fcn.0040283a
pop ecx
push eax
push esi
lea ecx, [ebp - 0x42c]
call fcn.004027c1
lea eax, [ebp - 0x430]
push eax
push 0x412db7
call dword [sym.imp.USER32.dll_EnumWindows]
mov esi, dword [ebp - 0x468]
lea ecx, [ebp - 0x42c]
sub esi, dword [ebp - 0x46c]
push ebx
push 1
sar esi, 2
call fcn.00401656
push ebx
push 1
lea ecx, [ebp - 0x460]
call fcn.00401656
cmp esi, 1
jle 0x4907fe
push 0x400
lea eax, [ebp - 0x410]
push ebx
push eax
call fcn.00441690
mov esi, dword [ebp - 0x46c]
add esp, 0xc
cmp esi, dword [ebp - 0x468]
je 0x490815
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 0x4907de
test dx, dx
je 0x4907da
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x4907de
add ecx, 4
add eax, 4
test dx, dx
jne 0x4907b8
mov eax, ebx
jmp 0x4907e3
sbb eax, eax
or eax, 1
test eax, eax
je 0x4907f4
add esi, 4
cmp esi, dword [ebp - 0x468]
jne 0x49078a
jmp 0x4907f6
mov edi, dword [esi]
mov esi, dword [ebp - 0x46c]
jmp 0x490815
mov eax, dword [ebp - 0x468]
mov esi, dword [ebp - 0x46c]
sub eax, esi
sar eax, 2
test eax, eax
je 0x490815
mov edi, dword [esi]
test esi, esi
je 0x490842
mov eax, dword [ebp - 0x464]
sub eax, esi
push 4
sar eax, 2
push eax
push esi
call fcn.0040160b
add esp, 0xc
mov dword [ebp - 0x46c], ebx
mov dword [ebp - 0x468], ebx
mov dword [ebp - 0x464], ebx
push ebx
push 1
lea ecx, [ebp - 0x448]
call fcn.00401656
mov eax, edi
call fcn.00427f51
ret
Function at 0x490e92
Capabilities:
Create thread

Disassembly:
push 0x5c
mov eax, 0x4a4d20
call fcn.00428015
cmp byte [0x4ff12d], 0
jne 0x490fc6
xor ebx, ebx
lea eax, [ebp - 0x48]
push eax
push ebx
push 0x4fed40
push 0x40329d
push ebx
push ebx
mov dword [0x4ff098], ebx
mov dword [ebp - 0x48], ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 4], ebx
call fcn.00496cb0
or dword [ebp - 4], 0xffffffff
mov dword [0x4ff098], eax
jmp 0x490eec
cmp dword [ebp - 0x48], 0
je 0x490f0a
push ebx
push ebx
push 0x502
push dword [ebp - 0x48]
call dword [sym.imp.USER32.dll_PostThreadMessageW]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [0x4ff098], 0
jne 0x490fc6
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
mov dword [ebp - 4], 2
mov eax, dword [0x4fee60]
shr eax, 0xd
test al, 1
lea eax, [ebp - 0x44]
je 0x490f62
push 0x2b
push 0x13
push eax
call fcn.0049038b
push eax
lea ecx, [ebp - 0x2c]
call fcn.00408145
push ebx
push 1
lea ecx, [ebp - 0x44]
call fcn.00405e63
lea ecx, [ebp - 0x2c]
call fcn.00496758
jmp 0x490f80
push 0x29
push 0x11
push eax
call fcn.0049038b
push eax
lea ecx, [ebp - 0x2c]
call fcn.00408145
push ebx
push 1
lea ecx, [ebp - 0x44]
call fcn.00405e63
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x58]
cmovae eax, dword [ebp - 0x2c]
push eax
call fcn.004076cd
mov esi, 0x4b8ec0
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x58], esi
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x68]
call fcn.00407704
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x68]
push 0x4cef38
push eax
mov dword [ebp - 0x68], esi
call fcn.00442196
call fcn.00427f62
ret

Function at 0x490fcc
Capabilities:
Create thread

Disassembly:
push esi
call fcn.00449cc8
cmp byte [0x4ff12d], 0
mov esi, eax
jne 0x491029
cmp dword [0x4ff094], 0
jne 0x491029
cmp word [0x4ff1b2], 3
push edi
mov edi, 0x4ff1a8
jne 0x49100d
mov ecx, edi
call fcn.0040242a
test al, 1
je 0x49100d
mov eax, dword [0x4fee60]
shr eax, 9
test al, 1
je 0x491028
push 0x4ff09c
xor eax, eax
push eax
push edi
push 0x4062e2
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x4ff0a0], eax
pop edi
mov eax, esi
pop esi
ret
Function at 0x49125c
Capabilities:
Check mutex on windows

Disassembly:
push 0x5c
mov eax, 0x4a4db2
call fcn.00427fa7
mov eax, dword [0x4fee60]
shr eax, 0xe
test al, 1
je 0x49138e
push 0x4fed58
lea ecx, [ebp - 0x58]
call fcn.0040811d
xor ebx, ebx
lea ecx, [ebp - 0x40]
push 0x4be784
mov dword [ebp - 4], ebx
call fcn.00402861
push 0x4be748
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.00402861
mov byte [ebp - 4], 2
mov esi, ebx
push dword [ebp - 0x18]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push esi
cmovae eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x58]
push eax
call fcn.00408211
mov esi, eax
cmp esi, 0xffffffff
je 0x4912e5
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 0x18]
lea ecx, [ebp - 0x58]
push esi
call fcn.00401e03
add esi, dword [ebp - 0x30]
jmp 0x4912ae
xor esi, esi
lea ecx, [ebp - 0x28]
push ebx
inc esi
push esi
call fcn.00401656
push ebx
push esi
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], bl
call fcn.00401656
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push eax
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [0x4ff0a4], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x491384
push 0x2e
push 0x29
lea eax, [ebp - 0x40]
push eax
call fcn.0049038b
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 3
call fcn.00496758
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
lea ecx, [ebp - 0x68]
cmovae eax, dword [ebp - 0x40]
push eax
call fcn.004076cd
mov esi, 0x4b8ec0
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x68], esi
lea eax, [ebp - 0x68]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x20]
call fcn.00407704
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x20]
push 0x4cef38
push eax
mov dword [ebp - 0x20], esi
call fcn.00442196
push ebx
push esi
lea ecx, [ebp - 0x58]
call fcn.00401656
call fcn.00427f51
ret
Function at 0x4913b8
Capabilities:
Write file on windows

Disassembly:
push 0x64
mov eax, 0x4a4def
call fcn.00427fa7
xor eax, eax
mov dword [ebp - 0x14], 0xf
mov bl, al
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x28], al
mov dword [ebp - 4], eax
lea eax, [ebp - 0x28]
push eax
xor eax, eax
cmp byte [ebp + 8], al
setne al
add eax, 0x405
push eax
call fcn.00491926
cmp dword [ebp - 0x18], 0xa
jbe 0x4914d4
cmp dword [0x4fed80], 0
mov edi, 0x4fed70
jne 0x491423
lea ecx, [ebp - 0x40]
call fcn.0040d3fe
push eax
mov ecx, edi
call fcn.0040197a
push 0
push 1
lea ecx, [ebp - 0x40]
call fcn.00401656
lea eax, [ebp - 0x70]
mov ecx, 0x4fee48
push eax
call fcn.00407daf
mov esi, eax
push 0x4be748
mov edx, edi
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
call fcn.00401adc
push esi
mov edx, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.00403f95
pop ecx
pop ecx
mov esi, 0x4fedb8
push eax
mov ecx, esi
call fcn.0040197a
push 0
push 1
lea ecx, [ebp - 0x40]
call fcn.00401656
push 0
push 1
lea ecx, [ebp - 0x58]
call fcn.00401656
push 0
push 1
lea ecx, [ebp - 0x70]
call fcn.00401656
cmp dword [0x4fedcc], 8
push 0x4be768
cmovae esi, dword [0x4fedb8]
push esi
call fcn.0044e1ce
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x4914d6
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x28]
push esi
cmovae ecx, dword [ebp - 0x28]
push 1
push dword [ebp - 0x18]
push ecx
call fcn.0044de27
push esi
lea ebx, [eax - 1]
neg ebx
sbb bl, bl
inc bl
call fcn.0044daa4
add esp, 0x14
jmp 0x4914d6
xor bl, bl
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.00407543
mov al, bl
call fcn.00427f51
ret 4

Function at 0x4914ec
Capabilities:
Write file on windows

Disassembly:
push 0x1c
mov eax, 0x4a4e1c
call fcn.00427fa7
xor eax, eax
mov dword [ebp - 0x14], 0xf
mov bl, al
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x28], al
cmp byte [ebp + 8], 0
mov dword [ebp - 4], eax
lea eax, [ebp - 0x28]
push eax
mov eax, 0x401
lea ecx, [eax + 2]
cmovne eax, ecx
push eax
call fcn.00491926
cmp dword [ebp - 0x18], 0xa
jbe 0x491561
call fcn.00491998
mov esi, eax
test esi, esi
je 0x491563
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x28]
push esi
cmovae ecx, dword [ebp - 0x28]
push 1
push dword [ebp - 0x18]
push ecx
call fcn.0044de27
push esi
lea ebx, [eax - 1]
neg ebx
sbb bl, bl
inc bl
call fcn.0044daa4
add esp, 0x14
jmp 0x491563
xor bl, bl
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.00407543
mov al, bl
call fcn.00427f51
ret 4

Function at 0x491579
Capabilities:
Write file on windows

Disassembly:
push 0x1c
mov eax, 0x4a4e49
call fcn.00427fa7
xor eax, eax
mov dword [ebp - 0x14], 0xf
mov bl, al
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x28], al
mov dword [ebp - 4], eax
lea eax, [ebp - 0x28]
push eax
push 0x3fa
call fcn.00491926
call fcn.004915ef
mov esi, eax
test esi, esi
je 0x4915db
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x28]
push esi
cmovae ecx, dword [ebp - 0x28]
push 1
push dword [ebp - 0x18]
push ecx
call fcn.0044de27
push esi
lea ebx, [eax - 1]
neg ebx
sbb bl, bl
inc bl
call fcn.0044daa4
add esp, 0x14
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.00407543
mov al, bl
call fcn.00427f51
ret
Function at 0x49166d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x4fee60]
push esi
push edi
xor edi, edi
shr eax, 0x11
inc edi
mov dword [ebp - 4], edi
test al, 1
je 0x49169c
cmp dword [0x4ff114], 0
je 0x49169c
mov esi, 0x4ff104
push esi
call fcn.00491948
jmp 0x4916c6
and dword [0x4ff114], 0
mov esi, 0x4ff104
cmp dword [0x4ff118], 0x10
mov eax, esi
push esi
cmovae eax, dword [0x4ff104]
push 0x3fc
mov byte [eax], 0
call fcn.00491926
call fcn.00491a4c
mov edx, eax
mov dword [ebp - 8], edx
test edx, edx
je 0x49172e
cmp dword [0x4ff118], 0x10
mov eax, esi
cmovae eax, dword [0x4ff104]
mov eax, dword [eax]
cmp eax, dword [0x4b8faf]
jne 0x491722
cmp dword [0x4ff118], 0x10
mov ecx, esi
mov eax, dword [0x4ff114]
cmovae ecx, dword [0x4ff104]
add eax, 0xfffffffc
push edx
push edi
push eax
lea eax, [ecx + 4]
push eax
call fcn.0044de27
mov edx, dword [ebp - 8]
add esp, 0x10
dec eax
neg eax
sbb al, al
inc al
mov byte [ebp - 4], al
push edx
call fcn.0044daa4
mov eax, dword [ebp - 4]
pop ecx
jmp 0x491730
xor al, al
and dword [0x4ff114], 0
cmp dword [0x4ff118], 0x10
pop edi
cmovae esi, dword [0x4ff104]
mov byte [esi], 0
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x49174e
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
mov eax, dword [0x4d3094]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x4fed80], 0
push edi
mov edi, 0x4fed70
jne 0x491899
push ebx
push esi
lea eax, [ebp - 0x804]
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x804]
push eax
call fcn.0040283a
pop ecx
push eax
lea eax, [ebp - 0x804]
mov ecx, edi
push eax
call fcn.004027c1
cmp dword [0x4fed84], 8
mov eax, edi
cmovae eax, dword [0x4fed70]
xor ebx, ebx
push ebx
push eax
call fcn.0044d4ad
pop ecx
pop ecx
test eax, eax
je 0x4917df
mov esi, 0x4b7e24
push esi
call fcn.0040283a
pop ecx
push eax
push esi
mov ecx, edi
call fcn.004027c1
mov ecx, edi
call fcn.0040d231
cmp dword [0x4fed80], ebx
je 0x491804
cmp dword [0x4fed84], 8
mov eax, edi
push ebx
cmovae eax, dword [0x4fed70]
push eax
call fcn.0044d4ad
pop ecx
pop ecx
test eax, eax
je 0x491821
push str.TEMP
call fcn.0044e102
mov esi, eax
push esi
call fcn.0040283a
pop ecx
pop ecx
push eax
push esi
mov ecx, edi
call fcn.004027c1
cmp dword [0x4fed80], ebx
je 0x491846
cmp dword [0x4fed84], 8
mov eax, edi
push ebx
cmovae eax, dword [0x4fed70]
push eax
call fcn.0044d4ad
pop ecx
pop ecx
test eax, eax
je 0x491863
push 0x4be77c
call fcn.0044e102
mov esi, eax
push esi
call fcn.0040283a
pop ecx
pop ecx
push eax
push esi
mov ecx, edi
call fcn.004027c1
cmp dword [0x4fed80], ebx
je 0x491888
cmp dword [0x4fed84], 8
mov eax, edi
push ebx
cmovae eax, dword [0x4fed70]
push eax
call fcn.0044d4ad
pop ecx
pop ecx
test eax, eax
je 0x491897
push 0xffffffffffffffff
push ebx
push 0x4fed40
mov ecx, edi
call fcn.00402579
pop esi
pop ebx
mov ecx, dword [ebp - 4]
mov eax, edi
xor ecx, ebp
pop edi
call fcn.00427425
mov esp, ebp
pop ebp
ret
Function at 0x49354b
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a5499
mov eax, dword fs:[0]
push eax
mov eax, 0x1438
call fcn.00428730
mov eax, dword [0x4d3094]
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, dword [ebp + 8]
xor ebx, ebx
mov esi, dword [ebp + 0xc]
test edi, edi
je 0x4935c7
cmp word [edi], bx
je 0x4935c7
push ebx
push edi
call fcn.0044d4ad
pop ecx
pop ecx
test eax, eax
jne 0x4935c7
mov ecx, edi
call fcn.0040ce9f
test al, al
je 0x4935c5
push edi
call fcn.0044da05
pop ecx
test eax, eax
je 0x4935c5
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
inc ebx
cmp ebx, 0x3e8
jl 0x49359b
xor ebx, ebx
test esi, esi
je 0x493609
cmp word [esi], bx
je 0x493609
push ebx
push esi
call fcn.0044d4ad
pop ecx
pop ecx
test eax, eax
jne 0x493609
mov edi, ebx
mov ecx, esi
call fcn.0040ce9f
test al, al
je 0x493609
push esi
call fcn.0044da05
pop ecx
test eax, eax
je 0x493609
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
inc edi
cmp edi, 0x3e8
jl 0x4935df
push 7
pop ecx
xor eax, eax
mov dword [ebp - 0x1414], ecx
mov dword [ebp - 0x1418], ebx
mov word [ebp - 0x1428], ax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x142c], ecx
mov dword [ebp - 0x1430], ebx
mov word [ebp - 0x1440], ax
lea eax, [ebp - 0x1440]
mov byte [ebp - 4], 1
push eax
lea edx, [ebp - 0x1428]
mov ecx, esi
call fcn.0040ab9f
mov dword [esp], 0x400
lea eax, [ebp - 0x410]
push ebx
push eax
call fcn.00441690
add esp, 0xc
lea eax, [ebp - 0x410]
push eax
push 0x200
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0x1000
lea eax, [ebp - 0x1410]
push ebx
push eax
call fcn.00441690
add esp, 0xc
lea eax, [ebp - 0x1410]
push 0x800
push eax
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
cmp dword [ebp - 0x1418], 0
je 0x493739
push 8
pop esi
cmp dword [ebp - 0x1414], esi
lea ecx, [ebp - 0x1410]
lea eax, [ebp - 0x1428]
cmovae eax, dword [ebp - 0x1428]
push ecx
push eax
call fcn.00449fa5
pop ecx
pop ecx
test eax, eax
je 0x493739
cmp dword [ebp - 0x1414], esi
lea ecx, [ebp - 0x1428]
cmovae ecx, dword [ebp - 0x1428]
call fcn.0040cec6
test al, al
je 0x493739
cmp dword [ebp - 0x1414], esi
lea eax, [ebp - 0x1428]
push ebx
cmovae eax, dword [ebp - 0x1428]
lea ecx, [ebp - 0x1441]
push eax
mov edx, 0x4be74c
call fcn.00408937
cmp dword [ebp - 0x1414], esi
lea eax, [ebp - 0x1428]
cmovae eax, dword [ebp - 0x1428]
push eax
call fcn.0044db28
add esp, 0xc
push ebx
push 1
lea ecx, [ebp - 0x1440]
call fcn.00401656
push ebx
push 1
lea ecx, [ebp - 0x1428]
call fcn.00401656
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.00427425
mov esp, ebp
pop ebp
ret 8
Function at 0x49605a
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x254
mov eax, dword [0x4d3094]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push edi
push 0x208
xor edi, edi
mov ebx, ecx
push edi
push eax
call fcn.00441690
mov eax, dword [esi + 0x18]
add esp, 0xc
mov dword [ebp - 0x218], eax
mov eax, dword [esi + 0x1c]
mov dword [ebp - 0x214], eax
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x210], eax
lea eax, [ebp - 0x218]
push eax
push edi
push 0x44b
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x250], edi
mov dword [ebp - 0x244], eax
xor eax, eax
push 7
mov dword [ebp - 0x24c], edi
mov dword [ebp - 0x248], edi
mov dword [ebp - 0x240], edi
mov dword [ebp - 0x23c], edi
lea edi, [ebp - 0x234]
pop ecx
mov dword [ebp - 0x254], 0x3c
mov dword [ebp - 0x238], 5
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x254]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
push dword [ebx + 0x44]
call dword [sym.imp.USER32.dll_HideCaret]
mov eax, dword [ebx + 0xb8]
cmp eax, dword [ebx + 0xbc]
je 0x496138
mov eax, dword [eax]
push dword [eax]
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00427425
mov esp, ebp
pop ebp
ret 4
Function at 0x496cb0
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x258
mov eax, dword [0x4d3094]
xor eax, esp
mov dword [esp + 0x254], eax
push esi
push edi
lea eax, [esp + 0xc8]
xor edi, edi
push eax
push 0x101
call dword [sym.imp.WSOCK32.dll_WSAStartup]
test eax, eax
jne 0x496e4c
mov eax, dword [esp + 0xc8]
cmp al, 1
jne 0x496e4c
shr eax, 8
cmp al, 1
jne 0x496e4c
xorps xmm0, xmm0
mov dword [esp + 0x64], 0x1388
xor esi, esi
movlpd qword [esp + 0x30], xmm0
movlpd qword [esp + 0x38], xmm0
movlpd qword [esp + 0x40], xmm0
movlpd qword [esp + 0x48], xmm0
cmp dword [0x4bf320], esi
je 0x496e36
mov eax, 0x4bf320
nop dword [eax]
push ecx
lea ecx, [esp + 0x2c]
push ecx
push dword [eax]
lea ecx, [esp + 0x70]
call fcn.00423f49
test eax, eax
je 0x496de9
lea eax, [esp + 0xa0]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
lea eax, [esp + 0xa0]
push eax
lea ecx, [esp + 0xc]
call fcn.00423a12
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x10]
call fcn.00423c46
lea eax, [esp + 0x80]
push eax
lea ecx, [esp + 0x14]
call fcn.00423d21
movups xmm0, xmmword [eax]
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0xb4]
push eax
movups xmmword [esp + 0xb8], xmm0
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
test eax, eax
je 0x496de9
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
test eax, eax
je 0x496de9
lea eax, [esp + 0x90]
push eax
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
test eax, eax
jne 0x496e14
inc esi
cmp dword [esi*4 + 0x4bf320], edi
lea eax, [esi*4 + 0x4bf320]
jne 0x496d40
mov eax, edi
pop edi
pop esi
mov ecx, dword [esp + 0x254]
xor ecx, esp
call fcn.00427425
mov esp, ebp
pop ebp
ret
movzx ecx, word [esp + 0x90]
movzx edi, byte [esp + 0x92]
shl ecx, 8
or edi, ecx
movzx ecx, byte [esp + 0x96]
shl edi, 8
or edi, ecx
mov eax, edi
pop edi
pop esi
mov ecx, dword [esp + 0x254]
xor ecx, esp
call fcn.00427425
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x25c]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.00427425
mov esp, ebp
pop ebp
ret
Function at 0x49ab00
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a5fe9
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0x4d3094]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x258], esi
mov dword [ebp - 0x254], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x25c], esi
mov dword [esi + 0x10], 0
jb 0x49ab6a
mov eax, dword [esi]
jmp 0x49ab6c
mov eax, esi
xor ecx, ecx
mov word [eax], cx
push 0x20a
push ecx
lea eax, [ebp - 0x220]
mov dword [ebp - 4], ecx
push eax
mov dword [ebp - 0x254], 1
call fcn.00441690
add esp, 0xc
lea eax, [ebp - 0x220]
push eax
push 1
push 0
push 0x1c
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
cmp word [ebp - 0x220], 0
jne 0x49abb6
xor ecx, ecx
jmp 0x49abcf
lea ecx, [ebp - 0x220]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x49abc0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x220]
mov ecx, esi
push eax
call fcn.004027c1
mov edx, esi
lea ecx, [ebp - 0x238]
call fcn.0049acf0
push 1
push 0x4be748
mov ecx, esi
mov dword [ebp - 4], 1
call fcn.00402291
lea edx, [ebp - 0x238]
lea ecx, [ebp - 0x250]
call fcn.0040b020
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.00402335
mov eax, dword [ebp - 0x23c]
cmp eax, 8
jb 0x49ac7f
mov ecx, dword [ebp - 0x250]
inc eax
cmp eax, 0x7fffffff
jbe 0x49ac3f
call fcn.00448963
add eax, eax
cmp eax, 0x1000
jb 0x49ac76
test cl, 0x1f
je 0x49ac52
call fcn.00448963
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x49ac5e
call fcn.00448963
sub ecx, eax
cmp ecx, 4
jae 0x49ac6a
call fcn.00448963
cmp ecx, 0x23
jbe 0x49ac74
call fcn.00448963
mov ecx, eax
push ecx
call fcn.004842a0
add esp, 4
mov eax, dword [ebp - 0x224]
cmp eax, 0x10
jb 0x49accf
mov ecx, dword [ebp - 0x238]
inc eax
cmp eax, 0x1000
jb 0x49acc6
test cl, 0x1f
je 0x49aca2
call fcn.00448963
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x49acae
call fcn.00448963
sub ecx, eax
cmp ecx, 4
jae 0x49acba
call fcn.00448963
cmp ecx, 0x23
jbe 0x49acc4
call fcn.00448963
mov ecx, eax
push ecx
call fcn.004842a0
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00427425
mov esp, ebp
pop ebp
ret