joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c13ec
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff90
push ebx
xor edx, edx
mov dword [ebp - 0x70], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4c1449
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x69]
push eax
call sub.advapi32.dll_GetUserNameA
push ebx
lea eax, [ebp - 0x70]
lea edx, [ebp - 0x69]
mov ecx, 0x65
call fcn.00404a44
mov eax, dword [ebp - 0x70]
mov ecx, dword [ebp - 4]
xor edx, edx
call fcn.00404cf4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c1450
lea eax, [ebp - 0x70]
call fcn.004047d4
ret
Function at 0x5f3e29a7
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
call sym.ATL.DLL_AtlAxWinInit
mov ebx, dword [ebp + 8]
mov esi, dword [sym.imp.KERNEL32.dll_FindResourceW]
push 5
push dword [ebp + 0xc]
push ebx
call esi
push 0xf0
mov dword [ebp + 8], eax
push dword [ebp + 0xc]
push ebx
call esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, dword [sym.imp.KERNEL32.dll_LockResource]
xor ecx, ecx
mov dword [ebp - 0xc], eax
cmp eax, ecx
mov dword [ebp - 4], ecx
mov dword [ebp + 0xc], ecx
mov dword [ebp - 8], ecx
je 0x5f3e29ff
push eax
push ebx
call esi
push eax
mov dword [ebp - 4], eax
call edi
mov dword [ebp + 0xc], eax
cmp dword [ebp + 8], 0
je 0x5f3e2a4f
push dword [ebp + 8]
push ebx
call esi
push eax
mov dword [ebp + 8], eax
call edi
push dword [ebp + 0xc]
mov esi, eax
push esi
call fcn.5f3e2531
pop ecx
mov edi, eax
pop ecx
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push edi
push ebx
call dword [0x5f3ec5d0]
cmp edi, esi
mov dword [ebp - 8], eax
je 0x5f3e2a46
push edi
call dword [sym.imp.KERNEL32.dll_GlobalHandle]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [ebp + 0xc], 0
pop edi
pop esi
pop ebx
je 0x5f3e2a67
cmp dword [ebp - 0xc], 0
je 0x5f3e2a67
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp - 8]
leave
ret 0x14

Function at 0x5f3e2a6e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
call sym.ATL.DLL_AtlAxWinInit
mov ebx, dword [ebp + 8]
mov esi, dword [sym.imp.KERNEL32.dll_FindResourceA]
push 5
push dword [ebp + 0xc]
push ebx
call esi
push 0xf0
mov dword [ebp + 8], eax
push dword [ebp + 0xc]
push ebx
call esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, dword [sym.imp.KERNEL32.dll_LockResource]
xor ecx, ecx
mov dword [ebp - 0xc], eax
cmp eax, ecx
mov dword [ebp - 4], ecx
mov dword [ebp + 0xc], ecx
mov dword [ebp - 8], ecx
je 0x5f3e2ac6
push eax
push ebx
call esi
push eax
mov dword [ebp - 4], eax
call edi
mov dword [ebp + 0xc], eax
cmp dword [ebp + 8], 0
je 0x5f3e2b16
push dword [ebp + 8]
push ebx
call esi
push eax
mov dword [ebp + 8], eax
call edi
push dword [ebp + 0xc]
mov esi, eax
push esi
call fcn.5f3e2531
pop ecx
mov edi, eax
pop ecx
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push edi
push ebx
call dword [0x5f3ec5cc]
cmp edi, esi
mov dword [ebp - 8], eax
je 0x5f3e2b0d
push edi
call dword [sym.imp.KERNEL32.dll_GlobalHandle]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [ebp + 0xc], 0
pop edi
pop esi
pop ebx
je 0x5f3e2b2e
cmp dword [ebp - 0xc], 0
je 0x5f3e2b2e
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp - 8]
leave
ret 0x14
Function at 0x5f3e303e
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push dword [ebp + 0xc]
mov esi, ecx
push dword [ebp + 8]
mov dword [esi + 0x70], 0x5f3ec0b8
mov dword [0x5f3ec6c0], esi
mov dword [esi], 0x84
push esi
mov dword [esi + 0x64], 0x300
call sym.ATL.DLL_AtlModuleInit
xor ebx, ebx
cmp dword [ebp + 0x10], ebx
je 0x5f3e3087
push 0x10
push dword [ebp + 0x10]
push 0x5f3ec6b0
call fcn.5f3e9010
add esp, 0xc
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_HeapCreate]
mov dword [esi + 0x18], eax
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x10]
cmp eax, 1
jbe 0x5f3e30f5
or dword [esi + 0x74], 0xffffffff
add eax, eax
xor ecx, ecx
test eax, 0x80000000
jne 0x5f3e30bf
shr dword [esi + 0x74], 1
shl eax, 1
inc ecx
cmp ecx, 0x20
jl 0x5f3e30ad
shr dword [esi + 0x74], 1
mov eax, dword [esi + 0x74]
push edi
lea eax, [eax*4 + 4]
push eax
push ebx
push dword [esi + 0x18]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [esi + 0x78], eax
xor edi, edi
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_HeapCreate]
mov ecx, dword [esi + 0x78]
mov dword [ecx + edi*4], eax
inc edi
cmp edi, dword [esi + 0x74]
jbe 0x5f3e30dd
pop edi
jmp 0x5f3e30fb
mov dword [esi + 0x78], ebx
mov dword [esi + 0x74], ebx
pop esi
xor eax, eax
pop ebx
leave
ret 0xc
Function at 0x5f3e683c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetACP]
xor ebx, ebx
mov dword [ebp - 4], eax
cmp dword [ebp + 8], ebx
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], ebx
jne 0x5f3e6861
xor esi, esi
jmp 0x5f3e6891
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edi, [eax + eax + 2]
mov eax, edi
add eax, 3
and al, 0xfc
call fcn.5f3e8f30
mov esi, esp
push ebx
push ebx
push edi
push esi
push 0xffffffffffffffff
push dword [ebp + 8]
mov byte [esi], bl
push ebx
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push 2
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov edi, eax
cmp edi, ebx
mov dword [ebp - 4], edi
jne 0x5f3e68cc
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
je 0x5f3e68c5
call esi
mov esi, eax
and esi, 0xffff
or esi, 0x80070000
jmp 0x5f3e6961
xor esi, esi
jmp 0x5f3e6961
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
cmp esi, ebx
jne 0x5f3e68ef
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
jne 0x5f3e6902
xor esi, esi
jmp 0x5f3e6958
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
cmp edi, ebx
mov dword [ebp + 8], edi
jne 0x5f3e6914
jmp 0x5f3e68df
call esi
mov esi, eax
and esi, 0xffff
or esi, 0x80070000
jmp 0x5f3e6958
push esi
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
mov eax, dword [ebp + 8]
cmp byte [esi + eax], bl
je 0x5f3e694a
lea eax, [esi + 1]
add eax, 3
and al, 0xfc
call fcn.5f3e8f30
lea eax, [esi + 1]
mov edi, esp
push eax
push dword [ebp + 8]
push edi
call fcn.5f3e9010
add esp, 0xc
mov byte [edi + esi], bl
push dword [ebp + 0x14]
lea ecx, [ebp - 0xc]
push edi
call fcn.5f3e6ce9
mov esi, eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea esp, [ebp - 0x18]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x5f3e6be1
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetACP]
xor ebx, ebx
mov dword [ebp - 4], eax
cmp dword [ebp + 8], ebx
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x10], ebx
jne 0x5f3e6c06
xor esi, esi
jmp 0x5f3e6c36
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edi, [eax + eax + 2]
mov eax, edi
add eax, 3
and al, 0xfc
call fcn.5f3e8f30
mov esi, esp
push ebx
push ebx
push edi
push esi
push 0xffffffffffffffff
push dword [ebp + 8]
mov byte [esi], bl
push ebx
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push ebx
push 1
push 3
push ebx
push ebx
push 0x80000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
jne 0x5f3e6c6f
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
je 0x5f3e6c6b
call esi
and eax, 0xffff
or eax, 0x80070000
jmp 0x5f3e6cdf
xor eax, eax
jmp 0x5f3e6cdf
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
lea eax, [esi + 1]
add eax, 3
and al, 0xfc
call fcn.5f3e8f30
mov edi, esp
lea eax, [ebp - 8]
push ebx
push eax
push esi
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x5f3e6cc0
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
je 0x5f3e6cba
call esi
mov esi, eax
and esi, 0xffff
or esi, 0x80070000
jmp 0x5f3e6cbc
xor esi, esi
cmp esi, ebx
jl 0x5f3e6cd4
push dword [ebp + 0xc]
mov eax, dword [ebp - 8]
lea ecx, [ebp - 0x10]
push edi
mov byte [eax + edi], bl
call fcn.5f3e6ce9
mov esi, eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
lea esp, [ebp - 0x1c]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x402860
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00402890
add esp, 0xc
push 1
call dword [sym.imp.MSVCR100.dll_exit]
pop ebp
ret
Function at 0x41e000
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push eax
push 1
push 0xc
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.MSVCR100.dll_fwrite]
add esp, 0x10
cmp eax, 1
je 0x41e022
or eax, 0xffffffff
jmp 0x41e024
xor eax, eax
pop ebp
ret

Function at 0x41e360
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push eax
push 1
push 0xc
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.MSVCR100.dll_fwrite]
add esp, 0x10
cmp eax, 1
je 0x41e382
or eax, 0xffffffff
jmp 0x41e384
xor eax, eax
pop ebp
ret

Function at 0x41e670
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push eax
push 0x48cc50
call dword [sym.imp.MSVCR100.dll___iob_func]
add eax, 0x20
push eax
call dword [sym.imp.MSVCR100.dll_fprintf]
add esp, 0xc
push 1
call dword [sym.imp.MSVCR100.dll_exit]
pop ebp
ret
Function at 0x428410
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x49f3b0]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x28], ecx
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 8]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0x28]
mov eax, dword [edx]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx + 4]
mov dword [ebp - 4], edx
mov dword [ebp - 0x20], 0
cmp dword [ebp + 8], 0
jne 0x42844f
or eax, 0xffffffff
jmp 0x4284c3
mov eax, dword [ebp + 8]
push eax
push 2
push 4
lea ecx, [ebp - 8]
push ecx
call dword [sym.imp.MSVCR100.dll_fwrite]
add esp, 0x10
cmp eax, 2
je 0x42846e
or eax, 0xffffffff
jmp 0x4284c3
cmp dword [ebp - 0xc], 0
je 0x4284c1
lea edx, [ebp - 0x24]
push edx
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, dword [ebp - 0xc]
call fcn.00429d90
fild dword [ebp - 0x24]
fstp dword [ebp - 0x14]
mov edx, dword [ebp + 8]
push edx
push 3
push 4
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.MSVCR100.dll_fwrite]
add esp, 0x10
cmp eax, 3
je 0x4284ad
or eax, 0xffffffff
jmp 0x4284c3
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 4]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x20]
add eax, 1
mov dword [ebp - 0x20], eax
jmp 0x42846e
xor eax, eax
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046f7be
mov esp, ebp
pop ebp
ret 4

Function at 0x4284e0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x49f3b0]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp - 0x24]
call fcn.00427d50
mov eax, dword [ebp + 8]
push eax
push 2
push 4
lea ecx, [ebp - 8]
push ecx
call dword [sym.imp.MSVCR100.dll_fread]
add esp, 0x10
cmp eax, 2
je 0x42851a
or eax, 0xffffffff
jmp 0x428585
mov edx, dword [ebp - 8]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 4]
mov dword [eax + 4], ecx
mov dword [ebp - 0x20], 0
jmp 0x42853b
mov edx, dword [ebp - 0x20]
add edx, 1
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x1c]
jge 0x428583
mov ecx, dword [ebp + 8]
push ecx
push 3
push 4
lea edx, [ebp - 0x18]
push edx
call dword [sym.imp.MSVCR100.dll_fread]
add esp, 0x10
cmp eax, 3
je 0x428562
or eax, 0xffffffff
jmp 0x428585
fld dword [ebp - 0x10]
call fcn.0046f820
push eax
push ecx
fld dword [ebp - 0x14]
fstp dword [esp]
push ecx
fld dword [ebp - 0x18]
fstp dword [esp]
mov ecx, dword [ebp - 0x24]
call fcn.00427dd0
jmp 0x428532
xor eax, eax
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.0046f7be
mov esp, ebp
pop ebp
ret 4
Function at 0x429590
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x49f3b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x48d458]
mov dword [ebp - 0x208], eax
mov ecx, dword [0x48d45c]
mov dword [ebp - 0x204], ecx
mov edx, dword [0x48d460]
mov dword [ebp - 0x200], edx
mov ax, word [0x48d464]
mov word [ebp - 0x1fc], ax
mov cl, byte [0x48d466]
mov byte [ebp - 0x1fa], cl
push 0x1f1
push 0
lea edx, [ebp - 0x1f9]
push edx
call sub.MSVCR100.dll_memset
add esp, 0xc
push 0x200
lea eax, [ebp - 0x208]
push eax
call fcn.00449b40
add esp, 8
mov dword [ebp - 0x210], eax
cmp dword [ebp - 0x210], 0
je 0x42961c
xor eax, eax
jmp 0x429684
push 0x48d468
lea ecx, [ebp - 0x208]
push ecx
call dword [sym.imp.MSVCR100.dll_fopen]
add esp, 8
mov dword [ebp - 0x20c], eax
cmp dword [ebp - 0x20c], 0
jne 0x429644
xor eax, eax
jmp 0x429684
mov edx, dword [ebp + 8]
mov dword [edx], 0
mov eax, dword [ebp - 0x20c]
push eax
push 1
push 4
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.MSVCR100.dll_fread]
add esp, 0x10
cmp eax, 1
je 0x42967e
mov edx, dword [ebp - 0x20c]
push edx
call dword [sym.imp.MSVCR100.dll_fclose]
add esp, 4
xor eax, eax
jmp 0x429684
mov eax, dword [ebp - 0x20c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046f7be
mov esp, ebp
pop ebp
ret
Function at 0x429890
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x49f3b0]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
call fcn.00429000
cmp dword [ebp + 0xc], 0
jne 0x4298b8
or eax, 0xffffffff
jmp 0x4299ab
mov ecx, dword [ebp + 0xc]
push ecx
push 3
push 4
lea edx, [ebp - 0x14]
push edx
call dword [sym.imp.MSVCR100.dll_fread]
add esp, 0x10
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 3
je 0x4298e0
mov eax, 1
jmp 0x4299ab
fld dword [ebp - 0x14]
call fcn.0046f820
mov dword [ebp - 0x24], eax
fld dword [ebp - 0x10]
call fcn.0046f820
mov dword [ebp - 4], eax
fld dword [ebp - 0xc]
fstp dword [ebp - 0x1c]
push ecx
fld dword [ebp - 0x1c]
fstp dword [esp]
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp + 8]
mov ecx, dword [edx]
call fcn.004290f0
call fcn.00428720
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x20]
call fcn.004284e0
test eax, eax
je 0x42993c
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx]
call fcn.00429000
or eax, 0xffffffff
jmp 0x4299ab
lea edx, [ebp - 0x20]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
call fcn.00429160
mov dword [ebp - 0x28], 1
jmp 0x42995c
mov ecx, dword [ebp - 0x28]
add ecx, 1
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x28]
cmp edx, dword [ebp - 4]
jge 0x42999b
call fcn.00428720
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x20]
call fcn.004284e0
test eax, eax
je 0x42998b
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx]
call fcn.00429000
or eax, 0xffffffff
jmp 0x4299ab
lea edx, [ebp - 0x20]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
call fcn.00429120
jmp 0x429953
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 8]
mov ecx, dword [edx]
call fcn.00429190
xor eax, eax
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0046f7be
mov esp, ebp
pop ebp
ret
Function at 0x445850
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0x191
mov eax, dword [ebp - 4]
sub eax, 1
cmp eax, 0x190
je 0x44588f
push 0x190
mov ecx, dword [ebp - 4]
sub ecx, 1
push ecx
push str._RCSfile:_outilparutils.cxx_v__
push str.file__s_:_internal_error__size_mismatch:_._noutilpar.inc_size_d__dtbmax.inc_size_d_nAborting._n
call dword [sym.imp.MSVCR100.dll_printf]
add esp, 0x10
push 0xffffffffffffffff
call dword [sym.imp.MSVCR100.dll_exit]
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x4472c0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 8]
push eax
call fcn.00446db0
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4472e5
mov eax, 0xfffffff5
jmp 0x447419
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x320]
and edx, 1
jne 0x4472fd
mov eax, 0xfffffff4
jmp 0x447419
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x320]
shr ecx, 2
and ecx, 1
je 0x44732b
mov edx, dword [ebp - 4]
push edx
call fcn.00447590
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x44732b
mov eax, dword [ebp - 8]
jmp 0x447419
mov eax, dword [ebp - 4]
movsx ecx, byte [eax + 4]
cmp ecx, 1
je 0x44739a
push 0
push 0
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xc]
push eax
call dword [sym.imp.MSVCR100.dll_fseek]
add esp, 0xc
mov ecx, dword [ebp - 4]
push ecx
call fcn.00447040
add esp, 4
mov edx, dword [ebp - 4]
movsx eax, byte [edx + 0x2ab]
test eax, eax
je 0x44739a
mov ecx, dword [ebp - 4]
movsx edx, byte [ecx + 0x2aa]
test edx, edx
jne 0x44739a
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
push ecx
push 1
mov edx, dword [ebp - 4]
movsx eax, word [edx + 0x316]
push eax
mov ecx, dword [ebp - 4]
add ecx, 0x2d0
push ecx
call dword [sym.imp.MSVCR100.dll_fwrite]
add esp, 0x10
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xc]
push eax
call dword [sym.imp.MSVCR100.dll_fclose]
add esp, 4
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x2c4], 0
je 0x4473d6
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x2c4]
push eax
call dword [sym.imp.MSVCR100.dll_free]
add esp, 4
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x2c4], 0
mov edx, dword [ebp - 4]
cmp dword [edx + 0x2cc], 0
je 0x447402
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x2cc]
push ecx
call dword [sym.imp.MSVCR100.dll_free]
add esp, 4
mov edx, dword [ebp - 4]
mov dword [edx + 0x2cc], 0
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x320]
and ecx, 0xfffffffe
mov edx, dword [ebp - 4]
mov dword [edx + 0x320], ecx
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x447560
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 0xc]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.MSVCR100.dll_fwrite]
add esp, 0x10
pop ebp
ret
Function at 0x4496f0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push str.WNC_BUFFER_TOO_SMALL_OPTION
call dword [sym.imp.MSVCR100.dll_getenv]
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x449732
push str.crash
mov eax, dword [ebp - 4]
push eax
call sub.MSVCR100.dll_strcmp
add esp, 8
test eax, eax
jne 0x449732
mov dword [ebp - 8], 0
mov ecx, dword [ebp - 8]
mov dword [ecx], 1
mov esp, ebp
pop ebp
ret

Function at 0x44c6b0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push 0x492a64
mov eax, dword [ebp + 8]
push eax
call sub.MSVCR100.dll_strcmp
add esp, 8
test eax, eax
jne 0x44c6d5
call fcn.0044ce10
jmp 0x44c7ba
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.MSVCR100.dll_getenv]
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x44c6f3
mov eax, dword [ebp - 4]
jmp 0x44c7ba
cmp dword [0x4c15f0], 0
jne 0x44c701
call fcn.0044c7c0
push 0x492a68
mov edx, dword [0x4c15f0]
push edx
call fcn.0044aac0
add esp, 8
mov word [ebp - 8], ax
movsx eax, word [ebp - 8]
test eax, eax
jge 0x44c728
xor eax, eax
jmp 0x44c7ba
mov ecx, dword [ebp + 8]
push ecx
movzx edx, word [ebp - 8]
push edx
mov eax, dword [0x4c15f0]
push eax
call fcn.0044b180
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x44c7b7
mov ecx, dword [ebp - 4]
mov dword [ebp - 0xc], ecx
jmp 0x44c759
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
movsx ecx, byte [eax]
test ecx, ecx
je 0x44c765
jmp 0x44c750
mov edx, dword [ebp - 0xc]
sub edx, 1
mov dword [ebp - 0xc], edx
jmp 0x44c779
mov eax, dword [ebp - 0xc]
sub eax, 1
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [ebp - 4]
jb 0x44c798
mov edx, dword [ebp - 0xc]
movsx eax, byte [edx]
cmp eax, 0x20
jg 0x44c798
mov ecx, dword [ebp - 0xc]
movsx edx, byte [ecx]
test edx, edx
jl 0x44c798
jmp 0x44c770
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
movsx edx, byte [ecx]
test edx, edx
je 0x44c7b7
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
mov byte [ecx], 0
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x44d330
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0x492a6c
mov eax, dword [ebp + 0xc]
push eax
call sub.MSVCR100.dll_strcmp
add esp, 8
test eax, eax
jne 0x44d372
push str.WNCTMPDIR
call dword [sym.imp.MSVCR100.dll_getenv]
add esp, 4
test eax, eax
je 0x44d370
push str.from_environment_variable_WNCTMPDIR
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.MSVCR100.dll_sprintf]
add esp, 8
xor eax, eax
jmp 0x44d3b0
jmp 0x44d399
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.MSVCR100.dll_getenv]
add esp, 4
test eax, eax
je 0x44d399
push str.from_environment
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.MSVCR100.dll_sprintf]
add esp, 8
xor eax, eax
jmp 0x44d3b0
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [0x4c15f0]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0044aa30
add esp, 0xc
pop ebp
ret

Function at 0x44d430
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x198
mov eax, dword [0x49f3b0]
xor eax, ebp
mov dword [ebp - 0xc], eax
cmp dword [ebp + 8], 0
jne 0x44d450
xor eax, eax
jmp 0x44d588
mov eax, dword [ebp + 8]
push eax
push 0x492ab8
lea ecx, [ebp - 0x190]
push ecx
call dword [sym.imp.MSVCR100.dll_sprintf]
add esp, 0xc
lea edx, [ebp - 0x190]
push edx
call dword [sym.imp.MSVCR100.dll_getenv]
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x44d48a
mov eax, dword [ebp - 4]
jmp 0x44d588
cmp dword [0x4c15f0], 0
jne 0x44d498
call fcn.0044c7c0
push str.path
mov eax, dword [0x4c15f0]
push eax
call fcn.0044aac0
add esp, 8
mov word [ebp - 8], ax
movsx ecx, word [ebp - 8]
test ecx, ecx
jge 0x44d4be
xor eax, eax
jmp 0x44d588
mov edx, dword [ebp + 8]
push edx
movzx eax, word [ebp - 8]
push eax
mov ecx, dword [0x4c15f0]
push ecx
call fcn.0044b180
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x44d585
mov edx, dword [ebp - 4]
mov dword [ebp - 0x194], edx
jmp 0x44d4fd
mov eax, dword [ebp - 0x194]
add eax, 1
mov dword [ebp - 0x194], eax
mov ecx, dword [ebp - 0x194]
movsx edx, byte [ecx]
test edx, edx
je 0x44d50c
jmp 0x44d4ee
mov eax, dword [ebp - 0x194]
sub eax, 1
mov dword [ebp - 0x194], eax
jmp 0x44d52c
mov ecx, dword [ebp - 0x194]
sub ecx, 1
mov dword [ebp - 0x194], ecx
mov edx, dword [ebp - 0x194]
cmp edx, dword [ebp - 4]
jb 0x44d554
mov eax, dword [ebp - 0x194]
movsx ecx, byte [eax]
cmp ecx, 0x20
jg 0x44d554
mov edx, dword [ebp - 0x194]
movsx eax, byte [edx]
test eax, eax
jl 0x44d554
jmp 0x44d51d
mov ecx, dword [ebp - 0x194]
add ecx, 1
mov dword [ebp - 0x194], ecx
mov edx, dword [ebp - 0x194]
movsx eax, byte [edx]
test eax, eax
je 0x44d585
mov ecx, dword [ebp - 0x194]
mov dword [ebp - 0x198], ecx
mov edx, dword [ebp - 0x198]
mov byte [edx], 0
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.0046f7be
mov esp, ebp
pop ebp
ret