joyce8/EMBER2024-capa huggingface dataset:
Function at 0x414070
Capabilities:
Get common file path
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x240
mov eax, dword [0x43e044]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 0x103
lea ecx, [ebp - 0x23b]
push 0
push ecx
mov dword [ebp - 0x240], eax
mov byte [ebp - 0x23c], 0
call fcn.00422210
push 0x103
lea edx, [ebp - 0x137]
push 0
push edx
mov byte [ebp - 0x138], 0
call fcn.00422210
xor eax, eax
add esp, 0x18
mov dword [ebp - 0x33], eax
mov dword [ebp - 0x2f], eax
mov dword [ebp - 0x2b], eax
mov dword [ebp - 0x27], eax
mov dword [ebp - 0x23], eax
mov dword [ebp - 0x1f], eax
mov dword [ebp - 0x1b], eax
mov word [ebp - 0x17], ax
mov byte [ebp - 0x15], al
mov byte [ebp - 0x14], al
mov dword [ebp - 0x13], eax
mov dword [ebp - 0xf], eax
mov dword [ebp - 0xb], eax
mov word [ebp - 7], ax
mov byte [ebp - 5], al
push 0x104
lea eax, [ebp - 0x23c]
push eax
mov byte [ebp - 0x34], 0
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov ebx, dword [sym.imp.USER32.dll_wsprintfA]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
xor edi, edi
jmp 0x414120
push 0x104
lea ecx, [ebp - 0x138]
push 0
push ecx
call fcn.00422210
push edi
lea edx, [ebp - 0x23c]
push edx
lea eax, [ebp - 0x138]
push str._sinfoem_i.inf
push eax
call ebx
add esp, 0x1c
lea ecx, [ebp - 0x138]
push ecx
push 0x20
xor eax, eax
lea edx, [ebp - 0x34]
push edx
push 0x433740
push 0x43b7bc
push str.Strings
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
call esi
test eax, eax
je 0x4141f5
lea eax, [ebp - 0x34]
push str.SunMoon_Rise
push eax
call fcn.0042664a
add esp, 8
test eax, eax
jne 0x4141f5
lea ecx, [ebp - 0x138]
push ecx
push 0x10
lea edx, [ebp - 0x14]
push edx
push 0x433740
push str.DriverName
push str.Strings
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
call esi
test eax, eax
je 0x4141f5
lea eax, [ebp - 0x14]
push 0x434f20
push eax
call fcn.0042664a
add esp, 8
test eax, eax
jne 0x4141f5
lea ecx, [ebp - 0x138]
push 0x5c
push ecx
call fcn.0041cb10
add esp, 8
test eax, eax
jne 0x414215
inc edi
cmp edi, 0x3e7
jl 0x414120
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041a70e
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0x240]
push 0xc
inc eax
push eax
push edx
call fcn.0041aae0
mov ecx, dword [ebp - 4]
add esp, 0xc
pop edi
pop esi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.0041a70e
mov esp, ebp
pop ebp
ret
Function at 0x414240
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x598
mov eax, dword [0x43e044]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 0x43b7e4
call fcn.00403790
xor eax, eax
add esp, 4
xor ebx, ebx
push 0x3e
lea ecx, [ebp - 0x66]
push ebx
push ecx
mov byte [ebp - 0x24], bl
mov dword [ebp - 0x23], eax
mov dword [ebp - 0x1f], eax
mov dword [ebp - 0x1b], eax
mov dword [ebp - 0x17], eax
mov dword [ebp - 0x13], eax
mov dword [ebp - 0xf], eax
mov dword [ebp - 0xb], eax
mov word [ebp - 7], ax
mov byte [ebp - 5], al
mov word [ebp - 0x68], ax
call fcn.00422210
add esp, 0xc
push 0x3fe
lea eax, [ebp - 0x56e]
xor edx, edx
push ebx
push eax
mov word [ebp - 0x570], dx
call fcn.00422210
add esp, 0xc
push 0x103
lea ecx, [ebp - 0x16f]
push ebx
push ecx
mov byte [ebp - 0x170], bl
call fcn.00422210
lea edx, [ebp - 0x24]
add esp, 0xc
push edx
call fcn.00414070
add esp, 4
test eax, eax
je 0x414409
lea eax, [ebp - 0x68]
push eax
lea ebx, [ebp - 0x24]
call fcn.00409890
add esp, 4
lea ecx, [ebp - 0x68]
push ecx
lea edx, [ebp - 0x570]
push str.PnP___s__Exist.
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
lea eax, [ebp - 0x570]
add esp, 0xc
push eax
call fcn.00403790
add esp, 4
mov ecx, ebx
push ecx
lea edx, [ebp - 0x170]
push str.pnputil.exe__f__d__s
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push str.GetNativeSystemInfo
push str.kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x414358
lea ecx, [ebp - 0x594]
push ecx
call eax
movzx eax, word [ebp - 0x594]
test eax, eax
je 0x414393
cmp eax, 9
jne 0x414393
call fcn.00404690
push 0
cmp eax, 1
jne 0x41438a
lea edx, [ebp - 0x170]
push edx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
call fcn.004046f0
jmp 0x4143a4
lea eax, [ebp - 0x170]
push eax
jmp 0x41439c
push 0
lea ecx, [ebp - 0x170]
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
cmp esi, 0x1f
ja 0x4143c8
push str.PnP_Delete_Result_Fail___
call fcn.00403790
add esp, 4
xor al, al
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041a70e
mov esp, ebp
pop ebp
ret
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
lea edx, [ebp - 0x24]
push edx
call fcn.00414070
add esp, 4
test eax, eax
je 0x414402
push str.PnP_Delete_Fail___
call fcn.00403790
add esp, 4
xor al, al
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041a70e
mov esp, ebp
pop ebp
ret
push str.PnP_Delete_Success___
jmp 0x41440e
push str.PnP_oemX.inf_not_Exist.
call fcn.00403790
mov ecx, dword [ebp - 4]
add esp, 4
pop esi
xor ecx, ebp
mov al, 1
pop ebx
call fcn.0041a70e
mov esp, ebp
pop ebp
ret
Function at 0x4149e0
Capabilities:
Delete file
Delete service
Query service status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa4c
mov eax, dword [0x43e044]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 2
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
test eax, eax
je 0x414bfe
push 0xf01ff
push 0x43a198
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov ebx, eax
mov dword [ebp - 0xa4c], ebx
test ebx, ebx
je 0x414bfe
xor eax, eax
push 0x7fe
push eax
lea ecx, [ebp - 0xa0e]
push ecx
mov word [ebp - 0xa10], ax
call fcn.00422210
add esp, 0xc
xor edx, edx
push 0x206
push edx
lea eax, [ebp - 0x20e]
push eax
xor esi, esi
mov word [ebp - 0x210], dx
call fcn.00422210
add esp, 0xc
lea ecx, [ebp - 0xa2c]
push ecx
push 0xc8
push ebx
call dword [sym.imp.ADVAPI32.dll_ControlService]
lea edx, [ebp - 0x210]
push str.C:Program_FilesWW2017CFwmcSystem7.exe
push edx
xor edi, edi
call dword [sym.imp.USER32.dll_wsprintfW]
lea eax, [ebp - 0x210]
push edi
push eax
call fcn.0041ad6e
add esp, 0x10
test eax, eax
jne 0x414b01
mov ebx, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea ebx, [ebx]
cmp edi, 0x1e
je 0x414afb
push 0x42fc8c
call fcn.00413a80
add esp, 4
push 0x80
lea ecx, [ebp - 0x210]
push ecx
call ebx
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x64
inc edi
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.0041ad6e
add esp, 8
test eax, eax
je 0x414ab0
mov ebx, dword [ebp - 0xa4c]
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [ebp - 0xa48]
push ecx
push ebx
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
cmp dword [ebp - 0xa44], 1
je 0x414b68
mov edi, dword [sym.imp.USER32.dll_wsprintfW]
inc esi
push esi
lea edx, [ebp - 0xa10]
push 0x43b988
push edx
call edi
lea eax, [ebp - 0xa10]
add esp, 0xc
push eax
call fcn.00403790
add esp, 4
cmp esi, 5
je 0x414b7a
lea ecx, [ebp - 0xa2c]
push ecx
push 0xc8
push ebx
call dword [sym.imp.ADVAPI32.dll_ControlService]
cmp esi, 5
jle 0x414b01
push 0x43b9b4
call fcn.00403790
mov edi, dword [sym.imp.USER32.dll_wsprintfW]
jmp 0x414b84
push str.PbkW
call fcn.00403790
add esp, 4
push ebx
call dword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
jne 0x414bc5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea edx, [ebp - 0xa10]
push 0x43b9f4
push edx
call edi
lea eax, [ebp - 0xa10]
add esp, 0xc
push eax
call fcn.00403790
add esp, 4
mov dword [0x43f96c], 0
jmp 0x414bec
lea ecx, [ebp - 0xa10]
push 0x43ba20
push ecx
call edi
lea edx, [ebp - 0xa10]
push edx
call fcn.00403790
add esp, 0xc
mov dword [0x43f96c], 1
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041a70e
mov esp, ebp
pop ebp
ret
Function at 0x415010
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x43e044]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x20a]
push ecx
mov word [ebp - 0x20c], ax
call fcn.00422210
mov ebx, dword [sym.imp.USER32.dll_wsprintfW]
lea edx, [ebp - 0x20c]
push str.C:Program_FilesWW2017CFWM7F.cab
push edx
call ebx
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.0041ad6e
add esp, 0x1c
test eax, eax
jne 0x41509f
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, 0x43f638
mov ecx, dword [esi]
push ecx
lea edx, [ebp - 0x20c]
push str.C:Program_FilesWW2017CF_s
push edx
call ebx
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
call edi
add esi, 4
cmp esi, 0x43f6b4
jl 0x415075
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.0041a70e
mov esp, ebp
pop ebp
ret
Function at 0x417540
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push edi
mov edi, dword [esi + 0x2c]
mov dword [ebp - 0xc], edi
jmp 0x417553
mov edi, dword [ebp - 0xc]
mov ebx, dword [esi + 0x3c]
sub ebx, dword [esi + 0x74]
mov eax, dword [esi + 0x6c]
mov ecx, dword [esi + 0x2c]
sub ebx, eax
lea edx, [edi + ecx - 0x106]
mov dword [ebp - 4], ebx
cmp eax, edx
jb 0x4175cd
mov eax, dword [esi + 0x38]
push edi
lea ecx, [eax + edi]
push ecx
push eax
call fcn.00421660
mov edx, dword [esi + 0x4c]
mov eax, dword [esi + 0x44]
sub dword [esi + 0x70], edi
sub dword [esi + 0x6c], edi
add esp, 0xc
sub dword [esi + 0x5c], edi
lea ecx, [eax + edx*2]
movzx eax, word [ecx - 2]
sub ecx, 2
cmp eax, edi
jb 0x4175a1
sub eax, edi
jmp 0x4175a3
xor eax, eax
dec edx
mov word [ecx], ax
jne 0x417592
mov ecx, dword [esi + 0x40]
mov edx, edi
lea ecx, [ecx + edi*2]
movzx eax, word [ecx - 2]
sub ecx, 2
cmp eax, edi
jb 0x4175c0
sub eax, edi
jmp 0x4175c2
xor eax, eax
dec edx
mov word [ecx], ax
jne 0x4175b1
add ebx, edi
mov dword [ebp - 4], ebx
mov edi, dword [esi]
cmp dword [edi + 4], 0
je 0x417682
mov edx, dword [esi + 0x74]
add edx, dword [esi + 0x6c]
mov eax, dword [edi + 4]
add edx, dword [esi + 0x38]
mov ecx, dword [ebp - 4]
mov ebx, eax
mov dword [ebp - 8], edx
cmp ebx, ecx
jbe 0x4175f3
mov ebx, ecx
test ebx, ebx
je 0x417646
sub eax, ebx
mov dword [edi + 4], eax
mov eax, dword [edi + 0x1c]
mov eax, dword [eax + 0x18]
cmp eax, 1
jne 0x417615
mov edx, dword [edi]
mov ecx, dword [edi + 0x30]
mov eax, ebx
call fcn.00418070
jmp 0x41762e
cmp eax, 2
jne 0x417634
mov ecx, dword [edi]
mov eax, dword [edi + 0x30]
test ecx, ecx
jne 0x417627
xor eax, eax
jmp 0x417631
mov edx, ebx
call fcn.00418710
mov edx, dword [ebp - 8]
mov dword [edi + 0x30], eax
mov ecx, dword [edi]
push ebx
push ecx
push edx
call fcn.00421660
add dword [edi], ebx
add esp, 0xc
add dword [edi + 8], ebx
add dword [esi + 0x74], ebx
mov edi, dword [esi + 0x74]
cmp edi, 3
jb 0x41766e
mov edx, dword [esi + 0x6c]
add edx, dword [esi + 0x38]
mov ecx, dword [esi + 0x58]
movzx eax, byte [edx]
mov dword [esi + 0x48], eax
shl eax, cl
movzx ecx, byte [edx + 1]
xor eax, ecx
and eax, dword [esi + 0x54]
mov dword [esi + 0x48], eax
cmp edi, 0x106
jae 0x417682
mov edx, dword [esi]
cmp dword [edx + 4], 0
jne 0x417550
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4186f0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
test ecx, ecx
jne 0x4186fb
xor eax, eax
pop ebp
ret
mov eax, dword [ebp + 8]
pop ebp
jmp fcn.00418710
Function at 0x41a70e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x43e044]
jne 0x41a718
repz ret
jmp fcn.0041ccdd

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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x41ad16
call fcn.0041dfae
mov dword [eax], esi
call fcn.0041df9b
push 0x16
pop esi
mov dword [eax], esi
call fcn.0041df49
mov eax, esi
jmp 0x41ad6b
test dword [ebp + 0xc], 0xfffffff9
jne 0x41acfc
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x41ad43
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0041dfc1
pop ecx
call fcn.0041df9b
mov eax, dword [eax]
jmp 0x41ad6b
test al, 0x10
jne 0x41ad69
test al, 1
je 0x41ad69
test byte [ebp + 0xc], 2
je 0x41ad69
call fcn.0041dfae
mov dword [eax], 5
call fcn.0041df9b
mov dword [eax], 0xd
jmp 0x41ad3a
xor eax, eax
pop esi
pop ebp
ret
Function at 0x423f5e
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x43e044]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0041d800
and dword [ebp - 0x14], 0
cmp dword [0xb43c88], 0
mov dword [ebp - 0x18], eax
jne 0x424011
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4240b9
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x42ec9c
push ebx
call edi
test eax, eax
je 0x4240b9
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0xb43c88], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0xb43c8c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0xb43c90], eax
call edi
push eax
call esi
mov dword [0xb43c98], eax
test eax, eax
je 0x424011
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0xb43c94], eax
mov eax, dword [0xb43c94]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x42406a
cmp dword [0xb43c98], ecx
je 0x42406a
push eax
call esi
push dword [0xb43c98]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x42406a
test ebx, ebx
je 0x42406a
call edi
test eax, eax
je 0x424061
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x424061
test byte [ebp - 8], 1
jne 0x42406a
or dword [ebp + 0x10], 0x200000
jmp 0x42409d
mov eax, dword [0xb43c8c]
cmp eax, dword [ebp - 0x18]
je 0x42409d
push eax
call esi
test eax, eax
je 0x42409d
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x42409d
mov eax, dword [0xb43c90]
cmp eax, dword [ebp - 0x18]
je 0x42409d
push eax
call esi
test eax, eax
je 0x42409d
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0xb43c88]
call esi
test eax, eax
je 0x4240b9
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4240bb
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041a70e
leave
ret
Function at 0x409ea0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x118
mov eax, dword [0x4c6480]
mov dword [esp + 4], ecx
push esi
push edi
test al, 1
je 0x40b3d6
mov edi, dword [ebp + 0x10]
xor eax, eax
push 8
mov word [esp + 0x5c], 1
add dword [eax], eax
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], 0
add byte [ecx - 0x76f3dbbc], cl
inc esp
and al, 0x2c
mov word [esp + 0x30], 1
call fcn.00420db6
mov edx, eax
mov dword [esp + 0x20], eax
add esp, 4
test edx, edx
je 0x40b52a
mov dword [edx], 0x14
mov esi, dword [ebp + 0xc]
mov dword [edx + 4], 0
mov dword [esp + 0x54], edx
mov edx, dword [ebp + 8]
mov ecx, dword [esi]
mov dword [esp + 0x50], 1
mov dword [esp + 0x10], 0x17
mov eax, dword [edx + 4]
mov eax, dword [eax + ecx*4]
movsx eax, word [eax + 0xa]
mov dword [esp + 0x5c], eax
jmp 0x409faa
or eax, 1
mov dword [0x4c6488], 0
push 0x43b5ec
mov dword [0x4c6480], eax
mov dword [0x4c6490], 0
mov dword [0x4c6494], 1
call fcn.00422d40
add esp, 4
jmp 0x409ebf
xor edx, edx
mov dword [esp + 0x1c], edx
jmp 0x409f04
Function at 0x40fd0b
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [eax + edx*4]
mov edx, esp
movsx ecx, word [eax + 0xa]
mov dword [esp + 0x4c], ecx
Function at 0x45925d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x840f08cc
push ebx
push esi
push edi
xor esi, esi
mov ebx, ecx
push esi
push esi
push 0x4c31004
push dword [ebx]
call dword [0x3e48f688]
lea ecx, [ebp + 0x2d840f40]
mov edi, eax
call fcn.004161b8
push dword [ebx]
push 0x34
call 0x5091616
push dword [ebx]
lea ecx, [ebp + 0x2d840f40]
mov dword [ebp - 4], eax
push 0x840f0800
call 0x7e811416
jl 0x4592b8
or al, 0x6a
xor al, 0xff
jne 0x4592ab
mov dword [ebp - 8], eax
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x34], ecx
lea ecx, [ebp + 0x2d840f40]
push eax
mov dword [ebp - 0x24], 0xb90400
call 0x100e14f4
test edi, edi
jle 0x459322
push dword [ebp - 4]
push esi
push 0x4c31073
push dword [ebx]
call dword [0x3e48f688]
push 0x840f0800
lea eax, [ebp - 0x17aa08c8]
push eax
push dword [ebp - 8]
lea ecx, [ebp + 0x2d840f40]
call 0xf8914bf
xor eax, eax
mov word [ebp + 0x2d840f38], ax
mov eax, dword [ebp + 8]
push dword [eax]
lea eax, [ebp - 0x17aa08c8]
push eax
call 0x4452f35
pop ecx
pop ecx
mov eax, dword [ebp + 0x74]
add eax, 0x7cf73b46
mov al, 0x3b
div dword [ebp + 3]
cmp esi, edi
jne 0x459329
or esi, 0xffffffff
lea ecx, [ebp + 0x2d840f40]
call fcn.0041619d
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x45cba9
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xb907009c
push ebx
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0x7e3b0088]
mov dword [esp + 0x5c], edi
mov eax, dword [edi + 0x28]
mov dword [esp + 0x7e3b0088], eax
mov eax, dword [edi + 0x2c]
mov dword [esp + 0x7e3b008c], eax
mov eax, dword [edi + 0x30]
mov dword [esp + 0xf7c7e90], eax
add dword [edi + 0x34], 0xffffff89
test byte [esp + edx*4], ah
jle 0x45cc68
ud0
push 4
mov dword [esp + 0x20], ecx
mov ecx, ebx
mov dword [esp + 0x64], 0x48fb84
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
pop esi
mov dword [esp + 0x28], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], 0xb70f01
mov dword [esp + 0x78], 0x491cc0
mov dword [esp + 0x7c], ebx
mov dword [esp - 0x53ba7401], ebx
mov dword [esp + 0xb70f84], ebx
mov dword [esp + 0x4c], 0x48f968
mov dword [esp + 0x20], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x74], 0xb70f47
mov dword [esp + 0x40], 0xb70f48
mov dword [esp + 0x48], 0x7e3b0040
mov eax, dword [esp + 0x3c]
cmp ecx, dword [eax + 0x14]
jl 0x45ccf0
cmp ecx, edx
jge 0xb754ce0b
mov byte [esp + 0xf], bl
cmp ecx, dword [eax + 0x14]
jge 0xfc24bc2
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 4]
mov dword [esp + 0x24], eax
mov eax, dword [eax + esi*4]
cmp word [eax + 8], bx
jne 0x45cd60
mov ecx, dword [ecx + 4]
mov dword [esp + 0x18], ecx
mov eax, dword [ecx + esi*4 + 4]
cmp word [eax + 8], 0x33
je 0x45cd3a
mov ecx, eax
mov eax, dword [esp + 0x18]
mov eax, dword [eax + esi*4]
mov eax, dword [eax]
cmp eax, dword [ecx]
je 0xfc1d05e
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + esi*4]
cmp dword [eax], 0x24
jne 0x45cd49
mov byte [esp + 0xf], 1
jmp 0x45cd52
cmp dword [eax], 0x1e
jne 0x7e80d05e
mov eax, dword [esp + 0x24]
inc esi
mov eax, dword [eax + esi*4]
cmp word [eax + 8], bx
je 0x45cd18
mov eax, dword [esp + 0x24]
inc esi
mov eax, dword [eax + esi*4]
cmp word [eax + 8], 0x41
jne 0x45cda2
mov edi, dword [esp + 0x24]
mov ecx, ebx
inc esi
mov eax, dword [edi + esi*4]
movzx eax, word [eax + 8]
cmp ax, word [esp + 0x74]
jne 0x45cd87
inc ecx
jmp 0x45cd75
cmp ax, word [esp + 0x40]
jne 0x45cd93
dec ecx
js 0x45cd9e
jmp 0x45cd75
cmp ax, word [esp + 0x48]
jne 0x45cd75
test ecx, ecx
jne 0x45cd75
mov edi, dword [esp + 0x5c]
cmp dword [esp + 0x44], edx
jge 0x45cdc2
cmp eax, dword [ebp + 8]
mov ecx, dword [esp + 0x1c]
add ecx, 0xfffffff0
mov eax, dword [eax]
add eax, ecx
lea ecx, [esp + 0x28]
push eax
call fcn.0047759a
jmp 0x45cdd7
lea ecx, [esp + 0x28]
call fcn.004098f8
mov dword [esp + 0x28], ebx
mov dword [esp + 0x34], 0xb70f01
lea eax, [esp + 0xf]
push eax
lea ecx, [esp + 0x7c]
call fcn.00456724
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x64]
call fcn.00456127
mov ecx, dword [esp + 0x44]
sub dword [esp + 0x1c], 0x10
inc ecx
mov edx, dword [esp + 0x14]
inc esi
mov dword [esp + 0x44], ecx
jmp 0x8355c7df
Function at 0x46881f
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
dec dword [0x4c3190]
jne 0x468831
call 0xfc306c1
mov eax, dword [0x4c6ef0]
mov ecx, dword [eax]
add eax, 4
mov dword [0x4c6ef0], eax
mov eax, ecx
shr eax, 0xb
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0x3ffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
mov dword [ebp - 4], eax
fild dword [ebp - 4]

Function at 0x468884
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
cld
jns 0x468874
fadd qword [0x4b9e48]
fstp qword [ebp - 8]
fld qword [ebp - 8]
fmul qword [0x4b9e20]
mov esp, ebp
pop ebp
ret
push esi
xor esi, esi
mov dword [0x4c6530], ecx
inc esi
mov ecx, 0x4c6530
jle 0x46886b
mov eax, dword [ecx]
shr eax, 0x1e
xor eax, dword [ecx]
imul eax, eax, 0x6c078965
add eax, edx
inc edx
mov dword [ecx + 4], eax
add ecx, 4
cmp ecx, 0x4c6eec
jl 0x468895
mov dword [0x4c3190], esi
mov dword [0x4c6518], esi
pop esi
ret

Function at 0x430000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x403d6f
sub eax, 0x403d15
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
add eax, 0xc
nop
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43001e
nop
nop
nop
popal
nop
nop
nop
nop
jmp fcn.00401219