joyce8/EMBER2024-capa huggingface dataset:
Function at 0x483220
Capabilities:
Write clipboard data

Disassembly:
sub esp, 8
push esi
push 0x4dc278
mov esi, ecx
call fcn.00405450
test eax, eax
jne 0x48324d
push 0x4b09ac
push str.Cant_open_clipboard_for_writing.
mov ecx, 0x4db728
call fcn.0043a4e0
pop esi
add esp, 8
ret
push ebx
push ebp
push edi
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov eax, dword [esp + 0x1c]
add eax, esi
mov ebp, esi
add esi, 4
mov dword [esp + 0x10], eax
cmp esi, eax
jbe 0x4832b4
xor esi, esi
cmp dword [0x4dc290], esi
je 0x4832a0
cmp dword [0x4dc280], esi
je 0x48328e
mov edx, dword [0x4dc278]
push edx
call dword [sym.imp.KERNEL32.DLL_GlobalUnlock]
mov dword [0x4dc280], esi
call dword [sym.imp.USER32.dll_CloseClipboard]
mov dword [0x4dc290], esi
mov dword [0x4dc278], esi
pop edi
pop ebp
pop ebx
mov eax, 1
pop esi
add esp, 8
ret
mov eax, dword [esp + 0x10]
mov ebp, dword [ebp]
mov dword [esp + 0x14], ebp
test ebp, ebp
je 0x483269
mov ecx, esi
add esi, 4
cmp esi, eax
ja 0x483269
mov ebx, dword [ecx]
mov ebp, esi
add esi, ebx
cmp esi, eax
ja 0x483269
xor ecx, ecx
test ebx, ebx
sete cl
add ecx, ebx
push ecx
push 0x42
call dword [sym.imp.KERNEL32.DLL_GlobalAlloc]
mov edi, eax
test edi, edi
je 0x48332b
test ebx, ebx
je 0x483311
push edi
call dword [sym.imp.KERNEL32.DLL_GlobalLock]
test eax, eax
je 0x483381
push ebx
push ebp
push eax
call fcn.004a3cc0
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.DLL_GlobalUnlock]
mov ebp, esi
mov edx, dword [esp + 0x14]
push edi
push edx
call dword [sym.imp.USER32.dll_SetClipboardData]
lea esi, [ebp + 4]
cmp esi, dword [esp + 0x10]
jbe 0x4832b0
jmp 0x483269
cmp dword [0x4dc290], 0
je 0x483365
cmp dword [0x4dc280], 0
je 0x483353
mov eax, dword [0x4dc278]
push eax
call dword [sym.imp.KERNEL32.DLL_GlobalUnlock]
mov dword [0x4dc280], 0
call dword [sym.imp.USER32.dll_CloseClipboard]
xor eax, eax
mov dword [0x4dc290], eax
mov dword [0x4dc278], eax
push 0x4b09ac
push str.Out_of_memory.
mov ecx, 0x4db728
call fcn.0043a4e0
pop edi
pop ebp
pop ebx
pop esi
add esp, 8
ret
push edi
call dword [sym.imp.KERNEL32.DLL_GlobalFree]
xor esi, esi
cmp dword [0x4dc290], esi
je 0x4833bf
cmp dword [0x4dc280], esi
je 0x4833ad
mov ecx, dword [0x4dc278]
push ecx
call dword [sym.imp.KERNEL32.DLL_GlobalUnlock]
mov dword [0x4dc280], esi
call dword [sym.imp.USER32.dll_CloseClipboard]
mov dword [0x4dc290], esi
mov dword [0x4dc278], esi
push 0x4b09ac
push 0x4b0da4
mov ecx, 0x4db728
call fcn.0043a4e0
pop edi
pop ebp
pop ebx
pop esi
add esp, 8
ret
Function at 0x4837b0
Capabilities:
Query environment variable

Disassembly:
push ecx
push ebx
push esi
mov esi, ecx
movzx eax, byte [esi + 0x17]
push edi
cmp eax, 3
ja case.default.0x4837c3
jmp dword [eax*4 + 0x483984]
mov eax, esi
call fcn.004011c0
cmp dword [0x4da878], 0
jne 0x483893
cmp dword [esi + 0xc], 0
jne 0x483893
mov edi, dword [esp + 0x14]
cmp dword [0x4dccac], esi
jne 0x4837f8
test edi, edi
jne 0x483855
mov ecx, dword [esi + 0x18]
push 0
lea eax, [esp + 0x10]
push eax
push ecx
call dword [sym.imp.KERNEL32.DLL_GetEnvironmentVariableW]
test eax, eax
je 0x483851
mov dword [0x4dccac], 0
test edi, edi
je 0x483849
mov eax, dword [0x4da854]
test eax, eax
je 0x48383a
mov edx, dword [esi + 0x18]
push 0
push edx
push str.An_environment_variable_is_being_accessed__see_NoEnv.
push eax
mov ecx, 0x4db728
call fcn.0043aa30
mov ecx, dword [esi + 0x18]
call fcn.00481550
pop edi
pop esi
pop ebx
pop ecx
ret 4
dec eax
pop edi
pop esi
pop ebx
pop ecx
ret 4
test edi, edi
je 0x483884
cmp byte [esi + 0x17], 0
jne 0x483860
mov eax, dword [esi + 0xc]
jmp 0x483862
mov eax, esi
test byte [eax + 0x15], 4
je 0x483873
push esi
mov ecx, 0x4db728
call fcn.0043ab70
xor eax, eax
mov word [edi], ax
mov dword [0x4dccac], eax
pop edi
pop esi
pop ebx
pop ecx
ret 4
mov dword [0x4dccac], esi
xor eax, eax
pop edi
pop esi
pop ebx
pop ecx
ret 4
mov eax, dword [esi + 0xc]
mov edi, dword [esp + 0x14]
mov ebx, eax
shr ebx, 1
test edi, edi
je 0x483915
test eax, eax
jne 0x4838cf
movzx eax, byte [esi + 0x17]
neg eax
sbb eax, eax
and eax, esi
test byte [eax + 0x15], 4
je 0x4838c1
push esi
mov ecx, 0x4db728
call fcn.0043ab70
xor ecx, ecx
mov word [edi], cx
xor eax, eax
pop edi
pop esi
pop ebx
pop ecx
ret 4
mov ecx, dword [esi + 8]
cmp edi, ecx
je 0x483915
cmp eax, 0x186a0
jae 0x483904
movzx eax, word [ecx]
test ax, ax
je 0x4838f6
add ecx, 2
mov word [edi], ax
movzx eax, word [ecx]
add edi, 2
test ax, ax
jne 0x4838e5
xor edx, edx
mov word [edi], dx
mov eax, ebx
pop edi
pop esi
pop ebx
pop ecx
ret 4
push eax
push ecx
push edi
call fcn.004a3cc0
add esp, 0xc
xor eax, eax
mov word [edi + ebx*2], ax
mov eax, ebx
pop edi
pop esi
pop ebx
pop ecx
ret 4
mov ecx, dword [esp + 0x14]
push ecx
mov ecx, dword [esi + 0xc]
call fcn.004837b0
pop edi
pop esi
pop ebx
pop ecx
ret 4
mov esi, dword [esp + 0x14]
mov ecx, esi
call fcn.00404ea0
cmp eax, 0xffffffff
jne 0x483944
xor eax, eax
test esi, esi
je 0x48397c
xor edx, edx
mov word [esi + eax*2], dx
pop edi
pop esi
pop ebx
pop ecx
ret 4
mov eax, dword [esp + 0x14]
test eax, eax
je 0x483962
xor ecx, ecx
mov word [eax], cx
xor eax, eax
pop edi
pop esi
pop ebx
pop ecx
ret 4
mov edx, dword [esi + 0x18]
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + 0x10]
push edx
push eax
call ecx
add esp, 8
pop edi
pop esi
pop ebx
pop ecx
ret 4
Function at 0x4844e0
Capabilities:
Check for time delay via gettickcount

Disassembly:
cmp byte [esp + 8], 0
je 0x4844f0
mov eax, esi
call fcn.0045f550
jmp 0x4844fd
push 0
push 0
push 0x10
push esi
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [esp + 4]
test eax, eax
js 0x484558
je 0x484558
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.DLL_GetTickCount]
push edi
call ebp
push 1
push 0x8000012f
mov edi, eax
call fcn.004014c0
mov ebx, dword [sym.imp.USER32.dll_IsWindow]
add esp, 8
push esi
call ebx
test eax, eax
je 0x484555
add edi, dword [esp + 0x10]
call ebp
mov ecx, edi
sub ecx, eax
cmp ecx, 5
jle 0x484555
push 1
push 0x8000012f
call fcn.004014c0
add esp, 8
push esi
call ebx
test eax, eax
jne 0x484534
pop edi
pop ebp
pop ebx
mov eax, esi
ret
Function at 0x486330
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x18]
cmp dword [edi + 8], 0
jne 0x48634c
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
mov eax, dword [0x4d6b14]
push eax
push esi
mov ecx, edi
call fcn.00486890
cmp byte [edi], 0
je 0x48637f
test eax, eax
jne 0x486387
mov edx, dword [esp + 0x1c]
push eax
push edx
push edi
call fcn.00486460
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
test eax, eax
jne 0x486428
test esi, esi
je 0x486402
push 0
push 0
push 0x10
push esi
call dword [sym.imp.USER32.dll_PostMessageW]
mov ebp, dword [sym.imp.KERNEL32.DLL_GetTickCount]
call ebp
push 1
push 0x8000012f
mov ebx, eax
call fcn.004014c0
mov edi, dword [sym.imp.USER32.dll_IsWindow]
add esp, 8
push esi
call edi
test eax, eax
je 0x4863e5
mov edi, edi
call ebp
lea ecx, [ebx + 0x1f4]
sub ecx, eax
cmp ecx, 5
jle 0x4863e5
push 1
push 0x8000012f
call fcn.004014c0
add esp, 8
push esi
call edi
test eax, eax
jne 0x4863c0
mov edx, dword [0x4d6b14]
mov eax, dword [edx + 0x54]
cmp eax, 0xffffffff
jle 0x4863fe
push 1
push eax
call fcn.004014c0
add esp, 8
mov edi, dword [esp + 0x18]
cmp byte [edi], 0
je 0x486442
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, esi
je 0x486428
mov ecx, dword [0x4d6b14]
push ecx
push eax
mov ecx, edi
call fcn.00486890
test eax, eax
jne 0x48633f
cmp byte [edi], 0
je 0x486442
mov edx, dword [esp + 0x1c]
push 0
push edx
push edi
call fcn.00486460
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
mov eax, dword [esp + 0x1c]
push eax
mov ecx, edi
call fcn.00486660
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
Function at 0x4a1916
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4d5b20]
jne 0x4a1920
repz ret
jmp fcn.004a7ba3

Function at 0x4a5100
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4d5b20]
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.0049de72
and dword [ebp - 0x14], 0
cmp dword [0x4d8e5c], 0
mov dword [ebp - 0x18], eax
jne 0x4a51b3
push str.USER32.DLL
call dword [sym.imp.KERNEL32.DLL_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4a525b
mov edi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push 0x4b00f0
push ebx
call edi
test eax, eax
je 0x4a525b
mov esi, dword [fcn.00499a00]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x4d8e5c], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4d8e60], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4d8e64], eax
call edi
push eax
call esi
mov dword [0x4d8e6c], eax
test eax, eax
je 0x4a51b3
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4d8e68], eax
mov eax, dword [0x4d8e68]
mov ecx, dword [ebp - 0x18]
mov esi, dword [fcn.00499a04]
cmp eax, ecx
je 0x4a520c
cmp dword [0x4d8e6c], ecx
je 0x4a520c
push eax
call esi
push dword [0x4d8e6c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4a520c
test ebx, ebx
je 0x4a520c
call edi
test eax, eax
je 0x4a5203
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4a5203
test byte [ebp - 8], 1
jne 0x4a520c
or dword [ebp + 0x10], 0x200000
jmp 0x4a523f
mov eax, dword [0x4d8e60]
cmp eax, dword [ebp - 0x18]
je 0x4a523f
push eax
call esi
test eax, eax
je 0x4a523f
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4a523f
mov eax, dword [0x4d8e64]
cmp eax, dword [ebp - 0x18]
je 0x4a523f
push eax
call esi
test eax, eax
je 0x4a523f
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4d8e5c]
call esi
test eax, eax
je 0x4a525b
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4a525d
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a1916
leave
ret
Function at 0x40575a
Capabilities:
Get file size
Read file on windows
Write file on windows

Disassembly:
push ebx
push ebp
push esi
push edi
push 1
call fcn.00405d2e
test eax, eax
mov esi, dword [esp + 0x18]
je 0x40577e
push 5
push esi
push dword [esp + 0x1c]
call eax
test eax, eax
jne 0x4058b7
mov ebx, dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
mov dword [0x42c170], 0x4c554e
test esi, esi
mov edi, 0x400
mov ebp, 0x42c170
je 0x4057c2
push 1
push 0
push esi
call fcn.004056e3
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push ebp
push esi
call ebx
test eax, eax
je 0x4058bd
cmp eax, edi
jg 0x4058bd
mov esi, 0x42bbe8
push edi
push esi
push dword [esp + 0x1c]
call ebx
test eax, eax
je 0x4058bd
cmp eax, edi
jg 0x4058bd
push esi
push ebp
push 0x409334
push 0x42b7e8
call dword [sym.imp.USER32.dll_wsprintfA]
mov ebx, eax
mov eax, dword [0x42eb70]
add esp, 0x10
push dword [eax + 0x128]
push esi
call fcn.00405a2e
push 4
push 0xc0000000
push esi
call fcn.004056e3
mov ebp, eax
cmp ebp, 0xffffffff
mov dword [esp + 0x14], ebp
je 0x4058b7
push 0
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
lea eax, [edi + ebx + 0xa]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x4058b0
lea eax, [esp + 0x18]
push 0
push eax
push edi
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4058b0
cmp edi, dword [esp + 0x18]
jne 0x4058b0
push str._Rename__r_n
push esi
call fcn.00405658
test eax, eax
jne 0x4058c4
lea eax, [esi + edi]
push str._Rename__r_n
push eax
call fcn.00405a0c
add edi, 0xa
mov eax, edi
push ebx
add eax, esi
push 0x42b7e8
push eax
call fcn.004056a4
xor eax, eax
push eax
push eax
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea eax, [esp + 0x18]
push 0
add edi, ebx
push eax
push edi
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc dword [0x42ebf0]
pop edi
pop esi
pop ebp
pop ebx
ret 8
add eax, 0xa
push 0x409330
push eax
call fcn.00405658
test eax, eax
je 0x40587b
inc eax
lea ecx, [esi + edi]
cmp eax, ecx
mov ebp, eax
jae 0x4058eb
mov dl, byte [ebp]
mov byte [ebx + ebp], dl
inc ebp
cmp ebp, ecx
jb 0x4058e0
mov ebp, dword [esp + 0x14]
sub eax, esi
jmp 0x40587d
Function at 0x438f40
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
push edi
mov edi, ecx
movzx edx, byte [eax + 8]
movzx ecx, byte [eax + 0xa]
xor edx, 0x811c9dc5
imul esi, edx, 0x1000193
movzx edx, byte [eax + 9]
xor esi, edx
imul edx, esi, 0x1000193
xor edx, ecx
movzx ecx, byte [eax + 0xb]
imul edx, edx, 0x1000193
xor edx, ecx
imul ecx, edx, 0x1000193
mov edx, dword [edi + 0x18]
and edx, ecx
lea esi, [edx*8]
mov edx, dword [edi + 0xc]
add edx, esi
mov ecx, dword [edx]
cmp dword [edx + 4], eax
jne 0x438fb3
cmp ecx, eax
jne 0x438fab
mov ecx, dword [edi + 4]
mov dword [edx], ecx
mov edx, dword [edi + 0xc]
mov ecx, dword [edi + 4]
mov dword [esi + edx + 4], ecx
jmp 0x438fbb
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
jmp 0x438fbb
cmp ecx, eax
jne 0x438fbb
mov ecx, dword [eax]
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov esi, dword [eax]
push 0x10
push eax
mov dword [ecx], esi
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
dec dword [edi + 8]
call fcn.004835cc
mov eax, dword [ebp + 8]
add esp, 8
pop edi
mov dword [eax], esi
pop esi
pop ebp
ret 8
Function at 0x43a510
Capabilities:
Contain obfuscated stackstrings
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xd8
xor eax, eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x14], 0x23333253
mov ecx, 0x3d090c
mov dword [esp + 0x18], 0x772a4739
mov dword [esp + 0x1c], 0x2a776441
mov dword [esp + 0x20], 0x5839295e
mov word [esp + 0x24], 0x5435
mov byte [esp + 0x26], 0
mov dword [esp + 0x3c], 0x65006b
mov dword [esp + 0x40], 0x6e0072
mov dword [esp + 0x44], 0x6c0065
mov dword [esp + 0x48], 0x320033
mov dword [esp + 0x4c], 0x64002e
dec esp
add byte cs:[eax + eax - 0x39], ah
inc esp
and al, 0x50
insb byte es:[edi], dx
add byte [eax + eax + 0x66], ch
mov dword [esp + 0x54], eax
xor eax, eax
mov byte [esp + eax + 0x6c], al
inc eax
cmp eax, 0x6a
jb 0x43a584
dec ecx
jne 0x43a582
cmp byte [esp + 0x9c], 0x30
push ebx
push ebp
push esi
push edi
jne 0x43a5ac
lea ecx, [esp + 0x4c]
call fcn.0043aa50
mov esi, eax
jmp 0x43a5b0
mov esi, dword [esp + 0x40]
mov edx, 0xe3142
mov ecx, esi
call fcn.0043aa90
mov ebp, eax
mov edx, 0xd5786
mov ecx, esi
mov dword [esp + 0x44], ebp
call fcn.0043aa90
mov edx, 0x348bfa
mov dword [esp + 0x74], eax
mov ecx, esi
call fcn.0043aa90
push 4
push 0x3000
push 0x16ca00
push 0
mov dword [esp + 0x28], eax
call ebp
movsx esi, byte [esp + 0x7c]
mov ebp, eax
mov eax, 0xb81702e1
mov dword [esp + 0x14], ebp
imul esi
movsx eax, byte [esp + 0xdd]
xor edi, edi
add edx, esi
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
imul ecx, eax
mov eax, 0x92492493
imul ecx, ecx, 0x1ce
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x1c], eax
mov eax, 0x2e8ba2e9
imul esi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
imul ecx, eax, 0x104ade
mov eax, 0x309e0185
imul ecx
imul eax, esi, 0x156
mov esi, dword [esp + 0x1c]
sar edx, 7
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
add ebp, ecx
add ebp, eax
mov eax, 0xaf286bcb
mov ecx, edi
mul edi
mov eax, edi
sub eax, edx
shr eax, 1
add eax, edx
ret 0xe8c1
add al, 0x6b
rcl byte [ebx], 0x2b
enter 0xffffffffffffce2b, 0xffffffffffffff8a
inc esp
or al, 0x24
xor al, byte [edi + resource.0]
mov byte [edi + ebp], al
inc edi
cmp edi, 0x16ca00
invalid
Function at 0x43a570
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xd8
xor eax, eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x14], 0x23333253
mov ecx, 0x3d090c
mov dword [esp + 0x18], 0x772a4739
mov dword [esp + 0x1c], 0x2a776441
mov dword [esp + 0x20], 0x5839295e
mov word [esp + 0x24], 0x5435
mov byte [esp + 0x26], 0
mov dword [esp + 0x3c], 0x65006b
mov dword [esp + 0x40], 0x6e0072
mov dword [esp + 0x44], 0x6c0065
mov dword [esp + 0x48], 0x320033
mov dword [esp + 0x4c], 0x64002e
dec esp
add byte cs:[eax + eax - 0x39], ah
inc esp
and al, 0x50
insb byte es:[edi], dx
add byte [eax + eax + 0x66], ch
mov dword [esp + 0x54], eax
xor eax, eax
mov byte [esp + eax + 0x6c], al
inc eax
cmp eax, 0x6a
jb 0x43a584
dec ecx
jne 0x43a582
cmp byte [esp + 0x9c], 0x30
push ebx
push ebp
push esi
push edi
jne 0x43a5ac
lea ecx, [esp + 0x4c]
call fcn.0043aa50
mov esi, eax
jmp 0x43a5b0
mov esi, dword [esp + 0x40]
mov edx, 0xe3142
mov ecx, esi
call fcn.0043aa90
mov ebp, eax
mov edx, 0xd5786
mov ecx, esi
mov dword [esp + 0x44], ebp
call fcn.0043aa90
mov edx, 0x348bfa
mov dword [esp + 0x74], eax
mov ecx, esi
call fcn.0043aa90
push 4
push 0x3000
push 0x16ca00
push 0
mov dword [esp + 0x28], eax
call ebp
movsx esi, byte [esp + 0x7c]
mov ebp, eax
mov eax, 0xb81702e1
mov dword [esp + 0x14], ebp
imul esi
movsx eax, byte [esp + 0xdd]
xor edi, edi
add edx, esi
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
imul ecx, eax
mov eax, 0x92492493
imul ecx, ecx, 0x1ce
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x1c], eax
mov eax, 0x2e8ba2e9
imul esi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
imul ecx, eax, 0x104ade
mov eax, 0x309e0185
imul ecx
imul eax, esi, 0x156
mov esi, dword [esp + 0x1c]
sar edx, 7
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
add ebp, ecx
add ebp, eax
mov eax, 0xaf286bcb
mov ecx, edi
mul edi
mov eax, edi
sub eax, edx
shr eax, 1
add eax, edx
ret 0xe8c1
add al, 0x6b
rcl byte [ebx], 0x2b
enter 0xffffffffffffce2b, 0xffffffffffffff8a
inc esp
or al, 0x24
xor al, byte [edi + resource.0]
mov byte [edi + ebp], al
inc edi
cmp edi, 0x16ca00
invalid

Function at 0x43a6e0
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
mov bh, 0x46
adc al, 0xff
jbe 0x43a73a
add eax, 0x18
add eax, esi
mov dword [esp + 0x7c], eax
mov eax, ebp
sub eax, dword [esi + 0x34]
mov dword [esp + 0x70], eax
mov dword [esi + 0x34], ebp
call fcn.0043a950
mov eax, dword [esi + 0xa0]
add esp, 4
mov edx, dword [esi + 0x80]
mov dword [esp + 0x68], eax
mov eax, dword [esi + 0xa4]
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x84]
mov dword [esp + 0x48], eax
xor eax, eax
mov dword [esp + 0x3c], edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x10], eax
cmp ax, word [esi + 6]
cmp eax, dword [esi + 6]
jae 0x43a916
mov esi, dword [esp + 0x78]
mov ebx, dword [esp + 0x68]
add esi, 0xc
mov edi, edi
Function at 0x43a790
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [esi]
cmp ebx, ecx
jb 0x43a766
mov eax, dword [esi - 4]
add eax, ecx
cmp ebx, eax
jae 0x43a766
lea eax, [esi - 0xc]
mov dword [esp + 0x20], eax
cmp edx, ecx
jb 0x43a77a
mov eax, dword [esi - 4]
add eax, ecx
cmp edx, eax
jae 0x43a77a
lea eax, [esi - 0xc]
mov dword [esp + 0x44], eax
mov edx, dword [esi + 8]
add ecx, ebp
push dword [esi + 4]
add edx, edi
call fcn.0043a950
mov eax, dword [esp + 0x3c]
add esp, 4
mov edx, dword [esp + 0x10]
add esi, 0x28
inc edx
mov dword [esp + 0x10], edx
movzx eax, word [eax + 6]
cmp edx, eax
mov edx, dword [esp + 0x3c]
jl 0x43a750
mov eax, dword [esp + 0x44]
mov ebx, dword [esp + 0x18]
test eax, eax
je 0x43a916
xor edi, edi
cmp dword [esp + 0x1c], edi
jbe 0x43a84c
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
lea esp, [esp]
mov ecx, dword [eax + 0x14]
add ecx, edi
add edi, 8
add ecx, edx
mov dword [esp + 0x3c], ecx
mov ebx, dword [ecx + 4]
sub ebx, 8
shr ebx, 1
je 0x43a842
mov eax, dword [eax + 0x14]
add eax, edi
add edi, 2
movzx esi, word [eax + edx]
test esi, 0xf000
je 0x43a83b
and esi, 0xfff
mov dword [esp + 0x10], 0
add esi, dword [ecx]
lea ecx, [esp + 0x10]
add esi, ebp
push 4
mov edx, esi
call fcn.0043a950
mov eax, dword [esp + 0x70]
lea edx, [esp + 0x14]
add dword [esp + 0x14], eax
mov ecx, esi
push 4
call fcn.0043a950
mov ecx, dword [esp + 0x44]
add esp, 8
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
dec ebx
jne 0x43a7e8
cmp edi, dword [esp + 0x1c]
jb 0x43a7d0
mov ebx, dword [esp + 0x18]
mov edi, dword [esp + 0x38]
mov esi, dword [edi + 0x80]
add esi, ebp
je 0x43a916
add esi, 0xc
mov dword [esp + 0x18], esi
cmp dword [esi], 0
je 0x43a8c2
lea ebx, [ebx]
mov eax, dword [esi]
add eax, ebp
push eax
call dword [esp + 0x78]
mov edi, eax
test edi, edi
je 0x43a916
mov esi, dword [esi + 4]
add esi, ebp
cmp dword [esi], 0
je 0x43a8ae
lea ecx, [ecx]
mov eax, dword [esi]
test eax, eax
jns 0x43a89b
movzx eax, ax
jmp 0x43a8a0
add eax, 2
add eax, ebp
push eax
push edi
call ebx
mov dword [esi], eax
add esi, 4
cmp dword [esi], 0
jne 0x43a890
mov esi, dword [esp + 0x18]
add esi, 0x14
mov dword [esp + 0x18], esi
cmp dword [esi], 0
jne 0x43a870
mov edi, dword [esp + 0x38]
mov ecx, dword [esp + 0x14]
call fcn.0043a940
test eax, eax
je 0x43a8f6
mov eax, dword [edi + 0xc0]
mov esi, dword [eax + ebp + 0xc]
mov eax, dword [esi]
test eax, eax
je 0x43a8f6
mov ebp, ecx
push 0
push 1
push ebp
call eax
mov eax, dword [esi + 4]
lea esi, [esi + 4]
test eax, eax
jne 0x43a8e1
mov ebp, dword [esp + 0x70]
mov eax, dword [edi + 0x28]
push 0
push 1
push dword [esp + 0x48]
add eax, ebp
call eax
neg eax
pop edi
sbb eax, eax
pop esi
and eax, ebp
pop ebp
pop ebx
add esp, 0xd8
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xd8
ret
Function at 0x43aa90
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x10], edx
xor esi, esi
mov eax, dword [edi + 0x3c]
mov eax, dword [eax + edi + 0x78]
add eax, edi
mov ecx, dword [eax + 0x1c]
mov ebp, dword [eax + 0x20]
add ecx, edi
mov ebx, dword [eax + 0x18]
add ebp, edi
mov dword [esp + 0x18], ecx
mov ecx, dword [eax + 0x24]
add ecx, edi
mov dword [esp + 0x14], ecx
test ebx, ebx
je 0x43aae6
jmp 0x43aad0
Function at 0x10014820
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
pushal
call 0x1001482f
pop dword [ebp - 0x30]
mov eax, 0x1ba4d904
add eax, 0xf45c6f2b
sub dword [ebp - 0x30], eax
mov dword [ebp - 0x40], 0xb1ff2f93
add dword [ebp - 0x40], 0x9c5315b8
mov dword [ebp - 0x3c], 0x1b08d2c5
add dword [ebp - 0x3c], 0x172a7980
mov dword [ebp - 0x38], 0x9658c3f7
add dword [ebp - 0x38], 0xb5f38037
mov dword [ebp - 0x34], 0x2203055c
add dword [ebp - 0x34], 0xddfcfaa4
lea eax, [ebp - 0x40]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x30]
call dword [eax]
mov dword [ebp - 0x40], 0xce0ba3c6
add dword [ebp - 0x40], 0xa666c590
mov dword [ebp - 0x3c], 0x2c3217af
add dword [ebp - 0x3c], 0x153a49c6
mov dword [ebp - 0x38], 0x44b833c1
sub dword [ebp - 0x38], 0xe148c755
mov dword [ebp - 0x34], 0xfd4e4f6e
add dword [ebp - 0x34], 0x2b1b092
lea ebx, [ebp - 0x40]
push ebx
push eax
mov eax, 0xc0af5936
add eax, 0x4f5256de
add eax, dword [ebp - 0x30]
call dword [eax]
push 0x40
push 0x1000
push 0x3dfa8
push 0
call eax
mov ecx, 0xf3fedc50
sub ecx, 0xf3fe9565
mov esi, eax
mov edx, 0x1002b000
add edx, dword [ebp - 0x30]
mov ebx, 0xcff4718e
sub ebx, 0x295cc4f5
mov edi, dword [edx]
xor dword [ebp - 0x20], 0xb01f664f
xor edi, ebx
add dword [ebp - 8], 0xb28a4cb3
mov dword [esi], edi
add dword [ebp - 0xc], 0x525d99ef
add esi, 0xc8863560
add esi, 0x3779caa4
add edx, 0xa2735da4
add edx, 0x5d8ca260
loop 0x10014946
add eax, 0x10e7f
xor ebx, ebx
add ebx, eax
add eax, 0xb634fd68
sub eax, 0xb634fd63
mov ecx, 0x10000000
add ecx, dword [ebp - 0x30]
call ebx
leave
ret