joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a8c00
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e26c6
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x522638]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0xc]
mov dword [esi + 0xc], ecx
mov dword [esi + 0x10], edx
xor ebx, ebx
mov dword [esi + 8], eax
push 0xffffffffffffffff
lea ecx, [esi + 0x14]
mov dword [esi], vtable.HTMLControl.0
mov dword [esi + 4], ebx
push ebx
lea edx, [ebp + 0x18]
xor eax, eax
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], ebx
push edx
mov dword [ebp - 4], 1
mov word [ecx], ax
call fcn.00406640
push 0xffffffffffffffff
lea ecx, [esi + 0x30]
push ebx
lea edx, [ebp + 0x34]
xor eax, eax
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], ebx
push edx
mov byte [ebp - 4], 2
mov word [ecx], ax
call fcn.00406640
mov eax, dword [ebp + 0x50]
mov cl, byte [ebp + 0x54]
mov edx, dword [ebp + 8]
mov dword [esi + 0x4c], eax
mov eax, dword [ebp + 0x58]
mov byte [esi + 0x5a], cl
mov ecx, esi
mov byte [ebp - 4], 3
mov dword [esi + 0x54], 2
mov word [esi + 0x58], pe_nt_image_headers32
mov dword [esi + 0x5c], edx
mov dword [esi + 0x60], eax
call fcn.004a8b10
mov eax, dword [esi + 0xc]
cmp dword [eax + 0x14], 8
jb 0x4a8cc9
mov eax, dword [eax]
push eax
mov ecx, esi
call fcn.004a1f00
cmp dword [ebp + 0x2c], 8
jb 0x4a8ce3
mov ecx, dword [ebp + 0x18]
push ecx
call fcn.00406ca9
add esp, 4
xor edx, edx
cmp dword [ebp + 0x48], 8
mov dword [ebp + 0x2c], 7
mov dword [ebp + 0x28], ebx
mov word [ebp + 0x18], dx
jb 0x4a8d05
mov eax, dword [ebp + 0x34]
push eax
call fcn.00406ca9
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x54
Function at 0x4a9130
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e2789
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x522638]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
xor al, al
mov dword [ebp - 0x34], 0
cmp dword [esi + 0x10], 0
mov byte [ebp - 0x2d], al
je 0x4a928f
mov ebx, 8
cmp dword [esi + 0x14], ebx
jb 0x4a9184
mov eax, dword [esi]
jmp 0x4a9186
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsURLW]
test eax, eax
je 0x4a928c
push 0x3c
lea eax, [ebp - 0x70]
push 0
push eax
call fcn.004b8020
mov eax, dword [esi + 0x10]
xor ecx, ecx
inc eax
mov edx, 2
mul edx
seto cl
mov dword [ebp - 0x70], 0x3c
neg ecx
or ecx, eax
push ecx
call fcn.004159eb
add esp, 0x10
mov dword [ebp - 0x60], eax
test eax, eax
je 0x4a91d4
mov eax, dword [esi + 0x10]
inc eax
mov dword [ebp - 0x5c], eax
mov eax, dword [esi + 0x10]
cmp dword [esi + 0x14], ebx
jb 0x4a91de
mov esi, dword [esi]
lea ecx, [ebp - 0x70]
push ecx
push 0
push eax
push esi
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
je 0x4a927c
mov eax, dword [ebp - 0x64]
cmp eax, 3
je 0x4a9253
cmp eax, 4
jne 0x4a927c
mov edx, 0x1bb
cmp word [ebp - 0x58], dx
jne 0x4a927c
mov ecx, dword [ebp - 0x60]
xor esi, esi
cmp ecx, esi
je 0x4a925a
mov eax, dword [ebp - 0x5c]
cmp eax, esi
je 0x4a925a
push eax
xor edx, edx
push ecx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], esi
mov word [ebp - 0x2c], dx
call fcn.00405fe0
lea eax, [ebp - 0x2c]
push eax
mov ecx, edi
mov dword [ebp - 4], esi
mov dword [ebp - 0x34], 1
call fcn.004a8d20
test al, al
je 0x4a925a
xor bl, bl
jmp 0x4a925c
cmp word [ebp - 0x58], 0x50
jmp 0x4a920a
mov bl, 1
test byte [ebp - 0x34], 1
je 0x4a9274
cmp dword [ebp - 0x18], 8
jb 0x4a9274
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00406ca9
add esp, 4
test bl, bl
jne 0x4a927c
mov byte [ebp - 0x2d], 1
mov eax, dword [ebp - 0x60]
test eax, eax
je 0x4a928c
push eax
call fcn.0041ecb3
add esp, 4
mov al, byte [ebp - 0x2d]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00401306
mov esp, ebp
pop ebp
ret 4
Function at 0x4ab430
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x138
mov eax, dword [0x522638]
xor eax, ebp
mov dword [ebp - 4], eax
movzx eax, word [ebp + 8]
push esi
mov esi, dword [0x526fa0]
push edi
push 0xf0
push eax
mov edi, 1
push esi
mov dword [ebp - 0x110], ecx
mov dword [ebp - 0x10c], edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4ab5f8
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4ab5f8
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4ab5f8
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendDlgItemMessageW]
jmp 0x4ab4a6
mov edi, dword [ebp - 0x10c]
movzx eax, word [esi]
xor ecx, ecx
cmp cx, ax
je 0x4ab5e3
mov edx, dword [esi + 4]
mov edi, eax
movzx eax, word [esi + 2]
mov ecx, 0x403
add esi, 8
mov dword [ebp - 0x114], edx
cmp cx, ax
jne 0x4ab536
push 3
lea edx, [ebp - 0x104]
push esi
lea ecx, [ebp - 0x108]
mov dword [ebp - 0x108], edx
call fcn.004aa500
mov eax, dword [ebp - 0x108]
mov edx, dword [ebp - 0x110]
push eax
mov eax, dword [edx + 4]
push 0
push 0x143
push edi
push eax
call ebx
cmp eax, 0xffffffff
jne 0x4ab514
mov dword [ebp - 0x10c], 0
mov eax, dword [ebp - 0x108]
lea ecx, [ebp - 0x104]
cmp eax, ecx
je 0x4ab5b7
push eax
call fcn.00402cae
add esp, 4
jmp 0x4ab5b7
mov edx, 0x1234
cmp dx, ax
jne 0x4ab5b7
push 3
lea eax, [ebp - 0x104]
push esi
lea ecx, [ebp - 0x108]
mov dword [ebp - 0x138], 1
mov dword [ebp - 0x134], 0xffffffff
mov dword [ebp - 0x108], eax
call fcn.004aa500
mov eax, dword [ebp - 0x108]
lea ecx, [ebp - 0x104]
mov dword [ebp - 0x130], eax
cmp eax, ecx
je 0x4ab58d
push eax
call fcn.00402cae
add esp, 4
mov ecx, dword [ebp - 0x110]
lea edx, [ebp - 0x138]
push edx
mov edx, dword [ecx + 4]
push 0
push 0x40b
push edi
push edx
call ebx
cmp eax, 0xffffffff
jne 0x4ab5b7
mov dword [ebp - 0x10c], 0
add esi, dword [ebp - 0x114]
cmp dword [ebp - 0x10c], 0
jne 0x4ab4a0
mov eax, dword [ebp - 0x10c]
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401306
mov esp, ebp
pop ebp
ret 4
pop ebx
mov eax, edi
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401306
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.00401306
mov esp, ebp
pop ebp
ret 4
Function at 0x4ae260
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
call fcn.004a8280
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov edi, dword [sym.imp.KERNEL32.dll_FindResourceW]
push 5
push ebx
push esi
mov dword [ebp - 8], 0
call edi
mov dword [ebp - 0xc], eax
test eax, eax
je 0x4ae32e
push 0xf0
push ebx
push esi
call edi
mov edi, dword [sym.imp.KERNEL32.dll_LoadResource]
xor ebx, ebx
test eax, eax
je 0x4ae2b4
push eax
push esi
call edi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov eax, dword [ebp - 0xc]
push eax
push esi
mov dword [ebp - 4], 0
call edi
test eax, eax
je 0x4ae317
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x4ae317
push ebx
push edi
call fcn.004a9780
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp + 0x14]
add esp, 8
push ecx
mov ebx, eax
mov eax, dword [ebp + 0x10]
push edx
push eax
push ebx
push esi
call dword [sym.imp.USER32.dll_CreateDialogIndirectParamW]
mov dword [ebp - 8], eax
test eax, eax
jne 0x4ae303
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
cmp ebx, edi
je 0x4ae320
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalHandle]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x4ae320
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x4ae32e
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4af030
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e1aa8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x522638]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov esi, ecx
cmp byte [esi + 0x104], 0
mov dword [ebp - 0x30], eax
mov eax, 2
mov dword [esi + 0x128], eax
mov dword [esi + 0x10c], edi
je 0x4af157
push 0
push edi
call fcn.004ae8f0
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4af124
test edi, edi
je 0x4af0a8
push 0
push edi
call dword [sym.imp.USER32.dll_EnableWindow]
mov ecx, dword [esi + 4]
push 5
push ecx
mov byte [esi + 0x124], 1
call dword [sym.imp.USER32.dll_ShowWindow]
mov ebx, dword [sym.imp.USER32.dll_GetMessageW]
push 0
push 0
push 0
lea edx, [ebp - 0x2c]
push edx
call ebx
test eax, eax
je 0x4af10d
lea eax, [ebp - 0x2c]
push eax
mov ecx, esi
call fcn.004aa310
test eax, eax
jne 0x4af0f4
lea ecx, [ebp - 0x2c]
push ecx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea edx, [ebp - 0x2c]
push edx
call dword [sym.imp.USER32.dll_DispatchMessageW]
cmp byte [esi + 0x124], 0
je 0x4af10d
push 0
push 0
push 0
lea eax, [ebp - 0x2c]
push eax
call ebx
test eax, eax
jne 0x4af0d1
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.USER32.dll_DestroyWindow]
test edi, edi
je 0x4af124
push 1
push edi
call dword [sym.imp.USER32.dll_EnableWindow]
lea edx, [ebp - 0x2c]
push edx
mov ecx, esi
call fcn.004ae520
mov ecx, dword [ebp - 0x30]
push eax
mov dword [ebp - 4], 0
call fcn.00405f60
cmp dword [ebp - 0x18], 8
jb 0x4af151
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00406ca9
add esp, 4
mov eax, dword [esi + 0x128]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00401306
mov esp, ebp
pop ebp
ret 8
Function at 0x4b0b30
Capabilities:
Check for time delay via gettickcount
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push 0x7f02
push 0
mov ebx, ecx
call dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [ebp - 8], eax
test eax, eax
je 0x4b0b59
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov dword [ebp - 4], eax
jmp 0x4b0b60
mov dword [ebp - 4], 0
mov eax, dword [ebx + 0x5c]
push esi
push edi
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
cmp byte [ebx + 0x59], 0
mov edi, eax
je 0x4b0bc5
mov edi, edi
push 0
push 0
push 0
lea ecx, [ebp - 0x24]
push ecx
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x4b0bc5
call esi
call esi
sub eax, edi
cmp eax, 0x493e0
ja 0x4b0bc5
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.USER32.dll_SetCursor]
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea ecx, [ebp - 0x24]
push ecx
call dword [sym.imp.USER32.dll_DispatchMessageW]
cmp byte [ebx + 0x59], 0
jne 0x4b0b80
mov eax, dword [ebp - 4]
pop edi
pop esi
test eax, eax
je 0x4b0bd5
push eax
call dword [sym.imp.USER32.dll_SetCursor]
xor eax, eax
cmp dword [ebx + 0x54], 1
pop ebx
sete al
mov esp, ebp
pop ebp
ret
Function at 0x4b0ed0
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e2ff9
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x522638]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor bl, bl
mov dword [ebp - 0x34], 0
cmp dword [esi + 0x10], 0
mov byte [ebp - 0x2d], bl
je 0x4b1022
cmp dword [esi + 0x14], 8
jb 0x4b0f1d
mov eax, dword [esi]
jmp 0x4b0f1f
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsURLW]
test eax, eax
je 0x4b1022
push 0x3c
lea eax, [ebp - 0x70]
push 0
push eax
call fcn.004b8020
mov eax, dword [esi + 0x10]
xor ecx, ecx
inc eax
mov edx, 2
mul edx
seto cl
mov dword [ebp - 0x70], 0x3c
neg ecx
or ecx, eax
push ecx
call fcn.004159eb
add esp, 0x10
mov dword [ebp - 0x60], eax
test eax, eax
je 0x4b0f6d
mov eax, dword [esi + 0x10]
inc eax
mov dword [ebp - 0x5c], eax
cmp dword [esi + 0x14], 8
mov eax, dword [esi + 0x10]
jb 0x4b0f78
mov esi, dword [esi]
lea ecx, [ebp - 0x70]
push ecx
push 0
push eax
push esi
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
je 0x4b1012
cmp dword [ebp - 0x64], 4
jne 0x4b1012
mov edx, 0x1bb
cmp word [ebp - 0x58], dx
jne 0x4b1012
mov ecx, dword [ebp - 0x60]
test ecx, ecx
je 0x4b0fed
mov eax, dword [ebp - 0x5c]
test eax, eax
je 0x4b0fed
push eax
xor edx, edx
push ecx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], dx
call fcn.00405fe0
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x34], 1
call fcn.004b0cb0
add esp, 4
test al, al
je 0x4b0fed
xor bl, bl
jmp 0x4b0fef
mov bl, 1
test byte [ebp - 0x34], 1
je 0x4b1007
cmp dword [ebp - 0x18], 8
jb 0x4b1007
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00406ca9
add esp, 4
test bl, bl
jne 0x4b100f
mov byte [ebp - 0x2d], 1
mov bl, byte [ebp - 0x2d]
mov eax, dword [ebp - 0x60]
test eax, eax
je 0x4b1022
push eax
call fcn.0041ecb3
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00401306
mov esp, ebp
pop ebp
ret
Function at 0x4b1920
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push edi
push 0
push 0
push 0
xor bl, bl
push 0
mov byte [ebp - 1], bl
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov edi, eax
test edi, edi
je 0x4b19ce
push 0x10
call fcn.00404f8a
add esp, 4
test eax, eax
je 0x4b196b
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov dword [eax + 4], ecx
mov ecx, dword [ebp + 0x10]
mov dword [eax], edi
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov ebx, eax
jmp 0x4b196d
xor ebx, ebx
push esi
push 0
push 0
push ebx
push 0x4b1750
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
test esi, esi
je 0x4b19ba
push 0xffffffffffffffff
push 0
lea edx, [ebp - 0xc]
push edx
push 2
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], esi
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
test eax, eax
push esi
sete bl
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop edi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
push ebx
call fcn.00406ca9
mov bl, byte [ebp - 1]
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop edi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4c44d9
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x522638]
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.00401868
and dword [ebp - 0x14], 0
cmp dword [0x526f48], 0
mov dword [ebp - 0x18], eax
jne 0x4c458c
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4c4634
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x50ca24
push ebx
call edi
test eax, eax
je 0x4c4634
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x50ca14
push ebx
mov dword [0x526f48], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x526f4c], eax
call edi
push eax
call esi
push 0x50c9e4
push ebx
mov dword [0x526f50], eax
call edi
push eax
call esi
mov dword [0x526f58], eax
test eax, eax
je 0x4c458c
push 0x50c9cc
push ebx
call edi
push eax
call esi
mov dword [0x526f54], eax
mov eax, dword [0x526f54]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4c45e5
cmp dword [0x526f58], ecx
je 0x4c45e5
push eax
call esi
push dword [0x526f58]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4c45e5
test ebx, ebx
je 0x4c45e5
call edi
test eax, eax
je 0x4c45dc
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4c45dc
test byte [ebp - 8], 1
jne 0x4c45e5
or dword [ebp + 0x10], 0x200000
jmp 0x4c4618
mov eax, dword [0x526f4c]
cmp eax, dword [ebp - 0x18]
je 0x4c4618
push eax
call esi
test eax, eax
je 0x4c4618
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4c4618
mov eax, dword [0x526f50]
cmp eax, dword [ebp - 0x18]
je 0x4c4618
push eax
call esi
test eax, eax
je 0x4c4618
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x526f48]
call esi
test eax, eax
je 0x4c4634
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4c4636
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401306
leave
ret
Function at 0x4c8b0c
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x526fdc], 0
push esi
push edi
jne 0x4c8a82
call fcn.004c89ee
test eax, eax
je 0x4c8ac7
mov eax, dword [0x526fdc]
cmp eax, 1
jne 0x4c8aa3
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x4c8ac7
jmp 0x4c8b09
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
push eax
call edi
test eax, eax
jne 0x4c8b09
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x4c8acb
xor eax, eax
jmp 0x4c8b09
mov eax, dword [esi]
push dword [0x526fdc]
call edi
mov edi, eax
test edi, edi
je 0x4c8aed
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, edi
jmp 0x4c8b09
lea edi, [esi + 0xff0]
push esi
push dword [0x526fdc]
call dword [sym.imp.KERNEL32.dll_InterlockedPushEntrySList]
add esi, 0x10
cmp esi, edi
jb 0x4c8af3
mov eax, esi
pop edi
pop esi
ret
jmp 0x4c8a6e

Function at 0x4c9460
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push ecx
mov edx, dword [ecx + 4]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor edi, edi
xor esi, esi
mov eax, dword [edx + 0x3c]
movzx ecx, word [eax + edx + 6]
add eax, edx
cmp edi, ecx
jae 0x4c94b0
movzx ecx, word [eax + 0x14]
add ecx, esi
lea eax, [ecx + eax + 0x18]
test eax, eax
je 0x4c94b0
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x4c949a
add ecx, edx
cmp ecx, ebx
ja 0x4c94aa
mov ebx, dword [eax + 8]
add ebx, ecx
mov dword [ebp - 4], ebx
mov ebx, dword [ebp + 8]
cmp dword [ebp - 4], ebx
ja 0x4c94b2
inc edi
add esi, 0x28
jmp 0x4c9471
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4ceba0
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dea48
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x522638]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
lea edi, [ebx + 0x2c]
push edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor esi, esi
mov dword [ebp - 4], esi
cmp dword [ebx + 0x24], esi
jne 0x4cec6e
push 0
push 0x50cc7c
push 0x50cc7c
push 0
inc esi
push 0x50cc7c
mov dword [ebp - 0x14], esi
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x4cec3e
mov edi, dword [ebx + 0x20]
mov ecx, dword [edi + 4]
lea eax, [ebp - 0x10]
push eax
push ecx
push edi
lea ecx, [ebx + 0x20]
call fcn.00490180
mov ecx, dword [ebx + 0x24]
mov edx, 0x3ffffffe
sub edx, ecx
cmp edx, 1
jb 0x4cec64
inc ecx
mov dword [ebx + 0x24], ecx
mov dword [edi + 4], eax
mov ecx, dword [eax + 4]
mov edi, dword [ebp - 0x18]
mov dword [ecx], eax
cmp esi, 3
jl 0x4cebe8
cmp dword [ebx + 0x24], 0
jne 0x4cec6e
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.list_T__too_long
call fcn.004b68f7
mov edx, dword [ebx + 0x20]
mov eax, dword [edx]
mov esi, dword [eax + 8]
mov ecx, edx
mov eax, dword [ecx]
cmp eax, ecx
je 0x4cec99
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov dword [ecx], edx
mov ecx, dword [eax]
mov edx, dword [eax + 4]
push eax
mov dword [ecx + 4], edx
call fcn.00406ca9
add esp, 4
dec dword [ebx + 0x24]
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x407ef8
nop
mov ecx, 0xc5917ad
nop
nop
nop
nop
nop
test eax, eax
nop
je 0x42e04e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x42e024
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42cd70
nop
mov ecx, 0x69bf0c72
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x42e084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
jne 0x42e06c
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x40ff30
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, edx
mov eax, ecx
push edi
mov dword [ebp - 0xc], eax
mov ecx, dword [esi + 0xaf4]
mov edi, dword [esi + 0xaf8]
inc ecx
and dword [eax], 0
cmp byte [esi + 0xafc], 0
mov dword [ebp - 4], ecx
jne 0x40ff65
mov byte [esi + 0xafc], 1
jmp 0x40ffe2
xor edx, edx
mov eax, dword [esi + 0xaf0]
cmp edx, eax
jae 0x4100bd
sub eax, edx
xor bl, bl
dec eax
imul ecx, eax, 0x1c
add ecx, esi
mov eax, dword [ecx]
mov dword [ebp - 8], eax
sub eax, 1
je 0x40ffc3
sub eax, 1
je 0x40ffad
sub eax, 1
jne 0x410031
mov eax, dword [ecx + 0x18]
add dword [ecx + 0x14], eax
mov eax, dword [ecx + 0x14]
cmp eax, dword [ecx + 0xc]
jbe 0x40ffda
mov eax, dword [ecx + 8]
mov dword [ecx + 0x14], eax
jmp 0x40ffd8
mov al, byte [ecx + 0xc]
add byte [ecx + 0xa], al
mov al, byte [ecx + 0xa]
cmp al, byte [ecx + 9]
jle 0x40ffda
mov al, byte [ecx + 8]
mov byte [ecx + 0xa], al
jmp 0x40ffd8
cmp dword [ecx + 8], 0
je 0x40ffda
inc dword [ecx + 0x10]
mov eax, dword [ecx + 0x10]
cmp eax, dword [ecx + 0xc]
jne 0x40ffda
and dword [ecx + 0x10], 0
mov bl, 1
inc edx
test bl, bl
jne 0x40ff67
mov ecx, dword [ebp - 4]
and dword [ebp - 8], 0
cmp dword [esi + 0xaf0], 0
jbe 0x41009e
lea ebx, [esi + 0xa]
mov edx, dword [ebx - 0xa]
mov eax, edx
sub eax, 1
je 0x410054
sub eax, 1
je 0x410045
sub eax, 1
jne 0x4100b7
push dword [ebx + 0xa]
push dword [ebx + 6]
push str._0lu
push ecx
push edi
call fcn.0041201d
mov edx, edi
add esp, 0x14
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x410028
jmp 0x41007c
push dword [ebp - 8]
push str.internal_error:_invalid_pattern_type___d__n
call fcn.004120f5
pop ecx
pop ecx
push 2
pop eax
jmp 0x4100bf
test ecx, ecx
je 0x410088
mov al, byte [ebx]
mov byte [edi], al
inc edi
dec ecx
mov byte [edi], 0
jmp 0x410085
mov edx, dword [ebx - 2]
test edx, edx
je 0x410088
mov eax, dword [ebx + 6]
push dword [edx + eax*4]
push 0x45fe94
push ecx
push edi
call fcn.0041201d
mov edx, edi
add esp, 0x10
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x410075
sub edx, ecx
mov ecx, dword [ebp - 4]
add edi, edx
sub ecx, edx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 8]
add ebx, 0x1c
inc eax
mov dword [ebp - 8], eax
cmp eax, dword [esi + 0xaf0]
jb 0x40fff6
push dword [esi + 0xaf8]
call fcn.00452db0
pop ecx
mov ecx, dword [ebp - 0xc]
mov dword [ecx], eax
test eax, eax
jne 0x4100bd
push 0x1b
jmp 0x410042
push edx
jmp 0x410034
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x41f892
Capabilities:
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
test esi, esi
je 0x41f8d9
call fcn.0042e9be
test al, al
jne 0x41f8d9
push ebx
lea edx, [ebp - 4]
mov ecx, esi
call fcn.0041f833
mov esi, dword [ebp - 4]
mov edx, eax
add esi, edx
mov ebx, 0x1505
jmp 0x41f8cf
mov cl, byte [edx]
call fcn.00412510
imul ebx, ebx, 0x21
movsx ecx, al
xor ebx, ecx
inc edx
cmp edx, esi
jb 0x41f8bf
movzx eax, bl
pop ebx
jmp 0x41f8db
xor eax, eax
pop esi
leave
ret