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

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
lea eax, [ebx + 1]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, eax
xor esi, esi
mov dword [ebp - 4], edi
mov byte [edi + ebx], 0
test ebx, ebx
je 0x402325
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
sub eax, edi
mov dword [ebp - 8], eax
push str.Squire_published_the_book_The_Woman_Movement_in_America:_A_short_Account_of_the_Struggle_for_Equal_Rights_in_1911
call sub.msvcrt.dll_strlen
push str.Her_goal_with_this_publication_was_to_share_information_about_the_complex_struggle_for_womens_suffrage_and_to_engage_her_readers_through_her_use_of_images_alongside_the_text.
call sub.msvcrt.dll_strlen
add esp, 8
push ebx
add edi, esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, eax
xor edx, edx
mov eax, esi
div ecx
mov eax, dword [ebp - 8]
push str.Crime_Partners_introduces_the_character_of_Kenyatta__the_leader_of_a_group_of_militant_Black_people.
mov dl, byte [edx + ebx]
xor dl, byte [eax + edi]
mov byte [edi], dl
call sub.msvcrt.dll_strlen
push str.The_novel_also_introduces_the_reader_to_a_pair_of_detectives_named_Benson_and_Ryan__who_are_intent_on_tracking_down_the_people_responsible_for_the_murders_going_on_in_the_city.
call sub.msvcrt.dll_strlen
mov edi, dword [ebp - 4]
inc esi
add esp, 8
cmp esi, dword [ebp + 0x10]
jb 0x4022d2
push 0x4263c8
call sub.msvcrt.dll_strlen
push str.Death_List_picks_up_immediately_after_the_events_in_Crime_Partners__with_detectives_Benson_and_Ryan_discovering_the_bodies_of_Jackie__Billy__and_their_girlfriends.
call sub.msvcrt.dll_strlen
add esp, 8
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x404b60
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41fd10
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x594
push ebx
push esi
push edi
sub esp, 0xc
lea eax, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x20], esp
push eax
mov dword [ebp - 4], 1
call fcn.0040fdb0
lea ecx, [ebp - 0xa0]
push ecx
call fcn.00404390
add esp, 0x10
push 0x5f5e0ff
mov esi, eax
mov ecx, 0xf
lea edi, [ebp - 0x64]
push 0
rep movsd dword es:[edi], dword [esi]
call dword [0x640164]
push eax
call dword [0x6400fc]
xor edi, edi
push edi
push edi
push edi
push edi
lea ecx, [ebp + 0x14]
mov ebx, eax
mov dword [ebp - 0x14], 1
call fcn.00410010
push eax
call dword [0x640060]
mov edx, dword [0x62f338]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x60]
push edx
push eax
xor esi, esi
call dword [0x64013c]
test eax, eax
jne 0x404c03
lea esi, [edi + 1]
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x404d68
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x54]
push 0
push 0
push 3
push 0
push 0
push ecx
push edx
push eax
call dword [0x640160]
mov ecx, eax
mov dword [ebp - 0x20], ecx
test ecx, ecx
je 0x404d5e
mov edx, dword [ebp - 0x38]
mov eax, esi
neg eax
sbb eax, eax
push 0
and eax, 0x800000
add eax, 0x400100
push eax
mov eax, dword [0x62f188]
push 0
push 0
push eax
push edx
push 0x426698
push ecx
call dword [0x640194]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x404d54
test esi, esi
je 0x404c89
or dword [ebp - 0x18], 0x10300
push 4
lea ecx, [ebp - 0x18]
push ecx
push 0x1f
push eax
call dword [0x63ff68]
mov eax, dword [ebp - 0x10]
push 0
push 0
push 0
push 0
push eax
call dword [0x640128]
mov ecx, dword [ebp - 0x10]
push 0
lea edx, [ebp - 0x28]
push edx
mov esi, eax
lea eax, [ebp - 0x1a0]
push eax
push 0x13
push ecx
mov dword [ebp - 0x28], 0x100
call dword [0x6401ac]
test eax, eax
jne 0x404cf1
lea ecx, [ebp + 8]
xor esi, esi
mov byte [ebp - 4], 0
call fcn.0040fdf0
lea ecx, [ebp + 0x14]
mov dword [ebp - 4], 0xffffffff
call fcn.0040fdf0
mov eax, dword [ebp - 0x24]
mov edx, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0x1a0]
push edx
call fcn.004112a0
add esp, 4
cmp eax, 0xc8
jne 0x404cbe
test esi, esi
je 0x404d51
cmp dword [ebp - 0x14], edi
jbe 0x404d51
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 0x14]
push eax
push 0x400
lea ecx, [ebp - 0x5a0]
push ecx
push edx
call dword [0x640088]
xor esi, esi
cmp dword [ebp - 0x14], esi
jbe 0x404d51
push 1
lea eax, [ebp + esi - 0x5a0]
push eax
lea ecx, [edi + ebx]
push ecx
call fcn.00411320
mov eax, dword [ebp - 0x14]
inc esi
inc edi
cmp esi, eax
jb 0x404d31
test eax, eax
jne 0x404d10
mov eax, dword [ebp - 0x10]
push eax
call dword [0x64005c]
mov ecx, dword [ebp - 0x20]
push ecx
call dword [0x64005c]
mov eax, dword [ebp - 0x1c]
push eax
call dword [0x64005c]
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0
call fcn.0040fdf0
lea ecx, [ebp + 0x14]
mov dword [ebp - 4], 0xffffffff
call fcn.0040fdf0
mov ecx, dword [ebp - 0xc]
mov edx, edi
pop edi
pop esi
mov eax, ebx
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4064d0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push 0x40
push 0
push esi
call dword [ebp + 8]
add esp, 0x10
test eax, eax
jne 0x4064ea
mov eax, 1
pop ebp
ret
mov eax, 0x5a4d
cmp word [esi], ax
jne 0x406598
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x406598
push edi
push ebx
push 0xf8
push eax
lea edi, [esi + 0x40]
push edi
call dword [ebp + 8]
add esp, 0x10
test eax, eax
jne 0x406521
mov eax, 1
pop edi
pop ebp
ret
cmp dword [edi], 0x4550
jne 0x406590
mov ecx, 0x10b
cmp word [esi + 0x58], cx
jne 0x406590
movzx eax, word [esi + 0x46]
test ax, ax
je 0x406590
lea eax, [eax + eax*4]
add eax, eax
add eax, eax
add eax, eax
push eax
mov dword [esi + 0x140], eax
call fcn.00411360
add esp, 4
mov dword [esi + 0x138], eax
test eax, eax
jne 0x406567
mov eax, 3
pop edi
pop ebp
ret
movzx edx, word [esi + 0x54]
mov ecx, dword [esi + 0x3c]
lea ecx, [edx + ecx + 0x18]
mov edx, dword [esi + 0x140]
push ebx
push edx
push ecx
push eax
mov dword [esi + 0x13c], ecx
call dword [ebp + 8]
add esp, 0x10
neg eax
sbb eax, eax
inc eax
pop edi
pop ebp
ret
mov eax, 2
pop edi
pop ebp
ret
mov eax, 2
pop ebp
ret

Function at 0x406c90
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x406ccc
mov eax, dword [ecx + 0x3c]
cmp dword [eax + ecx], 0x4550
jne 0x406ccc
mov edx, 0x10b
cmp word [eax + ecx + 0x18], dx
jne 0x406ccc
mov edx, dword [ebp + 0xc]
mov eax, dword [eax + ecx + 0x78]
push edx
push ecx
push eax
call fcn.00406bd0
add esp, 0xc
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x410f70
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x421968
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push esi
xor esi, esi
push esi
push esi
mov dword [ebp - 0x14], esi
call dword [sym.imp.ole32.dll_CoInitializeEx]
push esi
push esi
push esi
push 3
push esi
push esi
push esi
push 0xffffffffffffffff
push esi
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
lea eax, [ebp - 0x14]
push eax
push 0x4279ec
push 1
push esi
push 0x427abc
mov dword [ebp - 0x14], esi
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
push edx
push esi
push esi
push esi
push esi
push esi
push esi
mov dword [ebp - 0x10], esi
mov ecx, dword [eax]
push str.ROOTCIMV2
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
js 0x411105
mov ecx, dword [ebp - 0x10]
push esi
push esi
push 3
push 3
push esi
push esi
push 0xa
push ecx
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x18]
push ecx
push esi
push 0x20
push str.Select__From_Win32_OperatingSystem
mov dword [ebp - 0x18], esi
mov edx, dword [eax]
mov edx, dword [edx + 0x50]
push 0x426f38
push eax
call edx
test eax, eax
js 0x4110fe
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
cmp eax, esi
je 0x411116
mov ecx, dword [eax]
lea edx, [ebp - 0x1c]
push edx
lea edx, [ebp - 0x20]
push edx
push 1
push 0xffffffffffffffff
push eax
mov eax, dword [ecx + 0x10]
call eax
cmp dword [ebp - 0x1c], esi
je 0x411116
lea ecx, [ebp - 0x48]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [ebp - 0x20]
mov edx, dword [eax]
mov edx, dword [edx + 0x10]
push esi
push esi
lea ecx, [ebp - 0x48]
push ecx
push esi
push str.InstallDate
push eax
mov dword [ebp - 4], esi
call edx
mov ecx, dword [ebp - 0x40]
push 1
lea eax, [ebp - 0x28]
push eax
push ecx
call fcn.00410ec0
add esp, 0xc
lea edx, [ebp - 0x38]
push edx
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
push 0x104
push esi
call dword [0x640164]
push eax
call dword [0x6400fc]
movzx ecx, word [ebp - 0x2c]
movzx edx, word [ebp - 0x2e]
push ecx
movzx ecx, word [ebp - 0x38]
push edx
movzx edx, word [ebp - 0x36]
mov esi, eax
movzx eax, word [ebp - 0x30]
push eax
movzx eax, word [ebp - 0x32]
push ecx
push edx
push eax
push str._d__d__d__d:_d:_d
push esi
call dword [0x63ff8c]
add esp, 0x20
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
call fcn.0040fd70
lea ecx, [ebp - 0x48]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, esi
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
push 0x426f6c
jmp 0x41110a
push 0x426f74
mov esi, dword [ebp + 8]
mov ecx, esi
call fcn.0040fd70
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x411130
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x421988
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push esi
xor esi, esi
push esi
push esi
mov dword [ebp - 0x14], esi
call dword [sym.imp.ole32.dll_CoInitializeEx]
push esi
push esi
push esi
push 3
push esi
push esi
push esi
push 0xffffffffffffffff
push esi
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
lea eax, [ebp - 0x14]
push eax
push 0x4279ec
push 1
push esi
push 0x427abc
mov dword [ebp - 0x14], esi
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
push edx
push esi
push esi
push esi
push esi
push esi
push esi
mov dword [ebp - 0x10], esi
mov ecx, dword [eax]
push str.rootSecurityCenter2
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
js 0x41126b
mov ecx, dword [ebp - 0x10]
push esi
push esi
push 3
push 3
push esi
push esi
push 0xa
push ecx
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x18]
push ecx
push esi
push 0x20
push str.Select__From_AntiVirusProduct
mov dword [ebp - 0x18], esi
mov edx, dword [eax]
mov edx, dword [edx + 0x50]
push 0x426fe8
push eax
call edx
test eax, eax
js 0x411264
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
cmp eax, esi
je 0x41127c
mov ecx, dword [eax]
lea edx, [ebp - 0x1c]
push edx
lea edx, [ebp - 0x20]
push edx
push 1
push 0xffffffffffffffff
push eax
mov eax, dword [ecx + 0x10]
call eax
cmp dword [ebp - 0x1c], esi
je 0x41127c
lea ecx, [ebp - 0x30]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [ebp - 0x20]
mov edx, dword [eax]
mov edx, dword [edx + 0x10]
push esi
push esi
lea ecx, [ebp - 0x30]
push ecx
push esi
push str.displayName
push eax
mov dword [ebp - 4], esi
call edx
mov eax, dword [ebp - 0x28]
push eax
call fcn.00411540
mov esi, dword [ebp + 8]
add esp, 4
push eax
mov ecx, esi
call fcn.0040fd70
lea ecx, [ebp - 0x30]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, esi
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
push 0x427008
jmp 0x411270
push str.Unknown
mov esi, dword [ebp + 8]
mov ecx, esi
call fcn.0040fd70
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x415320
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4224d1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x48
push ebx
xor ebx, ebx
push esi
mov dword [ebp - 0x10], ebx
mov esi, 2
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], esi
call fcn.0040fd60
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 3
call fcn.0040fd60
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 4
call fcn.0040fd60
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 5
call fcn.0040fd60
test byte [0x63ff28], 1
mov byte [ebp - 4], 6
jne 0x41538b
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x54], eax
jmp 0x415391
mov ecx, dword [ebp + 0x28]
mov dword [ebp - 0x54], ecx
lea edx, [ebp + 0x68]
push edx
lea ecx, [ebp - 0x2c]
call fcn.0040fe50
mov ecx, dword [ebp + 0x78]
mov eax, dword [ebp + 0x74]
lea edx, [ebp + 0x2c]
mov dword [ebp - 0x1c], ecx
push edx
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
call fcn.0040fe50
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0x44]
call fcn.0040fe50
lea ecx, [ebp + 0x18]
push ecx
lea ecx, [ebp - 0x38]
call fcn.0040fe50
cmp dword [0x63ff28], esi
jb 0x4153f3
jmp 0x4153e0
push 0x3e8
call dword [0x63ffa4]
cmp dword [0x63ff28], esi
jae 0x4153e0
inc dword [0x63ff28]
push ebx
push ebx
lea edx, [ebp - 0x54]
push edx
push 0x413d50
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x3e8
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov esi, dword [ebp + 8]
push 0x42713a
mov ecx, esi
call fcn.0040fd70
mov dword [ebp - 0x10], 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 9
call fcn.0040fdf0
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 8
call fcn.0040fdf0
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 7
call fcn.0040fdf0
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 2
call fcn.0040fdf0
lea ecx, [ebp + 0x2c]
mov byte [ebp - 4], 0xb
call fcn.0040fdf0
lea ecx, [ebp + 0x18]
mov byte [ebp - 4], 0xa
call fcn.0040fdf0
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.0040fdf0
lea ecx, [ebp + 0x68]
mov byte [ebp - 4], bl
call fcn.0040fdf0
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x416820
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4228e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x450
push ebx
push esi
push edi
xor ebx, ebx
push ebx
push 0x42740c
lea ecx, [ebp + 0x70]
mov dword [ebp - 4], 1
xor edi, edi
call fcn.00410010
push eax
call dword [0x640098]
test eax, eax
je 0x416868
lea edi, [ebx + 1]
push 0
push 0x42741c
lea ecx, [ebp + 0x70]
call fcn.00410010
push eax
call dword [0x640098]
test eax, eax
je 0x41688b
mov edi, 1
mov ebx, edi
jmp 0x416893
test edi, edi
je 0x4169a5
lea eax, [ebp - 0x74]
push eax
push 0x64
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
cmp byte [ebp - 0x74], 0
lea esi, [ebp - 0x74]
je 0x416a08
lea esp, [esp]
push 0x3e8
lea ecx, [ebp - 0x45c]
push 0
push ecx
call sub.msvcrt.dll_memset
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
test ebx, ebx
je 0x4168f4
cmp eax, 2
jne 0x4168f4
lea ecx, [ebp + 0x70]
call fcn.00410010
push eax
lea edx, [ebp - 0x45c]
push edx
call dword [0x6401a8]
push esi
push str._DRIVE_REMOVABLE_
jmp 0x416910
lea ecx, [ebp + 0x70]
call fcn.00410010
push eax
lea edx, [ebp - 0x45c]
push edx
call dword [0x6401a8]
push esi
push str._DRIVE_FIXED_
lea eax, [ebp - 0x45c]
push eax
call fcn.004117b0
add esp, 0xc
push eax
lea ecx, [ebp - 0x45c]
push ecx
call dword [0x6401a8]
mov edx, dword [ebp + 0x94]
mov eax, dword [ebp + 0x8c]
mov ecx, dword [ebp + 0x88]
push 0
push edx
push edi
push eax
push 0
push ecx
lea ecx, [ebp + 0x7c]
call fcn.00410010
push eax
lea edx, [ebp - 0x45c]
push edx
lea ecx, [ebp + 0x64]
call fcn.00410010
push eax
push 0x4270fe
lea ecx, [ebp + 0x98]
call fcn.00410010
push eax
sub esp, 0x5c
lea eax, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x10], esp
push eax
call fcn.00401060
call fcn.004163e0
add esp, 0x88
push esi
call dword [0x640020]
cmp byte [esi + eax + 1], 0
lea esi, [esi + eax + 1]
jne 0x4168b0
jmp 0x416a08
mov ecx, dword [ebp + 0x94]
mov edx, dword [ebp + 0x8c]
mov eax, dword [ebp + 0x88]
push 0
push ecx
push 0
push edx
push 0
push eax
lea ecx, [ebp + 0x7c]
call fcn.00410010
push eax
lea ecx, [ebp + 0x70]
call fcn.00410010
push eax
lea ecx, [ebp + 0x64]
call fcn.00410010
push eax
push 0x4270ff
lea ecx, [ebp + 0x98]
call fcn.00410010
push eax
sub esp, 0x5c
lea edx, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x10], esp
push edx
call fcn.00401060
call fcn.004163e0
add esp, 0x88
mov eax, dword [ebp + 0xa4]
mov dword [eax], 0
lea ecx, [ebp + 0x28]
mov byte [ebp - 4], 8
call fcn.0040fdf0
lea ecx, [ebp + 0x14]
mov byte [ebp - 4], 7
call fcn.0040fdf0
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0
call fcn.0040fdf0
lea ecx, [ebp + 0x98]
mov dword [ebp - 4], 0xb
call fcn.0040fdf0
lea ecx, [ebp + 0x7c]
mov byte [ebp - 4], 0xa
call fcn.0040fdf0
lea ecx, [ebp + 0x70]
mov byte [ebp - 4], 9
call fcn.0040fdf0
lea ecx, [ebp + 0x64]
mov dword [ebp - 4], 0xffffffff
call fcn.0040fdf0
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x41bafa
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42e1b0]
jne 0x41bb04
repz ret
jmp fcn.0041e7ef
Function at 0x41efc9
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x42e1b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0041b41d
and dword [ebp - 0x14], 0
cmp dword [0x640d7c], 0
mov dword [ebp - 0x18], eax
jne 0x41f07c
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x41f124
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x41f124
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x640d7c], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x640d80], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x640d84], eax
call edi
push eax
call esi
mov dword [0x640d8c], eax
test eax, eax
je 0x41f07c
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x640d88], eax
mov eax, dword [0x640d88]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x41f0d5
cmp dword [0x640d8c], ecx
je 0x41f0d5
push eax
call esi
push dword [0x640d8c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x41f0d5
test ebx, ebx
je 0x41f0d5
call edi
test eax, eax
je 0x41f0cc
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x41f0cc
test byte [ebp - 8], 1
jne 0x41f0d5
or dword [ebp + 0x10], 0x200000
jmp 0x41f108
mov eax, dword [0x640d80]
cmp eax, dword [ebp - 0x18]
je 0x41f108
push eax
call esi
test eax, eax
je 0x41f108
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x41f108
mov eax, dword [0x640d84]
cmp eax, dword [ebp - 0x18]
je 0x41f108
push eax
call esi
test eax, eax
je 0x41f108
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x640d7c]
call esi
test eax, eax
je 0x41f124
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x41f126
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041bafa
leave
ret
Function at 0x401000
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push ebp
push esi
push edi
call fcn.0040eb78
push str._JAVA_LAUNCHER_DEBUG
mov eax, dword [eax]
mov dword [0x433680], eax
call fcn.004244bd
xor ebp, ebp
pop ecx
test eax, eax
je 0x401059
push str.Windows_original_main_args:_n
call fcn.00401112
pop ecx
mov esi, ebp
call fcn.0040e6c7
cmp dword [eax], ebp
jle 0x401059
call fcn.0040e6cd
mov eax, dword [eax]
push dword [eax + esi*4]
push esi
push str.wwwd_args__d____s_n
call fcn.00401112
add esp, 0xc
inc esi
call fcn.0040e6c7
cmp esi, dword [eax]
jl 0x401037
call dword [sym.imp.kernel32.dll_GetCommandLineA]
push eax
call fcn.0040121d
call fcn.00401285
mov ebx, eax
lea ecx, [ebx*4 + 4]
push ecx
call fcn.00401135
pop ecx
pop ecx
mov esi, eax
call fcn.0040128b
mov edx, ebp
test ebx, ebx
jle 0x401093
mov ecx, dword [eax + edx*8]
mov dword [esi + edx*4], ecx
inc edx
cmp edx, ebx
jl 0x401088
mov edi, dword [str.java]
mov dword [esi + edx*4], ebp
test edi, edi
jne 0x4010a2
mov edi, dword [esi]
mov edx, dword [section..data]
test edx, edx
jne 0x4010ae
mov edx, dword [esi]
mov ecx, dword [0x432990]
push ebp
xor ebp, ebp
inc ebp
test ecx, ecx
push ebp
push ebp
setne al
movzx eax, al
push eax
push edi
push edx
push 0x426274
push 0x426278
push dword [0x432994]
push ebp
push ecx
push ebp
push esi
push ebx
call fcn.00401d65
add esp, 0x38
pop edi
pop esi
pop ebp
pop ebx
ret 0x10
Function at 0x404305
Capabilities:
Read file on windows

Disassembly:
push ecx
push ecx
push ebx
push ebp
mov ebp, dword [esp + 0x14]
push esi
push edi
push 2
push 0xffffffffffffffff
push 0xffffffffffffffea
push ebp
call fcn.004244bd
mov ebx, edx
add esp, 0x10
mov esi, eax
test ebx, ebx
jl 0x404478
jg 0x404334
test esi, esi
jb 0x404478
mov edi, dword [esp + 0x20]
push 0x16
push edi
push ebp
call fcn.004175dd
add esp, 0xc
test eax, eax
js 0x404478
movzx ecx, byte [edi + 3]
movzx eax, byte [edi + 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 1]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi]
shl ecx, 8
or ecx, eax
cmp ecx, 0x6054b50
jne 0x404396
push edi
call fcn.00404887
pop ecx
test eax, eax
je 0x40438d
push ebx
push esi
push edi
push ebp
call fcn.004244bd
add esp, 0x10
mov esi, eax
mov ebx, edx
mov eax, esi
mov edx, ebx
jmp 0x40447d
push 2
xor ebx, ebx
push ebx
push ebx
push ebp
call fcn.004244bd
mov ebp, eax
add esp, 0x10
mov eax, edx
mov dword [esp + 0x14], eax
cmp eax, ebx
jl 0x404478
jg 0x4043bf
cmp ebp, ebx
jb 0x404478
mov ecx, 0x10015
cmp eax, ebx
jg 0x4043d4
jl 0x4043ce
cmp ebp, ecx
jae 0x4043d4
mov esi, ebp
mov ecx, eax
jmp 0x4043d8
mov esi, ecx
mov ecx, ebx
mov eax, esi
neg eax
push 2
adc ecx, ebx
neg ecx
push ecx
push eax
push dword [esp + 0x28]
call fcn.004244bd
add esp, 0x10
cmp edx, ebx
jl 0x404478
jg 0x4043fe
cmp eax, ebx
jb 0x404478
push 0x10015
call fcn.004244bd
mov ebx, eax
pop ecx
test ebx, ebx
je 0x404478
push esi
push ebx
push dword [esp + 0x24]
call fcn.004175dd
add esp, 0xc
mov dword [esp + 0x10], eax
test eax, eax
js 0x404471
lea edx, [ebx + eax]
lea esi, [edx - 0x16]
jmp 0x40446d
cmp byte [esi], 0x50
jne 0x40446c
movzx ecx, byte [esi + 3]
movzx eax, byte [esi + 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 1]
shl ecx, 8
or ecx, eax
shl ecx, 8
or ecx, 0x50
cmp ecx, 0x6054b50
jne 0x40446c
movzx ecx, byte [esi + 0x15]
movzx eax, byte [esi + 0x14]
shl ecx, 8
or ecx, eax
lea eax, [esi + 0x16]
add eax, ecx
cmp eax, edx
je 0x404484
dec esi
cmp esi, ebx
jae 0x40442d
push ebx
call fcn.004244bd
pop ecx
or eax, 0xffffffff
or edx, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
pop ecx
ret
push 0x16
push esi
push edi
call fcn.0040a170
push ebx
call fcn.004244bd
mov eax, dword [esp + 0x20]
add eax, ebx
sub eax, esi
mov esi, dword [esp + 0x24]
cdq
sub ebp, eax
push edi
sbb esi, edx
call fcn.00404887
add esp, 0x14
test eax, eax
je 0x4044c4
push esi
push ebp
push edi
push dword [esp + 0x28]
call fcn.004244bd
add esp, 0x10
mov ebp, eax
mov esi, edx
mov eax, ebp
mov edx, esi
jmp 0x40447d