joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44af2b
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
movzx eax, byte [ebp + 0x1c]
test eax, eax
je 0x44b038
lea eax, [ebp + 0x2c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
test eax, eax
je 0x44afff
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax]
test eax, eax
je 0x44afb2
mov byte [ebp - 1], 0
push 0x6a89
lea eax, [ebp - 1]
push eax
push 1
push 1
push 0x6cb9
push 1
push 0
push 0x25b3
push 0x23a2
push 0x768e
call fcn.004416de
add esp, 0x28
jmp 0x44affd
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 8]
mov dword [eax], 0
jmp 0x44afe0
mov eax, dword [ebp - 8]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 1
jge 0x44affd
mov eax, dword [ebp - 8]
push dword [eax]
mov ecx, dword [ebp - 0x30]
call fcn.00434ffd
mov dword [eax], 9
jmp 0x44afd5
jmp 0x44b033
push 0x1ed
push 0xd94
push 0x317b
push 0x5a2b
push 0xfc
push 0x597a
push 0x1a68
push 0
push 0x3676
push 0
call fcn.0044340b
add esp, 0x28
jmp 0x44b0de
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x64], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x38], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x34]
movzx eax, byte [eax]
test eax, eax
je 0x44b0c2
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x44]
movzx eax, byte [eax]
test eax, eax
je 0x44b0af
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
push dword [eax]
mov ecx, dword [ebp - 0x5c]
call fcn.00434ffd
mov dword [eax], 0xd4351cdc
jmp 0x44b0c0
push 0
push 0x1f61
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
jmp 0x44b0de
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x68], eax
push dword [ebp - 0x68]
push 0
push dword [ebp - 0x6c]
call fcn.004519ce
add esp, 0xc
mov esp, ebp
pop ebp
ret
Function at 0x452576
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
movzx eax, byte [ebp + 0x2c]
test eax, eax
je 0x452686
lea eax, [ebp + 0x10]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x28], eax
lea eax, [ebp + 8]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x4525db
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x1c]
push 1
push 0x3ead
push dword [ebp - 0x20]
push 0x3a54
call fcn.00452741
add esp, 0x14
jmp 0x452681
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x2c]
movzx eax, byte [eax]
test eax, eax
je 0x452670
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [eax], 3
jmp 0x452613
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0xc]
mov dword [ecx], eax
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0
jl 0x45266e
push 0x511f
push 0
push 0x2088
push 0x3475
push 1
push 0x640c
push 0x5a4d
push 0x6fb8
push 0x8fd
push 0x3a50
push 0x1086
push 0x21c0
push 0
push 0x22fc
push 0x4675
push 0x5f72
push 1
call fcn.0044a4cb
add esp, 0x44
jmp 0x452608
jmp 0x452681
push 0
push 0x1f61
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
jmp 0x45273d
lea eax, [ebp + 0xc]
mov dword [ebp - 0x3c], eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x38]
movzx eax, byte [eax]
test eax, eax
je 0x452727
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x48]
movzx eax, byte [eax]
test eax, eax
je 0x4526da
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x4526d8
push 0
call fcn.0044d4d5
pop ecx
jmp 0x452725
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 8]
mov dword [eax], 0
jmp 0x452708
mov eax, dword [ebp - 8]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 1
jge 0x452725
mov eax, dword [ebp - 8]
push dword [eax]
mov ecx, dword [ebp - 0x5c]
call fcn.00434ffd
mov dword [eax], 0xfffffff9
jmp 0x4526fd
jmp 0x45273d
push 0
push 0
push 0x5e02
push 0x325f
call fcn.004428c1
add esp, 0x10
mov esp, ebp
pop ebp
ret
Function at 0x455de1
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x455eb5
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x24], eax
lea eax, [ebp + 8]
mov dword [ebp - 8], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x455e8d
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax]
test eax, eax
je 0x455e83
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [eax], 1
jmp 0x455e4d
mov eax, dword [ebp - 4]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jl 0x455e81
mov dword [ebp - 0x20], 0x4f27
push 0
push 1
push 0x5f32
push 0x6da8
push 0x3563
push 1
push 1
lea eax, [ebp - 0x20]
push eax
call fcn.0044f5cc
add esp, 0x20
jmp 0x455e42
jmp 0x455e8b
push 0
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
jmp 0x455eb3
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
push 0
push 1
push 0x2a11
push dword [ebp - 0x28]
push 0x507c
push 0x4eca
push 1
call fcn.0045a073
add esp, 0x1c
jmp 0x455ed0
push 0x6058
push 0x4dcf
push 1
push 1
push 0x49b6
call fcn.0044861d
add esp, 0x14
mov esp, ebp
pop ebp
ret
Function at 0x48db5c
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret
Function at 0x49bb7f
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4ae484]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.0048b9e4
mov dword [ebp - 0x14], eax
cmp dword [0xaa8fd0], esi
jne 0x49bc72
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x49bbff
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x49bd52
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x49bd52
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x49bd52
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0xaa8fd0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0xaa8fd4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0xaa8fd8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0xaa8fe0], eax
test eax, eax
je 0x49bc6f
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0xaa8fdc], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x49bc97
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x49bc8a
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x49bcac
push 4
pop eax
jmp 0x49bd54
cmp dword [ebp - 0x14], esi
je 0x49bcac
push dword [0xaa8fd0]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x49bc91
mov eax, dword [0xaa8fdc]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x49bd0a
cmp dword [0xaa8fe0], edi
je 0x49bd0a
push eax
call ebx
push dword [0xaa8fe0]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x49bd0a
test eax, eax
je 0x49bd0a
call ecx
test eax, eax
je 0x49bcff
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x49bcff
test byte [ebp - 8], 1
jne 0x49bd0a
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x49bd3a
mov eax, dword [0xaa8fd4]
cmp eax, edi
je 0x49bd37
push eax
call ebx
test eax, eax
je 0x49bd37
call eax
mov esi, eax
test esi, esi
je 0x49bd37
mov eax, dword [0xaa8fd8]
cmp eax, edi
je 0x49bd37
push eax
call ebx
test eax, eax
je 0x49bd37
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0xaa8fd0]
call ebx
test eax, eax
je 0x49bd52
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x49bd54
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0048ae8b
mov esp, ebp
pop ebp
ret
Function at 0x10ca0b0
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.010ca200
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x10ca0d6
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x10ca0c2
add dl, dl
jne 0x10ca0e1
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x10ca134
xor eax, eax
add dl, dl
jne 0x10ca0ee
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x10ca1d5
add dl, dl
jne 0x10ca0fd
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x10ca108
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x10ca113
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x10ca11e
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x10ca12a
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x10ca0cd
mov eax, 1
add dl, dl
jne 0x10ca142
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x10ca14d
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10ca139
sub eax, ebx
mov ebx, 1
jne 0x10ca180
mov ecx, 1
add dl, dl
jne 0x10ca166
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x10ca171
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10ca15d
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10ca0cd
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x10ca197
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x10ca1a2
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10ca18e
cmp eax, 0x7d00
jae 0x10ca1c5
cmp eax, 0x500
jb 0x10ca1c0
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10ca0cd
cmp eax, 0x7f
ja 0x10ca1c8
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10ca0cd
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x10ca1f6
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x10ca0cd
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x403b28
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
xor esi, esi
inc esi
cmp dword [0x46c3fc], esi
push edi
jne 0x403b48
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
cmp dword [ebp + 0xc], 0
mov al, byte [ebp + 0x10]
mov dword [0x46c3f8], esi
mov byte [0x46c3f4], al
jne 0x403bae
mov ecx, dword [0x46c928]
test ecx, ecx
je 0x403b8f
mov eax, dword [0x46c924]
sub eax, 4
cmp eax, ecx
jmp 0x403b88
mov eax, dword [eax]
test eax, eax
je 0x403b7a
call eax
mov eax, dword [0x46c924]
sub eax, 4
cmp eax, dword [0x46c928]
mov dword [0x46c924], eax
jae 0x403b72
mov eax, 0x40a01c
mov esi, 0x40a020
cmp eax, esi
mov edi, eax
jae 0x403bae
mov eax, dword [edi]
test eax, eax
je 0x403ba7
call eax
add edi, 4
cmp edi, esi
jb 0x403b9f
mov eax, 0x40a024
mov esi, 0x40a028
cmp eax, esi
mov edi, eax
jae 0x403bcd
mov eax, dword [edi]
test eax, eax
je 0x403bc6
call eax
add edi, 4
cmp edi, esi
jb 0x403bbe
cmp dword [ebp + 0x10], 0
pop edi
pop esi
jne 0x403be7
push dword [ebp + 8]
mov dword [0x46c3fc], 1
call fcn.00403a8e
pop ebp
ret

Function at 0x403c29
Capabilities:
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x8c]
sub esp, 0x10c
mov eax, dword [0x46c270]
mov ecx, dword [ebp + 0x94]
push ebx
push esi
mov dword [ebp + 0x88], eax
xor edx, edx
push edi
xor eax, eax
cmp ecx, dword [eax*8 + 0x46c140]
je 0x403c5e
inc eax
cmp eax, 0x13
jb 0x403c4f
mov esi, eax
shl esi, 3
cmp ecx, dword [esi + 0x46c140]
jne 0x403d84
mov eax, dword [0x46c3ac]
cmp eax, 1
je 0x403d5c
cmp eax, edx
jne 0x403c8e
cmp dword [0x46c138], 1
je 0x403d5c
cmp ecx, 0xfc
je 0x403d84
push 0x104
lea eax, [ebp - 0x80]
push eax
push edx
mov byte [ebp + 0x84], dl
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x403cc4
lea eax, [ebp - 0x80]
push 0x408554
push eax
call fcn.00403700
pop ecx
pop ecx
lea edi, [ebp - 0x80]
mov eax, edi
push eax
call fcn.00404ad0
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x403cf8
mov eax, edi
push eax
call fcn.00404ad0
mov edi, eax
lea eax, [ebp - 0x80]
sub eax, 0x3b
push 3
add edi, eax
push 0x408550
push edi
call fcn.004049a0
add esp, 0x10
push edi
call fcn.00404ad0
push dword [esi + 0x46c144]
mov ebx, eax
call fcn.00404ad0
lea eax, [ebx + eax + 0x1c]
pop ecx
add eax, 3
pop ecx
and eax, 0xfffffffc
call fcn.004047a0
mov ebx, esp
push 0x408534
push ebx
call fcn.00403700
push edi
push ebx
call fcn.00403710
push 0x408530
push ebx
call fcn.00403710
push dword [esi + 0x46c144]
push ebx
call fcn.00403710
push 0x12010
push 0x408508
push ebx
call fcn.00404899
add esp, 0x2c
jmp 0x403d84
push edx
lea eax, [ebp + 0x94]
push eax
lea esi, [esi + 0x46c144]
push dword [esi]
call fcn.00404ad0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
lea esp, [ebp - 0x8c]
mov ecx, dword [ebp + 0x88]
call fcn.00404b8c
pop edi
pop esi
pop ebx
add ebp, 0x8c
leave
ret
Function at 0x404899
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
cmp dword [0x46c514], ebx
push esi
push edi
jne 0x404919
push 0x4085f0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x404954
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4085e4
push edi
call esi
test eax, eax
mov dword [0x46c514], eax
je 0x404954
push 0x4085d4
push edi
call esi
push 0x4085c0
push edi
mov dword [0x46c518], eax
call esi
cmp dword [0x46c3bc], 2
mov dword [0x46c51c], eax
jne 0x404919
push 0x4085a4
push edi
call esi
test eax, eax
mov dword [0x46c524], eax
je 0x404919
push 0x40858c
push edi
call esi
mov dword [0x46c520], eax
mov eax, dword [0x46c520]
test eax, eax
je 0x40495e
call eax
test eax, eax
je 0x404945
lea ecx, [ebp - 4]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [0x46c524]
test eax, eax
je 0x404945
test byte [ebp - 8], 1
jne 0x40495e
cmp dword [0x46c3c8], 4
jb 0x404958
or byte [ebp + 0x12], 0x20
jmp 0x40497d
xor eax, eax
jmp 0x40498d
or byte [ebp + 0x12], 4
jmp 0x40497d
mov eax, dword [0x46c518]
test eax, eax
je 0x40497d
call eax
mov ebx, eax
test ebx, ebx
je 0x40497d
mov eax, dword [0x46c51c]
test eax, eax
je 0x40497d
push ebx
call eax
mov ebx, eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
call dword [0x46c514]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x43aada
Capabilities:
Encode data using xor

Disassembly:
push cs
add ecx, dword [eax + ebp*4]
mov ebp, edx
shr ebp, 8
and ebp, esi
xor ecx, dword [eax + ebp*4 + 0x800]
mov ebp, edx
and ebp, esi
add ecx, dword [eax + ebp*4 + 0xc00]
add byte [eax + eax], cl
add byte [ecx], dh
fnstenv [ebx]
mov byte [eax + edx], ah
add byte [eax], al
mov ebp, ecx
shr ebp, 0x18
mov ebx, ecx
shr ebx, 0xe
and dword [esi], ecx
add al, 0xeb
jnp 0x43aa81
pushfd
sbb byte [eax], al
add al, 0
add byte [ebx], al
sbb al, 0xa8
mov ebp, ecx
shr ebp, 8
and ebp, esi
xor ebx, dword [eax + ebp*4 + 0x800]
mov ebp, ecx
and ebp, esi
add ebx, dword [eax + ebp*4 + 0xc00]
xor ebx, edx
xor ebx, dword [eax + 0x1028]
mov ebp, ebx
shr ebp, 0x18
mov edx, ebx
shr edx, 0xe
push cs
and edx, edi
mov edx, dword [eax + edx + 0x400]
add edx, dword [eax + ebp*4]
mov ebp, ebx
shr ebp, 8
and ebp, esi
xor edx, dword [eax + ebp*4 + 0x800]
mov ebp, ebx
and ebp, esi
add edx, dword [eax + ebp*4 + 0xc00]
xor edx, ecx
xor edx, dword [eax + 0x102c]
mov ebp, edx
shr ebp, 0x18
mov ecx, edx
shr ecx, 0xe
and ecx, edi
mov ecx, dword [eax + ecx + 0x400]
add ecx, dword [eax + ebp*4]
mov ebp, edx
shr ebp, 8
and ebp, esi
xor ecx, dword [eax + ebp*4 + 0x800]
mov ebp, edx
and ebp, esi
add ecx, dword [eax + ebp*4 + 0xc00]
xor ecx, ebx
xor ecx, dword [eax + 0x1030]
mov ebp, ecx
shr ebp, 0x18
mov ebx, ecx
shr ebx, 0xe
and dword [esi], ecx
add al, 0xeb
jnp 0x43ab29
pushfd
sbb byte [eax], al
add al, 0
add byte [ebx], al
sbb al, 0xa8
mov ebp, ecx
shr ebp, 8
and ebp, esi
xor ebx, dword [eax + ebp*4 + 0x800]
mov ebp, ecx
and ebp, esi
add ebx, dword [eax + ebp*4 + 0xc00]
xor ebx, edx
xor ebx, dword [eax + 0x1034]
mov ebp, ebx
shr ebp, 0x18
mov edx, ebx
shr edx, 0xe
and edx, edi
mov edx, dword [eax + edx + 0x400]
add edx, dword [eax + ebp*4]
mov ebp, ebx
shr ebp, 8
and ebp, esi
xor edx, dword [eax + ebp*4 + 0x800]
mov ebp, ebx
and ebp, esi
add edx, dword [eax + ebp*4 + 0xc00]
xor edx, ecx
xor edx, dword [eax + 0x1038]
mov ebp, edx
shr ebp, 0x18
mov ecx, edx
shr ecx, 0xe
and ecx, edi
mov ecx, dword [eax + ecx + 0x400]
add ecx, dword [eax + ebp*4]
mov ebp, edx
shr ebp, 8
and ebp, esi
xor ecx, dword [eax + ebp*4 + 0x800]
mov ebp, edx
and ebp, esi
add ecx, dword [eax + ebp*4 + 0xc00]
xor ecx, ebx
xor ecx, dword [eax + 0x103c]
mov ebx, ecx
shr ebx, 0xe
and ebx, edi
mov edi, ecx
shr edi, 0x18
mov ebx, dword [eax + ebx + 0x400]
add ebx, dword [eax + edi*4]
mov edi, ecx
shr edi, 8
and edi, esi
xor ebx, dword [eax + edi*4 + 0x800]
and esi, ecx
add ebx, dword [eax + esi*4 + 0xc00]
xor ebx, edx
xor ebx, dword [eax + 0x1040]
xor ecx, dword [eax + 0x1044]
mov eax, dword [esp + 0x14]
mov dword [eax], ecx
mov dword [eax + 4], ebx
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x44a3c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x118
mov ebx, edx
mov edi, ecx
mov esi, dword [ebp + 8]
mov eax, dword [0x4c1074]
xor eax, ebp
mov dword [esp + 0x110], eax
mov eax, dword [ecx + 0x194]
mov edx, dword [ecx + 0x198]
sub edx, eax
cmp edx, esi
ja 0x44a71a
lea ecx, [edi + 0x20]
mov dword [esp + 0x2c], ecx
mov dword [esp + 8], edi
add dword [esi], ecx
add al, 0xeb
js 0x44a410
enter 0, 0
push edx
mov dword [esp + 0x28], ebx
push ebx
push eax
mov ebx, edx
call fcn.0047c161
add esp, 0xc
mov dword [esp + 0x20], ebx
sub esi, ebx
mov dword [esp + 0x28], esi
mov eax, edi
xor ecx, ecx
xor edx, edx
xor esi, esi
cmp edx, dword [edi + 0x198]
jae 0x44a462
mov edi, dword [edi + edx + 0xc8]
mov ebx, dword [esp + 8]
mov ebx, dword [ebx + edx + 0xcc]
xor dword [eax + esi*8], edi
xor dword [eax + esi*8 + 4], ebx
mov edi, dword [esp + 8]
add edx, 8
add esi, 5
cmp esi, 0x19
jne 0x44a432
inc ecx
add eax, 8
cmp ecx, 5
jne 0x44a430
xor ecx, ecx
mov dword [esp + 0x30], ecx
mov eax, dword [esp + 0x2c]
xor ecx, ecx
mov edx, dword [eax - 0x18]
mov esi, dword [eax - 0x14]
xor edx, dword [eax - 0x20]
xor esi, dword [eax - 0x1c]
xor esi, dword [eax - 0xc]
xor edx, dword [eax - 0x10]
xor edx, dword [eax - 8]
xor esi, dword [eax - 4]
xor esi, dword [eax + 4]
xor edx, dword [eax]
mov dword [esp + ecx*8 + 0x48], edx
mov dword [esp + ecx*8 + 0x4c], esi
inc ecx
add eax, 0x28
cmp ecx, 5
jne 0x44a477
xor edx, edx
mov dword [esi], ecx
add al, 0xeb
js 0x44a43a
dec edx
add dword [eax], eax
loopne 0x44a500
mov bh, 0xb6
int1
imul esi, esi, 0xcd
shr esi, 0xa
lea ebx, [esi + esi*4]
mov dword [esp + 4], ecx
sub cl, bl
add al, ah
dec esi
mov bh, 0xb6
leave
mov ebx, dword [esp + ecx*8 + 0x48]
mov esi, dword [esp + ecx*8 + 0x4c]
mov edi, ebx
shld edi, esi, 1
shld esi, ebx, 1
add dl, 4
add al, ah
dec esi
mov bh, 0xb6
retf 0xc969
dec eax
xor edx, edx
xor dword [eax + edx*8], edi
xor dword [eax + edx*8 + 4], esi
inc edx
cmp edx, 5
jne 0x44a503
add eax, 0x28
mov edx, dword [esp + 4]
cmp edx, 5
jne 0x44a4b5
xor edx, edx
mov dword [esp + 0x1c], 0x49e82c
lea eax, [esp + 0x48]
mov edi, dword [esp + 8]
xor esi, esi
mov ebx, 0xcccccccd
mov dword [esp + 0x34], esi
mov dword [esp + 0x3c], edx
mov dword [esp + 0x38], eax
mov dword [esp + 0xc], eax
xor ecx, ecx
mov dword [esp + 0x40], edi
mov dword [esp + 0x18], edx
mov eax, edx
mul ebx
add edx, edx
and edx, 0xfffffff8
mov ebx, ecx
mov eax, dword [edi + ecx*8]
mov ecx, dword [edi + ecx*8 + 4]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x1c]
mov cl, byte [ecx + ebx*4]
mov edi, eax
sar byte [eax], 1
adc ebp, dword [ebp + 0x24748be7]
adc byte [edi], cl
movsd dword es:[edi], dword [esi]
invalid
push eax
call fcn.0047120d
add esp, 8
mov dword [edi + 0x194], 0
mov edx, dword [edi + 0x198]
add dword [eax], eax
add byte [ecx], dh
ror byte [ebx + 0x39282474], 0xd6