joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4555c0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
mov eax, dword [esp + 0x18]
push ebx
push ebp
push esi
push edi
push eax
call fcn.00459d10
mov esi, dword [esp + 0x38]
mov ebx, eax
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
add esp, 4
xor ebp, ebp
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x10], ebp
test ebx, ebx
je 0x455710
test ecx, ecx
je 0x455710
inc ecx
push ecx
call fcn.004676ec
mov ebp, eax
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x5c
mov edx, ecx
mov esi, edi
mov edi, ebp
push ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.0045bdf0
mov edi, eax
add esp, 0xc
test edi, edi
je 0x455639
mov byte [edi], 0
inc edi
lea eax, [esp + 0x1c]
push eax
push ebp
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x4556fd
push 0x400
mov dword [esp + 0x18], 0x400
mov dword [esp + 0x1c], 1
call fcn.004676ec
add esp, 4
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [esp + 0x14]
mov esi, eax
mov eax, dword [esp + 0x1c]
push ecx
lea edx, [esp + 0x1c]
push esi
push edx
push 0
push edi
push eax
call ebx
test eax, eax
je 0x4556c1
cmp eax, 0xea
jne 0x4556e9
push esi
call fcn.00467715
mov ecx, dword [esp + 0x18]
push ecx
call fcn.004676ec
mov ecx, dword [esp + 0x24]
add esp, 8
lea edx, [esp + 0x14]
mov esi, eax
push edx
lea eax, [esp + 0x1c]
push esi
push eax
push 0
push edi
push ecx
call ebx
test eax, eax
jne 0x45568c
mov eax, dword [esp + 0x18]
cmp eax, 1
je 0x4556cf
cmp eax, 2
jne 0x4556e9
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push esi
call fcn.00459c80
add esp, 8
mov dword [esp + 0x10], eax
push esi
call fcn.00467715
mov edx, dword [esp + 0x20]
add esp, 4
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebp
call fcn.00467715
mov eax, dword [esp + 0x14]
add esp, 4
test eax, eax
jne 0x45573e
mov ebp, eax
mov eax, dword [esp + 0x48]
test eax, eax
je 0x45574a
mov edx, dword [esp + 0x40]
test edx, edx
je 0x45574a
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
call fcn.00459c80
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x455810
Capabilities:
Set registry value

Disassembly:
mov eax, dword [esp + 0x28]
sub esp, 0x18
push ebx
push ebp
xor ebx, ebx
xor ebp, ebp
cmp eax, 0x80000301
push edi
ja 0x455890
je 0x455881
cmp eax, 0x80000101
ja 0x45587a
je 0x455881
cmp eax, reloc.WS2_32.dll_connect
je 0x45585d
cmp eax, 0x80000005
jne 0x4558a5
mov eax, dword [esp + 0x44]
mov dword [esp + 0xc], 3
test eax, eax
je 0x4558eb
mov ebx, dword [eax + 4]
lea ebp, [eax + 8]
jmp 0x4558eb
mov ebp, dword [esp + 0x44]
or ecx, 0xffffffff
mov edi, ebp
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0xc], 1
mov ebx, ecx
inc ebx
jmp 0x4558eb
cmp eax, 0x80000201
jne 0x4558a5
mov ebx, 4
lea ebp, [esp + 0x44]
mov dword [esp + 0xc], ebx
jmp 0x4558eb
cmp eax, 0x80000401
je 0x4558d6
cmp eax, 0x80000501
je 0x4558c2
cmp eax, 0x80000601
je 0x4558ae
pop edi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret
fld qword [esp + 0x44]
mov ebx, 4
mov dword [esp + 0xc], ebx
call fcn.0045be18
jmp 0x4558e3
fld dword [esp + 0x44]
mov ebx, 4
mov dword [esp + 0xc], ebx
call fcn.0045be18
jmp 0x4558e3
mov eax, dword [esp + 0x44]
mov ebx, 4
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], eax
lea ebp, [esp + 0x10]
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.00459d10
mov edi, dword [esp + 0x3c]
mov edx, eax
or ecx, 0xffffffff
xor eax, eax
add esp, 4
mov dword [esp + 0x20], edx
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x18], 0
test edx, edx
je 0x4559c6
test ecx, ecx
je 0x4559c6
inc ecx
push esi
push ecx
call fcn.004676ec
mov edi, dword [esp + 0x40]
mov edx, eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x5c
mov eax, ecx
mov esi, edi
mov edi, edx
push edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov dword [esp + 0x2c], edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.0045bdf0
mov esi, eax
add esp, 0xc
test esi, esi
je 0x455968
mov byte [esi], 0
inc esi
mov edi, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x18]
push 0
push ecx
push 0
push 0x20006
push 0
push 0
push 0
push edi
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4559bc
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
push ebx
push ebp
push eax
push 0
push esi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x4559b1
mov dword [esp + 0x1c], 1
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
call fcn.00467715
add esp, 4
pop esi
mov eax, dword [esp + 0x18]
pop edi
pop ebp
pop ebx
add esp, 0x18
ret

Function at 0x4559e0
Capabilities:
Get file attributes

Disassembly:
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
ret
Function at 0x4561a0
Capabilities:
Get file size

Disassembly:
mov eax, dword [esp + 8]
push esi
push edi
push 0
push 0x20
push 3
push 0
push 3
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4561c8
pop edi
or eax, eax
pop esi
ret
lea ecx, [esp + 0x10]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x10], 0xffffffff
jne 0x4561ea
pop edi
or eax, 0xffffffff
pop esi
ret
mov eax, edi
pop edi
pop esi
ret

Function at 0x4561f0
Capabilities:
Enumerate files on windows

Disassembly:
sub esp, 0x144
push ebx
mov ebx, dword [esp + 0x14c]
push ebp
mov ebp, dword [esp + 0x15c]
push esi
push edi
mov esi, dword [ebp]
mov dword [esp + 0x10], 0
test ebx, ebx
je 0x45627b
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x45627b
test esi, esi
je 0x456235
cmp esi, 0xffffffff
je 0x456235
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea eax, [esp + 0x14]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
mov dword [ebp], esi
je 0x4562c1
mov eax, dword [esp + 0x160]
test eax, eax
je 0x456264
mov ecx, dword [esp + 0x14]
and ecx, 0x10
cmp cl, 0x10
je 0x45627b
jmp 0x456273
mov edx, dword [esp + 0x15c]
mov eax, dword [esp + 0x14]
test edx, eax
je 0x45627b
mov dword [esp + 0x10], 1
test esi, esi
je 0x4562c1
cmp esi, 0xffffffff
je 0x4562c1
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x4562f8
mov eax, dword [esp + 0x160]
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
lea eax, [esp + 0x14]
push eax
push esi
je 0x4562ce
call edi
test eax, eax
je 0x4562c1
mov ecx, dword [esp + 0x14]
and ecx, 0x10
cmp cl, 0x10
jne 0x4562f8
lea edx, [esp + 0x14]
push edx
push esi
call edi
test eax, eax
jne 0x4562a9
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x144
ret
call edi
test eax, eax
je 0x4562c1
mov ebx, dword [esp + 0x15c]
test dword [esp + 0x14], ebx
jne 0x4562f8
lea ecx, [esp + 0x14]
push ecx
push esi
call edi
test eax, eax
jne 0x4562db
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x144
ret
lea edi, [esp + 0x40]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
call fcn.00455090
mov edx, eax
lea edi, [esp + 0x44]
or ecx, 0xffffffff
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x144
ret

Function at 0x456360
Capabilities:
Set file attributes

Disassembly:
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 8]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
ret
Function at 0x456620
Capabilities:
Get file size
Read file on windows

Disassembly:
mov eax, dword [esp + 8]
push edi
push 0
push 0x20
push 3
push 0
push 3
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
xor eax, eax
cmp edi, 0xffffffff
je 0x456689
push ebx
lea ecx, [esp + 0x10]
push esi
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
lea edx, [ebx + 8]
push edx
call fcn.00455090
add esp, 4
mov esi, eax
lea eax, [esp + 0x14]
push 0
push eax
lea ecx, [esi + 8]
push ebx
push ecx
push edi
mov dword [esi], 1
mov dword [esi + 4], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
pop ebx
pop edi
ret

Function at 0x4566f0
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
test ebx, ebx
push edi
jne 0x456703
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
push ebx
call fcn.0045a5f0
add esp, 4
test eax, eax
jne 0x456715
pop edi
pop esi
pop ebp
pop ebx
ret
mov edi, dword [esp + 0x24]
test edi, edi
jg 0x456724
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
mov eax, dword [ebx]
xor esi, esi
cmp eax, 1
jne 0x45677b
mov ebx, dword [ebx + 4]
push edi
call fcn.004676ec
add esp, 4
mov ebp, eax
lea eax, [esp + 0x18]
push esi
push eax
push edi
push ebp
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x45675e
push ebp
call fcn.00467715
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret
mov ecx, dword [esp + 0x18]
push ecx
push ebp
call fcn.00459f60
push ebp
mov esi, eax
call fcn.00467715
add esp, 0xc
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret
cmp eax, 2
jne 0x4567bd
mov ebx, dword [ebx + 4]
lea edx, [edi + 8]
push edx
call fcn.00455090
mov esi, eax
add esp, 4
lea ecx, [esi + 8]
mov dword [esi], 1
mov dword [esi + 4], edi
mov eax, dword [ebx]
push edi
push ecx
mov ecx, ebx
call dword [eax + 0x20]
test eax, eax
jne 0x4567ba
push esi
call fcn.00455120
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret
mov dword [esi + 4], eax
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x456830
Capabilities:
Write file on windows

Disassembly:
sub esp, 8
push esi
mov esi, dword [esp + 0x14]
test esi, esi
jne 0x456843
xor eax, eax
pop esi
add esp, 8
ret
push esi
call fcn.0045a5f0
add esp, 4
test eax, eax
jne 0x456855
pop esi
add esp, 8
ret
mov eax, dword [esi]
push ebx
mov ebx, 1
push ebp
cmp eax, ebx
push edi
mov dword [esp + 0x10], 0
jne 0x4568cc
mov eax, dword [esp + 0x1c]
mov edi, dword [esi + 4]
cmp eax, ebx
mov dword [esp + 0x10], ebx
jle 0x4568fe
mov ebp, dword [sym.imp.KERNEL32.dll_WriteFile]
lea esi, [esp + 0x2c]
mov eax, dword [esi]
lea edx, [esp + 0x14]
push 0
push edx
lea ecx, [eax + 8]
mov eax, dword [eax + 4]
push eax
push ecx
push edi
call ebp
test eax, eax
je 0x4568b8
mov eax, dword [esp + 0x1c]
inc ebx
add esi, 0xc
cmp ebx, eax
jl 0x456888
mov eax, dword [esp + 0x10]
pop edi
pop ebp
pop ebx
pop esi
add esp, 8
ret
pop edi
mov dword [esp + 0xc], 0
mov eax, dword [esp + 0xc]
pop ebp
pop ebx
pop esi
add esp, 8
ret
cmp eax, 2
jne 0x4568fe
mov eax, dword [esp + 0x1c]
mov esi, dword [esi + 4]
cmp eax, ebx
mov dword [esp + 0x10], ebx
jle 0x4568fe
lea edi, [esp + 0x2c]
lea ebx, [eax - 1]
mov eax, dword [edi]
mov edx, dword [esi]
mov ecx, dword [eax + 4]
add eax, 8
push ecx
push eax
mov ecx, esi
call dword [edx + 0x24]
add edi, 0xc
dec ebx
jne 0x4568e7
mov eax, dword [esp + 0x10]
pop edi
pop ebp
pop ebx
pop esi
add esp, 8
ret

Function at 0x456910
Capabilities:
Copy file
Delete file
Move file

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0x1c]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
jne 0x45693a
push eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
je 0x45693a
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop edi
pop esi
ret

Function at 0x457e80
Capabilities:
Read .ini file

Disassembly:
push ebx
push ebp
push esi
push edi
push 0x400
call fcn.004676ec
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x40]
mov ecx, dword [esp + 0x28]
add esp, 4
mov esi, eax
mov eax, dword [esp + 0x30]
push ebx
push 0x400
push esi
push ebp
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp eax, 0x3ff
jl 0x457eea
push esi
lea edi, [eax + 0x400]
call fcn.00467715
push edi
call fcn.004676ec
mov edx, dword [esp + 0x38]
add esp, 8
mov esi, eax
mov eax, dword [esp + 0x24]
push ebx
push edi
push esi
push ebp
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
dec edi
cmp eax, edi
jge 0x457eba
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
xor ebx, ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x457f06
push ecx
push esi
call fcn.00459c80
add esp, 8
mov ebx, eax
push esi
call fcn.00467715
add esp, 4
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x4585f0
Capabilities:
Write file on windows

Disassembly:
sub esp, 8
mov eax, dword [esp + 0x10]
push edi
push 0
push 0x20
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
xor eax, eax
cmp edi, 0xffffffff
je 0x458682
mov eax, dword [esp + 0x10]
push ebx
mov ebx, 1
push ebp
cmp eax, ebx
push esi
mov dword [esp + 0x10], ebx
jle 0x458674
mov ebp, dword [sym.imp.KERNEL32.dll_WriteFile]
lea esi, [esp + 0x2c]
mov eax, dword [esi]
lea edx, [esp + 0x14]
push 0
push edx
lea ecx, [eax + 8]
mov eax, dword [eax + 4]
push eax
push ecx
push edi
call ebp
test eax, eax
je 0x45866c
mov eax, dword [esp + 0x1c]
inc ebx
add esi, 0xc
cmp ebx, eax
jl 0x458635
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret
mov dword [esp + 0x10], 0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret
Function at 0x4598f0
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
mov eax, dword [esp + 8]
cmp edx, 1
jle 0x45990e
push esi
lea ecx, [esp + 0x18]
dec edx
mov esi, dword [ecx]
add ecx, 0xc
xor eax, esi
dec edx
jne 0x459903
pop esi
ret

Function at 0x46a0bb
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x46a0fd
call fcn.0046d40e
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x46a0fd
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x46a0f4
xor eax, eax
jmp 0x46a105
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0046a10b
pop edi
pop esi
pop ebx
ret 4

Function at 0x46b099
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x46ecb8
call fcn.0045ced0
sub esp, 0x18
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], esi
mov eax, dword [esi + 0x48]
mov edi, dword [esi + 0x44]
mov dword [ebp - 0x18], eax
call fcn.0046d40e
cmp dword [esi + 0x40], 0
mov ebx, dword [eax + 0xc]
je 0x46b0d8
call fcn.0046d40e
mov ebx, dword [eax + 0xc]
push 5
push dword [esi + 0x40]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x46b0e6
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x46b0f4
or eax, 0xffffffff
jmp 0x46b1dc
mov ecx, esi
call fcn.0046b00f
mov dword [ebp - 0x14], eax
call fcn.00468701
xor edi, edi
cmp dword [ebp - 0x14], edi
mov dword [ebp - 0x20], edi
je 0x46b12b
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x46b12b
push edi
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x20], 1
push esi
mov dword [ebp - 4], edi
call fcn.004686b5
push dword [ebp - 0x14]
call fcn.004681e7
push ebx
push eax
push dword [ebp - 0x18]
mov ecx, esi
call fcn.0046ada7
cmp eax, edi
je 0x46b19e
test byte [esi + 0x24], 0x10
je 0x46b16c
push 4
mov ecx, esi
pop ebx
call fcn.00467be7
test ah, 1
je 0x46b164
push 5
pop ebx
push ebx
mov ecx, esi
call fcn.0046a20d
cmp dword [esi + 0x1c], edi
je 0x46b19e
push 0x97
push edi
push edi
push edi
push edi
push edi
mov ecx, esi
call fcn.00467c1b
jmp 0x46b19e
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x20], edi
je 0x46b1b2
push 1
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebp - 0x14], edi
je 0x46b1cb
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x1c]
jne 0x46b1cb
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x58]
mov ecx, esi
call fcn.0046b049
mov eax, dword [esi + 0x2c]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x46cf80
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x46cfae
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x46cfcc
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0046cee6
jmp 0x46cfcc
mov eax, dword [esi + 0x14]
test eax, eax
je 0x46cfcc
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0046cee6
test edi, edi
mov eax, edi
jne 0x46cfb6
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0xddbe0b
Capabilities:
Execute anti-debugging instructions

Disassembly:
lea ecx, [esp + edi]
pushal
dec edx
neg cx
mov ax, 0x7da1
pop ecx
jmp 0xddbdf3
rdtsc
xchg edx, eax
cpuid
clc
sub esp, 0x11
lea esi, [edx + esi]
jmp 0xddbdcf
pop dword [esp]
xchg byte [esp], cl
push word [esp + 0x1b]
not esi
mov dx, 0x80a1
jmp 0xddbe2a
mov dl, bh
bswap esi
lea ebp, [edx + edi]
jmp 0xddbde5
mov byte [esp + 4], ah

Function at 0xddbf90
Capabilities:
Execute anti-debugging instructions

Disassembly:
push dword [esp + 6]
mov bl, byte [esp + 3]
bsr dx, si
xchg si, cx
jmp 0xddbfaa
xchg ebx, ecx
jmp 0xddbf7a
lea esp, [esp]
bswap eax
mov bp, word [esp + 1]
mov di, bp
pop ebp
neg esi
jmp 0xddbfe3
sets al
pop eax
btc cx, sp
bswap ebp
inc edi
pop edi
jmp 0xddbf94
adc ch, ch
lea ebp, [esi + 0x2f]
mov ecx, dword [esp]
mov di, word [esp]
mov bl, al
lea edx, [eax*4]
jmp 0xddd99b
mov ecx, dword [esp]
mov byte [esp], al
clc
mov ax, word [esp]
bsr bx, dx
jmp 0xddc03c
push word [esp + 3]
rdtsc
std
add esp, 5
mov ax, word [esp]
cmc
jmp 0xddbffe
mov byte [esp], al
bsr esi, esp
clc
mov eax, edi
mov ecx, 0x61e103d4
xchg ecx, eax
jmp 0xddc083
lea esi, [ebp*4]
mov byte [esp], ah
setbe bl
xchg byte [esp], al
jmp 0xddc026
mov word [esp + 2], bx
bsf eax, ecx
mov dword [esp], ebx
mov byte [esp + 2], bh
mov edi, 0xae7a01fa
pop word [esp]
jmp 0xddc014
mov ch, byte [esp + 7]
rdtsc
push dword [esp + 0x11]
pop si
add esp, 0x14
jmp 0xddc0c5
rdtsc
mov byte [esp], ah
bts ebp, eax
xchg ah, al
ror dl, cl
sub esp, 0x13
jmp 0xddc06d
push si
pop esi
bsr ax, bx
xchg ecx, edx
mov ch, byte [esp]
dec bx
jmp 0xddc053
mov edx, 0x658cf8bf
mov dx, sp
std
sub esp, 0x1b
call fcn.00ddc0af
imul esi, edx, 0x60
pop es
bnd jne 0xddc150
push 0xffffffffffffff85
xor al, 0x27
dec esi
push dword [esp]
xchg edx, eax
bts eax, ebp
bsf eax, edx
dec di
bswap edx
jmp 0xddc09f
mov esi, dword [esp]
jmp 0xddc199
lea esi, [ebx*4]
rdtsc
mov byte [esp], cl
lea ebp, reloc.WINMM.dll_midiStreamOut
cpuid
setge ch
jmp 0xddc1fd
bswap eax
mov bh, byte [esp]
std
pushfd
mov cx, bx
bsf cx, bp
jmp 0xddc0e2
lea esi, [esi - 0xe6]
call fcn.00ddc22a
wait
and esi, dword [ebx - reloc.WINMM.dll_midiStreamOut]
adc dword [eax - reloc.WINMM.dll_midiStreamOut], edx
add bh, byte [ecx - 0x31af9feb]
sub esp, 2
mov ecx, 0xce506015
not ah
pop ebp
lea edx, [edi*4]
jmp 0xddc1cd
cld
sub esp, 0x1e
lea edx, [eax - 0xb6]
mov ebx, 0xd7ea76e5
pop dword [esp + 2]
not al
jmp 0xddc1e3
mov ch, byte [esp]
xchg dl, ah
lea eax, [ebx*4]
mov dh, byte [esp]
mov ecx, 0x38b4bf78
mov ecx, 0x9a28934
jmp 0xddc1ba
mov ebp, 0x7d34bc49
not edx
rdtsc
mov dx, bx
setb ch
setns al
jmp 0xddc245
cmc
mov dl, 0xde
neg bh
cmc
std
stc
jmp 0xddc3b3
Function at 0xddc0af
Capabilities:
Execute anti-debugging instructions

Disassembly:
stc
lea esp, [esp + 0x1a]
jmp 0xddc108
setne bh
xchg word [esp], ax
sub al, 0xf0
not cx
jmp 0xddc185
xchg edx, ebx
pop word [esp]
mov byte [esp], cl
pop di
mov ebp, eax
cpuid
jmp 0xddc0f2
lea esp, [esp]
mov ch, 0xba
xchg dx, ax
bswap ebx
bswap ebx
jmp 0xddc159
xchg esi, eax
mov dl, byte [esp]
btr ax, cx
xchg esi, edi
mov esi, 0xbbb3a85e
mov ecx, dword [esp]
jmp 0xddc119
rdtsc
mov bl, byte [esp + 2]
lea ecx, [edx*4]
lea ebx, reloc.WINMM.dll_midiStreamOut
mov bh, bl
mov edx, 0x933cb74c
sub esp, 2
bswap edx
mov cx, 0x6037
jmp 0xddc143
adc ax, 0x4be3
cpuid
mov ah, 0x7b
mov si, dx
pop dx
mov esi, 0xbe87996d
jmp 0xddc12f

Function at 0xddc302
Capabilities:
Execute anti-debugging instructions

Disassembly:
push word [esp + 0xd]
pop eax
dec edx
rcr ebp, cl
bswap esi
push word [esp + 5]
jmp 0xddc373
mov si, 0x9173
btc ebp, edx
btc bx, bx
xchg dl, bl
lea esp, [esp + 0xc]
jmp 0xddc214
mov dword [esp + 5], esp
lea eax, reloc.WINMM.dll_midiStreamOut
push word [esp + 5]
mov ch, byte [esp + 0xc]
call fcn.00ddc2b7
lea esp, [esp + 1]
jmp 0xddc31d
rdtsc
xchg si, cx
cld
mov cx, bx
add esp, 0
push word [esp + 2]
jmp 0xddc356
mov byte [esp + 3], al
xchg word [esp + 5], dx
xchg byte [esp + 8], cl
xchg dword [esp + 1], esi
mov ah, 0x70
pushal
jmp 0xddc38c
mov edi, 0x8e952520
btr di, si
add esp, 0
sete cl
xchg dword [esp + 4], eax
std
jmp 0xddc2ea
adc ah, 0x34
mov dh, byte [esp + 0xe]
mov word [esp + 0xd], sp
push bp
mov cl, bh
add esp, 9
jmp 0xddc876
bswap eax
lea ebx, [ebx + edi]
cpuid
call fcn.00ddc50e
pop esi
mov edx, 0x598c37c4
xchg di, cx
mov word [esp + 0x15], di
rdtsc
xchg byte [esp + 0x1b], ch
jmp 0xddc729

Function at 0xddc735
Capabilities:
Packed with generic packer

Disassembly:
jmp 0xddc75d
mov dword [esp + 0x20], ecx
call fcn.00ddc737
mov dword [esp + 0x40], ebx
call fcn.00ddc7ac

Function at 0xddc737
Capabilities:
Packed with generic packer

Disassembly:
mov dword [esp + 0x20], edx
pushal
push dword [esp + 0xa]
mov dword [esp + 0x1f], ecx
jmp 0xddc766

Function at 0xddc76f
Capabilities:
Packed with generic packer

Disassembly:
call fcn.00ddc099
jmp 0xddc794
mov dword [esp], ebx
mov dword [esp], ebx
mov dword [esp + 0x44], esi
mov dword [esp + 0x40], edi
lea esp, [esp + 0x40]
jmp 0xddc7c4
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x1c]
jmp 0xddc7d6
mov eax, dword [eax]
jmp 0xddc80b
mov eax, dword [eax + 8]
push eax
jmp 0xddc094

Function at 0xddc786
Capabilities:
Packed with generic packer

Disassembly:
lea esp, [esp + 4]
push eax
pushal
mov word [esp + 0x12], ax
call fcn.00ddc735
add esp, 7
push dword [esp + 0x25]
lea esp, [esp + 0x30]
popfd
jmp 0xddc74d

Function at 0xddc7ac
Capabilities:
Access peb ldr_data
Packed with generic packer

Disassembly:
push dword [esp]
mov dword [esp + 1], esp
push dword [esp + 5]
mov dword [esp + 0x48], esp
mov dword [esp + 0x44], ebp
call fcn.00ddc76f
Function at 0x401000
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x416d37
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
lea eax, [esp + 4]
mov dword [esp + 8], 0
push eax
call fcn.004010b0
add esp, 4
push eax
lea ecx, [esp + 4]
push str.C:_xBankTrans_Trace_
push ecx
mov dword [esp + 0x20], 1
call sub.MFC42.DLL_operator_2
lea ecx, [esp + 4]
mov byte [esp + 0x14], 3
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp]
push 0
push edx
call dword [sym.imp.MSVCRT.dll__access]
add esp, 8
test eax, eax
je 0x401075
mov eax, dword [esp]
push eax
call dword [sym.imp.MSVCRT.dll__mkdir]
add esp, 4
push esi
mov esi, dword [esp + 0x20]
lea ecx, [esp + 4]
push ecx
mov ecx, esi
call sub.MFC42.DLL_CString::CString_4
mov dword [esp + 0xc], 1
lea ecx, [esp + 4]
mov byte [esp + 0x18], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x10]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x18
ret