joyce8/EMBER2024-capa huggingface dataset:
Function at 0x414e22
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, dword [ebp + 8]
test edi, edi
jne 0x414e3d
push 0x57
call dword [sym.imp.KERNEL32.DLL_SetLastError]
xor eax, eax
jmp 0x414ee7
cmp byte [edi], 0
je 0x414e2e
push esi
push edi
call fcn.00437b40
mov esi, eax
inc esi
mov eax, 0x105
cmp esi, eax
pop ecx
ja 0x414ee4
jne 0x414e6a
mov al, byte [edi + 0x103]
cmp al, 0x5c
je 0x414e6a
cmp al, 0x2f
jne 0x414ee4
push ebx
lea ecx, [ebp - 4]
call fcn.0041370a
lea ebx, [esi + 1]
push ebx
call fcn.00413dff
push esi
push dword [ebp + 8]
mov edi, eax
push edi
call fcn.004377d0
add esp, 0xc
cmp byte [edi], 0
mov eax, edi
je 0x414ea0
cmp byte [eax], 0x2f
jne 0x414e9a
mov byte [eax], 0x5c
inc eax
cmp byte [eax], 0
jne 0x414e92
cmp byte [eax - 1], 0x5c
je 0x414eaf
mov byte [eax], 0x5c
mov byte [eax + 1], 0
mov esi, ebx
push edi
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
test al, 0x10
pop ebx
je 0x414edc
cmp eax, 0xffffffff
je 0x414edc
push esi
push edi
push 0x46d528
call fcn.004377d0
add esp, 0xc
lea ecx, [ebp - 4]
call fcn.00413710
xor eax, eax
inc eax
jmp 0x414ee6
lea ecx, [ebp - 4]
call fcn.00413710
xor eax, eax
pop esi
pop edi
leave
ret 4
Function at 0x417099
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x417218
cmp dword [ebp + 0xc], 0
je 0x417218
test word [esi + 0x16c], 0x8000
jne 0x4170c5
push 5
jmp 0x41721a
mov ebx, dword [ebp + 0x10]
push ebx
push dword [ebp + 0xc]
push esi
call fcn.00414f1a
add esp, 0xc
test eax, eax
jne 0x4170e3
push 0x85200066
jmp 0x41721a
cmp dword [eax], ebx
jne 0x417220
or dword [eax + 8], 0xffffffff
or dword [eax + 0xc], 0xffffffff
or dword [eax], 0xffffffff
mov dword [eax + 4], 0xfffffffe
mov eax, dword [esi + 0x138]
push edi
shl eax, 4
push eax
call fcn.00413dde
mov edi, eax
mov eax, dword [esi + 0x138]
shl eax, 4
test edi, edi
je 0x417184
push eax
push dword [esi + 0x118]
push edi
call fcn.004377d0
push dword [0x46d520]
mov eax, dword [esi + 0x138]
shl eax, 4
push eax
push edi
call fcn.00413c11
mov eax, dword [esi + 0x15c]
add eax, dword [esi + 0x130]
add esp, 0x18
push 0
push 0
push eax
push dword [esi + 0x120]
call dword [sym.imp.KERNEL32.DLL_SetFilePointer]
push 0
lea eax, [ebp + 8]
push eax
mov eax, dword [esi + 0x138]
shl eax, 4
push eax
push edi
push dword [esi + 0x120]
call dword [sym.imp.KERNEL32.DLL_WriteFile]
push edi
call fcn.004136f6
jmp 0x4171f5
push dword [0x46d520]
push eax
push dword [esi + 0x118]
call fcn.00413c11
mov eax, dword [esi + 0x15c]
add eax, dword [esi + 0x130]
add esp, 0xc
xor edi, edi
push edi
push edi
push eax
push dword [esi + 0x120]
call dword [sym.imp.KERNEL32.DLL_SetFilePointer]
push edi
lea eax, [ebp + 8]
push eax
mov eax, dword [esi + 0x138]
shl eax, 4
push eax
push dword [esi + 0x118]
push dword [esi + 0x120]
call dword [sym.imp.KERNEL32.DLL_WriteFile]
push dword [0x46d520]
mov eax, dword [esi + 0x138]
shl eax, 4
push eax
push dword [esi + 0x118]
call fcn.00413c74
add esp, 0xc
push dword [ebp + 0xc]
mov edi, dword [0x46d630]
push esi
mov dword [0x46d630], ebx
call fcn.00416e5b
pop ecx
pop ecx
xor eax, eax
mov dword [0x46d630], edi
inc eax
pop edi
jmp 0x417222
push 0x57
call dword [sym.imp.KERNEL32.DLL_SetLastError]
xor eax, eax
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x41ab39
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x46a860]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0x800
push ebx
push esi
mov esi, ecx
mov ebx, edx
lea eax, [ebp - 0x11c]
jne 0x41ab79
push 0x454bf8
push 4
push eax
call fcn.004366a7
push eax
call fcn.00404a10
add esp, 0x10
jmp 0x41ab8b
push 4
push eax
push 3
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_GetLocaleInfoA]
test eax, eax
je 0x41abf9
push edi
call fcn.0043a1e7
mov edi, dword [eax]
call fcn.0043a1e7
and dword [eax], 0
lea eax, [ebp - 0x11c]
push eax
push ebx
push esi
push 0x111
mov esi, 0x112
lea eax, [ebp - 0x118]
push esi
push eax
call fcn.00439a11
add esp, 0x18
mov ebx, eax
call fcn.0043a1e7
cmp dword [eax], 0
je 0x41abd9
call fcn.0043a1e7
push dword [eax]
call fcn.00419b04
pop ecx
jmp 0x41abe0
call fcn.0043a1e7
mov dword [eax], edi
cmp ebx, 0xffffffff
pop edi
je 0x41abf9
cmp ebx, esi
jae 0x41abf9
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
jmp 0x41abfb
xor eax, eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00435287
leave
ret
Function at 0x41c169
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
je 0x41c1af
call fcn.004239f5
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.DLL_FindResourceA]
test eax, eax
je 0x41c1af
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_LoadResource]
test eax, eax
mov dword [ebp - 4], eax
je 0x41c1f2
push eax
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov ebx, eax
test ebx, ebx
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
je 0x41c1db
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x41c1db
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x41c1ef
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x41d622
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x24
mov eax, 0x451365
call fcn.00439e2a
mov esi, ecx
mov dword [ebp - 0x20], esi
mov eax, dword [esi + 0x60]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0x5c]
mov dword [ebp - 0x18], eax
call fcn.004239f5
mov edi, dword [eax + 0xc]
xor ebx, ebx
cmp dword [esi + 0x58], ebx
je 0x41d66d
call fcn.004239f5
mov edi, dword [eax + 0xc]
push 5
push dword [esi + 0x58]
push edi
call dword [sym.imp.KERNEL32.DLL_FindResourceA]
push eax
push edi
call dword [sym.imp.KERNEL32.DLL_LoadResource]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], ebx
je 0x41d67e
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], ebx
jne 0x41d68b
or eax, 0xffffffff
jmp 0x41d7e7
mov ecx, esi
call fcn.0041d174
mov dword [ebp - 0x14], eax
call fcn.0042057c
and dword [ebp - 0x28], ebx
cmp dword [ebp - 0x14], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x24], ebx
je 0x41d709
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp dword [ebp - 0x14], eax
je 0x41d709
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x41d709
push 0
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x2c], 1
call fcn.00404ad0
mov ebx, eax
test ebx, ebx
mov dword [ebp - 0x24], ebx
je 0x41d709
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x120]
test eax, eax
je 0x41d709
mov ecx, ebx
call fcn.00423c1a
test eax, eax
je 0x41d709
push 0
mov ecx, ebx
call fcn.00423c35
mov dword [ebp - 0x28], 1
and dword [ebp - 4], 0
push esi
call fcn.00421f79
push dword [ebp - 0x14]
call fcn.004204d4
push edi
push eax
push dword [ebp - 0x1c]
mov ecx, esi
call fcn.0041d42a
xor edi, edi
cmp eax, edi
je 0x41d766
test byte [esi + 0x3c], 0x10
je 0x41d750
push 4
pop edi
mov ecx, esi
call fcn.00423b2b
test ax, 0x100
je 0x41d746
push 5
pop edi
push edi
mov ecx, esi
call fcn.0042009c
xor edi, edi
cmp dword [esi + 0x20], edi
je 0x41d766
push 0x97
push edi
push edi
push edi
push edi
push edi
mov ecx, esi
call fcn.00423e08
or dword [ebp - 4], 0xffffffff
jmp 0x41d791
cmp dword [ebp - 0x28], edi
je 0x41d79f
push 1
mov ecx, ebx
call fcn.00423c35
cmp dword [ebp - 0x2c], edi
je 0x41d7af
push 1
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebp - 0x14], edi
je 0x41d7c8
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x20]
jne 0x41d7c8
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x60]
mov ecx, esi
call fcn.0041d1ae
cmp dword [esi + 0x58], edi
je 0x41d7e4
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.DLL_FreeResource]
mov eax, dword [esi + 0x44]
call fcn.00439ecf
ret
Function at 0x421544
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x42157d
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0041a110
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00402d40
pop esi
ret 4
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
pop esi
jmp dword [eax + 0x8c]

Function at 0x423106
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x423149
call fcn.004239f5
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.DLL_FindResourceA]
test eax, eax
je 0x423149
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_LoadResource]
mov edi, eax
test edi, edi
je 0x423164
push edi
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.00422cbd
test ebx, ebx
mov esi, eax
je 0x423162
test edi, edi
je 0x423162
push edi
call dword [sym.imp.KERNEL32.DLL_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x427882
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4278b0
push dword [esi]
call dword [sym.imp.KERNEL32.DLL_TlsGetValue]
test eax, eax
je 0x4278ce
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004277ec
jmp 0x4278ce
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4278ce
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.004277ec
test edi, edi
mov eax, edi
jne 0x4278b8
pop edi
push ebx
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x46f1f8]
test ecx, ecx
je 0x427991
jmp 0x427881
ret 8

Function at 0x435287
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x46a860]
jne 0x435291
repz ret
jmp fcn.0043cbdb
Function at 0x436e1f
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
cmp dword [ebp + 0x10], edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], ebx
je 0x436e5c
cmp dword [ebp + 0x14], edi
je 0x436e5c
cmp ecx, edi
jne 0x436e63
call fcn.0043a1e7
push edi
push edi
push edi
push edi
mov dword [eax], 0x16
push edi
call fcn.004359d0
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov esi, dword [ebp + 0x18]
cmp esi, edi
je 0x436e77
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
jbe 0x436e98
cmp ebx, 0xffffffff
je 0x436e87
push ebx
push edi
push ecx
call fcn.004376d0
add esp, 0xc
cmp esi, edi
je 0x436e44
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
ja 0x436e44
mov edi, dword [ebp + 0x10]
imul edi, dword [ebp + 0x14]
test word [esi + 0xc], 0x10c
mov dword [ebp - 0x10], edi
mov ebx, edi
je 0x436eb4
mov eax, dword [esi + 0x18]
mov dword [ebp - 0xc], eax
jmp 0x436ebb
mov dword [ebp - 0xc], 0x1000
test edi, edi
je 0x436fac
test word [esi + 0xc], 0x10c
je 0x436f0f
mov eax, dword [esi + 4]
test eax, eax
je 0x436f0f
jl 0x43700d
cmp ebx, eax
mov edi, ebx
jb 0x436ee0
mov edi, eax
cmp edi, dword [ebp - 4]
ja 0x436fb4
push edi
push dword [esi]
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.00434f11
sub dword [esi + 4], edi
add dword [esi], edi
add dword [ebp - 8], edi
sub ebx, edi
add esp, 0x10
sub dword [ebp - 4], edi
mov edi, dword [ebp - 0x10]
jmp 0x436fa4
cmp ebx, dword [ebp - 0xc]
jb 0x436f7c
cmp dword [ebp - 0xc], 0
je 0x436f39
mov ecx, SysReAllocString
xor edx, edx
cmp ebx, ecx
jbe 0x436f2e
mov eax, ecx
div dword [ebp - 0xc]
mov eax, ecx
jmp 0x436f35
mov eax, ebx
div dword [ebp - 0xc]
mov eax, ebx
sub eax, edx
jmp 0x436f44
mov eax, SysReAllocString
cmp ebx, eax
ja 0x436f44
mov eax, ebx
cmp eax, dword [ebp - 4]
ja 0x436fe0
push eax
push dword [ebp - 8]
push esi
call fcn.00442584
pop ecx
push eax
call fcn.00442487
add esp, 0xc
test eax, eax
je 0x43701f
cmp eax, 0xffffffff
je 0x43700d
add dword [ebp - 8], eax
sub ebx, eax
sub dword [ebp - 4], eax
jmp 0x436fa4
push esi
call fcn.00441da6
cmp eax, 0xffffffff
pop ecx
je 0x437011
cmp dword [ebp - 4], 0
je 0x436fe0
mov ecx, dword [ebp - 8]
inc dword [ebp - 8]
mov byte [ecx], al
mov eax, dword [esi + 0x18]
dec ebx
dec dword [ebp - 4]
mov dword [ebp - 0xc], eax
test ebx, ebx
jne 0x436ec3
mov eax, dword [ebp + 0x14]
jmp 0x436e5e
xor esi, esi
cmp dword [ebp + 0xc], 0xffffffff
je 0x436fcb
push dword [ebp + 0xc]
push esi
push dword [ebp + 8]
call fcn.004376d0
add esp, 0xc
call fcn.0043a1e7
push esi
push esi
push esi
push esi
mov dword [eax], 0x22
push esi
jmp 0x436e54
cmp dword [ebp + 0xc], 0xffffffff
je 0x436ff6
push dword [ebp + 0xc]
push 0
push dword [ebp + 8]
call fcn.004376d0
add esp, 0xc
call fcn.0043a1e7
mov dword [eax], 0x22
xor eax, eax
push eax
push eax
push eax
push eax
push eax
jmp 0x436e54
or dword [esi + 0xc], 0x20
mov eax, edi
sub eax, ebx
xor edx, edx
div dword [ebp + 0x10]
jmp 0x436e5e
or dword [esi + 0xc], 0x10
jmp 0x437011
Function at 0x441514
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x46b290]
je 0x44152f
inc edi
cmp edi, 0x17
jb 0x441520
cmp edi, 0x17
jae 0x4416af
push ebp
push 3
call fcn.004473ae
cmp eax, 1
pop ecx
je 0x44167b
push 3
call fcn.004473ae
test eax, eax
pop ecx
jne 0x441563
cmp dword [0x46a84c], 1
je 0x44167b
cmp ebx, 0xfc
je 0x4416ae
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x46fa98
push ebp
call fcn.004366a7
add esp, 0xc
test eax, eax
je 0x441599
push esi
push esi
push esi
push esi
push esi
call fcn.004358d4
add esp, 0x14
push 0x104
mov esi, 0x46fab1
push esi
push 0
mov byte [0x46fbb5], 0
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameA]
test eax, eax
jne 0x4415dd
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.004366a7
add esp, 0xc
test eax, eax
je 0x4415dd
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.004358d4
add esp, 0x14
push esi
call fcn.00437b40
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x441622
push esi
call fcn.00437b40
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x46fdac
push 0x457cfc
sub ecx, eax
push ecx
push eax
call fcn.0043a62b
add esp, 0x14
test eax, eax
je 0x441622
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.004358d4
add esp, 0x14
jmp 0x441624
xor esi, esi
push 0x457cf8
push ebx
push ebp
call fcn.00436be9
add esp, 0xc
test eax, eax
je 0x441644
push esi
push esi
push esi
push esi
push esi
call fcn.004358d4
add esp, 0x14
push dword [edi*8 + 0x46b294]
push ebx
push ebp
call fcn.00436be9
add esp, 0xc
test eax, eax
je 0x441666
push esi
push esi
push esi
push esi
push esi
call fcn.004358d4
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.004471f1
add esp, 0xc
jmp 0x4416ae
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.DLL_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x4416ae
cmp ebp, 0xffffffff
je 0x4416ae
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x46b294]
push dword [esi]
call fcn.00437b40
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.DLL_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x4471f1
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0043e3a5
xor ebx, ebx
cmp dword [0x46ff34], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x4472c7
push str.USER32.DLL
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x4473a7
mov esi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push 0x458e84
push edi
call esi
cmp eax, ebx
je 0x4473a7
push eax
call fcn.0043e337
mov dword [esp], 0x458e74
push edi
mov dword [0x46ff34], eax
call esi
push eax
call fcn.0043e337
mov dword [esp], 0x458e60
push edi
mov dword [0x46ff38], eax
call esi
push eax
call fcn.0043e337
mov dword [0x46ff3c], eax
lea eax, [ebp - 0xc]
push eax
call fcn.0043a32e
test eax, eax
pop ecx
pop ecx
je 0x447295
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004358d4
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x4472c7
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0043e337
cmp eax, ebx
pop ecx
mov dword [0x46ff44], eax
je 0x4472c7
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0043e337
pop ecx
mov dword [0x46ff40], eax
mov eax, dword [0x46ff40]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x44734c
cmp dword [0x46ff44], ecx
je 0x44734c
push eax
call fcn.0043e3ae
push dword [0x46ff44]
mov esi, eax
call fcn.0043e3ae
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x44734c
cmp edi, ebx
je 0x44734c
call esi
cmp eax, ebx
je 0x447319
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x447319
test byte [ebp - 0x18], 1
jne 0x44734c
lea eax, [ebp - 0x10]
push eax
call fcn.0043a365
test eax, eax
pop ecx
je 0x447334
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004358d4
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x447343
or dword [ebp + 0x10], 0x200000
jmp 0x447387
or dword [ebp + 0x10], 0x40000
jmp 0x447387
mov eax, dword [0x46ff38]
cmp eax, dword [ebp - 8]
je 0x447387
push eax
call fcn.0043e3ae
cmp eax, ebx
pop ecx
je 0x447387
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x447387
mov eax, dword [0x46ff3c]
cmp eax, dword [ebp - 8]
je 0x447387
push eax
call fcn.0043e3ae
cmp eax, ebx
pop ecx
je 0x447387
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x46ff34]
call fcn.0043e3ae
cmp eax, ebx
pop ecx
je 0x4473a7
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4473a9
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x44c890
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4523e3
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x46a860]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
xor ebx, ebx
push ebx
call fcn.0044c440
lea ecx, [esi + 0x34]
mov dword [esi], vtable.TiXmlDocument.0
mov dword [esp + 0x18], ebx
mov dword [ecx], 0x46ff60
or eax, 0xffffffff
mov dword [esi + 0x40], eax
mov dword [esi + 0x3c], eax
push ebx
push 0x45a1e0
mov byte [esp + 0x20], 1
mov dword [esi + 0x38], 4
mov byte [esi + 0x44], bl
mov byte [esi + 0x2c], bl
mov dword [esi + 0x30], ebx
call fcn.0044d820
mov dword [esi + 0x40], ebx
mov dword [esi + 0x3c], ebx
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret
Function at 0x44c920
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x452408
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x46a860]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [esp + 0x28]
test esi, esi
jne 0x44c960
push esi
push esi
push esi
push 2
call fcn.0044def0
xor al, al
jmp 0x44caea
call fcn.0044bc90
push 2
or eax, 0xffffffff
push 0
push esi
mov dword [ebx + 8], eax
mov dword [ebx + 4], eax
call fcn.0043724b
push esi
call fcn.00442d4c
push 0
push 0
push esi
mov edi, eax
call fcn.0043724b
add esp, 0x1c
test edi, edi
jg 0x44c9a7
push 0
push 0
push 0
push 0xd
mov ecx, ebx
call fcn.0044def0
xor al, al
jmp 0x44caea
mov dword [esp + 0x14], 0x46ff60
push edi
lea ecx, [esp + 0x18]
mov dword [esp + 0x24], 0
call fcn.0044d780
lea eax, [edi + 1]
push eax
call fcn.0041968a
push esi
push 1
mov ebp, eax
push edi
push ebp
mov byte [ebp], 0
call fcn.004370bb
add esp, 0x14
cmp eax, 1
je 0x44ca1d
push ebp
call fcn.004196ba
add esp, 4
push 0
push 0
push 0
push 2
mov ecx, ebx
call fcn.0044def0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x20], 0xffffffff
cmp eax, 0x46ff60
je 0x44ca16
push eax
call fcn.004196ba
add esp, 4
xor al, al
jmp 0x44caea
mov byte [edi + ebp], 0
cmp byte [ebp], 0
mov eax, ebp
mov esi, ebp
je 0x44ca92
jmp 0x44ca30
mov cl, byte [esi]
cmp cl, 0xa
jne 0x44ca50
mov ecx, esi
sub ecx, eax
add ecx, 1
push ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.0044d910
add esi, 1
mov eax, esi
jmp 0x44ca8d
cmp cl, 0xd
jne 0x44ca8a
mov ecx, esi
sub ecx, eax
test ecx, ecx
jle 0x44ca68
push ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.0044d910
push 1
lea edx, [esp + 0x2c]
push edx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], 0xa
call fcn.0044d910
cmp byte [esi + 1], 0xa
jne 0x44ca49
add esi, 2
mov eax, esi
jmp 0x44ca8d
add esi, 1
cmp byte [esi], 0
jne 0x44ca30
sub esi, eax
je 0x44caa1
push esi
push eax
lea ecx, [esp + 0x1c]
call fcn.0044d910
push ebp
call fcn.004196ba
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x18]
mov eax, dword [ebx]
mov eax, dword [eax + 8]
add esp, 4
push ecx
push 0
add edx, 8
push edx
mov ecx, ebx
call eax
cmp byte [ebx + 0x2c], 0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x20], 0xffffffff
jne 0x44ca06
cmp eax, 0x46ff60
je 0x44cae8
push eax
call fcn.004196ba
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 8
Function at 0x44f834
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x46a860]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.0044f7c9
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.004376d0
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.DLL_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x44f883
cmp dword [ebp - 0x1c], 5
jb 0x44f89b
jmp 0x44f897
cmp dword [ebp - 0x10], 1
jne 0x44f89b
cmp dword [ebp - 0x1c], 4
ja 0x44f897
jne 0x44f89b
cmp dword [ebp - 0x18], 0
jbe 0x44f89b
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x45a088
call fcn.0044f6ba
test eax, eax
jge 0x44f8bc
mov byte [0x4700d4], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00435287
add ebp, 0x78
leave
ret
Function at 0x401000
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
push str._JAVA_LAUNCHER_DEBUG
call fcn.00408d33
pop ecx
test eax, eax
je 0x401046
push str.Windows_original_main_args:_n
call fcn.00408bef
xor esi, esi
pop ecx
cmp dword [0x425628], esi
jle 0x401046
mov eax, dword [0x42562c]
push dword [eax + esi*4]
push esi
push str.wwwd_args__d____s_n
call fcn.00408bef
add esp, 0xc
inc esi
cmp esi, dword [0x425628]
jl 0x401027
call dword [sym.imp.kernel32.dll_GetCommandLineA]
push eax
call fcn.0040dec5
call fcn.0040392e
mov edi, eax
lea eax, [edi*4 + 4]
push eax
call fcn.004039b0
pop ecx
pop ecx
mov esi, eax
call fcn.00403934
xor ecx, ecx
test edi, edi
jle 0x401080
mov edx, dword [eax + ecx*8]
mov dword [esi + ecx*4], edx
inc ecx
cmp ecx, edi
jl 0x401075
mov eax, dword [0x424010]
and dword [esi + ecx*4], 0
mov ebx, eax
test eax, eax
jne 0x401091
mov ebx, dword [esi]
mov ecx, dword [0x42400c]
test ecx, ecx
jne 0x40109d
mov ecx, dword [esi]
mov eax, dword [0x425420]
push 0
push 0
push 1
test eax, eax
setne dl
movzx edx, dl
push edx
push ebx
push ecx
push 0x41c24c
push 0x41c23c
push dword [0x425424]
push 1
push eax
push 1
push esi
push edi
call fcn.00403472
add esp, 0x38
pop edi
pop esi
pop ebx
ret