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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee4
push 0xf0
lea eax, [ebp - 0x11c]
push eax
push dword [0x4528e0]
call sub.KERNEL32.DLL_GetModuleFileNameA
push 0x5c
lea edx, [ebp - 0x11c]
push edx
call fcn.00444491
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x44223b
mov ecx, dword [ebp - 4]
mov byte [ecx + 1], 0
jmp 0x44224f
push 0x465742
lea eax, [ebp - 0x11c]
push eax
call fcn.00444280
add esp, 8
push str.PCDOCWL1.DAT
lea edx, [ebp - 0x11c]
push edx
call fcn.00444280
add esp, 8
push 0x465744
lea ecx, [ebp - 0x11c]
push ecx
call fcn.004463c0
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4422a0
lea eax, [ebp - 0x11c]
push eax
push 0x45353c
push 0x30
push dword [ebp + 8]
call fcn.00411b5c
add esp, 0x10
xor eax, eax
jmp 0x442343
push 0x230
push 0x45ef70
push 0x45f5ba
call fcn.0044416c
add esp, 0xc
mov dword [ebp - 0x14], 0x45f5ba
xor edx, edx
mov dword [ebp - 0x10], edx
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
xor byte [ecx + eax], 0xaa
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 0x230
jl 0x4422c3
call fcn.0044205c
mov word [ebp - 0xa], ax
push dword [ebp - 8]
push 1
push 0x230
push 0x45f5ba
call fcn.00446864
add esp, 0x10
cmp eax, 1
jne 0x442316
push dword [ebp - 8]
push 1
push 2
lea edx, [ebp - 0xa]
push edx
call fcn.00446864
add esp, 0x10
cmp eax, 1
je 0x442331
push dword [ebp - 8]
call fcn.00445c04
pop ecx
lea ecx, [ebp - 0x11c]
push ecx
call fcn.00445acc
pop ecx
jmp 0x442280
push dword [ebp - 8]
call fcn.00445c04
pop ecx
test eax, eax
jne 0x44231f
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x443dbc
Capabilities:
Get memory capacity

Disassembly:
add esp, 0xffffffe0
mov dword [esp], 0x20
push esp
call sub.KERNEL32.DLL_GlobalMemoryStatus
mov eax, dword [esp + 0xc]
add esp, 0x20
ret

Function at 0x445380
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.DLL_GetFileAttributesA
mov ebx, eax
cmp eax, 0xffffffff
jne 0x44539c
call fcn.00446bb8
pop ebx
pop ebp
ret
test byte [ebp + 0xc], 2
je 0x4453b7
test bl, 1
je 0x4453b7
mov dword [0x4677e0], 5
or eax, 0xffffffff
pop ebx
pop ebp
ret
xor eax, eax
pop ebx
pop ebp
ret
Function at 0x445564
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
test byte [ebp + 0xd], 0xc0
jne 0x445583
mov eax, dword [0x466464]
mov edx, dword [eax]
and edx, 0xc000
or dword [ebp + 0xc], edx
test byte [ebp + 0xd], 0x80
jne 0x445590
or dword [ebp + 0xc], 0x4000
mov ecx, dword [ebp + 0xc]
and ecx, 0x700
cmp ecx, 0x500
jg 0x4455bd
je 0x4455cf
sub ecx, 0x100
je 0x4455dd
sub ecx, 0x100
je 0x4455e4
sub ecx, 0x100
je 0x4455d6
jmp 0x4455eb
sub ecx, 0x600
je 0x4455e4
sub ecx, 0x100
je 0x4455cf
jmp 0x4455eb
mov edi, 1
jmp 0x4455f0
mov edi, 2
jmp 0x4455f0
mov edi, 4
jmp 0x4455f0
mov edi, 5
jmp 0x4455f0
mov edi, 3
test byte [ebp + 0xd], 1
je 0x445617
lea eax, [ebp + 0x10]
add eax, 4
mov eax, dword [eax - 4]
and eax, dword [0x465ed8]
test al, 0x80
je 0x445610
mov ebx, 0x80
jmp 0x445629
mov ebx, 1
jmp 0x445629
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.DLL_GetFileAttributesA
mov ebx, eax
cmp eax, 0xffffffff
jne 0x445629
xor ebx, ebx
mov eax, dword [ebp + 0xc]
and eax, 3
sub eax, 1
jb 0x44563b
je 0x445644
dec eax
je 0x44564d
jmp 0x445656
mov dword [ebp - 4], 0x80000000
jmp 0x445665
mov dword [ebp - 4], 0x40000000
jmp 0x445665
mov dword [ebp - 4], 0xc0000000
jmp 0x445665
push 1
call fcn.00446b54
pop ecx
mov ebx, eax
jmp 0x445751
mov eax, dword [ebp + 0xc]
and eax, 0x70
sub eax, 0x10
je 0x445681
sub eax, 0x10
je 0x445688
sub eax, 0x10
je 0x445691
sub eax, 0x10
je 0x44569a
jmp 0x44569a
xor edx, edx
mov dword [ebp - 8], edx
jmp 0x4456a1
mov dword [ebp - 8], 1
jmp 0x4456a1
mov dword [ebp - 8], 2
jmp 0x4456a1
mov dword [ebp - 8], 3
mov dword [ebp - 0x14], 0xc
xor ecx, ecx
mov dword [ebp - 0x10], ecx
lea ecx, [ebp - 0x14]
mov eax, dword [ebp + 0xc]
and eax, 0x80
cmp eax, 1
sbb edx, edx
neg edx
mov dword [ebp - 0xc], edx
push 0
push ebx
push edi
push ecx
mov eax, dword [ebp - 8]
push eax
mov edx, dword [ebp - 4]
push edx
mov ecx, dword [ebp + 8]
push ecx
call sub.KERNEL32.DLL_CreateFileA
mov esi, eax
cmp eax, 0xffffffff
jne 0x44570a
call sub.KERNEL32.DLL_GetLastError
mov ebx, eax
and ebx, 0xffff
cmp ebx, 0x6e
jne 0x4456ff
test byte [ebp + 0xd], 1
mov ebx, 0x50
jne 0x4456ff
add ebx, 0xffffffb2
push ebx
call fcn.00446b54
pop ecx
mov ebx, eax
jmp 0x445751
mov edi, esi
push edi
call fcn.004454d4
pop ecx
test eax, eax
je 0x44571e
or dword [ebp + 0xc], 0x2000
test bl, 1
jne 0x44572a
or dword [ebp + 0xc], 0x100
and dword [ebp + 0xc], 0xfffff8ff
mov eax, dword [ebp + 0xc]
push eax
push edi
call fcn.00446898
add esp, 8
mov ebx, eax
inc eax
jne 0x445751
push 4
call fcn.00446b54
pop ecx
push esi
call sub.KERNEL32.DLL_CloseHandle
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x445bc0
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
push esi
call sub.KERNEL32.DLL_GetFileAttributesA
mov ebx, eax
cmp eax, 0xffffffff
jne 0x445bdc
call fcn.00446bb8
jmp 0x445bfd
test byte [ebp + 0xc], 0x80
jne 0x445be7
or ebx, 1
jmp 0x445bea
and ebx, 0xfffffffe
push ebx
push esi
call sub.KERNEL32.DLL_SetFileAttributesA
dec eax
je 0x445bfb
call fcn.00446bb8
jmp 0x445bfd
xor eax, eax
pop esi
pop ebx
pop ebp
ret

Function at 0x445f14
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push 0xff
mov eax, dword [ebp + 8]
push eax
push 0x188033c
call fcn.00446790
add esp, 0xc
lea edx, [ebp - 8]
push 0
push 0
push 0
push edx
push 0x188033c
call fcn.00446208
add esp, 0x14
push 0x46645c
lea ecx, [ebp - 8]
push ecx
call fcn.00444280
add esp, 8
mov byte [0x188033c], 0
push 0
push 0
push 0
push 0
push 0
push 0xff
push 0x188033c
lea eax, [ebp - 8]
push eax
call sub.KERNEL32.DLL_GetVolumeInformationA
test eax, eax
je 0x445f87
mov eax, 0x188033c
jmp 0x445f89
xor eax, eax
pop ecx
pop ecx
pop ebp
ret
Function at 0x446024
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb8
push ebx
push esi
push edi
mov esi, dword [ebp + 8]
mov ebx, dword [esi]
test byte [ebx + 8], 8
je 0x446049
cmp dword [ebx + 4], 0xfffffffe
jne 0x446049
or eax, 0xffffffff
jmp 0x446181
test byte [ebx + 8], 8
je 0x4460b6
cmp dword [ebx + 4], 0xffffffff
jne 0x4460b6
mov dword [esi + 8], 8
mov edx, dword [ebx + 0xc]
push edx
call fcn.00445f14
pop ecx
mov edi, eax
test edi, edi
je 0x44609e
add esi, 0x10
xor eax, eax
push esi
push edi
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
xchg edi, esi
shr ecx, 2
mov eax, edi
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
mov dword [ebx + 4], 0xfffffffe
xor eax, eax
jmp 0x446181
call fcn.00446b98
test eax, eax
jne 0x4460ae
xor eax, eax
jmp 0x446181
or eax, 0xffffffff
jmp 0x446181
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
je 0x4460c3
cmp eax, 0xfffffffe
jne 0x4460ea
mov dword [ebx + 4], 0xffffffff
lea edx, [ebp - 0x148]
push edx
mov ecx, dword [ebx + 0xc]
push ecx
call sub.KERNEL32.DLL_FindFirstFileA
mov edi, eax
mov dword [ebx + 4], edi
cmp edi, 0xffffffff
setne al
and eax, 1
jmp 0x4460fa
lea edx, [ebp - 0x148]
push edx
mov ecx, dword [ebx + 4]
push ecx
call sub.KERNEL32.DLL_FindNextFileA
test eax, eax
jne 0x446110
call fcn.00446b98
test eax, eax
jne 0x44610b
xor eax, eax
jmp 0x446181
or eax, 0xffffffff
jmp 0x446181
mov eax, dword [ebp - 0x148]
test al, 0x16
je 0x446124
mov edx, dword [ebx + 8]
and edx, eax
test dl, 0x16
je 0x4460b6
mov ecx, dword [ebp - 0x148]
mov dword [esi + 8], ecx
lea eax, [ebp - 8]
push eax
lea edx, [ebp - 0x134]
push edx
call sub.KERNEL32.DLL_FileTimeToLocalFileTime
lea ecx, [esi + 0xc]
push ecx
lea eax, [esi + 0xe]
push eax
lea edx, [ebp - 8]
push edx
call sub.KERNEL32.DLL_FileTimeToDosDateTime
mov ecx, dword [ebp - 0x128]
xor eax, eax
mov dword [esi + 4], ecx
add esi, 0x10
push esi
lea edi, [ebp - 0x11c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
xchg edi, esi
shr ecx, 2
mov eax, edi
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop esi
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x446790
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push 0x104
call fcn.00443374
pop ecx
mov ebx, eax
test eax, eax
jne 0x4467b4
xor eax, eax
jmp 0x44685d
lea edx, [ebp - 4]
push edx
push ebx
push 0x104
mov ecx, dword [ebp + 0xc]
push ecx
call sub.KERNEL32.DLL_GetFullPathNameA
mov esi, eax
test esi, esi
je 0x4467d5
cmp esi, 0x104
jb 0x4467e0
push ebx
call fcn.00443384
pop ecx
xor eax, eax
jmp 0x44685d
cmp byte [ebx + 1], 0x3a
jne 0x446810
mov dl, byte [ebx]
lea ecx, [ebp - 8]
mov byte [ebp - 8], dl
mov byte [ebp - 7], 0x3a
mov byte [ebp - 6], 0x5c
mov byte [ebp - 5], 0
push ecx
call sub.KERNEL32.DLL_GetDriveTypeA
cmp eax, 2
jae 0x446810
push ebx
call fcn.00443384
pop ecx
xor eax, eax
jmp 0x44685d
inc esi
test edi, edi
je 0x446853
cmp esi, dword [ebp + 0x10]
jbe 0x446825
push ebx
call fcn.00443384
pop ecx
xor eax, eax
jmp 0x44685d
push edi
mov esi, edi
xor eax, eax
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
xchg edi, esi
shr ecx, 2
mov eax, edi
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
push ebx
call fcn.00443384
pop ecx
mov eax, edi
jmp 0x44685d
push esi
push ebx
call fcn.00443394
add esp, 8
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x446e7c
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.DLL_CreateDirectoryA
dec eax
je 0x446eaa
call sub.KERNEL32.DLL_GetLastError
cmp eax, 0xb7
jne 0x446ea3
push 5
call fcn.00446b54
pop ecx
pop ebp
ret
call fcn.00446bb8
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x449ee4
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe00
push ebx
push esi
push edi
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea eax, [ebp - 0x200]
push eax
push 0x1001
mov edx, dword [ebx + 4]
push edx
call sub.KERNEL32.DLL_GetLocaleInfoA
push str._._n
lea ecx, [ebp - 0x200]
push ecx
call fcn.00444280
add esp, 8
lea eax, [ebp - 0x200]
push eax
call fcn.0044438c
pop ecx
mov edx, pe_nt_image_headers32
sub edx, eax
push edx
lea ecx, [ebp - 0x200]
push ecx
call fcn.0044438c
pop ecx
lea edx, [ebp - 0x200]
add eax, edx
push eax
push 0x1002
mov eax, dword [ebx + 4]
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA
push 0x4670b9
lea ecx, [ebp - 0x200]
push ecx
call fcn.00444280
add esp, 8
push 0xa
lea eax, [ebp - 0x200]
push eax
call fcn.0044438c
pop ecx
lea edx, [ebp - 0x200]
add eax, edx
push eax
mov ecx, dword [ebx]
push ecx
call fcn.0044b0e0
add esp, 0xc
cmp dword [ebx + 0x24], 0
jne 0x449ff5
push esi
call fcn.0044438c
pop ecx
mov edi, eax
lea eax, [ebp - 0x200]
push eax
call fcn.0044438c
pop ecx
add edi, eax
add edi, 3
push edi
call fcn.00443374
pop ecx
mov edi, eax
mov dword [ebx + 0x24], edi
test edi, edi
jne 0x449fcc
xor eax, eax
jmp 0x44a07c
push esi
call fcn.0044438c
pop ecx
push eax
lea edx, [ebp - 0x200]
push edx
call fcn.0044438c
pop ecx
pop ecx
add ecx, eax
add ecx, 3
push ecx
push 0
push edi
call fcn.004441dc
add esp, 0xc
jmp 0x44a035
mov edi, dword [ebx + 0x24]
push edi
call fcn.0044438c
pop ecx
push eax
push esi
call fcn.0044438c
pop ecx
pop edx
add edx, eax
push edx
lea eax, [ebp - 0x200]
push eax
call fcn.0044438c
pop ecx
pop ecx
add ecx, eax
add ecx, 3
push ecx
push edi
call fcn.00443394
add esp, 8
mov dword [ebx + 0x24], eax
cmp dword [ebx + 0x24], 0
jne 0x44a035
xor eax, eax
jmp 0x44a07c
push esi
mov edx, dword [ebx + 0x24]
push edx
call fcn.00444280
add esp, 8
push 0x4670bb
mov ecx, dword [ebx + 0x24]
push ecx
call fcn.00444280
add esp, 8
lea eax, [ebp - 0x200]
push eax
mov edx, dword [ebx + 0x24]
push edx
call fcn.00444280
add esp, 8
push 0x4670bd
mov ecx, dword [ebx + 0x24]
push ecx
call fcn.00444280
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44da90
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.DLL_CreateFileA
mov ebx, eax
test eax, eax
je 0x44daf2
call fcn.0044da40
mov esi, eax
lea eax, [ebp - 4]
push 0
push eax
push esi
call fcn.0044438c
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push edi
call fcn.0044438c
pop ecx
push eax
push edi
push ebx
call sub.KERNEL32.DLL_WriteFile
push ebx
call sub.KERNEL32.DLL_CloseHandle
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x44db50
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff7c
cmp dword [0x4677e8], 0
push ebx
push esi
mov esi, dword [ebp + 8]
jne 0x44dc2a
cmp dword [0x4677e4], 0
jne 0x44dc2a
cmp dword [0x4679d8], 0
je 0x44dbe4
push 0x80
lea eax, [ebp - 0x84]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
push 0x5c
lea edx, [ebp - 0x84]
push edx
call fcn.0044d940
add esp, 8
mov ebx, eax
test eax, eax
jne 0x44dbca
push 0x3a
lea edx, [ebp - 0x84]
push edx
call fcn.0044d940
add esp, 8
mov ebx, eax
test eax, eax
jne 0x44dbca
lea ebx, [ebp - 0x84]
jmp 0x44dbcb
inc ebx
call fcn.0044db0c
or eax, 0x10010
push eax
push ebx
push esi
push 0
call sub.USER32.DLL_MessageBoxA
jmp 0x44dc65
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle
mov ebx, eax
lea eax, [ebp - 4]
push 0
push eax
push 2
push 0x4677ec
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push esi
call fcn.0044438c
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea ecx, [ebp - 4]
push ecx
push 2
push 0x4677ef
push ebx
call sub.KERNEL32.DLL_WriteFile
jmp 0x44dc65
cmp dword [0x4677e4], 0
je 0x44dc44
cmp dword [0x4677e4], 0xffffffff
je 0x44dc65
push esi
call dword [0x4677e4]
pop ecx
mov eax, dword [0x4677e8]
test eax, eax
je 0x44dc65
cmp dword [0x4677e8], 0xffffffff
je 0x44dc65
cmp byte [eax], 0
je 0x44dc65
push esi
push eax
call fcn.0044da90
add esp, 8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44e4a8
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
cmp dword [0x1880694], 0
jne 0x44e529
cmp dword [0x18806b4], 0
jne 0x44e4d8
call sub.KERNEL32.DLL_GetEnvironmentStrings
mov dword [0x18806b4], eax
test eax, eax
jne 0x44e4d8
push str.GetEnvironmentStrings_failed
call fcn.0044dc7c
pop ecx
xor ebp, ebp
xor esi, esi
mov ebx, dword [0x18806b4]
jmp 0x44e4ec
lea eax, [edi + 1]
inc esi
add ebp, eax
add ebx, eax
push ebx
call fcn.0044438c
pop ecx
mov edi, eax
test eax, eax
jne 0x44e4e4
lea edi, [ebp + 1]
push edi
call fcn.00443374
pop ecx
mov ebx, eax
mov dword [0x1880698], ebx
test ebx, ebx
jne 0x44e516
xor eax, eax
jmp 0x44e5ec
push edi
mov edx, dword [0x18806b4]
push edx
push ebx
call fcn.0044416c
add esp, 0xc
jmp 0x44e549
xor esi, esi
mov ebx, dword [0x1880694]
jmp 0x44e543
push eax
call fcn.0044438c
pop ecx
test eax, eax
jne 0x44e53f
dec esi
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x44e533
lea ebx, [esi + 4]
push 4
mov dword [0x188069c], ebx
inc ebx
push ebx
call fcn.00442edc
add esp, 8
test eax, eax
mov dword [esp], eax
jne 0x44e56c
xor eax, eax
jmp 0x44e5ec
cmp dword [0x1880694], 0
jne 0x44e59d
xor esi, esi
mov ebx, dword [0x1880698]
mov eax, dword [esp]
mov ebp, eax
jmp 0x44e58e
mov dword [ebp], ebx
add ebp, 4
inc esi
inc edi
add ebx, edi
push ebx
call fcn.0044438c
pop ecx
mov edi, eax
test eax, eax
jne 0x44e584
jmp 0x44e5ce
xor esi, esi
mov ebx, dword [0x1880694]
mov eax, dword [esp]
mov edi, eax
jmp 0x44e5c8
push eax
call fcn.0044438c
pop ecx
test eax, eax
je 0x44e5bd
mov eax, dword [ebx]
mov dword [edi], eax
jmp 0x44e5c1
dec esi
add edi, 0xfffffffc
add edi, 4
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x44e5ac
mov eax, dword [0x1880694]
test eax, eax
je 0x44e5de
push eax
call fcn.00443384
pop ecx
mov edx, dword [esp]
mov eax, 1
mov dword [0x1880694], edx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x40c340
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0xc
mov esi, dword [ebp + 8]
mov dword [ebp - 0x14], 0xb1ac5103
jmp 0x40c3d0
mov eax, 4
call fcn.00416c10
mov ecx, esp
mov eax, 4
call fcn.00416c10
mov dword [ebp - 0x10], esp
mov dword [ecx], esi
mov eax, dword [ebp - 0x10]
mov dword [eax], 0
mov eax, dword [ecx]
lea ecx, [eax + 0x2c]
sub esp, 0x18
mov dword [esp + 0x14], ecx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0
mov dword [esp + 8], 0x40bcb0
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.00417b83
add esp, 0x18
mov ecx, dword [ebp - 0x10]
mov dword [ecx], eax
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0
sete byte [ebp - 9]
mov dword [ebp - 0x14], 0x4ebe386c
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [ebp - 0x14]
cmp eax, 0xb1ac5102
jg 0x40c3f0
cmp eax, 0x9465689c
jne 0x40c3d0
jmp 0x40c354
cmp eax, 0xc294590e
jg 0x40c410
cmp eax, 0xb1ac5103
jne 0x40c3d0
mov dword [ebp - 0x14], 0x9465689c
jmp 0x40c3d0
cmp eax, 0xf8d6eddb
jg 0x40c423
cmp eax, 0xc294590f
jne 0x40c3d0
jmp 0x40c555
cmp eax, 0x3aa6bded
jg 0x40c44b
cmp eax, 0xf8d6eddc
jne 0x40c3d0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
sub esp, 4
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x14], 0xc294590f
jmp 0x40c3d0
cmp eax, 0x4ebe386b
jg 0x40c477
cmp eax, 0x3aa6bdee
jne 0x40c3d0
mov ecx, dword [ebp - 0x10]
mov eax, 0xf8d6eddc
cmp dword [ecx], 0
jne 0x40c46f
mov eax, 0xc294590f
mov dword [ebp - 0x14], eax
jmp 0x40c3d0
cmp eax, 0x5d1e5e08
jg 0x40c4a2
cmp eax, 0x4ebe386c
jne 0x40c3d0
mov al, byte [ebp - 9]
test al, al
mov eax, 0x797fd344
jne 0x40c49a
mov eax, 0x74668c6a
mov dword [ebp - 0x14], eax
jmp 0x40c3d0
cmp eax, 0x5d1e5e09
je 0x40c4d9
cmp eax, 0x74668c6a
jne 0x40c53e
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
sub esp, 8
mov dword [esp], eax
mov dword [esp + 4], 0xffffffff
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x14], 0x3aa6bdee
jmp 0x40c3d0
mov eax, 4
call fcn.00416c10
mov ecx, esp
mov eax, 4
call fcn.00416c10
mov edi, esp
mov dword [ecx], esi
mov dword [edi], 0
mov eax, dword [ecx]
lea ecx, [eax + 0x2c]
sub esp, 0x18
mov dword [esp + 0x14], ecx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0
mov dword [esp + 8], 0x40bcb0
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.00417b83
add esp, 0x18
mov dword [edi], eax
mov dword [ebp - 0x14], 0x9465689c
jmp 0x40c3d0
cmp eax, 0x797fd344
jne 0x40c3d0
mov dword [ebp - 0x14], 0x3aa6bdee
jmp 0x40c3d0
lea esp, [ebp - 8]
pop esi
pop edi
pop ebp
ret
Function at 0x40e090
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x1c
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov eax, dword [0x40f034]
mov dword [ebp - 0x1c], eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x20], 0xc8839485
jmp 0x40e0d0
mov dword [ebp - 0x20], ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [ebp - 0x20]
cmp eax, 0x6c8b63be
jg 0x40e100
cmp eax, 0x4392a9cd
jg 0x40e160
cmp eax, 0xc8839484
jg 0x40e18a
cmp eax, 0xb0fa1f74
jne 0x40e0d0
jmp 0x40e198
cmp eax, 0x6c8b63bf
jne 0x40e0d0
mov dword [esp], 0
call fcn.0040e1e0
mov dword [esp], eax
call fcn.00417612
mov eax, dword [ebp - 0x14]
movzx esi, word [eax]
mov dword [esp], eax
call fcn.004050d0
mov ecx, dword [ebp - 0x14]
movzx edi, word [ecx + eax*2 - 2]
add edi, esi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
neg eax
sub eax, edi
neg eax
mov dword [ebp - 0x18], eax
mov ecx, 0x4392a9ce
cmp eax, dword [ebp - 0x1c]
je 0x40e0c3
mov ecx, 0xb0fa1f74
jmp 0x40e0c3
cmp eax, 0x4392a9ce
jne 0x40e0d0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x4b50f8], eax
call fcn.004175ef
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x20], 0xe38b3d3d
jmp 0x40e0d0
cmp eax, 0xc8839485
je 0x40e1ab
cmp eax, 0xe5102d4a
jne 0x40e1c3
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x20], 0xe38b3d3d
jmp 0x40e0d0
mov eax, 0xe5102d4a
cmp dword [ebp - 0xc], 0
je 0x40e1bb
mov eax, 0x6c8b63bf
mov dword [ebp - 0x20], eax
jmp 0x40e0d0
cmp eax, 0xe38b3d3d
jne 0x40e0d0
mov eax, dword [ebp - 0x10]
add esp, 0x1c
pop esi
pop edi
pop ebp
ret
Function at 0x41f63a
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4c83e0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.0041c493
mov dword [ebp - 0x14], eax
cmp dword [0x4c9c7c], edi
jne 0x41f72b
push 0x800
push edi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x41f6b8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x41f80b
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x41f80b
push str.MessageBoxW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x41f80b
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0x4c9c7c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x4c9c80], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x4c9c84], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4c9c8c], eax
test eax, eax
je 0x41f728
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4c9c88], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x41f750
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x41f743
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x41f765
push 4
pop eax
jmp 0x41f80d
cmp dword [ebp - 0x14], edi
je 0x41f765
push dword [0x4c9c7c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x41f74a
mov eax, dword [0x4c9c88]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x41f7c3
cmp dword [0x4c9c8c], esi
je 0x41f7c3
push eax
call ebx
push dword [0x4c9c8c]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x41f7c3
test eax, eax
je 0x41f7c3
call ecx
test eax, eax
je 0x41f7b8
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x41f7b8
test byte [ebp - 8], 1
jne 0x41f7c3
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x41f7f3
mov eax, dword [0x4c9c80]
cmp eax, esi
je 0x41f7f0
push eax
call ebx
test eax, eax
je 0x41f7f0
call eax
mov edi, eax
test edi, edi
je 0x41f7f0
mov eax, dword [0x4c9c84]
cmp eax, esi
je 0x41f7f0
push eax
call ebx
test eax, eax
je 0x41f7f0
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x4c9c7c]
call ebx
test eax, eax
je 0x41f80b
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x41f80d
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00419599
leave
ret