joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402ac0
Capabilities:
Get file size
Move file
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4e0
mov eax, dword [0x41b010]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x41c388], 0
push esi
mov esi, dword [ebp + 8]
je 0x402cbd
lea eax, [ebp - 0x454]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [ebp - 0x446]
push eax
movzx eax, word [ebp - 0x448]
push eax
movzx eax, word [ebp - 0x44a]
push eax
movzx eax, word [ebp - 0x44c]
push eax
movzx eax, word [ebp - 0x44e]
push eax
movzx eax, word [ebp - 0x452]
push eax
movzx eax, word [ebp - 0x454]
push eax
push str._d__02d__02d__02d:_02d:_02d._03d
lea eax, [ebp - 0x44]
push 0x40
push eax
call fcn.00404359
push esi
lea eax, [ebp - 0x44]
push eax
push str._s:___s
push dword [0x41c388]
call fcn.004040be
push dword [0x41c388]
call fcn.00403ea8
mov eax, dword [0x41f160]
add esp, 0x3c
mov ecx, eax
inc eax
mov dword [0x41f160], eax
cmp ecx, 0x64
jle 0x402cbd
push dword [0x41c388]
mov dword [0x41f160], 0
call fcn.00403d7e
push 0x4141e0
push 0x41c5b0
push str._s_s.log
lea eax, [ebp - 0x144]
push 0x100
push eax
call fcn.00404359
add esp, 0x18
lea eax, [ebp - 0x4dc]
push 0
push eax
lea eax, [ebp - 0x144]
push eax
call dword [sym.imp.KERNEL32.dll_OpenFile]
mov esi, eax
cmp esi, 0xffffffff
je 0x402ccc
push edi
lea eax, [ebp - 0x4e0]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, 0xffffffff
je 0x402cf3
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp edi, 0x989680
jbe 0x402ca3
mov esi, 9
lea ecx, [ecx]
lea edi, [esi - 1]
lea eax, [ebp - 0x344]
test edi, edi
jne 0x402c2c
push 0x4141e0
push 0x41c5b0
push str._s_s.log
push 0x100
push eax
call fcn.00404359
add esp, 0x14
jmp 0x402c4a
push edi
push 0x4141e0
push 0x41c5b0
push str._s_s__03d.log
push 0x100
push eax
call fcn.00404359
add esp, 0x18
push esi
push 0x4141e0
push 0x41c5b0
push str._s_s__03d.log
lea eax, [ebp - 0x244]
push 0x100
push eax
call fcn.00404359
add esp, 0x18
cmp esi, 9
jne 0x402c82
lea eax, [ebp - 0x244]
push eax
call fcn.004041d0
add esp, 4
lea eax, [ebp - 0x244]
push eax
lea eax, [ebp - 0x344]
push eax
call fcn.00404212
mov esi, edi
add esp, 8
cmp esi, 1
jge 0x402c00
lea eax, [ebp - 0x144]
push 0x414248
push eax
call fcn.004040a9
add esp, 8
mov dword [0x41c388], eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00404375
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x144]
push eax
push str.Error:_OpenFile:_log_filename:__s_n
lea eax, [ebp - 0x444]
push 0x100
push eax
call fcn.00404359
add esp, 0x10
push 0xffffffffffffffff
call fcn.00403b83
push 0xffffffffffffffff
call fcn.00403b83
int3
Function at 0x402d00
Capabilities:
Set current directory
Terminate process

Disassembly:
push 0x41c3a8
push str.ROOT
call fcn.00402020
add esp, 8
cmp byte [0x41c3a9], 0x3a
jne 0x402d2f
push 0x41c3a8
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
test eax, eax
jne 0x402d64
jmp 0x402dbf
cmp byte [0x41c386], 0
je 0x402e19
push str.C:Program_FilesRetia
call fcn.00401b50
push 0xff
push str.C:Program_FilesRetia
push 0x41c3a8
call fcn.004036c0
add esp, 0x10
mov byte [0x41c4a7], 0
push 0x41c3a8
push str._slog
push 0x104
push 0x41c5b0
call fcn.00404359
push 0x41c5b0
call fcn.00401b50
push 0x41c5b0
call fcn.00402a30
push 0x41c4a8
push str.Dir001
call fcn.00402020
push 0x41c4a8
call fcn.00401b50
add esp, 0x24
push 0x41c3a8
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
test eax, eax
jne 0x402dbe
jmp 0x402dec
ret
push 0x41c3a8
push str.Error:_nelze_nastavit_pracovni_adresar:__s_n
push 0x2400
push 0x41c6b8
call fcn.00404359
push 0x41c6b8
call fcn.00402ac0
add esp, 0x14
push 0xffffffffffffffff
call fcn.00403b83
push 0x41c3a8
push str.Error:_nelze_nastavit_pracovni_adresar:__s_n
push 0x2400
push 0x41c6b8
call fcn.00404359
push 0x41c6b8
call fcn.00402ac0
add esp, 0x14
push 0xffffffffffffffff
call fcn.00403b83
push str.Error:_cesta_v_registrech_neni_nastavena__program_patrne_nebyl_instalovan_n
push 0x2400
push 0x41c6b8
call fcn.00404359
push 0x41c6b8
call fcn.00402ac0
add esp, 0x10
push 0xffffffffffffffff
call fcn.00403b83
int3
Function at 0x402e50
Capabilities:
Create process on windows
Create process suspended
Create thread
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x458
mov eax, dword [0x41b010]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
imul esi, eax, 0x224
add esi, 0x41eae8
cmp dword [esi + 0x21c], 0
je 0x402e8b
cmp dword [esi + 0x20c], 4
jne 0x402e9f
inc dword [0x41eae0]
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00404375
mov esp, ebp
pop ebp
ret
push 0
push esi
call fcn.00402420
push 0x41c3a8
mov dword [esi + 0x20c], 2
call fcn.00403bb4
add esp, 0xc
test eax, eax
jne 0x402fef
push edi
push 0x44
push eax
lea eax, [ebp - 0x458]
push eax
call fcn.00404910
add esp, 0xc
mov dword [ebp - 0x458], 0x44
lea eax, [ebp - 0x414]
xorps xmm0, xmm0
lea edi, [esi + 4]
movdqu xmmword [ebp - 0x414], xmm0
push eax
lea eax, [ebp - 0x458]
push eax
push 0
push 0
push 0x80
push 0
push 0
push 0
push edi
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x402f54
push edi
push str.Error:_startProcess:__ProcName:_s__CreateProcess
push 0x41c6b8
call fcn.004042d5
add esp, 0xc
push 0x41c6b8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00401990
add esp, 8
xor eax, eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00404375
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x414]
mov dword [esi], eax
lea eax, [esi + 0x210]
push eax
push 0
push esi
push 0x402490
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, eax
mov dword [esi + 0x214], ecx
test ecx, ecx
je 0x40301b
mov eax, dword [0x41eae0]
push 0xffffffffffffffff
push dword [0x41eae4]
mov dword [eax*4 + 0x41f154], ecx
inc eax
mov dword [0x41eae0], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0xffffffff
jne 0x402fda
push str.startProcess:_WaitForSingleObject
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00401990
add esp, 8
mov dword [esi + 0x20c], 0xfffffffe
xor eax, eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00404375
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
xor ecx, ebp
pop esi
call fcn.00404375
mov esp, ebp
pop ebp
ret
push 0x41c3a8
lea eax, [ebp - 0x404]
push str.Error:_startProcess:_nemohu_nastavit_adresar:_s__patrne_neexistuje__n
push eax
call fcn.004042d5
lea eax, [ebp - 0x404]
push eax
call fcn.00402ac0
add esp, 0x10
push 1
call fcn.00403b83
push str.startProcess:_CreateThread
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00401990
lea eax, [ebp - 0x404]
push str.Error:_startProcess:_CreateThread:__sluzbu_se_nepovede_spustit__n
push eax
call fcn.004042d5
add esp, 0x10
push 1
call fcn.00403b83
int3
Function at 0x40ded5
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41b010]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00406798
mov dword [ebp - 0x14], eax
cmp dword [0x41fed4], esi
jne 0x40dfc8
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40df55
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40e0a8
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40e0a8
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40e0a8
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x41fed4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x41fed8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x41fedc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x41fee4], eax
test eax, eax
je 0x40dfc5
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x41fee0], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40dfed
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40dfe0
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40e002
push 4
pop eax
jmp 0x40e0aa
cmp dword [ebp - 0x14], esi
je 0x40e002
push dword [0x41fed4]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40dfe7
mov eax, dword [0x41fee0]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40e060
cmp dword [0x41fee4], edi
je 0x40e060
push eax
call ebx
push dword [0x41fee4]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40e060
test eax, eax
je 0x40e060
call ecx
test eax, eax
je 0x40e055
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x40e055
test byte [ebp - 8], 1
jne 0x40e060
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40e090
mov eax, dword [0x41fed8]
cmp eax, edi
je 0x40e08d
push eax
call ebx
test eax, eax
je 0x40e08d
call eax
mov esi, eax
test esi, esi
je 0x40e08d
mov eax, dword [0x41fedc]
cmp eax, edi
je 0x40e08d
push eax
call ebx
test eax, eax
je 0x40e08d
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x41fed4]
call ebx
test eax, eax
je 0x40e0a8
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40e0aa
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00404375
mov esp, ebp
pop ebp
ret
Function at 0x4035ac
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x475008], 0x8088405
inc edx
mov dword [ebx + 0x475008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x41d1c0
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push ebp
mov esi, dword [ebp - 4]
mov edi, dword [ebp - 8]
cld
mov dl, 0x80
mov al, byte [esi]
add esi, 1
mov byte [edi], al
add edi, 1
mov ebx, 2
add dl, dl
jne 0x41d1f1
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41d1d9
add dl, dl
jne 0x41d1fc
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41d24d
xor eax, eax
add dl, dl
jne 0x41d209
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41d2ea
add dl, dl
jne 0x41d218
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41d223
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41d22e
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41d239
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x41d243
mov ebx, edi
sub ebx, eax
mov al, byte [ebx]
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x41d1e8
mov eax, 1
add dl, dl
jne 0x41d25b
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41d266
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41d252
sub eax, ebx
mov ebx, 1
jne 0x41d299
mov ecx, 1
add dl, dl
jne 0x41d27f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x41d28a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41d276
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x41d1e8
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x41d2b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x41d2bb
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41d2a7
cmp eax, 0x7d00
sbb ecx, 0xffffffff
cmp eax, 0x500
sbb ecx, 0xffffffff
cmp eax, 0x80
adc ecx, 0
cmp eax, 0x80
adc ecx, 0
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x41d1e8
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x41d30b
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x41d1e8
pop ebp
sub edi, dword [ebp - 8]
mov dword [ebp - 0xc], edi
pop edi
pop esi
pop ebx
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x41f31c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, edx
xor edx, edx
push ebp
push 0x45880a
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
mov dword [ebp - 8], edx
mov esi, ebx
xor ecx, ecx
cmp byte [eax + 0x6a], 0
je 0x41f36b
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, dword [esi + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov edx, dword [eax + 0x88]
test edx, edx
je 0x41f38a
mov ecx, edx
add ecx, ebx
jmp 0x41f38a
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, dword [esi + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov edx, dword [eax + 0x78]
test edx, edx
je 0x41f38a
mov ecx, edx
add ecx, ebx
test ecx, ecx
je 0x41f3fc
mov esi, dword [ecx + 0x18]
mov eax, dword [ecx + 0x1c]
add eax, ebx
mov dword [ebp - 0x10], eax
mov edi, dword [ecx + 0x20]
add edi, ebx
mov eax, dword [ecx + 0x24]
add eax, ebx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
cmp eax, 0xffff
jbe 0x41f3e5
test esi, esi
jbe 0x41f3fc
mov eax, dword [edi]
add eax, ebx
mov edx, dword [ebp - 4]
call fcn.004088f4
test eax, eax
jne 0x41f3d7
mov eax, dword [ebp - 0xc]
movzx eax, word [eax]
shl eax, 2
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
jmp 0x41f3fc
add dword [ebp - 0xc], 2
add edi, 4
dec esi
test esi, esi
ja 0x41f3b4
jmp 0x41f3fc
mov edx, eax
sub edx, dword [ecx + 0x10]
cmp edx, dword [ecx + 0x14]
jae 0x41f3fc
mov eax, edx
shl eax, 2
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x458811
ret
Function at 0x420568
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov word [ebp - 4], cx
mov byte [ebp - 1], dl
xor eax, eax
push ebp
push 0x459b83
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
call fcn.00404cd0
xor ebx, ebx
mov eax, ebx
and eax, 0x80000001
jns 0x4205a3
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
jne 0x4205bc
lea eax, [ebp - 0x10]
mov edx, dword [0x4775f0]
mov edx, dword [edx]
mov edx, dword [edx + 0xc]
call fcn.00404d30
jmp 0x4205cf
lea eax, [ebp - 0x10]
mov edx, dword [0x4775f0]
mov edx, dword [edx]
mov edx, dword [edx + 0x10]
call fcn.00404d30
lea eax, [ebp - 0x10]
mov edx, ebx
sar edx, 1
jns 0x4205db
adc edx, 0
mov edx, dword [edx*4 + 0x4763fc]
call fcn.00404f20
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp - 0x10]
call fcn.00404f04
push eax
call fcn.00406b1c
mov esi, eax
cmp esi, 0xffffffff
je 0x420755
mov eax, 0x40
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0x40
push edi
push esi
call fcn.00406d8c
test eax, eax
je 0x420748
mov eax, edi
cmp word [eax], 0x5a4d
jne 0x420748
push 0
push 0
mov eax, dword [eax + 0x3c]
push eax
push esi
call fcn.00406dec
mov eax, edi
call fcn.00403288
mov eax, 0x18
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0x18
push edi
push esi
call fcn.00406d8c
test eax, eax
je 0x420748
mov eax, edi
cmp dword [eax], 0x4550
jne 0x420748
add eax, 4
mov dword [ebp - 0xc], eax
cmp byte [ebp - 1], 0
je 0x4206e6
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x8664
jne 0x4206e6
mov eax, edi
call fcn.00403288
mov eax, 0xf0
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0xf0
push edi
push esi
call fcn.00406d8c
test eax, eax
je 0x4206e6
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 4]
jne 0x4206e6
mov eax, dword [eax + 0x10]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
call fcn.00404d0c
cmp byte [ebp - 1], 0
jne 0x420748
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x14c
jb 0x420748
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x150
ja 0x420748
mov eax, edi
call fcn.00403288
mov eax, 0xe0
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0xe0
push edi
push esi
call fcn.00406d8c
test eax, eax
je 0x420748
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 4]
jne 0x420748
mov eax, dword [eax + 0x10]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
call fcn.00404d0c
mov eax, edi
call fcn.00403288
push esi
call fcn.00406ad4
mov eax, dword [ebp + 8]
mov eax, dword [eax]
xor edx, edx
call fcn.0040502c
jne 0x42076d
inc ebx
cmp ebx, 0x19
jne 0x420595
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x459b8a
lea eax, [ebp - 0x10]
call fcn.00404cd0
ret
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
nop
nop
nop
pop edi
cmp eax, 0
nop
nop
nop
nop
nop
nop
nop
je 0x42e072
mov ebx, 0x407ef8
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x19230006
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x42e060
nop
nop
nop
mov eax, section..data
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x42e0d2
nop
nop
nop
mov ebx, 0x42cd70
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x1f5c4aa0
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
loop 0x42e0c0
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x40b100
Capabilities:
Decompress data using quicklz

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x40b2ce
sub esp, 0x38
mov eax, dword [esp + 0x3c]
cmp eax, 0x7000000
jle 0x40b12b
mov eax, 0x7000000
jmp 0x40b133
test eax, eax
je 0x40b2a9
mov dword [esp + 0x14], eax
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0x18]
mov edx, dword [ecx + 0x94]
mov ebx, dword [ecx + 0x98]
mov dword [ecx + 0x94], ebx
mov ebp, edx
shl edx, 0x11
xor edx, ebp
mov ebp, ebx
xor ebx, edx
shr edx, 7
xor edx, ebx
mov ebx, ebp
shr ebp, 0x10
xor ebp, edx
mov dword [ecx + 0x98], ebp
lea ecx, [ebp + ebx]
shr ecx, 6
inc ecx
mov dword [esp], ecx
call fcn.0045b710
movsd xmm0, qword [esp + 4]
movsd qword [esp + 0x28], xmm0
mov eax, dword [esp + 0x2c]
mov ecx, eax
shr eax, 0x14
and eax, 0x7ff
mov edx, eax
add eax, 0xfffffc01
mov ebx, ecx
shr ecx, 0xf
and ecx, 0x1f
mov ebp, ecx
add ecx, 1
mov esi, 0
adc esi, 0
shl ebx, 5
mov edi, dword [esp + 0x28]
shr edi, 0x1b
or edi, ebx
lea ebx, [0x518e80]
movsd xmm0, qword [ebx + ebp*8]
test esi, esi
jne 0x40b2c1
cmp ecx, 0x21
jae 0x40b2b5
movsd qword [esp + 0x18], xmm0
mov dword [esp + 0x10], edi
add edx, 0xfffffc01
mov edx, 0xffffffff
adc edx, 0
movsd xmm0, qword [ebx + ecx*8]
movsd qword [esp + 0x20], xmm0
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00456900
movsd xmm0, qword [esp + 8]
movsd qword [esp + 0x30], xmm0
mov dword [esp + 4], 0
mov eax, dword [esp + 0x10]
and eax, 0xfffff
mov dword [esp], eax
call fcn.004569d0
movsd xmm0, qword [esp + 0x30]
movsd xmm1, qword [esp + 0x18]
addsd xmm0, xmm1
movsd xmm2, qword [esp + 0x20]
subsd xmm2, xmm1
movsd xmm1, qword [esp + 8]
mulsd xmm1, xmm2
movsd xmm2, qword [0x4bc7c0]
mulsd xmm2, xmm1
addsd xmm0, xmm2
movsd xmm1, qword [0x4bc828]
subsd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm0, xmm1
jbe 0x40b284
xorps xmm0, xmm0
mov eax, dword [esp + 0x14]
cvtsi2sd xmm1, eax
movsd xmm2, qword [0x4bc870]
mulsd xmm1, xmm2
mulsd xmm0, xmm1
cvttsd2si eax, xmm0
inc eax
mov dword [esp + 0x40], eax
add esp, 0x38
ret
mov dword [esp + 0x40], 0
add esp, 0x38
ret
mov eax, ecx
mov ecx, 0x21
call fcn.0045b7f0
mov eax, ecx
mov ecx, 0x21
call fcn.0045b880
nop
call fcn.0045a360
jmp fcn.0040b100
Function at 0x4125f0
Capabilities:
Check for software breakpoints

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x412814
sub esp, 0x18
mov eax, dword [0x54ac08]
test eax, eax
jne 0x4127fd
nop
lea eax, [0x54abf4]
mov dword [esp], eax
call fcn.00408ef0
mov eax, dword [0x54abf8]
test eax, eax
je 0x412639
cmp dword [eax + 8], 0xcc
jne 0x4126af
mov edx, dword [0x54abec]
test edx, edx
jne 0x412691
mov dword [esp], 0x1000
mov dword [esp + 4], 0
lea eax, [0x54d430]
mov dword [esp + 8], eax
call fcn.0040b2e0
mov eax, dword [esp + 0xc]
mov dword [0x54abec], eax
mov ecx, dword [0x54abb0]
mov dword [eax], ecx
mov eax, dword [0x54abec]
mov dword [0x54abb0], eax
movzx eax, byte [0x54b0a0]
test al, al
jne 0x412691
xor eax, eax
jmp 0x4127a9
mov edx, dword [0x54abec]
mov ebx, dword [edx + 4]
mov dword [0x54abec], ebx
mov ebx, dword [0x54abf8]
mov dword [edx + 4], ebx
mov dword [0x54abf8], edx
mov edx, dword [0x54abf8]
mov eax, dword [edx + 8]
cmp eax, 0xcc
jae 0x412791
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], eax
lea eax, [edx + 8]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00402130
mov eax, dword [esp + 0x10]
lea eax, [eax + eax*4]
mov ecx, dword [esp + 0x14]
lea edi, [ecx + eax*4 + 0x10]
mov edx, dword [0x54ada0]
lea ebx, [ecx + eax*4 + 0x1c]
lea ebp, [ecx + eax*4 + 0x20]
lea esi, [ecx + eax*4 + 0x14]
test edx, edx
jne 0x41270d
mov edx, dword [esp + 0x20]
mov dword [ecx + eax*4 + 0x10], edx
jmp 0x41271a
mov edx, eax
mov eax, dword [esp + 0x20]
call fcn.0045b760
mov eax, edx
mov edx, dword [esp + 0x24]
mov dword [ecx + eax*4 + 0x18], edx
mov edx, dword [0x54ada0]
test edx, edx
jne 0x412746
mov edx, dword [esp + 0x28]
mov dword [ecx + eax*4 + 0x1c], edx
mov edx, dword [esp + 0x2c]
mov dword [ecx + eax*4 + 0x20], edx
mov edx, dword [esp + 0x1c]
mov dword [ecx + eax*4 + 0x14], edx
jmp 0x412767
mov edi, ebx
mov eax, dword [esp + 0x28]
call fcn.0045b760
mov edi, ebp
mov eax, dword [esp + 0x2c]
call fcn.0045b760
mov edi, esi
mov eax, dword [esp + 0x1c]
call fcn.0045b760
nop
lea eax, [0x54abf4]
mov dword [esp], eax
call fcn.004090f0
nop
lea eax, [0x54abf0]
mov dword [esp], eax
mov dword [esp + 4], 8
call fcn.00402290
add esp, 0x18
ret
mov ecx, 0xcc
call fcn.0045b7f0
lea esi, [0x54b0a0]
xchg ebp, eax
mov byte [esi + ebx], al
xchg ebp, eax
lea eax, [ebx + 1]
cmp eax, 0x80
jge 0x412691
mov ecx, eax
mov eax, 0xcccccccd
imul ecx
add edx, ecx
sar edx, 2
mov eax, ecx
sar ecx, 0x1f
sub edx, ecx
lea edx, [edx + edx*4]
mov ebx, eax
sub eax, edx
cmp eax, 5
jae 0x4127f3
lea edx, [0x5152f4]
movzx ebp, byte [edx + eax]
cmp ebx, 0x80
jb 0x41279b
mov eax, ebx
mov ecx, pe_nt_image_headers32
call fcn.0045b7e0
mov ecx, 5
call fcn.0045b7e0
lea eax, [0x49ad80]
mov dword [esp], eax
mov dword [esp + 4], 0x18
call fcn.004333e0
nop
call fcn.0045a360
jmp fcn.004125f0