joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42f414
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbfc
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov esi, edx
mov edi, eax
xor eax, eax
push ebp
push 0x42f514
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00404e5c
push 0x400
lea eax, [ebp - 0x404]
push eax
mov eax, edi
call fcn.00405338
push eax
call sub.kernel32.dll_GetEnvironmentVariableA
mov ebx, eax
cmp ebx, 0x400
jge 0x42f472
lea edx, [ebp - 0x404]
mov eax, esi
mov ecx, ebx
call fcn.00404f4c
jmp 0x42f492
mov edx, ebx
dec edx
mov eax, esi
call fcn.004054c4
push ebx
mov eax, dword [esi]
call fcn.00405338
push eax
mov eax, edi
call fcn.00405338
push eax
call sub.kernel32.dll_GetEnvironmentVariableA
test ebx, ebx
jne 0x42f4fe
lea edx, [ebp - 4]
mov eax, edi
call fcn.0040bb60
mov eax, dword [ebp - 4]
mov edx, 0x42f52c
call fcn.00405284
jne 0x42f4c4
call fcn.0040e5b0
add esp, 0xfffffff8
fstp qword [esp]
wait
mov eax, esi
call fcn.0040f274
jmp 0x42f4fe
mov eax, dword [ebp - 4]
mov edx, 0x42f53c
call fcn.00405284
jne 0x42f4e8
call fcn.0040e5dc
add esp, 0xfffffff8
fstp qword [esp]
wait
mov eax, esi
call fcn.0040f28c
jmp 0x42f4fe
mov eax, dword [ebp - 4]
mov edx, 0x42f54c
call fcn.00405284
jne 0x42f4fe
mov eax, esi
call fcn.0040cde8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42f51b
lea eax, [ebp - 4]
call fcn.00404e5c
ret

Function at 0x42f77c
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xffffff00
mov ebx, eax
mov eax, pe_nt_image_headers32
push eax
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
mov eax, ebx
mov edx, esp
mov ecx, pe_nt_image_headers32
call fcn.004050cc
add esp, 0x100
pop ebx
ret

Function at 0x42f830
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff7f0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x810], ebx
mov dword [ebp - 0x80c], ebx
mov dword [ebp - 8], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00405328
xor eax, eax
push ebp
push 0x42f92c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
mov edx, ebx
call fcn.00404eb0
lea edx, [ebp - 0x80c]
mov eax, dword [ebp - 4]
call fcn.0040c914
cmp dword [ebp - 0x80c], 0
jne 0x42f8b4
lea eax, [ebp - 0x810]
call fcn.0042f810
push dword [ebp - 0x810]
push 0x42f944
push dword [ebp - 4]
lea eax, [ebp - 4]
mov edx, 3
call fcn.004051f8
lea eax, [ebp - 4]
xor ecx, ecx
xor edx, edx
call fcn.00430b08
test al, al
je 0x42f906
mov eax, dword [ebp - 4]
call fcn.00405338
push eax
push 0x800
lea eax, [ebp - 0x808]
push eax
mov eax, ebx
call fcn.00405338
push eax
mov eax, dword [ebp - 8]
call fcn.00405338
push eax
mov eax, edi
call fcn.00405338
push eax
call sub.kernel32.dll_GetPrivateProfileStringA
mov ecx, eax
lea edx, [ebp - 0x808]
mov eax, esi
call fcn.00404f4c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42f933
lea eax, [ebp - 0x810]
mov edx, 2
call fcn.00404e80
lea eax, [ebp - 4]
call fcn.00404e5c
ret
Function at 0x4305ac
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov ebx, dword [ebp + 8]
mov eax, dword [ebp - 4]
call fcn.00405328
mov eax, dword [ebp - 8]
call fcn.00405328
xor eax, eax
push ebp
push 0x4306b0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00404e5c
cmp dword [ebp - 4], 0
je 0x430604
mov eax, dword [ebp - 4]
cmp byte [eax], 0x5c
jne 0x430604
lea eax, [ebp - 4]
mov ecx, 1
mov edx, 1
call fcn.004053d8
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
mov eax, dword [ebp - 4]
call fcn.00405338
push eax
push esi
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x430695
lea eax, [ebp - 0x10]
push eax
push 0
lea eax, [ebp - 0x14]
push eax
push 0
mov eax, dword [ebp - 8]
call fcn.00405338
mov esi, eax
push esi
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x430685
mov eax, ebx
mov edx, dword [ebp - 0x10]
call fcn.004054c4
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebx]
call fcn.00405338
push eax
lea eax, [ebp - 0x14]
push eax
push 0
push esi
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
push ebx
mov eax, dword [ebx]
call fcn.00405138
mov ecx, eax
dec ecx
mov eax, dword [ebx]
mov edx, 1
call fcn.00405398
jmp 0x43068c
mov eax, ebx
call fcn.00404e5c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4306b7
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404e80
ret

Function at 0x430930
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00405338
push eax
call 0x407938
cmp eax, 0xffffffff
je 0x430949
test al, 0x10
jne 0x43094d
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret
Function at 0x431324
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.00405328
xor eax, eax
push ebp
push 0x43140e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00405138
dec eax
jle 0x43138d
mov edx, dword [ebp - 4]
mov eax, 0x431424
call fcn.0040547c
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00405138
dec eax
cmp ebx, eax
jne 0x43138d
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 4]
call fcn.00405138
mov ecx, eax
sub ecx, 2
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.00405398
mov eax, dword [ebp - 4]
call fcn.00405138
mov ebx, eax
test ebx, ebx
jle 0x4313c4
mov dword [ebp - 8], 1
lea eax, [ebp - 4]
call fcn.00405390
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov edi, dword [ebp - 8]
mov cl, byte [ecx + edi - 1]
xor cl, 0x62
mov byte [eax + edx - 1], cl
inc dword [ebp - 8]
dec ebx
jne 0x4313a2
mov eax, dword [ebp - 4]
call fcn.00405138
mov dword [ebp - 8], eax
lea edx, [ebp - 8]
mov ecx, 4
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0x10]
cmp dword [ebp - 8], 0
jle 0x4313f8
lea eax, [ebp - 4]
call fcn.00405390
mov edx, eax
mov ecx, dword [ebp - 8]
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0x10]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x431415
lea eax, [ebp - 4]
call fcn.00404e5c
ret

Function at 0x4319b4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
lea edx, [ebp - 4]
mov ecx, 4
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.004054c4
cmp dword [ebp - 4], 0
jle 0x4319f1
mov eax, ebx
call fcn.00405390
mov edx, eax
mov ecx, dword [ebp - 4]
mov eax, esi
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebx]
call fcn.00405138
mov esi, eax
test esi, esi
jle 0x431a25
mov dword [ebp - 4], 1
mov eax, ebx
call fcn.00405390
mov edx, dword [ebp - 4]
mov ecx, dword [ebx]
mov edi, dword [ebp - 4]
mov cl, byte [ecx + edi - 1]
xor cl, 0x62
mov byte [eax + edx - 1], cl
inc dword [ebp - 4]
dec esi
jne 0x431a05
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x43333c
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 4]
mov dword [edi], 0x10
push edi
lea eax, [ebp - 0x104]
push eax
call sub.kernel32.dll_GetComputerNameA
mov eax, esi
lea edx, [ebp - 0x104]
mov ecx, pe_nt_image_headers32
call fcn.004050cc
mov eax, dword [esi]
call fcn.00405138
mov ebx, eax
test ebx, ebx
jbe 0x4333ae
mov dword [edi], 1
mov eax, dword [esi]
mov edx, dword [edi]
mov al, byte [eax + edx - 1]
and eax, 0xff
bt dword [0x58e048], eax
jae 0x4333a9
mov eax, esi
call fcn.00405390
mov edx, dword [edi]
mov byte [eax + edx - 1], 0x5f
inc dword [edi]
dec ebx
jne 0x433385
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x435ecc
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
push 0x40
push ebx
call sub.kernel32.dll_IsBadReadPtr
test eax, eax
jne 0x435f1d
mov eax, ebx
cmp word [eax], 0x5a4d
jne 0x435f1d
cmp dword [eax + 0x3c], 0
je 0x435f1d
mov eax, dword [eax + 0x3c]
add eax, ebx
mov dword [ebp - 4], eax
push 0xf8
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_IsBadReadPtr
test eax, eax
jne 0x435f18
mov eax, dword [ebp - 4]
cmp dword [eax], 0x4550
je 0x435f1d
xor eax, eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop ebx
pop ecx
pop ebp
ret

Function at 0x438898
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, ecx
shl edx, 2
add edx, eax
mov dword [esp], edx
mov eax, dword [esp]
call fcn.004065c4
test eax, eax
je 0x4388f2
lea eax, [esp + 4]
push eax
push 0x40
push 4
mov eax, dword [esp + 0xc]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esp]
mov dword [eax], ebx
lea eax, [esp + 4]
push eax
mov eax, dword [esp + 8]
push eax
push 4
mov eax, dword [esp + 0xc]
push eax
call sub.kernel32.dll_VirtualProtect
push 4
mov eax, dword [esp + 4]
push eax
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.kernel32.dll_FlushInstructionCache
pop ecx
pop edx
pop ebx
ret

Function at 0x438ab0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push esi
push edi
push ecx
mov esi, ecx
mov edi, edx
mov ebx, eax
push esp
push 0x40
push esi
push ebx
call sub.kernel32.dll_VirtualProtect
mov edx, ebx
mov eax, edi
mov ecx, esi
call fcn.00402f44
push esp
mov eax, dword [esp + 4]
push eax
push esi
push ebx
call sub.kernel32.dll_VirtualProtect
push esi
push ebx
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.kernel32.dll_FlushInstructionCache
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x439170
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffe4
mov dword [esp], edx
mov ebp, eax
lea edi, [esp + 0x14]
mov eax, dword [0x5a1914]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x4391bc
inc ebx
xor esi, esi
mov edx, esi
mov eax, dword [0x5a1914]
call fcn.00421a3c
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
cmp ebp, dword [eax]
jne 0x4391b8
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 4]
mov dword [esp + 4], eax
jmp 0x4392a2
inc esi
dec ebx
jne 0x439190
mov dword [esp + 8], ebp
mov eax, dword [esp + 8]
mov dword [esp + 0xc], eax
xor ebx, ebx
mov edx, edi
mov eax, dword [esp + 0xc]
call fcn.00438ca8
test al, al
jne 0x4391dc
mov byte [edi], 1
xor eax, eax
mov al, byte [edi]
add ebx, eax
xor eax, eax
mov al, byte [edi]
add dword [esp + 0xc], eax
cmp ebx, 5
jb 0x4391ca
mov edx, ebx
mov eax, dword [esp + 8]
call fcn.00438ec8
mov edi, eax
add edi, 5
mov eax, edi
call fcn.00402bf4
mov esi, eax
mov eax, 0x14
call fcn.00402bf4
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
mov dword [eax], ebp
mov eax, dword [esp + 0x18]
mov dword [eax + 4], esi
mov eax, dword [esp + 0x18]
mov dword [eax + 8], edi
mov eax, dword [esp + 0x18]
mov dword [eax + 0x10], ebx
mov eax, ebx
call fcn.00402bf4
mov ebp, eax
mov eax, dword [esp + 0x18]
mov dword [eax + 0xc], ebp
mov edx, ebp
mov eax, dword [esp + 8]
mov ecx, ebx
call fcn.00402f44
mov edx, dword [esp + 0x18]
mov eax, dword [0x5a1914]
call fcn.00421890
lea eax, [esp + 0x10]
push eax
push 0x40
push edi
push esi
call sub.kernel32.dll_VirtualProtect
mov edx, esi
mov eax, dword [esp + 8]
mov ecx, ebx
call fcn.00402f44
mov ecx, ebx
mov edx, dword [esp + 8]
mov eax, esi
call fcn.00438f94
mov edx, dword [esp + 8]
add edx, ebx
lea eax, [ebx + esi]
call fcn.00438af0
mov edx, dword [esp]
mov eax, dword [esp + 8]
call fcn.00438af0
mov dword [esp + 4], esi
mov eax, dword [esp + 4]
add esp, 0x1c
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x439530
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
mov edx, 0x40
mov eax, ebx
call fcn.0042ffa0
test al, al
je 0x439584
mov eax, ebx
cmp word [eax], 0x5a4d
jne 0x439584
cmp dword [eax + 0x3c], 0
je 0x439584
mov eax, dword [eax + 0x3c]
add eax, ebx
mov dword [ebp - 4], eax
mov edx, 0xf8
mov eax, dword [ebp - 4]
call fcn.0042ffa0
test al, al
je 0x43957f
mov eax, dword [ebp - 4]
cmp dword [eax], 0x4550
je 0x439584
xor eax, eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop ebx
pop ecx
pop ebp
ret
Function at 0x439bcc
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
xor eax, eax
mov dword [ebp - 0x2c], eax
xor eax, eax
push ebp
push 0x439c5e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x439c6c]
mov dword [ebp - 7], eax
mov ax, word [0x439c70]
mov word [ebp - 3], ax
mov al, byte [0x439c72]
mov byte [ebp - 1], al
push 6
lea eax, [ebp - 7]
push eax
push 0x1004
push 0x400
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0x2c]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.004050cc
mov eax, dword [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.0040c110
push 2
lea edx, [ebp - 0x27]
push edx
push eax
call sub.gdi32.dll_TranslateCharsetInfo
mov ebx, dword [ebp - 0x27]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x439c65
lea eax, [ebp - 0x2c]
call fcn.00404e5c
ret

Function at 0x43a6c8
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x43a79b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404e5c
or ecx, 0xffffffff
xor edx, edx
mov eax, esi
call fcn.0043a5e0
mov ebx, eax
test ebx, ebx
jbe 0x43a77d
lea eax, [ebp - 8]
mov edx, ebx
call fcn.004054c4
mov eax, dword [ebp - 8]
call fcn.00405138
mov ecx, eax
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.0043a5e0
mov edx, eax
lea eax, [ebp - 8]
call fcn.004054c4
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.00405140
mov eax, dword [ebp - 4]
lea eax, [esi + 0x2c]
mov edx, dword [ebp - 8]
call fcn.00405140
lea eax, [esi + 0x30]
mov edx, dword [ebp - 8]
call fcn.00405140
call sub.kernel32.dll_GetTickCount_1
mov edi, eax
or ecx, 0xffffffff
xor edx, edx
mov eax, esi
call fcn.0043a5e0
mov ebx, eax
push 1
call sub.kernel32.dll_Sleep
test ebx, ebx
ja 0x43a77d
call sub.kernel32.dll_GetTickCount_1
sub eax, edi
cmp eax, 0x3e8
jbe 0x43a756
test ebx, ebx
jne 0x43a6f1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43a7a2
lea eax, [ebp - 8]
call fcn.00404e5c
ret

Function at 0x43a7ac
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
call sub.kernel32.dll_GetTickCount_1
mov edi, eax
mov edx, ebx
mov eax, esi
call fcn.0043a6c8
cmp dword [ebx], 0
jne 0x43a7cf
push 1
call sub.kernel32.dll_Sleep
cmp dword [ebx], 0
jne 0x43a7e0
call sub.kernel32.dll_GetTickCount_1
sub eax, edi
cmp eax, dword [esi + 0x20]
jb 0x43a7ba
pop edi
pop esi
pop ebx
ret

Function at 0x43bd54
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
push esi
mov ebx, dword [eax]
mov esi, ebx
xor esi, ecx
and esi, 0xff
shr ebx, 8
mov esi, dword [edx + esi*4]
xor esi, ebx
mov dword [eax], esi
and esi, 0xff
add dword [eax + 4], esi
imul ebx, dword [eax + 4], 0x8088405
inc ebx
mov dword [eax + 4], ebx
shr ebx, 0x18
mov esi, dword [eax + 8]
xor ebx, esi
and ebx, 0xff
shr esi, 8
mov edx, dword [edx + ebx*4]
xor edx, esi
mov dword [eax + 8], edx
mov eax, ecx
pop esi
pop ebx
ret
Function at 0x43bdd8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
cmp dword [ebp - 0xc], 0xc
jge 0x43bdfd
xor eax, eax
jmp 0x43bf2e
inc dword [0x58e284]
mov edx, dword [0x58e284]
cmp edx, 1
jne 0x43be22
push 0
call fcn.0043b758
pop ecx
xor eax, 0xbb40e64e
push eax
call fcn.0043b770
pop ecx
mov ecx, edi
mov edx, esi
mov eax, dword [ebp - 4]
call fcn.0043bda0
xor ebx, ebx
lea eax, [ebp - 0x20]
mov dword [ebp - 0x24], eax
call fcn.0043b764
sar eax, 7
and eax, 0xff
mov dword [ebp - 0x14], eax
mov edx, edi
mov eax, esi
call fcn.0043bd34
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x14]
mov edx, edi
mov eax, esi
call fcn.0043bd54
mov dl, byte [ebp - 0x10]
mov ecx, dword [ebp - 0x24]
xor dl, byte [ebp - 0x14]
mov byte [ecx], dl
inc ebx
inc dword [ebp - 0x24]
cmp ebx, 0xa
jl 0x43be36
mov ecx, edi
mov edx, esi
mov eax, dword [ebp - 4]
call fcn.0043bda0
mov eax, dword [ebp - 8]
lea ecx, [ebp - 0x20]
mov edx, eax
xor ebx, ebx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], ecx
mov edx, edi
mov eax, esi
call fcn.0043bd34
mov dword [ebp - 0x10], eax
mov eax, esi
mov ecx, dword [ebp - 0x28]
mov edx, edi
movzx ecx, byte [ecx]
call fcn.0043bd54
mov al, byte [ebp - 0x10]
mov edx, dword [ebp - 0x28]
xor al, byte [edx]
mov ecx, dword [ebp - 0x2c]
mov byte [ecx], al
inc ebx
inc dword [ebp - 0x2c]
inc dword [ebp - 0x28]
cmp ebx, 0xa
jl 0x43be8e
mov edx, edi
mov eax, esi
call fcn.0043bd34
mov dword [ebp - 0x10], eax
mov eax, esi
mov ecx, dword [ebp + 8]
mov edx, edi
shr ecx, 0x10
and ecx, 0xff
call fcn.0043bd54
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 8]
shr eax, 0x10
mov cl, byte [ebp - 0x10]
and al, 0xff
xor cl, al
mov eax, esi
mov byte [edx + ebx], cl
mov edx, edi
inc ebx
call fcn.0043bd34
mov dword [ebp - 0x10], eax
mov eax, esi
mov ecx, dword [ebp + 8]
mov edx, edi
shr ecx, 0x18
and ecx, 0xff
call fcn.0043bd54
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 8]
shr eax, 0x18
mov cl, byte [ebp - 0x10]
and al, 0xff
xor cl, al
mov byte [edx + ebx], cl
inc ebx
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x43ce90
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff4
xor esi, esi
test eax, eax
mov dword [esp + 4], ecx
mov dword [esp], edx
jne 0x43cead
mov eax, 0xffffff9a
jmp 0x43d075
mov ebx, eax
cmp dword [ebx + 0x2c], 0
jne 0x43cebf
mov eax, 0xffffff9a
jmp 0x43d075
xor edx, edx
mov dword [ebx + 0x34], edx
cmp dword [ebx + 0x80], 8
jne 0x43cf16
cmp dword [ebx + 0x84], 0
jne 0x43cf16
test esi, esi
jne 0x43cf16
cmp dword [ebx + 0x40], 0
jne 0x43cef8
mov eax, ebx
call fcn.0043cd1c
mov dword [ebx + 0x40], 0x10000
lea edx, [ebx + 0x88]
inc eax
mov dword [ebx + 0x3c], edx
mov edi, dword [ebx + 0x44]
lea eax, [ebx + 0x30]
mov edx, 4
call fcn.0043e698
mov esi, eax
mov eax, dword [ebx + 0x44]
sub eax, edi
add dword [ebx + 0x6c], eax
test esi, esi
je 0x43ceda
cmp esi, 1
jne 0x43cf1d
xor esi, esi
cmp dword [ebx + 0x6c], 0
jbe 0x43cf34
test esi, esi
jne 0x43cf34
mov eax, ebx
call fcn.0043cd1c
inc eax
jne 0x43cf34
or esi, 0xffffffff
cmp dword [ebx + 0x80], 8
jne 0x43cf55
cmp dword [ebx + 0x84], 0
jne 0x43cf55
lea eax, [ebx + 0x30]
call fcn.0043e95c
mov esi, eax
xor eax, eax
mov dword [ebx + 0x68], eax
cmp dword [ebx + 0x84], 0
jne 0x43cf6e
mov edx, dword [ebx + 0x1008c]
mov dword [esp + 4], edx
mov ecx, dword [ebx + 0x38]
mov dword [esp], ecx
mov edi, dword [ebx + 0x44]
add edi, dword [ebx + 0x100a4]
mov eax, dword [ebx + 0x74]
add eax, 0x10
mov ecx, 4
mov edx, dword [esp + 4]
call fcn.0043c0b8
mov eax, dword [ebx + 0x74]
add eax, 0x14
mov ecx, 4
mov edx, edi
call fcn.0043c0b8
cmp dword [ebx + 0x5c], 1
jne 0x43cfb8
mov eax, dword [ebx + 0x74]
add eax, 0x24
mov ecx, 2
mov edx, 1
call fcn.0043c0b8
mov eax, dword [ebx + 0x74]
add eax, 0x18
mov ecx, 4
mov edx, dword [esp]
call fcn.0043c0b8
test esi, esi
jne 0x43cfdf
lea eax, [ebx + 0x24]
mov ecx, dword [ebx + 0x78]
mov edx, dword [ebx + 0x74]
call fcn.0043bf90
mov esi, eax
mov eax, dword [ebx + 0x74]
push eax
call fcn.0043b748
pop ecx
test esi, esi
jne 0x43d068
mov edx, dword [ebx + 0x20]
mov eax, dword [ebx + 0x1c]
call dword [ebx + 0xc]
mov dword [esp + 8], eax
push 0
mov ecx, dword [ebx + 0x70]
mov edx, dword [ebx + 0x20]
add ecx, 0xe
mov eax, dword [ebx + 0x1c]
call dword [ebx + 0x10]
test eax, eax
je 0x43d012
or esi, 0xffffffff
test esi, esi
jne 0x43d028
push 4
mov ecx, dword [esp + 8]
mov edx, dword [ebx + 0x20]
mov eax, ebx
call fcn.0043c04c
mov esi, eax
test esi, esi
jne 0x43d03c
push 4
mov ecx, edi
mov edx, dword [ebx + 0x20]
mov eax, ebx
call fcn.0043c04c
mov esi, eax
test esi, esi
jne 0x43d052
push 4
mov ecx, dword [esp + 4]
mov edx, dword [ebx + 0x20]
mov eax, ebx
call fcn.0043c04c
mov esi, eax
push 0
mov ecx, dword [esp + 0xc]
mov edx, dword [ebx + 0x20]
mov eax, dword [ebx + 0x1c]
call dword [ebx + 0x10]
test eax, eax
je 0x43d068
or esi, 0xffffffff
inc dword [ebx + 0x100b0]
xor eax, eax
mov dword [ebx + 0x2c], eax
mov eax, esi
add esp, 0xc
pop edi
pop esi
pop ebx
ret
Function at 0x43d71c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
cmp dword [0x58e2f8], 0
je 0x43d83e
xor eax, eax
xor esi, esi
mov dword [0x58e2f8], eax
mov eax, 0x58e2fc
xor ebx, ebx
xor edx, edx
mov ecx, 0x1f
mov dl, byte [eax]
inc eax
sub ecx, edx
mov edx, 1
shl edx, cl
or esi, edx
inc ebx
cmp ebx, 0xe
jl 0x43d73d
xor ebx, ebx
mov ecx, 0x5a1930
mov eax, ebx
xor edx, edx
test al, 1
je 0x43d76f
mov edi, eax
shr edi, 1
xor edi, esi
jmp 0x43d773
mov edi, eax
shr edi, 1
mov eax, edi
inc edx
cmp edx, 8
jl 0x43d763
mov dword [ecx], eax
inc ebx
add ecx, 4
cmp ebx, 0x100
jl 0x43d75f
xor ebx, ebx
mov esi, 0x5a1930
mov eax, dword [esi]
mov ecx, eax
mov edx, eax
shr ecx, 8
shr edx, 0x18
and ecx, 0xff00
add edx, ecx
mov ecx, eax
and ecx, 0xff00
shl ecx, 8
add edx, ecx
mov ecx, eax
and ecx, 0xff
shl ecx, 0x18
add edx, ecx
lea ecx, [esi + 0x400]
mov dword [esi + 0x1000], edx
mov edx, 1
mov edi, eax
and edi, 0xff
shr eax, 8
mov edi, dword [edi*4 + 0x5a1930]
xor edi, eax
mov eax, edi
mov ebp, eax
mov edi, eax
shr ebp, 8
mov dword [ecx], eax
shr edi, 0x18
and ebp, 0xff00
add edi, ebp
mov ebp, eax
and ebp, 0xff00
shl ebp, 8
add edi, ebp
mov ebp, eax
and ebp, 0xff
shl ebp, 0x18
add edi, ebp
mov dword [ecx + 0x1000], edi
inc edx
add ecx, 0x400
cmp edx, 4
jl 0x43d7cf
inc ebx
add esi, 4
cmp ebx, 0x100
jl 0x43d790
xor eax, eax
mov dword [0x58e2f4], eax
jmp 0x43d847
cmp dword [0x58e2f4], 0
jne 0x43d83e
pop ebp
pop edi
pop esi
pop ebx
ret