joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10001743
Capabilities:
Get common file path

Disassembly:
xor eax, eax
push eax
mov eax, dword [0x10006848]
mov dword [0x10006864], eax
mov edx, dword [0x10006b08]
push edx
push edx
push 0x7fff
call fcn.10002220
lea eax, [esp + 4]
push eax
call fcn.10003ac0
push 0x7fff
mov eax, dword [esp + 4]
push eax
push 0
call sub.KERNEL32.dll_GetModuleFileNameW
mov edx, dword [0x10006b08]
push edx
push edx
mov eax, dword [esp + 8]
push eax
call fcn.10003520
push 0x1000687c
call fcn.10003ac0
mov edx, dword [0x10006b08]
push edx
push edx
push dword [0x1000687c]
call fcn.10002d2d
push 0x10006898
call fcn.10003ac0
mov edx, dword [0x10006b08]
push edx
push edx
lea eax, [0x1000606c]
push eax
push dword [0x10006898]
call fcn.10002270
push 0x10006860
call fcn.10003ac0
mov edx, dword [0x10006b08]
push edx
push edx
push 1
push dword [0x1000687c]
call fcn.10002dac
push 0x10006894
call fcn.10003ac0
push 0x7fff
mov eax, dword [esp + 4]
push eax
push dword [0x10006864]
call sub.KERNEL32.dll_GetModuleFileNameW
mov edx, dword [0x10006b08]
push edx
push edx
mov eax, dword [esp + 8]
push eax
call fcn.10003520
push 0x1000684c
call fcn.10003ac0
mov edx, dword [0x10006b08]
push edx
push edx
push dword [0x1000684c]
call fcn.10002d2d
push 0x1000686c
call fcn.10003ac0
mov edx, dword [0x10006b08]
push edx
push edx
lea eax, [0x1000606c]
push eax
push dword [0x1000686c]
call fcn.10002270
push 0x10006880
call fcn.10003ac0
mov edx, dword [0x10006b08]
push edx
push edx
push 1
push dword [0x1000684c]
call fcn.10002dac
push 0x10006854
call fcn.10003ac0
push 0x7fff
mov eax, dword [esp + 4]
push eax
call sub.KERNEL32.dll_GetWindowsDirectoryW
mov edx, dword [0x10006b08]
push edx
push edx
lea eax, [0x1000606c]
push eax
push dword [esp + 0xc]
call fcn.10002270
push 0x10006874
call fcn.10003ac0
push 0x7fff
mov eax, dword [esp + 4]
push eax
call sub.KERNEL32.dll_GetSystemDirectoryW
mov edx, dword [0x10006b08]
push edx
push edx
lea eax, [0x1000606c]
push eax
push dword [esp + 0xc]
call fcn.10002270
push 0x1000685c
call fcn.10003ac0
mov eax, dword [esp]
push eax
push 0x7fff
call sub.KERNEL32.dll_GetTempPathW
mov edx, dword [0x10006b08]
push edx
push edx
lea eax, [0x1000606c]
push eax
push dword [esp + 0xc]
call fcn.10002270
push 0x10006870
call fcn.10003ac0
xor eax, eax
push dword [esp]
call fcn.10003b40
add esp, 4
ret
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x80f004]
jne 0x40100a
repz ret
jmp fcn.00401506

Function at 0x406493
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x80f004]
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.00403a87
and dword [ebp - 0x14], 0
cmp dword [0x811da4], 0
mov dword [ebp - 0x18], eax
jne 0x406546
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4065ee
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x4065ee
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x811da4], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x811da8], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x811dac], eax
call edi
push eax
call esi
mov dword [0x811db4], eax
test eax, eax
je 0x406546
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x811db0], eax
mov eax, dword [0x811db0]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40659f
cmp dword [0x811db4], ecx
je 0x40659f
push eax
call esi
push dword [0x811db4]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40659f
test ebx, ebx
je 0x40659f
call edi
test eax, eax
je 0x406596
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x406596
test byte [ebp - 8], 1
jne 0x40659f
or dword [ebp + 0x10], 0x200000
jmp 0x4065d2
mov eax, dword [0x811da8]
cmp eax, dword [ebp - 0x18]
je 0x4065d2
push eax
call esi
test eax, eax
je 0x4065d2
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4065d2
mov eax, dword [0x811dac]
cmp eax, dword [ebp - 0x18]
je 0x4065d2
push eax
call esi
test eax, eax
je 0x4065d2
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x811da4]
call esi
test eax, eax
je 0x4065ee
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4065f0
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401000
leave
ret

Function at 0x80b460
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x810200]
sub esp, 0x10
push ebx
mov ebx, dword [0x22e3f50]
push edi
mov edi, dword [0x22e422c]
push eax
call fcn.0080b370
add esp, 4
cmp dword [0x22e422c], 0x2f
jne 0x80b4bd
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 0x10]
push edx
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
call fcn.0080b3c0
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x80b740
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
mov eax, dword [0x80f004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileSize]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
push edi
xor edi, edi
cmp dword [0x22e422c], 0x8cf
jne 0x80b776
push 0
push 0
call ebx
cmp edi, 0x845013
jne 0x80b78d
mov eax, dword [0x811020]
add eax, 0xa231
mov dword [0x22e422c], eax
cmp dword [0x22e422c], 0x141
jne 0x80b7bb
push str.leponalesiteciheyekuyoligekogize_jaxazewazuhijut_pubajotoboniwemepolegoh_kilovamihapefibomaciri_lujijosegohuwudejagilemiba
lea ecx, [ebp - 0x804]
push ecx
call esi
mov dword [0x8122c8], 0xec58acac
mov dword [0x8122cc], 0xffffffff
inc edi
cmp edi, 0xbbe2a98
jl 0x80b764
call fcn.0080b4d0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.00401000
mov esp, ebp
pop ebp
ret 0x10
Function at 0x2e01416e
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x10
mov eax, 0x2e0306d8
call fcn.2e001511
mov edi, ecx
mov dword [ebp - 0x18], edi
xor ebx, ebx
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], ebx
mov byte [edi], bl
mov dword [ebp - 4], ebx
call fcn.2e014eb5
test ax, ax
je 0x2e014216
lea eax, [ebp - 0x10]
push eax
push str.softwaremicrosoftwindows_shell_associationsurlassociationshttpuserchoice
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x2e014216
lea eax, [ebp - 0x14]
push eax
push ebx
push ebx
push ebx
push str.progid
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x2e01420d
mov eax, dword [ebp - 0x14]
inc eax
push eax
call fcn.2e01a193
mov esi, eax
pop ecx
mov dword [ebp - 0x1c], esi
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 1
push eax
push esi
push ebx
push ebx
push str.progid
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x2e014200
push esi
mov ecx, edi
call fcn.2e010e6c
push 1
push esi
mov byte [ebp - 4], bl
call fcn.2e01a193
pop ecx
pop ecx
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
call fcn.2e00155b
ret

Function at 0x2e014ca3
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x28
mov eax, 0x2e030759
call fcn.2e02e6de
mov esi, dword [ebp + 8]
xor eax, eax
mov bl, al
mov edi, dword [ebp + 0xc]
cmp dword [ecx + 0x10], eax
jbe 0x2e014da7
push ecx
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
call fcn.2e014b8d
and dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
push esi
call fcn.2e010d8f
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x30]
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push ecx
push eax
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x2e014d65
lea eax, [ebp - 0x2c]
push eax
push 0
push 0x2e033941
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
test eax, eax
jne 0x2e014d5c
mov eax, dword [ebp - 0x2c]
inc eax
push eax
call fcn.2e01a193
mov esi, eax
pop ecx
mov dword [ebp - 0x34], esi
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 1
push eax
push esi
push 0
push 0
push 0x2e033941
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x2e014d4e
push esi
mov ecx, edi
call fcn.2e010e6c
mov bl, 1
push 1
push esi
mov byte [ebp - 4], 0
call fcn.2e01a193
pop ecx
pop ecx
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x2e014da7
mov ecx, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 4], 2
cmp eax, 0x1000
jb 0x2e014d9e
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.2e01a193
mov eax, dword [ebp - 0x2c]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x34]
push eax
push ecx
call fcn.2e01a193
pop ecx
pop ecx
mov al, bl
call fcn.2e02e6bc
ret 8
Function at 0x2e014de1
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xc
mov eax, 0x2e03078d
call fcn.2e001511
lea eax, [ebp - 0x10]
xor ebx, ebx
push eax
push dword [ebp + 8]
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x2e014e1b
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x2e014e81
lea eax, [ebp - 0x14]
mov edi, 0x2e033941
push eax
push ebx
push edi
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
test eax, eax
jne 0x2e014e78
mov eax, dword [ebp - 0x14]
test eax, eax
js 0x2e014e78
inc eax
push eax
call fcn.2e01a193
mov esi, eax
pop ecx
mov dword [ebp - 0x18], esi
lea eax, [ebp - 0x14]
mov dword [ebp - 4], ebx
push eax
push esi
push ebx
push ebx
push edi
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x2e014e6a
mov ecx, dword [ebp + 0xc]
push esi
call fcn.2e010e6c
mov bl, 1
or dword [ebp - 4], 0xffffffff
push 1
push esi
call fcn.2e01a193
pop ecx
pop ecx
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
call fcn.2e00155b
ret 8
Function at 0x2e01e565
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x30
mov eax, 0x2e030a97
call fcn.2e02e6de
lea eax, [ebp - 0x2c]
xor ebx, ebx
push eax
push str.softwaremicrosoftwindows_shell_associationsurlassociationshttpuserchoice
push 0x80000001
mov edi, ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x2e01e683
lea eax, [ebp - 0x30]
push eax
push ebx
push ebx
push ebx
push str.progid
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x2e01e67a
mov eax, dword [ebp - 0x30]
inc eax
push eax
call fcn.2e01a193
mov esi, eax
pop ecx
mov dword [ebp - 0x3c], esi
lea eax, [ebp - 0x30]
mov dword [ebp - 4], ebx
push eax
push esi
push ebx
push ebx
push str.progid
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
xor ecx, ecx
inc ecx
test eax, eax
jne 0x2e01e66d
push esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], bl
call fcn.2e010e6c
push str.IE.HTTP
lea ecx, [ebp - 0x28]
call fcn.2e01a193
test al, al
jne 0x2e01e620
push ebx
push str.AppX
lea ecx, [ebp - 0x28]
call fcn.2e01a193
push 1
test eax, eax
pop edx
cmove edi, edx
jmp 0x2e01e623
xor edx, edx
inc edx
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x2e01e65d
mov ecx, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], ecx
mov byte [ebp - 4], dl
cmp eax, 0x1000
jb 0x2e01e654
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.2e01a193
mov eax, dword [ebp - 0x34]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x38]
push eax
push ecx
call fcn.2e01a193
pop ecx
pop ecx
xor ecx, ecx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], 0xf
inc ecx
mov byte [ebp - 0x28], bl
or dword [ebp - 4], 0xffffffff
push ecx
push esi
call fcn.2e01a193
pop ecx
pop ecx
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ax, di
call fcn.2e02e6bc
ret
Function at 0x40106a
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x434
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ebx
push esi
mov esi, dword [eax + 4]
mov eax, dword [0x4643f8]
mov dword [ebp - 0x30], eax
mov eax, dword [0x4643fc]
push edi
xor edi, edi
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x18], edi
call fcn.00401063
mov eax, dword [0x464400]
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x2c], eax
mov eax, dword [0x464404]
add ebx, 0x23f
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], 0x20
mov dword [ebp - 0x10], 2
add dword [ebp - 0x10], 3
mov eax, dword [ebp - 0xc]
shl eax, 4
cmp dword [0x1a54fac], 0xc
mov dword [ebp - 4], eax
jne 0x4010ef
push edi
lea eax, [ebp - 0x34]
push eax
push edi
lea eax, [ebp - 0x434]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadConsoleW]
mov eax, dword [ebp - 0x2c]
add dword [ebp - 4], eax
mov eax, dword [0x1a54fac]
cmp eax, 0xfa9
jne 0x40110b
mov dword [0x1a54fa8], 0xedeb2e40
cmp eax, 0x3eb
jne 0x40111f
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov dword [0x1a54efc], edi
mov eax, dword [ebp - 0xc]
add eax, ebx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xc]
shr eax, 5
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x24]
add dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov dword [0x1a54fa4], 0xf4ea3dee
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], edi
mov eax, dword [ebp - 0x18]
add dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
xor dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
xor dword [ebp - 8], eax
sub esi, dword [ebp - 8]
cmp dword [0x1a54fac], 0xc
mov dword [ebp - 4], eax
jne 0x401175
push edi
push edi
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, esi
shl eax, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x30]
add dword [ebp - 4], eax
mov ecx, dword [ebp - 0x10]
lea eax, [ebx + esi]
mov dword [ebp - 0x18], eax
mov eax, esi
shr eax, cl
add eax, dword [ebp - 0x28]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x18]
xor dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edi
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
xor dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
sub dword [ebp - 0xc], eax
add ebx, 0x61c88647
dec dword [ebp - 0x20]
jne 0x4010be
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
pop edi
mov dword [eax + 4], esi
pop esi
mov dword [eax], ecx
pop ebx
leave
ret 4
Function at 0x40448c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x463250]
jne 0x404496
repz ret
jmp fcn.00409bc4

Function at 0x40b1aa
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00406f5c
and dword [ebp - 4], 0
cmp dword [0x46d7a4], 0
mov ebx, eax
jne 0x40b25b
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40b30c
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40b30c
push eax
call fcn.00406eea
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x46d7a4], eax
call esi
push eax
call fcn.00406eea
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x46d7a8], eax
call esi
push eax
call fcn.00406eea
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x46d7ac], eax
call esi
push eax
call fcn.00406eea
pop ecx
mov dword [0x46d7b4], eax
test eax, eax
je 0x40b25b
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00406eea
pop ecx
mov dword [0x46d7b0], eax
mov eax, dword [0x46d7b0]
cmp eax, ebx
je 0x40b2b3
cmp dword [0x46d7b4], ebx
je 0x40b2b3
push eax
call fcn.00406f65
push dword [0x46d7b4]
mov esi, eax
call fcn.00406f65
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40b2b3
test edi, edi
je 0x40b2b3
call esi
test eax, eax
je 0x40b2aa
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40b2aa
test byte [ebp - 0xc], 1
jne 0x40b2b3
or dword [ebp + 0x10], 0x200000
jmp 0x40b2ec
mov eax, dword [0x46d7a8]
cmp eax, ebx
je 0x40b2ec
push eax
call fcn.00406f65
pop ecx
test eax, eax
je 0x40b2ec
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40b2ec
mov eax, dword [0x46d7ac]
cmp eax, ebx
je 0x40b2ec
push eax
call fcn.00406f65
pop ecx
test eax, eax
je 0x40b2ec
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x46d7a4]
call fcn.00406f65
pop ecx
test eax, eax
je 0x40b30c
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40b30e
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4446d0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
mov eax, dword [0x4ee1f0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x524324], 0
je 0x444736
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push str._s___d__:__d_n
lea eax, [ebp - 0x408]
push eax
call dword [sym.imp.MSVCR100.dll_sprintf]
add esp, 0x14
mov ecx, dword [0x524320]
push ecx
lea edx, [ebp - 0x408]
push edx
call sub.MSVCR100.dll_strlen
add esp, 4
push eax
push 1
lea eax, [ebp - 0x408]
push eax
call dword [sym.imp.MSVCR100.dll_fwrite]
add esp, 0x10
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048ca5e
mov esp, ebp
pop ebp
ret

Function at 0x444c50
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0x4b3338
cmp dword [0x51fe5c], 0
je 0x444c6f
mov eax, 0x51fe60
jmp 0x444c90
push 0x4b333c
call dword [sym.imp.MSVCR100.dll_getenv]
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x444c8d
mov eax, dword [ebp - 8]
jmp 0x444c90
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x444d00
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [0x51fe5c], 0
je 0x444d21
push 0x51fe60
push 0x5240e8
call sub.MSVCR100.dll_strcpy
add esp, 8
jmp 0x444d5d
push 0x4b3350
call dword [sym.imp.MSVCR100.dll_getenv]
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x444d4c
push 0x4b3358
push 0x5240e8
call sub.MSVCR100.dll_strcpy
add esp, 8
jmp 0x444d5d
mov eax, dword [ebp - 4]
push eax
push 0x5240e8
call sub.MSVCR100.dll_strcpy
add esp, 8
push 0x4b335c
mov ecx, dword [ebp + 8]
push ecx
call fcn.00473fe0
add esp, 8
push eax
push 0x5c
push 0x5240e8
push 0x4b3364
push 0x523ee0
call dword [sym.imp.MSVCR100.dll_sprintf]
add esp, 0x14
push 0x201
push 0x523ee0
call fcn.00468c50
add esp, 8
cmp dword [0x5242f4], 0
jne 0x444dbb
push 0x444bf0
call fcn.0048cb15
add esp, 4
mov dword [0x5242f4], 1
mov esp, ebp
pop ebp
ret
Function at 0x44b510
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x4ee1f0]
xor eax, ebp
mov dword [ebp - 4], eax
call fcn.00444cf0
test eax, eax
je 0x44b543
call fcn.00444c50
push eax
lea eax, [ebp - 0x210]
push eax
call sub.MSVCR100.dll_strcpy
add esp, 8
jmp 0x44b58c
push 0x4b3c88
call dword [sym.imp.MSVCR100.dll_getenv]
add esp, 4
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0
jne 0x44b576
push 0x4b3c90
lea ecx, [ebp - 0x210]
push ecx
call sub.MSVCR100.dll_strcpy
add esp, 8
jmp 0x44b58c
mov edx, dword [ebp - 0x214]
push edx
lea eax, [ebp - 0x210]
push eax
call sub.MSVCR100.dll_strcpy
add esp, 8
push 0x4b3c94
push 0x4b3c9c
push 0x5c
lea ecx, [ebp - 0x210]
push ecx
push 0x4b3ca4
push 0x524328
call dword [sym.imp.MSVCR100.dll_sprintf]
add esp, 0x18
mov byte [0x524528], 0
push 0x4b3cb0
push 0x524328
call dword [sym.imp.MSVCR100.dll_strcspn]
add esp, 8
mov byte [eax + 0x524328], 0
push 0x201
push 0x524328
call fcn.0044b3a0
add esp, 8
push str..lck
push str.zone
push 0x5c
lea edx, [ebp - 0x210]
push edx
push str._s_c_s_s
push 0x524530
call dword [sym.imp.MSVCR100.dll_sprintf]
add esp, 0x18
mov byte [0x524730], 0
push 0x4b3cd0
push 0x524530
call dword [sym.imp.MSVCR100.dll_strcspn]
add esp, 8
mov byte [eax + 0x524530], 0
push 0x201
push 0x524530
call fcn.0044b3a0
add esp, 8
cmp dword [0x52473c], 0
jne 0x44b65e
push 0x44b4c0
call fcn.0048cb15
add esp, 4
mov dword [0x52473c], 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048ca5e
mov esp, ebp
pop ebp
ret
Function at 0x45b390
Capabilities:
Query environment variable
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x4ee1f0]
xor eax, ebp
mov dword [ebp - 0xc], eax
push str.WNC_FFILECOPY_DEBUG
call dword [sym.imp.MSVCR100.dll_getenv]
add esp, 4
test eax, eax
je 0x45b3c8
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
push str._FFileCopy__s__s__n
call dword [sym.imp.MSVCR100.dll_printf]
add esp, 0xc
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call sub.MSVCR100.dll_strcmp
add esp, 8
test eax, eax
jne 0x45b3e6
mov eax, 1
jmp 0x45b4e1
lea ecx, [ebp - 0x40]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0045b4f0
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x45b409
mov eax, 2
jmp 0x45b4e1
push 0x4b4a40
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.MSVCR100.dll_fopen]
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x45b42e
mov eax, 3
jmp 0x45b4e1
push 0x4b4a44
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.MSVCR100.dll_fopen]
add esp, 8
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
jne 0x45b460
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.MSVCR100.dll_fclose]
add esp, 4
mov eax, 4
jmp 0x45b4e1
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.MSVCR100.dll_ftell]
add esp, 4
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 8]
push ecx
push 1
push 0x4000
push 0x524890
call dword [sym.imp.MSVCR100.dll_fread]
add esp, 0x10
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.MSVCR100.dll_ftell]
add esp, 4
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x44]
push eax
push 1
mov ecx, dword [ebp - 0x48]
sub ecx, dword [ebp - 0x4c]
push ecx
push 0x524890
call dword [sym.imp.MSVCR100.dll_fwrite]
add esp, 0x10
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.MSVCR100.dll_feof]
add esp, 4
test eax, eax
je 0x45b460
mov eax, dword [ebp - 0x44]
push eax
call dword [sym.imp.MSVCR100.dll_fclose]
add esp, 4
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.MSVCR100.dll_fclose]
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.0048ca5e
mov esp, ebp
pop ebp
ret

Function at 0x45f020
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0x1f5
mov eax, dword [ebp - 4]
sub eax, 1
cmp eax, 0x1f4
je 0x45f05f
push 0x1f4
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