joyce8/EMBER2024-capa huggingface dataset:
Function at 0x52adb0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56d7e0
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x5d86f0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x38], ecx
mov ecx, dword [ebp - 0x38]
add ecx, 0x364
call fcn.0053b4c0
movzx eax, al
test eax, eax
je 0x52adf5
jmp 0x52aedb
lea ecx, [ebp - 0x30]
push ecx
call fcn.004e3910
add esp, 4
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x38]
add edx, 0x364
mov dword [ebp - 0x34], edx
push 4
lea ecx, [ebp - 0x14]
call fcn.00518800
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x34]
call fcn.0053b210
push 4
lea ecx, [ebp - 0x18]
call fcn.00518800
lea ecx, [ebp - 0x18]
push ecx
mov ecx, dword [ebp - 0x34]
call fcn.0053b540
jmp 0x52ae4a
lea ecx, [ebp - 0x14]
call fcn.00539990
lea edx, [ebp - 0x18]
push edx
lea ecx, [ebp - 0x14]
call fcn.00539780
movzx eax, al
test eax, eax
je 0x52aecc
lea ecx, [ebp - 0x14]
call fcn.0053f8c0
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x40]
add ecx, 0x18
call fcn.004e8160
push eax
lea ecx, [ebp - 0x78]
push ecx
call fcn.004e17d0
add esp, 8
mov dword [ebp - 0x3c], eax
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x44], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x44]
push eax
lea ecx, [ebp - 0x30]
push ecx
lea edx, [ebp - 0x60]
push edx
call fcn.00535b90
add esp, 0xc
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x48]
call fcn.004e8b40
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x60]
call fcn.004e8880
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x78]
call fcn.004e8880
jmp 0x52ae42
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.004e8880
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0054546b
mov esp, ebp
pop ebp
ret
Function at 0x52b700
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x5d86f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x21], 0
mov dword [ebp - 0x20], 0
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x52b768
mov dword [ebp - 0x28], 1
jmp 0x52b7d1
push 0xf01ff
lea ecx, [ebp + 8]
call fcn.004e8b40
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x52b792
mov dword [ebp - 0x28], 2
jmp 0x52b7d1
lea edx, [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
mov byte [ebp - 0x21], al
movzx ecx, byte [ebp - 0x21]
test ecx, ecx
jne 0x52b7b4
mov dword [ebp - 0x28], 3
jmp 0x52b7d1
cmp dword [ebp - 0x1c], 1
je 0x52b7c0
cmp dword [ebp - 0x1c], 3
jne 0x52b7c9
mov dword [ebp - 0x28], 4
jmp 0x52b7d1
xor edx, edx
jne 0x52b747
cmp dword [ebp - 0x30], 0
je 0x52b7e1
mov eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
cmp dword [ebp - 0x2c], 0
je 0x52b7f1
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x34], edx
lea ecx, [ebp + 8]
call fcn.004e8880
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0054546b
mov esp, ebp
pop ebp
ret 0x18
Function at 0x5607ba
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x5d86f0]
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.0054e2c8
mov dword [ebp - 0x14], eax
cmp dword [0x5ddf64], esi
jne 0x5608ad
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x56083a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x56098d
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x56098d
push 0x5bdb2c
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x56098d
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x5ddf64], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x5ddf68], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x5bdb5c
push edi
mov dword [0x5ddf6c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x5ddf74], eax
test eax, eax
je 0x5608aa
push 0x5bdb78
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x5ddf70], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x5608d2
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x5608c5
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x5608e7
push 4
pop eax
jmp 0x56098f
cmp dword [ebp - 0x14], esi
je 0x5608e7
push dword [0x5ddf64]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x5608cc
mov eax, dword [0x5ddf70]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x560945
cmp dword [0x5ddf74], edi
je 0x560945
push eax
call ebx
push dword [0x5ddf74]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x560945
test eax, eax
je 0x560945
call ecx
test eax, eax
je 0x56093a
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 0x56093a
test byte [ebp - 8], 1
jne 0x560945
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x560975
mov eax, dword [0x5ddf68]
cmp eax, edi
je 0x560972
push eax
call ebx
test eax, eax
je 0x560972
call eax
mov esi, eax
test esi, esi
je 0x560972
mov eax, dword [0x5ddf6c]
cmp eax, edi
je 0x560972
push eax
call ebx
test eax, eax
je 0x560972
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x5ddf64]
call ebx
test eax, eax
je 0x56098d
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x56098f
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0054546b
mov esp, ebp
pop ebp
ret
Function at 0x401b0e
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
xor eax, eax
mov ecx, 0x18
push eax
dec ecx
je 0x401b5e
jmp 0x401b18
lea ecx, [ebp - 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [0x4040fc], eax
push 0x64
push 0x404124
xor eax, eax
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [0x404110], eax
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x40412a
push 0x404124
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, 0x30
mov edx, dword [0x404110]
mov dword [ebp - 0x48], edx
mov ecx, str.cclass
mov dword [ebp - 0x34], ecx
mov edx, 0x40298b
mov dword [ebp - 0x54], edx
lea ecx, [ebp - 0x5c]
mov dword [ecx], eax
push ecx
call dword [sym.imp.USER32.dll_RegisterClassExA]
push 0x10000
push 0x1000
push 1
call dword [sym.imp.KERNEL32.dll_HeapCreate]
mov dword [0x40411c], eax
xor eax, eax
push eax
push dword [0x404110]
push eax
push eax
push 0x12e
push 0x82
push 0xdc
push 0xb4
push 0
lea eax, str.zrabate
push eax
mov eax, str.cclass
push eax
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x404120], eax
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x404120]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
xor edi, edi
lea ebx, [ebp - 0x50]
jmp 0x401c44
push ebx
call dword [sym.imp.USER32.dll_DispatchMessageA]
push edi
push edi
push edi
push ebx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
jne 0x401c3d
mov esp, ebp
pop ebp
ret 0x10
Function at 0x5f3430
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x24
mov eax, dword [ecx + 4]
push ebx
push esi
mov dword [esp + 0x14], edx
lea esi, [ecx + 4]
mov edx, dword [ecx]
add esi, 4
xor eax, edx
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], eax
push edi
movd xmm0, edx
mov edi, eax
pshufd xmm0, xmm0, 0
movdqa xmmword [esp + 0x20], xmm0
test al, 3
je 0x5f3470
and edi, 0xfffffffc
add edi, 4
mov eax, dword [0x5fe510]
test eax, eax
jne 0x5f3494
mov ecx, 0xa2ce093f
call fcn.005f3f70
mov edx, 0x4fee74f4
mov ecx, eax
call fcn.005f3ed0
mov dword [0x5fe510], eax
call eax
mov ebx, eax
mov eax, dword [0x5fe284]
test eax, eax
jne 0x5f34bc
mov ecx, 0xa2ce093f
call fcn.005f3f70
mov edx, 0xafb2ca58
mov ecx, eax
call fcn.005f3ed0
mov dword [0x5fe284], eax
push edi
push 8
push ebx
call eax
mov dword [esp + 0xc], eax
test eax, eax
je 0x5f3572
shr edi, 2
xor edx, edx
lea ecx, [esi + edi*4]
mov edi, eax
mov ebx, ecx
sub ebx, esi
add ebx, 3
shr ebx, 2
cmp esi, ecx
mov ecx, eax
cmova ebx, edx
test ebx, ebx
je 0x5f3562
cmp ebx, 8
jb 0x5f3547
lea eax, [esi - 4]
lea eax, [eax + ebx*4]
cmp ecx, eax
ja 0x5f3506
lea eax, [ecx - 4]
lea eax, [eax + ebx*4]
cmp eax, esi
jae 0x5f3547
movdqa xmm1, xmmword [esp + 0x20]
mov eax, ebx
and eax, 7
mov dword [esp + 0xc], ebx
sub dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
lea ecx, [ecx]
movdqu xmm0, xmmword [esi]
add edx, 8
pxor xmm0, xmm1
movdqu xmmword [edi], xmm0
movdqu xmm0, xmmword [esi + 0x10]
add esi, 0x20
pxor xmm0, xmm1
movdqu xmmword [edi + 0x10], xmm0
add edi, 0x20
cmp edx, eax
jb 0x5f3520
cmp edx, ebx
jae 0x5f3562
sub edi, esi
lea ecx, [ecx]
mov eax, dword [esi]
lea esi, [esi + 4]
xor eax, dword [esp + 0x14]
inc edx
mov dword [edi + esi - 4], eax
cmp edx, ebx
jb 0x5f3550
mov edx, dword [esp + 0x18]
test edx, edx
je 0x5f3570
mov eax, dword [esp + 0x1c]
mov dword [edx], eax
mov eax, ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5f35e0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
mov eax, dword [ecx + 4]
mov edx, dword [ecx]
xor eax, edx
push ebx
push esi
lea esi, [ecx + 4]
mov dword [esp + 8], edx
lea ebx, [eax + 1]
mov dword [esp + 0x10], eax
add esi, 4
push edi
test bl, 3
je 0x5f3609
and ebx, 0xfffffffc
add ebx, 4
mov eax, dword [0x5fe510]
test eax, eax
jne 0x5f362d
mov ecx, 0xa2ce093f
call fcn.005f3f70
mov edx, 0x4fee74f4
mov ecx, eax
call fcn.005f3ed0
mov dword [0x5fe510], eax
call eax
mov edi, eax
mov eax, dword [0x5fe284]
test eax, eax
jne 0x5f3655
mov ecx, 0xa2ce093f
call fcn.005f3f70
mov edx, 0xafb2ca58
mov ecx, eax
call fcn.005f3ed0
mov dword [0x5fe284], eax
lea ecx, [ebx + ebx]
push ecx
push 8
push edi
call eax
mov edi, eax
mov dword [esp + 0x10], edi
test edi, edi
je 0x5f36d5
shr ebx, 2
xor eax, eax
push ebp
xor ebp, ebp
mov edx, edi
lea ecx, [esi + ebx*4]
mov ebx, ecx
sub ebx, esi
add ebx, 3
shr ebx, 2
cmp esi, ecx
cmova ebx, eax
test ebx, ebx
je 0x5f36ca
mov edi, dword [esp + 0x10]
lea esp, [esp]
mov ecx, dword [esi]
lea edx, [edx + 8]
xor ecx, edi
lea esi, [esi + 4]
movzx eax, cl
inc ebp
mov word [edx - 8], ax
mov eax, ecx
shr eax, 8
movzx eax, al
mov word [edx - 6], ax
shr ecx, 0x10
movzx eax, cl
mov word [edx - 4], ax
shr ecx, 8
movzx eax, cl
mov word [edx - 2], ax
cmp ebp, ebx
jb 0x5f3690
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
xor ecx, ecx
pop ebp
mov word [edi + eax*2], cx
mov eax, edi
pop edi
pop esi
pop ebx
add esp, 0xc
ret

Function at 0x5f36e0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
mov eax, dword [ecx + 4]
mov edx, dword [ecx]
xor eax, edx
push ebx
push ebp
push esi
lea esi, [ecx + 4]
mov dword [esp + 0xc], edx
lea ebx, [eax + 1]
mov dword [esp + 0x14], eax
add esi, 4
push edi
test bl, 3
je 0x5f370a
and ebx, 0xfffffffc
add ebx, 4
mov eax, dword [0x5fe510]
test eax, eax
jne 0x5f372e
mov ecx, 0xa2ce093f
call fcn.005f3f70
mov edx, 0x4fee74f4
mov ecx, eax
call fcn.005f3ed0
mov dword [0x5fe510], eax
call eax
mov edi, eax
mov eax, dword [0x5fe284]
test eax, eax
jne 0x5f3756
mov ecx, 0xa2ce093f
call fcn.005f3f70
mov edx, 0xafb2ca58
mov ecx, eax
call fcn.005f3ed0
mov dword [0x5fe284], eax
push ebx
push 8
push edi
call eax
mov ebp, eax
mov dword [esp + 0x14], ebp
test ebp, ebp
je 0x5f37c2
shr ebx, 2
xor eax, eax
xor edi, edi
mov ecx, ebp
lea edx, [esi + ebx*4]
mov ebx, edx
sub ebx, esi
add ebx, 3
shr ebx, 2
cmp esi, edx
cmova ebx, eax
test ebx, ebx
je 0x5f37ba
mov ebp, dword [esp + 0x10]
lea esp, [esp]
mov edx, dword [esi]
lea ecx, [ecx + 4]
xor edx, ebp
lea esi, [esi + 4]
mov byte [ecx - 4], dl
mov eax, edx
shr eax, 8
inc edi
shr edx, 0x10
mov byte [ecx - 3], al
mov byte [ecx - 2], dl
shr edx, 8
mov byte [ecx - 1], dl
cmp edi, ebx
jb 0x5f3790
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov byte [eax + ebp], 0
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x5f3cc0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
mov dword [esp], 0x64bc
add dword [esp], 0xffff85b7
xor dword [esp], 0xe5a68224
shl dword [esp], 6
or dword [esp], 0x7fa52244
add dword [esp], 0x7bfd
shl dword [esp], 5
add dword [esp], 0xba34
xor dword [esp], 0xfff73254
mov dword [esp + 4], 0x1a8a
add dword [esp + 4], 0xffffd02b
shl dword [esp + 4], 0xe
xor dword [esp + 4], 0xfaad4006
push ebx
mov dword [esp + 8], 0xb8f9
mov ebx, ecx
xor dword [esp + 8], 0x3f0625fa
xor dword [esp + 8], 0x3f069d13
cmp byte [ebx], 0
je 0x5f3dad
push esi
push edi
jmp 0x5f3d40
mov edi, dword [esp + 0xc]
lea ebx, [ebx + 1]
mov dword [esp + 0x10], 0x1a8a
add dword [esp + 0x10], 0xffffd02b
shl dword [esp + 0x10], 0xe
xor dword [esp + 0x10], 0xfaad4006
movzx ecx, byte [esp + 0x10]
mov esi, dword [esp + 0xc]
mov dword [esp + 0x10], 0xb8f9
xor dword [esp + 0x10], 0x3f0625fa
xor dword [esp + 0x10], 0x3f069d13
shl esi, cl
movzx ecx, byte [esp + 0x10]
mov edx, dword [esp + 0xc]
movsx eax, byte [ebx - 1]
mov dword [esp + 0xc], eax
add dword [esp + 0xc], esi
shl edx, cl
add dword [esp + 0xc], edx
sub dword [esp + 0xc], edi
cmp byte [ebx], 0
jne 0x5f3d40
pop edi
pop esi
mov eax, dword [esp + 4]
pop ebx
add esp, 8
ret
Function at 0x5f3ed0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x10
push ebx
mov ebx, ecx
mov dword [esp + 4], edx
push ebp
push esi
push edi
mov eax, dword [ebx + 0x3c]
xor esi, esi
add eax, 0x78
add eax, ebx
mov dword [esp + 0x1c], eax
mov edi, dword [eax]
mov eax, dword [edi + ebx + 0x1c]
add edi, ebx
add eax, ebx
mov dword [esp + 0x18], eax
mov ebp, dword [edi + 0x20]
mov eax, dword [edi + 0x24]
add ebp, ebx
add eax, ebx
mov dword [esp + 0x14], eax
cmp dword [edi + 0x18], esi
jbe 0x5f3f2c
lea esp, [esp]
mov ecx, dword [ebp + esi*4]
add ecx, ebx
call fcn.005f3cc0
xor eax, 0xbdb9b51
cmp eax, dword [esp + 0x10]
je 0x5f3f36
inc esi
cmp esi, dword [edi + 0x18]
jb 0x5f3f10
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10
ret
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
movzx eax, word [eax + esi*2]
mov ecx, dword [ecx + eax*4]
add ecx, ebx
cmp ecx, edi
jb 0x5f3f64
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 4]
add eax, edi
cmp ecx, eax
jae 0x5f3f64
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
jmp 0x5f40d0
pop edi
pop esi
pop ebp
mov eax, ecx
pop ebx
add esp, 0x10
ret
sub esp, 0x104
lea edx, [esp]
push esi
mov esi, ecx
push edi
mov al, byte [esi]
test al, al
je 0x5f40f6
cmp al, 0x2e
je 0x5f40f3
inc esi
mov byte [edx], al
inc edx
mov al, byte [esi]
test al, al
jne 0x5f40e3
jmp 0x5f40f6
mov byte [edx], 0
mov eax, dword [0x5fe430]
test eax, eax
jne 0x5f411a
mov ecx, 0xa2ce093f
call fcn.005f3f70
mov edx, 0xfce32466
mov ecx, eax
call fcn.005f3ed0
mov dword [0x5fe430], eax
lea ecx, [esp + 8]
push ecx
call eax
mov edi, eax
test edi, edi
jne 0x5f4161
mov eax, dword [0x5fe344]
test eax, eax
jne 0x5f414b
mov ecx, 0xa2ce093f
call fcn.005f3f70
mov edx, 0xd4f020bd
mov ecx, eax
call fcn.005f3ed0
mov dword [0x5fe344], eax
lea ecx, [esp + 8]
push ecx
call eax
mov edi, eax
test edi, edi
jne 0x5f4161
pop edi
pop esi
add esp, 0x104
ret
lea ecx, [esi + 1]
call fcn.005f3cc0
xor eax, 0xbdb9b51
mov ecx, edi
mov edx, eax
call fcn.005f3ed0
pop edi
pop esi
add esp, 0x104
ret
Function at 0x5f3f70
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
sub esp, 0x10
mov eax, dword fs:[0x30]
mov dword [esp + 0xc], ecx
push ebx
push ebp
mov ecx, dword [eax + 0xc]
add ecx, 0xc
push esi
push edi
mov dword [esp + 0x18], ecx
mov ebx, dword [ecx]
cmp ebx, ecx
je 0x5f40b5
mov edx, dword [ebx + 0x30]
mov dword [esp + 0x10], 0x64bc
add dword [esp + 0x10], 0xffff85b7
xor dword [esp + 0x10], 0xe5a68224
shl dword [esp + 0x10], 6
or dword [esp + 0x10], 0x7fa52244
add dword [esp + 0x10], 0x7bfd
shl dword [esp + 0x10], 5
add dword [esp + 0x10], 0xba34
xor dword [esp + 0x10], 0xfff73254
mov dword [esp + 0x14], 0x1a8a
add dword [esp + 0x14], 0xffffd02b
shl dword [esp + 0x14], 0xe
xor dword [esp + 0x14], 0xfaad4006
mov dword [esp + 0x14], 0xb8f9
xor dword [esp + 0x14], 0x3f0625fa
xor dword [esp + 0x14], 0x3f069d13
cmp word [edx], 0
je 0x5f409c
lea esp, [esp]
mov ebp, dword [esp + 0x10]
mov dword [esp + 0x14], 0x1a8a
add dword [esp + 0x14], 0xffffd02b
shl dword [esp + 0x14], 0xe
xor dword [esp + 0x14], 0xfaad4006
movzx ecx, byte [esp + 0x14]
mov esi, dword [esp + 0x10]
mov dword [esp + 0x14], 0xb8f9
xor dword [esp + 0x14], 0x3f0625fa
xor dword [esp + 0x14], 0x3f069d13
shl esi, cl
movzx ecx, byte [esp + 0x14]
mov edi, dword [esp + 0x10]
movzx eax, word [edx]
shl edi, cl
cmp eax, 0x41
jb 0x5f407f
cmp eax, 0x5a
ja 0x5f407f
add eax, 0x20
mov dword [esp + 0x10], eax
add edx, 2
add dword [esp + 0x10], esi
add dword [esp + 0x10], edi
sub dword [esp + 0x10], ebp
cmp word [edx], 0
jne 0x5f4020
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
xor eax, 0x2db0ef4d
cmp eax, dword [esp + 0x1c]
je 0x5f40bf
mov ebx, dword [ebx]
cmp ebx, ecx
jne 0x5f3f95
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10
ret
mov eax, dword [ebx + 0x18]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x5f4390
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
sub esp, 0x14
push ebp
mov ebp, ecx
mov dword [esp + 0x10], ebp
push edi
cmp edx, 0x40
jb 0x5f452e
mov eax, 0x5a4d
cmp word [ebp], ax
jne 0x5f452e
mov edi, dword [ebp + 0x3c]
add edi, ebp
mov dword [esp + 0x18], edi
cmp dword [edi], 0x4550
jne 0x5f452e
mov eax, 0x10b
cmp word [edi + 0x18], ax
jne 0x5f452e
mov eax, dword [0x5fdfd0]
test eax, eax
jne 0x5f43fb
mov ecx, 0xa2ce093f
call fcn.005f3f70
mov edx, 0x320a3d1b
mov ecx, eax
call fcn.005f3ed0
mov dword [0x5fdfd0], eax
push ebx
push 0x40
push 0x3000
push dword [edi + 0x50]
push 0
call eax
mov ebx, eax
test ebx, ebx
je 0x5f4525
movzx ecx, word [edi + 0x14]
push esi
lea esi, [edi + 0x18]
add esi, ecx
movzx ecx, word [edi + 6]
mov dword [esp + 0x18], esi
lea ecx, [ecx + ecx*4]
lea eax, [esi + ecx*8]
mov dword [esp + 0x14], eax
mov eax, dword [edi + 0x54]
mov dword [esp + 0x10], eax
mov eax, dword [0x5fe5a0]
test eax, eax
jne 0x5f445b
mov ecx, 0xff9ecf59
call fcn.005f3f70
mov edx, 0x36664426
mov ecx, eax
call fcn.005f3ed0
mov dword [0x5fe5a0], eax
push dword [esp + 0x10]
push ebp
push ebx
call eax
mov ecx, dword [esp + 0x20]
add esp, 0xc
cmp esi, ecx
jae 0x5f44de
sub ecx, dword [esp + 0x18]
mov eax, 0xcccccccd
dec ecx
add esi, 0x10
mul ecx
mov ecx, edx
shr ecx, 5
inc ecx
mov edi, ecx
mov ebp, dword [esi]
cmp dword [esi - 8], ebp
mov eax, dword [esi + 4]
cmovb ebp, dword [esi - 8]
add eax, dword [esp + 0x1c]
mov dword [esp + 0x18], eax
mov eax, dword [esi - 4]
add eax, ebx
mov dword [esp + 0x14], eax
mov eax, dword [0x5fe5a0]
test eax, eax
jne 0x5f44c6
mov ecx, 0xff9ecf59
call fcn.005f3f70
mov edx, 0x36664426
mov ecx, eax
call fcn.005f3ed0
mov dword [0x5fe5a0], eax
push ebp
push dword [esp + 0x1c]
push dword [esp + 0x1c]
call eax
add esp, 0xc
add esi, 0x28
dec edi
jne 0x5f4485
mov edi, dword [esp + 0x20]
mov edx, edi
mov ecx, ebx
call fcn.005f4660
mov edx, edi
mov ecx, ebx
call fcn.005f4570
pop esi
test eax, eax
jne 0x5f4525
mov eax, dword [0x5fe3d0]
test eax, eax
jne 0x5f4519
mov ecx, 0xa2ce093f
call fcn.005f3f70
mov edx, 0xf1294406
mov ecx, eax
call fcn.005f3ed0
mov dword [0x5fe3d0], eax
push 0x8000
push 0
push ebx
call eax
xor ebx, ebx
mov eax, ebx
pop ebx
pop edi
pop ebp
add esp, 0x14
ret
pop edi
xor eax, eax
pop ebp
add esp, 0x14
ret
Function at 0x69bc6943
Capabilities:
Parse url

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x3c
push edi
push 0xf
pop ecx
xor eax, eax
lea edi, [ebp - 0x3c]
rep stosd dword es:[edi], eax
inc eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x3c]
push eax
push 0
push 0
push dword [ebp + 8]
mov dword [ebp - 0x3c], 0x3c
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
pop edi
je 0x69bc6982
mov eax, dword [ebp - 0x30]
jmp 0x69bc6985
or eax, 0xffffffff
leave
ret 4

Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40c7d0
nop
mov ecx, 0x43590c74
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43204e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x432024
nop
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x42f314
nop
mov ecx, 0x57677ceb
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x432084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x43206c
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219