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

Disassembly:
cmp dword [edi], 0
push esi
jne 0x42e632
cmp dword [edi + 4], 0xffffffff
jne 0x42e632
lea esi, [edi + 0x244]
push esi
push 0x103
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov eax, esi
lea edx, [eax + 2]
jmp 0x42e5c0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42e5c0
sub eax, edx
sar eax, 1
movzx ecx, word [edi + eax*2 + 0x242]
cmp cx, 0x5c
je 0x42e5f7
cmp cx, 0x2f
je 0x42e5f7
mov word [edi + eax*2 + 0x244], 0x2f
mov word [edi + eax*2 + 0x246], 0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
push eax
push ecx
lea esi, [esp + 0x14]
call fcn.0042d580
add esp, 8
test eax, eax
jne 0x42e619
mov eax, dword [esp + 0xc]
pop esi
ret 8
call fcn.0042d960
mov dword [edi], eax
neg eax
sbb eax, eax
and eax, 0xfffffe00
add eax, 0x200
pop esi
ret 8
mov eax, 0x1000000
pop esi
ret 8

Function at 0x42eea0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x45b396
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x478354]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, dword [esp + 0x20]
xor ebx, ebx
mov eax, 0xf
mov dword [esi + 0x28], eax
mov dword [esi + 0x24], ebx
mov byte [esi + 0x14], bl
lea edi, [esi + 0x30]
mov dword [esp + 0x18], ebx
mov dword [edi + 0x18], eax
mov dword [edi + 0x14], ebx
mov byte [edi + 4], bl
mov byte [esp + 0x18], 1
push ebx
mov dword [esi], 1
call fcn.0043c122
add esp, 4
push 0xffffffffffffffff
mov dword [esi + 8], eax
mov dword [esi + 0xc], edx
mov eax, dword [0x47deac]
push ebx
push 0x47deb4
mov ecx, edi
mov dword [esi + 0x2c], eax
call fcn.00405fd0
mov ecx, dword [0x47deb0]
mov dword [esi + 0x4c], ecx
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret 4

Function at 0x42ef40
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x45b7b9
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x478354]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov edi, dword [esp + 0x40]
lea esi, [edi + 0x10]
xor ebx, ebx
mov eax, 0xf
mov dword [esi + 0x18], eax
mov dword [esi + 0x14], ebx
mov byte [esi + 4], bl
lea ebp, [edi + 0x2c]
mov dword [esp + 0x38], ebx
mov dword [ebp + 0x18], eax
mov dword [ebp + 0x14], ebx
mov byte [ebp + 4], bl
mov dword [edi + 0x60], eax
mov dword [edi + 0x5c], ebx
mov byte [edi + 0x4c], bl
mov byte [esp + 0x38], 2
push ebx
mov dword [edi], 1
call fcn.0043c122
add esp, 4
push 4
push str.lock
mov ecx, esi
mov dword [edi + 8], eax
mov dword [edi + 0xc], edx
call fcn.004056b0
mov eax, dword [0x47deac]
push eax
lea esi, [esp + 0x18]
call fcn.0042f170
add esp, 4
push 0xffffffffffffffff
push ebx
push eax
mov ecx, ebp
mov byte [esp + 0x44], 3
call fcn.00405fd0
cmp dword [esp + 0x2c], 0x10
jb 0x42eff5
mov ecx, dword [esp + 0x18]
push ecx
call fcn.0043bef7
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 4
Function at 0x42f1f0
Capabilities:
Get file size
Read file on windows

Disassembly:
push ecx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
push 0
mov edi, eax
lea eax, [esp + 0xc]
push eax
push 0
push 0
push esi
mov dword [esp + 0x1c], 0
call ebp
test eax, eax
je 0x42f26f
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
test eax, eax
je 0x42f26f
mov ecx, dword [edi + 0x14]
cmp eax, ecx
ja 0x42f235
push 0xffffffffffffffff
push eax
mov ecx, edi
call fcn.00406600
jmp 0x42f23e
push 0
sub eax, ecx
call fcn.00405f30
mov eax, dword [edi + 0x14]
push 0
lea ecx, [esp + 0xc]
push ecx
push eax
mov eax, edi
mov dword [esp + 0x14], 0
call fcn.004057b0
push eax
push esi
call ebp
test eax, eax
je 0x42f26f
mov edx, dword [edi + 0x14]
cmp edx, dword [esp + 8]
jne 0x42f26f
pop edi
mov al, 1
pop ebp
pop ecx
ret
pop edi
xor al, al
pop ebp
pop ecx
ret

Function at 0x42f280
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x45c0f8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
mov eax, dword [0x478354]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x40]
xor ebx, ebx
mov dword [esp + 0x1c], ebx
cmp dword [esp + 0x3c], 0x10
mov eax, dword [esp + 0x28]
jae 0x42f2bd
lea eax, [esp + 0x28]
push 0xbb8
push eax
call dword [sym.imp.KERNEL32.dll_WaitNamedPipeA]
test eax, eax
je 0x42f338
cmp dword [esp + 0x3c], 0x10
mov eax, dword [esp + 0x28]
jae 0x42f2dc
lea eax, [esp + 0x28]
push ebx
push 0x80
push 3
push ebx
push 3
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x42f338
mov eax, dword [edi + 0x14]
push ebx
lea ecx, [esp + 0x14]
push ecx
push eax
mov eax, edi
mov dword [esp + 0x1c], ebx
call fcn.004057b0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x42f331
mov edx, dword [edi + 0x14]
cmp edx, dword [esp + 0x10]
jne 0x42f331
mov eax, ebp
call fcn.0042f1f0
test al, al
je 0x42f331
mov bl, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x3c], 0x10
jb 0x42f34c
mov eax, dword [esp + 0x28]
push eax
call fcn.0043bef7
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x430970
Capabilities:
Create thread

Disassembly:
push ebx
push 0
xor bl, bl
call fcn.0043c122
push eax
call fcn.0043c0f3
add esp, 8
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
test eax, eax
mov dword [esi], eax
je 0x4309b6
push 0
push 0
push eax
push 0x430650
push 0
push 0
call fcn.0043bc73
add esp, 0x18
mov dword [esi + 4], eax
test eax, eax
mov al, 1
jne 0x4309b8
mov al, bl
pop ebx
ret

Function at 0x4339b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x45d6b8
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push ebx
push esi
push edi
mov eax, dword [0x478354]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
mov eax, dword [esi]
mov edx, dword [eax + 4]
lea ecx, [esp + 0x13]
push ecx
push 0x47b438
push str.InsertLineBreaks
mov ecx, esi
call edx
test al, al
mov bl, byte [esp + 0x13]
jne 0x433a03
mov bl, 1
mov eax, dword [esi]
mov edx, dword [eax + 4]
lea ecx, [esp + 0x14]
push ecx
push 0x47b444
push str.MaxLineLength
mov ecx, esi
call edx
test al, al
mov eax, dword [esp + 0x14]
jne 0x433a28
mov eax, 0x48
test bl, bl
mov esi, 0x467adc
jne 0x433a36
mov esi, 0x463cd3
neg bl
mov dword [esp + 0x20], 6
mov dword [esp + 0x14], str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
sbb ebx, ebx
and ebx, eax
lea eax, [esp + 0x54]
mov dword [esp + 0x18], ebx
mov ebx, dword [edi + 0x44]
push eax
call fcn.00430b50
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x3c]
push ecx
mov dword [esp + 0x7c], 0
call fcn.00430b50
mov esi, eax
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x34]
push eax
mov ecx, str.EncodingLookupArray
mov byte [esp + 0x80], 1
call fcn.00433bd0
add esp, 8
mov byte [esp + 0x78], 2
movzx ecx, byte [eax + 8]
push ecx
push str.PaddingByte
mov edi, eax
call fcn.00433d20
movzx edx, byte [eax + 8]
push edx
lea ecx, [esp + 0x1c]
push ecx
push str.GroupSize
mov edi, eax
call fcn.00416650
movzx edx, byte [eax + 8]
push edx
push esi
push str.Separator
mov edi, eax
call fcn.00416590
movzx ecx, byte [eax + 8]
mov edx, dword [esp + 0x1c]
push ecx
push edx
push str.Terminator
mov edi, eax
call fcn.00416590
push 1
lea ecx, [esp + 0x24]
push ecx
push str.Log2Base
mov edi, eax
call fcn.00416650
mov edx, dword [ebp + 8]
mov dword [esp + 0x28], edx
mov dword [esp + 0x24], vtable.CryptoPP::CombinedNameValuePairs.0
mov dword [esp + 0x2c], eax
mov eax, dword [ebx]
mov edx, dword [eax + 0x28]
push 0xffffffffffffffff
lea ecx, [esp + 0x28]
push ecx
mov ecx, ebx
call edx
mov byte [esp + 0x78], 1
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x433b33
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov edi, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
mov edx, edi
xor al, al
push edx
rep stosb byte es:[edi], al
call fcn.0043c93b
mov edi, dword [esp + 0x6c]
mov ecx, dword [esp + 0x68]
mov edx, edi
xor al, al
push edx
rep stosb byte es:[edi], al
call fcn.0043c93b
add esp, 8
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x433bd0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x45d0b1
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x478354]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x2c]
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], vtable.CryptoPP::AlgorithmParameters.0
mov dword [esp + 0x14], 0
mov byte [esp + 0x18], 1
mov eax, dword [esp + 0x30]
push eax
push ecx
lea edi, [esp + 0x18]
mov dword [esp + 0x2c], 1
call fcn.00433c70
push eax
push esi
call fcn.00431270
mov byte [esp + 0x24], 0
mov ecx, dword [esp + 0x14]
test ecx, ecx
mov dword [esp + 0xc], 1
je 0x433c51
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x1c
ret

Function at 0x433fe0
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
mov esi, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x1c]
mov edx, edi
xor eax, eax
shr edx, 2
je 0x434024
mov edi, ebx
sub esi, ecx
mov eax, ecx
sub edi, ecx
mov dword [esp + 0xc], edx
push ebp
mov ebp, dword [esi + eax]
xor ebp, dword [eax]
add eax, 4
sub edx, 1
mov dword [edi + eax - 4], ebp
jne 0x434006
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
pop ebp
add eax, eax
add eax, eax
sub edi, eax
je 0x434051
add ebx, eax
add esi, eax
add ecx, eax
test edi, edi
jbe 0x434051
mov edx, esi
mov esi, ebx
sub edx, ecx
mov eax, ecx
sub esi, ecx
mov cl, byte [eax + edx]
xor cl, byte [eax]
add eax, 1
sub edi, 1
mov byte [eax + esi - 1], cl
jne 0x434040
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x436aa0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x45d038
mov eax, dword fs:[0]
push eax
mov eax, dword [0x478354]
xor eax, esp
push eax
lea eax, [esp + 4]
mov dword fs:[0], eax
mov eax, dword [esp + 0x14]
mov dword [eax + 0xc], ecx
xor ecx, ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
or edx, 0xffffffff
mov dword [eax], vtable.CryptoPP::FilterWithBufferedInput.1.0
mov dword [eax + 4], vtable.CryptoPP::FilterWithBufferedInput.0
mov dword [eax + 0x18], edx
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x20], edx
mov byte [eax + 0x24], cl
mov dword [eax + 0x2c], ecx
mov dword [eax + 0x30], ecx
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
pop ecx
add esp, 0xc
ret 4

Function at 0x437dd0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x45d0b1
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x478354]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x2c]
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], vtable.CryptoPP::AlgorithmParameters.0
test dword [esi], eax

Function at 0x438710
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x45d8e0
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x478354]
xor eax, esp
mov dword [esp + 0x30], eax
push esi
mov eax, dword [0x478354]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, dword [ecx]
xor edx, edx
push 1
push 0x479aac
push edx
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], edx
push eax
lea edx, [esp + 0x1c]
mov dword [esp + 0x34], eax
push edx
mov edx, dword [esi + 0x80]
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0x2c], vtable.CryptoPP::ArraySink.0
mov dword [esp + 0x30], vtable.CryptoPP::ArraySink.1.0
call edx
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.0043b82a
mov esp, ebp
pop ebp
ret 8
Function at 0x438b80
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x45d8b0
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x478354]
xor eax, esp
mov dword [esp + 0x2c], eax
mov eax, dword [0x478354]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0xc]
xor edx, edx
push 1
mov dword [esp + 0x20], eax
mov dword [esp + 8], eax
push 0x479aac
lea eax, [esp + 0xc]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], edx
mov dword [esp + 0x10], edx
mov edx, dword [ecx]
mov edx, dword [edx + 0x7c]
push eax
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x1c], vtable.CryptoPP::ArraySink.0
mov dword [esp + 0x20], vtable.CryptoPP::ArraySink.1.0
call edx
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.0043b82a
mov esp, ebp
pop ebp
ret 8

Function at 0x43b82a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x478354]
jne 0x43b834
repz ret
jmp fcn.0043de09
Function at 0x444314
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 + 0x478d08]
je 0x44432f
inc edi
cmp edi, 0x17
jb 0x444320
cmp edi, 0x17
jae 0x4444af
push ebp
push 3
call fcn.00451c78
cmp eax, 1
pop ecx
je 0x44447b
push 3
call fcn.00451c78
test eax, eax
pop ecx
jne 0x444363
cmp dword [0x478350], 1
je 0x44447b
cmp ebx, 0xfc
je 0x4444ae
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x47c608
push ebp
call fcn.0043e8d8
add esp, 0xc
test eax, eax
je 0x444399
push esi
push esi
push esi
push esi
push esi
call fcn.0043bd2b
add esp, 0x14
push 0x104
mov esi, 0x47c621
push esi
push 0
mov byte [0x47c725], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4443dd
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.0043e8d8
add esp, 0xc
test eax, eax
je 0x4443dd
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.0043bd2b
add esp, 0x14
push esi
call fcn.0043e940
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x444422
push esi
call fcn.0043e940
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x47c91c
push 0x461b9c
sub ecx, eax
push ecx
push eax
call fcn.0044f896
add esp, 0x14
test eax, eax
je 0x444422
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.0043bd2b
add esp, 0x14
jmp 0x444424
xor esi, esi
push 0x461b98
push ebx
push ebp
call fcn.0044f825
add esp, 0xc
test eax, eax
je 0x444444
push esi
push esi
push esi
push esi
push esi
call fcn.0043bd2b
add esp, 0x14
push dword [edi*8 + 0x478d0c]
push ebx
push ebp
call fcn.0044f825
add esp, 0xc
test eax, eax
je 0x444466
push esi
push esi
push esi
push esi
push esi
call fcn.0043bd2b
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.00451abb
add esp, 0xc
jmp 0x4444ae
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x4444ae
cmp ebp, 0xffffffff
je 0x4444ae
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x478d0c]
push dword [esi]
call fcn.0043e940
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 0x451abb
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0043eaa5
xor ebx, ebx
cmp dword [0x47caac], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x451b91
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x451c71
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x451c71
push eax
call fcn.0043ea37
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x47caac], eax
call esi
push eax
call fcn.0043ea37
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x47cab0], eax
call esi
push eax
call fcn.0043ea37
mov dword [0x47cab4], eax
lea eax, [ebp - 0xc]
push eax
call fcn.0043f214
test eax, eax
pop ecx
pop ecx
je 0x451b5f
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0043bd2b
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x451b91
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0043ea37
cmp eax, ebx
pop ecx
mov dword [0x47cabc], eax
je 0x451b91
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0043ea37
pop ecx
mov dword [0x47cab8], eax
mov eax, dword [0x47cab8]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x451c16
cmp dword [0x47cabc], ecx
je 0x451c16
push eax
call fcn.0043eaae
push dword [0x47cabc]
mov esi, eax
call fcn.0043eaae
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x451c16
cmp edi, ebx
je 0x451c16
call esi
cmp eax, ebx
je 0x451be3
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x451be3
test byte [ebp - 0x18], 1
jne 0x451c16
lea eax, [ebp - 0x10]
push eax
call fcn.0043f24b
test eax, eax
pop ecx
je 0x451bfe
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0043bd2b
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x451c0d
or dword [ebp + 0x10], 0x200000
jmp 0x451c51
or dword [ebp + 0x10], 0x40000
jmp 0x451c51
mov eax, dword [0x47cab0]
cmp eax, dword [ebp - 8]
je 0x451c51
push eax
call fcn.0043eaae
cmp eax, ebx
pop ecx
je 0x451c51
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x451c51
mov eax, dword [0x47cab4]
cmp eax, dword [ebp - 8]
je 0x451c51
push eax
call fcn.0043eaae
cmp eax, ebx
pop ecx
je 0x451c51
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x47caac]
call fcn.0043eaae
cmp eax, ebx
pop ecx
je 0x451c71
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x451c73
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x5d0922
Capabilities:
Encrypt data using aes

Disassembly:
movzx esi, byte [eax + 1]
pushal
jmp 0x5d0959
shl edx, 8
xchg ebp, edi
jmp 0x5d09b8
xor edx, esi
movzx esi, byte [eax + 2]
jmp 0x5d0943
pop edi
mov di, word [esp]
xchg bh, bl
shr di, 0xc
jmp 0x5d09ec
push edi
mov edi, eax
add edi, 3
movzx esi, byte [edi]
jmp 0x5d0982
xor edx, esi
mov ebx, ecx
setb bh
cmc
jmp 0x5d0998
xor edx, esi
neg si
sub esp, 0xb
lea esp, [esp + 3]
jmp 0x6038a4
shl edx, 8
setb bl
mov ebp, edi
mov ebx, eax
neg ebx
jmp 0x5d09c2
shl edx, 8
jmp 0x6038b1
mov dword [ecx], edx
movzx edx, byte [eax + 4]
pushal
movzx esi, byte [eax + 5]
jmp 0x60388e
xor edx, esi
jmp 0x6038f1
push ebp
jmp 0x603912
movzx esi, byte [eax + 6]
shl edx, 8
xor edx, esi
jmp 0x6038db
lea ebp, [ebp + 7]
movzx esi, byte [ebp]
pop ebp
jmp 0x60391f
pushal
pushfd
mov dword [esp + 0xc], eax
lea esp, [esp + 4]
popal
jmp 0x6038fc
shl edx, 8
xor edx, esi
mov dword [ecx + 4], edx
jmp 0x60392d
movzx edx, byte [eax + 8]
jmp 0x60398e
movzx esi, byte [eax + 0xb]
jmp 0x603977
movzx esi, byte [eax + 0xa]
shl edx, 8
xor edx, esi
jmp 0x603956
shl edx, 8
jmp 0x603ae2
movzx esi, byte [eax + 9]
shl edx, 8
xor edx, esi
jmp 0x60396c
movzx esi, byte [eax + 0xd]
jmp 0x603a91
lea ebx, [ebx + 8]
mov dword [ebx], edx
pop ebx
movzx edx, byte [eax + 0xc]
jmp 0x603999
shl edx, 8
jmp 0x603a55
movzx eax, byte [eax + 0xf]
shl edx, 8
xor edx, esi
jmp 0x6039bb
lea ebx, [ebx + 0x5dbb08]
mov eax, dword [ebx]
pop ebx
jmp 0x6039fe
push ebx
mov ebx, eax
lea ebx, [ebx*4]
jmp 0x6039dc
lea esp, [esp + 0x4c]
xor eax, 0x1000000
not di
xchg di, bx
sub esp, 7
jmp 0x603a29
shr eax, 0x10
mov esi, 0xff
and eax, esi
jmp 0x6039f2
push dword [esp + 2]
lea esp, [esp + 3]
mov edi, edx
mov ebx, dword [esp]
jmp 0x603a74
and edi, esi
mov edi, dword [edi*4 + 0x5dbb08]
shl bl, 4
neg ebp
jmp 0x603a5e
xor edx, eax
mov dword [ecx + 0xc], edx
mov eax, edx
jmp 0x603a1d
lea esp, [esp + 8]
and edi, 0xff0000
mov bp, word [esp]
jmp 0x603ab5
shr edi, 8
mov ebp, edx
mov bp, dx
jmp 0x603a38
shl edx, 8
xor edx, esi
movzx esi, byte [eax + 0xe]
jmp 0x6039d1
mov ebx, dword [ecx + 4]
mov bp, 0x9e2b
and eax, 0xff000000
call 0x603a9f
xor eax, edi
xchg edi, ebp
not edi
mov edi, edx
jmp 0x603b13
xor edx, esi
push ebx
mov ebx, ecx
jmp 0x6039af
lea ebp, [eax + esi]
mov ebp, eax
mov ebp, eax
and edi, esi
jmp 0x603b29
shr edi, 0x18
btc bp, si
neg ebp
movzx edi, byte [edi*4 + 0x5dbb08]
call fcn.00603aec
mov edi, dword [edi*4 + 0x5dbb08]
mov ebp, 0x55a51826
mov ebp, esi
call fcn.00603af9
jbe 0x603b38
mov ebp, 0x76ffffff
cli
push 0x5444fa0f
fisttp word [edi + 0x2a]
fldenv [esi]
mov dl, 0x8d
push 0x66c733a2
mov ebp, 0xfa8bb44f
jmp 0x603aee
Function at 0x5e36af
Capabilities:
Execute anti-debugging instructions

Disassembly:
lea ecx, [ecx - 0x80]
jmp 0x5e36d9
mov dx, 0xdff0
rdtsc
mov bl, byte [esp]
mov ebx, ebp
rdtsc
xchg dword [esp + 0xc], ecx
jmp 0x5e3853
bswap ebx
mov edx, dword [esp]
mov ax, word [esp]
not bl
mov ax, word [esp]
push dword [esp + 0xc]
ret 0x10

Function at 0x5e3705
Capabilities:
Execute anti-debugging instructions

Disassembly:
lea eax, [esi + edi]
jmp 0x5e3774
pop ebx
rol ebp, 0
jmp 0x5e37ab
bsr dx, dx
neg ax
btr edx, edi
or ebx, ebp
inc eax
mov ax, 0x5698
jmp 0x5e377a
cmc
je 0x5e3751
pop ebx
jmp 0x5e3752
rdtsc
lea eax, [ebx*4]
jmp 0x5e37cc
btr edx, edi
or ebx, ebp
inc eax
jmp 0x5e3768
jg 0x5e375b
bsr dx, dx
neg ax
jmp 0x5e3790
xchg bx, ax
mov ax, 0x73e2
mov ax, 0x901b
bsr dx, ax
jmp 0x5e3801
rol ebp, 0
jae 0x5e37b6
xchg bx, ax
jmp 0x5e381b
inc ebp
dec dx
jp 0x5e3829
shr ax, cl
btr ebx, eax
push esp
rdtsc
bswap ebx
jmp 0x5e3897
mov ax, 0x73e2
mov ax, 0x901b
bsr dx, ax
jmp 0x5e3801
shr ax, cl
jmp 0x5e3832
btr ebx, eax
push esp
rdtsc
jmp 0x5e3895
sub ebp, 0x72cd64e7
neg dx
jno 0x5e3869
mov ah, dl
jmp 0x5e3874
mov ah, dl
bsr edx, eax
jmp 0x5e38b9
bsr edx, eax
mov bl, byte [esp]
mov ax, di
lea ebx, [ecx*4]
jmp 0x5e38a3
bswap ebx
push bx
lea esp, [esp + 2]
lea esp, [esp + 4]
jmp 0x5e383a
inc ebp
neg edx
jge 0x5e38c8
jl 0x5e38c8
mov esi, 0x30c1a630
and byte [eax + 0x37c4bd2d], 0x81
mov esp, 0x1c8a168f
and al, 0x66
mov eax, edi
mov bl, byte [esp]
mov ax, di
lea ebx, [ecx*4]
jmp 0x5e38a3
call 0x5e3996
jmp 0x5e395c
call fcn.005e43b4
adc cl, byte [edx + eax - 0x7bae6b9b]
sbb dword [ecx - 0x754e418], ecx
invalid
lea eax, [0x69f7af8f]
lea ebx, [ebp + 0x88aa]
jmp 0x5e396e
add ebp, dword [esi]
xchg ebx, eax
mov ebx, edi
cmc
jle 0x5e392c
jg fcn.005e390b
ja 0x5e394a
jo 0x5e3981
loop 0x5e3993
mov dword [0x1c8d4bda], eax
sub cl, byte [ebp - 0x137cfe93]
pop es
dec ebx
lea ebx, [edx + ebp]
lea ebp, [ebp + 1]
sub esp, 7
bsr eax, ebx
mov byte [esp + 3], dl
jmp 0x5e3a11
add byte [eax], al
add byte [ebx - 0x29], al
inc edi
and dl, cl
sbb eax, 0xb9de48db
dec eax
lea esp, [ebp - 0x6c]
pop es
scasb al, byte es:[edi]
mov ecx, 0xb30f6698
bnd jbe 0x5e38cd
ja 0x5e395c
mov eax, dword [esp]
push dword [esp + 4]
ret 8
add esp, 1
lea esp, [esp + 2]
xchg dword [esp + 4], ebp
mov ebx, ecx
lea eax, [0xa612dc40]
dec ax
jmp 0x5e39b8