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

Disassembly:
push 0xffffffffffffffff
push 0x4ca2e6
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x50b384]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
lea ecx, [esi + 0x20]
xor ebp, ebp
mov dword [ecx + 4], ebp
mov dword [ecx + 8], ebp
mov dword [ecx + 0xc], ebp
lea edi, [esi + 0x30]
mov dword [esp + 0x24], ebp
mov dword [edi + 4], ebp
mov dword [edi + 8], ebp
mov dword [edi + 0xc], ebp
mov eax, dword [ecx + 8]
sub eax, dword [ecx + 4]
mov ebx, 1
mov byte [esp + 0x24], bl
test eax, 0xffffffe0
je 0x478913
mov eax, dword [ecx + 8]
mov edx, dword [ecx + 4]
push eax
push edx
lea edx, [esp + 0x20]
push edx
call fcn.00478380
mov eax, dword [edi + 8]
sub eax, dword [edi + 4]
test eax, 0xffffffe0
je 0x478934
mov eax, dword [edi + 8]
mov ecx, dword [edi + 4]
push eax
push ecx
lea ecx, [esp + 0x20]
push ecx
mov ecx, edi
call fcn.00478380
mov dword [esi], ebp
mov dword [esi + 4], ebp
mov dword [esi + 8], ebp
mov dword [esi + 0xc], ebp
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x47bfe0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 0x134
mov eax, dword [0x50b384]
xor eax, esp
mov dword [esp + 0x130], eax
movzx eax, word [esp + 0x138]
push ebp
push esi
mov esi, dword [0x510084]
push edi
push 0xf0
push eax
mov edi, 1
push esi
mov ebp, ecx
mov dword [esp + 0x18], edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x47c16c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x47c16c
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x47c16c
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendDlgItemMessageW]
jmp 0x47c054
mov edi, dword [esp + 0x10]
movzx eax, word [esi]
xor ecx, ecx
cmp cx, ax
je 0x47c168
add esi, 2
mov edx, dword [esi + 2]
movzx edi, ax
movzx eax, word [esi]
add esi, 2
mov ecx, 0x403
add esi, 4
mov dword [esp + 0x14], edx
cmp cx, ax
jne 0x47c0d0
push 3
lea edx, [esp + 0x44]
push esi
lea ecx, [esp + 0x44]
mov dword [esp + 0x44], edx
call fcn.0047b300
mov eax, dword [esp + 0x3c]
mov edx, dword [ebp + 4]
push eax
push 0
movzx ecx, di
push 0x143
push ecx
push edx
call ebx
cmp eax, 0xffffffff
jne 0x47c0b9
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x3c]
lea ecx, [esp + 0x40]
cmp eax, ecx
je 0x47c13a
push eax
call fcn.00490d9c
add esp, 4
jmp 0x47c13a
mov edx, 0x1234
cmp dx, ax
jne 0x47c13a
push 3
lea eax, [esp + 0x44]
push esi
lea ecx, [esp + 0x44]
mov dword [esp + 0x20], 1
mov dword [esp + 0x24], 0xffffffff
mov dword [esp + 0x44], eax
call fcn.0047b300
mov eax, dword [esp + 0x3c]
lea ecx, [esp + 0x40]
mov dword [esp + 0x20], eax
cmp eax, ecx
je 0x47c117
push eax
call fcn.00490d9c
add esp, 4
mov ecx, dword [ebp + 4]
lea edx, [esp + 0x18]
push edx
push 0
movzx eax, di
push 0x40b
push eax
push ecx
call ebx
cmp eax, 0xffffffff
jne 0x47c13a
mov dword [esp + 0x10], 0
add esi, dword [esp + 0x14]
cmp dword [esp + 0x10], 0
jne 0x47c050
mov eax, dword [esp + 0x10]
pop ebx
mov ecx, dword [esp + 0x13c]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.0048ebcd
add esp, 0x134
ret 4
mov eax, edi
jmp 0x47c14d
mov eax, edi
jmp 0x47c14e
Function at 0x4829f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4cab98
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x50b384]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
push ebp
push edi
mov eax, dword [0x50b384]
xor eax, esp
push eax
lea eax, [esp + 0x54]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x14], ebx
push 1
push ebx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x70]
mov dword [esp + 0x68], ebx
mov byte [esp + 0x1c], 0x2f
call fcn.00444c20
lea ebp, [ebx + 0x10]
cmp eax, 0xffffffff
je 0x482b42
mov edi, dword [esp + 0x7c]
mov ecx, dword [esp + 0x68]
cmp edi, ebp
jae 0x482a5d
lea ecx, [esp + 0x68]
cmp byte [ecx + eax + 1], 0x2f
jne 0x482b42
mov edx, dword [esp + 0x78]
add eax, 2
cmp eax, edx
jae 0x482a8a
mov ecx, dword [esp + 0x68]
cmp edi, ebp
jae 0x482a7f
lea ecx, [esp + 0x68]
cmp byte [ecx + eax], 0x2f
je 0x482a8a
inc eax
cmp eax, edx
jb 0x482a73
push eax
push ebx
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esp + 0x70]
call fcn.004455c0
push 1
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x34], esp
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x5c]
mov edi, 0xf
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push edx
mov byte [esp + 0x88], 1
mov byte [ecx + 4], bl
call fcn.00401b4d
lea ecx, [esp + 0x38]
call fcn.00481e60
add esp, 0x20
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x40]
mov byte [esp + 0x68], 2
call fcn.00401b4d
mov byte [esp + 0x5c], 1
cmp dword [esp + 0x30], ebp
jb 0x482afe
mov eax, dword [esp + 0x1c]
push eax
call fcn.0048e976
add esp, 4
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x3c]
push ecx
mov dword [esi + 0x18], edi
mov dword [esi + 0x14], ebx
mov ecx, esi
mov byte [esi + 4], bl
call fcn.00401b4d
cmp dword [esp + 0x4c], ebp
jb 0x482b29
mov edx, dword [esp + 0x38]
push edx
call fcn.0048e976
add esp, 4
mov dword [esp + 0x4c], edi
mov dword [esp + 0x48], ebx
mov byte [esp + 0x38], bl
cmp dword [esp + 0x7c], ebp
jb 0x482b6f
mov eax, dword [esp + 0x68]
push eax
jmp 0x482b67
push ebx
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
push 0x4cf42d
mov ecx, esi
mov byte [esi + 4], bl
call fcn.00401bdf
cmp dword [esp + 0x7c], ebp
jb 0x482b6f
mov ecx, dword [esp + 0x68]
push ecx
call fcn.0048e976
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.0048ebcd
add esp, 0x50
ret
Function at 0x482b90
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4cabd8
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x50b384]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x50b384]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov edi, dword [esp + 0x68]
xor ebx, ebx
mov dword [esp + 0x18], ebx
push 1
push ebx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x78]
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x20], 0x2f
call fcn.00444c20
cmp eax, 0xffffffff
je 0x482d1f
mov esi, dword [esp + 0x84]
mov ebp, dword [esp + 0x70]
mov ecx, ebp
cmp esi, 0x10
jae 0x482c05
lea ecx, [esp + 0x70]
cmp byte [ecx + eax + 1], 0x2f
jne 0x482d1f
add eax, 2
mov ecx, eax
cmp eax, dword [esp + 0x80]
jae 0x482c5d
mov edi, edi
mov edx, ebp
cmp esi, 0x10
jae 0x482c2b
lea edx, [esp + 0x70]
cmp byte [edx + ecx], 0x3a
je 0x482c5d
mov edx, ebp
cmp esi, 0x10
jae 0x482c3c
lea edx, [esp + 0x70]
cmp byte [edx + ecx], 0x2f
je 0x482c5d
mov edx, ebp
cmp esi, 0x10
jae 0x482c4d
lea edx, [esp + 0x70]
cmp byte [edx + ecx], 0x3f
je 0x482c5d
inc ecx
cmp ecx, dword [esp + 0x80]
jb 0x482c20
sub ecx, eax
push ecx
push eax
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0x78]
call fcn.004455c0
push 1
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x38], esp
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x60]
mov esi, 0xf
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push edx
mov byte [esp + 0x8c], 1
mov byte [ecx + 4], bl
call fcn.00401b4d
lea ecx, [esp + 0x3c]
call fcn.00481e60
add esp, 0x20
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x44]
mov byte [esp + 0x6c], 2
call fcn.00401b4d
mov ebp, 0x10
mov byte [esp + 0x60], 1
cmp dword [esp + 0x34], ebp
jb 0x482cd8
mov eax, dword [esp + 0x20]
push eax
call fcn.0048e976
add esp, 4
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x40]
push ecx
mov dword [edi + 0x18], esi
mov dword [edi + 0x14], ebx
mov ecx, edi
mov byte [edi + 4], bl
call fcn.00401b4d
cmp dword [esp + 0x50], ebp
jb 0x482d03
mov edx, dword [esp + 0x3c]
push edx
call fcn.0048e976
add esp, 4
mov dword [esp + 0x50], esi
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
cmp dword [esp + 0x84], ebp
jb 0x482d50
mov eax, dword [esp + 0x70]
push eax
jmp 0x482d48
push ebx
mov dword [edi + 0x18], 0xf
mov dword [edi + 0x14], ebx
push 0x4cf42d
mov ecx, edi
mov byte [edi + 4], bl
call fcn.00401bdf
cmp dword [esp + 0x84], 0x10
jb 0x482d50
mov ecx, dword [esp + 0x70]
push ecx
call fcn.0048e976
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.0048ebcd
add esp, 0x50
ret
Function at 0x485970
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
call fcn.00485580
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
mov ebx, dword [sym.imp.KERNEL32.dll_FindResourceW]
push 5
push edi
push esi
mov dword [esp + 0x20], 0
call ebx
mov ebp, eax
test ebp, ebp
je 0x485a4f
push 0xf0
push edi
push esi
call ebx
mov edi, dword [sym.imp.KERNEL32.dll_LoadResource]
xor ebx, ebx
test eax, eax
je 0x4859c4
push eax
push esi
call edi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebp
push esi
mov dword [esp + 0x18], 0
call edi
test eax, eax
je 0x485a28
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x485a28
push ebx
push edi
call fcn.0047a2f0
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
add esp, 8
mov ebx, eax
mov eax, dword [esp + 0x2c]
push eax
push ecx
push edx
push ebx
push esi
call dword [sym.imp.USER32.dll_CreateDialogIndirectParamW]
mov esi, eax
test esi, esi
jne 0x485a14
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x10], eax
cmp ebx, edi
je 0x485a36
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalHandle]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x485a36
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [esp + 0x14]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
test eax, eax
je 0x485a45
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 8
ret
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x487a60
Capabilities:
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x4cb198
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x50b384]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
cmp byte [esi + 0xf4], 0
mov edi, dword [esp + 0x40]
mov eax, 2
mov dword [esi + 0x114], eax
mov dword [esi + 0xfc], edi
je 0x487b92
push esi
lea eax, [esi + 8]
push eax
push 0x5100c0
call fcn.0047b680
mov ecx, dword [0x510084]
push 0
push 0x47c210
push edi
push 0x71
push ecx
call fcn.00485970
add esp, 0x14
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x487b56
mov edx, dword [esi + 4]
push 5
push edx
mov byte [esi + 0x110], 1
call dword [sym.imp.USER32.dll_ShowWindow]
mov edi, dword [sym.imp.USER32.dll_GetMessageW]
push 0
push 0
push 0
lea eax, [esp + 0x20]
push eax
call edi
test eax, eax
je 0x487b4c
mov ebx, dword [sym.imp.USER32.dll_TranslateMessage]
mov ebp, dword [sym.imp.USER32.dll_DispatchMessageW]
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
call fcn.0047ac30
test eax, eax
jne 0x487b32
lea edx, [esp + 0x14]
push edx
call ebx
lea eax, [esp + 0x14]
push eax
call ebp
cmp byte [esi + 0x110], 0
je 0x487b4c
push 0
push 0
push 0
lea ecx, [esp + 0x20]
push ecx
call edi
test eax, eax
jne 0x487b14
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.USER32.dll_DestroyWindow]
lea eax, [esp + 0x14]
push eax
mov ecx, esi
call fcn.00485d80
mov ecx, dword [esp + 0x44]
push 0xffffffffffffffff
push 0
push eax
mov dword [esp + 0x44], 0
call fcn.00401c51
cmp dword [esp + 0x2c], 8
jb 0x487b8c
mov ecx, dword [esp + 0x18]
push ecx
call fcn.0048e976
add esp, 4
mov eax, dword [esi + 0x114]
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 8
Function at 0x4888a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4cb2f9
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x50b384]
xor eax, esp
mov dword [esp + 0x48], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x50b384]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x70]
mov edi, dword [esp + 0x74]
mov esi, dword [esp + 0x78]
xor ebp, ebp
push ebp
mov ecx, ebx
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], edi
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], ebp
call fcn.00488060
push ebp
push 0x4cf42d
lea ecx, [esp + 0x48]
mov dword [esp + 0x70], ebp
mov dword [esp + 0x28], 1
mov dword [esp + 0x60], 0xf
mov dword [esp + 0x5c], ebp
mov byte [esp + 0x4c], 0
call fcn.00401bdf
mov eax, dword [edi + 0x14]
mov dword [esp + 0x68], 1
test eax, eax
jbe 0x488a82
jmp 0x488948
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x14]
mov eax, dword [esi + 0x14]
push eax
push ebp
lea eax, [esp + 0x2c]
push eax
mov ecx, edi
call fcn.004455c0
mov edi, dword [esi + 0x14]
mov ebx, 0x10
cmp dword [esi + 0x18], ebx
jb 0x48896e
mov edx, dword [esi + 4]
lea ecx, [esi + 4]
jmp 0x488971
lea edx, [esi + 4]
mov esi, dword [eax + 0x14]
mov ecx, esi
cmp ecx, esi
jae 0x48897a
mov ecx, esi
cmp esi, edi
jb 0x488982
mov ecx, edi
cmp dword [eax + 0x18], ebx
jb 0x48898c
mov eax, dword [eax + 4]
jmp 0x48898f
add eax, 4
push ecx
push edx
push eax
call fcn.00403dd0
add esp, 0xc
test eax, eax
jne 0x4889b0
cmp esi, edi
jae 0x4889a7
or eax, 0xffffffff
jmp 0x4889ae
xor eax, eax
cmp esi, edi
setne al
test eax, eax
mov esi, 0x10
sete bl
mov byte [esp + 0x68], 1
cmp dword [esp + 0x3c], esi
jb 0x4889d0
mov ecx, dword [esp + 0x28]
push ecx
call fcn.0048e976
add esp, 4
test bl, bl
je 0x488a3d
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x40]
push edx
call fcn.00445fc0
mov edx, dword [esp + 0x58]
mov edi, dword [esp + 0x44]
mov eax, edi
cmp edx, esi
jae 0x4889f4
lea eax, [esp + 0x44]
mov ecx, dword [esp + 0x54]
add ecx, eax
cmp edx, esi
mov esi, edi
jae 0x488a04
lea esi, [esp + 0x44]
cmp edx, 0x10
mov edx, edi
jae 0x488a0f
lea edx, [esp + 0x44]
test esi, esi
jne 0x488a17
xor eax, eax
jmp 0x488a1b
mov eax, esi
sub eax, edx
test ecx, ecx
je 0x488a21
sub ecx, esi
push ecx
push eax
lea ecx, [esp + 0x48]
call fcn.0040167f
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + 0x14]
mov edi, dword [esp + 0x14]
lea ebp, [eax + ebp - 1]
jmp 0x488a74
mov edi, dword [esp + 0x14]
cmp dword [edi + 0x18], esi
jb 0x488a4b
mov eax, dword [edi + 4]
jmp 0x488a4e
lea eax, [edi + 4]
movzx eax, byte [eax + ebp]
push eax
push 1
lea ecx, [esp + 0x48]
call fcn.004087ba
mov eax, dword [edi + 0x14]
dec eax
cmp ebp, eax
jne 0x488a74
lea ecx, [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x1c]
call fcn.00445fc0
inc ebp
cmp ebp, dword [edi + 0x14]
jb 0x488940
mov ebx, dword [esp + 0x18]
cmp dword [esp + 0x58], 0x10
jb 0x488a96
mov edx, dword [esp + 0x44]
push edx
call fcn.0048e976
add esp, 4
mov eax, ebx
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.0048ebcd
add esp, 0x58
ret
Function at 0x48c720
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
mov eax, dword [esi + 0xc0]
xor ebx, ebx
mov dword [esi], vtable.SimpleMAPIObject.0
cmp eax, ebx
je 0x48c740
push eax
call fcn.00490d9c
add esp, 4
mov eax, dword [esi + 0xc4]
cmp eax, ebx
je 0x48c753
push eax
call fcn.00490d9c
add esp, 4
push edi
xor edi, edi
cmp dword [esi + 0xe4], ebx
jbe 0x48c783
xor ebp, ebp
mov eax, dword [esi + 0xe8]
mov eax, dword [eax + ebp + 0xc]
cmp eax, ebx
je 0x48c777
push eax
call fcn.00490d9c
add esp, 4
inc edi
add ebp, 0x18
cmp edi, dword [esi + 0xe4]
jb 0x48c760
mov eax, dword [esi + 0xe8]
cmp eax, ebx
je 0x48c796
push eax
call fcn.00490d9c
add esp, 4
xor ebp, ebp
cmp dword [esi + 0xdc], ebx
jbe 0x48c7f3
xor edi, edi
mov ecx, dword [esi + 0xe0]
mov eax, dword [ecx + edi + 8]
cmp eax, ebx
je 0x48c7b9
push eax
call fcn.00490d9c
add esp, 4
mov edx, dword [esi + 0xe0]
mov eax, dword [edx + edi + 0xc]
cmp eax, ebx
je 0x48c7d0
push eax
call fcn.00490d9c
add esp, 4
mov eax, dword [esi + 0xe0]
mov eax, dword [eax + edi + 0x14]
cmp eax, ebx
je 0x48c7e7
push eax
call fcn.00490d9c
add esp, 4
inc ebp
add edi, 0x18
cmp ebp, dword [esi + 0xdc]
jb 0x48c7a2
mov eax, dword [esi + 0xe0]
cmp eax, ebx
je 0x48c806
push eax
call fcn.00490d9c
add esp, 4
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ebp, 0x10
cmp dword [esi + 0xb0], ebp
jb 0x48c82c
mov edx, dword [esi + 0x9c]
push edx
call fcn.0048e976
add esp, 4
mov edi, 0xf
mov dword [esi + 0xb0], edi
mov dword [esi + 0xac], ebx
mov byte [esi + 0x9c], bl
cmp dword [esi + 0x94], ebp
jb 0x48c85a
mov eax, dword [esi + 0x80]
push eax
call fcn.0048e976
add esp, 4
mov dword [esi + 0x94], edi
mov dword [esi + 0x90], ebx
mov byte [esi + 0x80], bl
cmp dword [esi + 0x78], ebp
jb 0x48c87d
mov ecx, dword [esi + 0x64]
push ecx
call fcn.0048e976
add esp, 4
mov dword [esi + 0x78], edi
mov dword [esi + 0x74], ebx
mov edi, 8
mov byte [esi + 0x64], bl
cmp dword [esi + 0x5c], edi
jb 0x48c89c
mov edx, dword [esi + 0x48]
push edx
call fcn.0048e976
add esp, 4
mov ebp, 7
xor eax, eax
mov dword [esi + 0x5c], ebp
mov dword [esi + 0x58], ebx
mov word [esi + 0x48], ax
cmp dword [esi + 0x40], edi
jb 0x48c8be
mov ecx, dword [esi + 0x2c]
push ecx
call fcn.0048e976
add esp, 4
xor edx, edx
mov dword [esi + 0x40], ebp
mov dword [esi + 0x3c], ebx
mov word [esi + 0x2c], dx
cmp dword [esi + 0x24], edi
pop edi
jb 0x48c8dc
mov eax, dword [esi + 0x10]
push eax
call fcn.0048e976
add esp, 4
mov dword [esi + 0x24], ebp
mov dword [esi + 0x20], ebx
xor ecx, ecx
mov word [esi + 0x10], cx
mov dword [esi], vtable.BrokerObject.0
pop esi
pop ebp
pop ebx
ret
Function at 0x48ebcd
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x50b384]
jne 0x48ebd7
repz ret
jmp fcn.0049a603

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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x495a39
call fcn.004943c9
mov dword [eax], esi
call fcn.004943b6
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.00490f61
add esp, 0x14
push 0x16
pop eax
jmp 0x495a8e
test dword [ebp + 0xc], 0xfffffff9
jne 0x495a15
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x495a66
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004943dc
pop ecx
call fcn.004943b6
mov eax, dword [eax]
jmp 0x495a8e
test al, 0x10
jne 0x495a8c
test al, 1
je 0x495a8c
test byte [ebp + 0xc], 2
je 0x495a8c
call fcn.004943c9
mov dword [eax], 5
call fcn.004943b6
mov dword [eax], 0xd
jmp 0x495a5d
xor eax, eax
pop esi
pop ebp
ret

Function at 0x4a6813
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0049a77b
and dword [ebp - 4], 0
cmp dword [0x510008], 0
mov ebx, eax
jne 0x4a68c4
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4a6975
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4a6975
push eax
call fcn.0049a709
mov dword [esp], 0x4f7b10
push edi
mov dword [0x510008], eax
call esi
push eax
call fcn.0049a709
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x51000c], eax
call esi
push eax
call fcn.0049a709
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x510010], eax
call esi
push eax
call fcn.0049a709
pop ecx
mov dword [0x510018], eax
test eax, eax
je 0x4a68c4
push 0x4f7ac8
push edi
call esi
push eax
call fcn.0049a709
pop ecx
mov dword [0x510014], eax
mov eax, dword [0x510014]
cmp eax, ebx
je 0x4a691c
cmp dword [0x510018], ebx
je 0x4a691c
push eax
call fcn.0049a784
push dword [0x510018]
mov esi, eax
call fcn.0049a784
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4a691c
test edi, edi
je 0x4a691c
call esi
test eax, eax
je 0x4a6913
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4a6913
test byte [ebp - 0xc], 1
jne 0x4a691c
or dword [ebp + 0x10], 0x200000
jmp 0x4a6955
mov eax, dword [0x51000c]
cmp eax, ebx
je 0x4a6955
push eax
call fcn.0049a784
pop ecx
test eax, eax
je 0x4a6955
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4a6955
mov eax, dword [0x510010]
cmp eax, ebx
je 0x4a6955
push eax
call fcn.0049a784
pop ecx
test eax, eax
je 0x4a6955
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x510008]
call fcn.0049a784
pop ecx
test eax, eax
je 0x4a6975
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4a6977
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4adaa7
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x5100b4], 0
push esi
jne 0x4ada1a
call fcn.004ad940
test eax, eax
je 0x4ada5d
mov eax, dword [0x5100b4]
cmp eax, 1
jne 0x4ada3b
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x4ada5d
pop esi
ret
push eax
call dword [0x5100bc]
test eax, eax
jne 0x4adaa5
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 0x4ada61
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x5100b4]
call dword [0x5100bc]
mov edi, eax
test edi, edi
je 0x4ada86
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x4adaa2
mov edi, esi
add esi, 0xff0
push edi
push dword [0x5100b4]
call dword [0x5100b8]
add edi, 0x10
cmp edi, esi
jb 0x4ada8e
mov eax, edi
pop edi
pop esi
ret
jmp 0x4ada07

Function at 0x4b4880
Capabilities:
Create http request

Disassembly:
push 0xffffffffffffffff
push 0x4cba18
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x50b384]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov ebp, ecx
lea edi, [ebp + 0x24]
push edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [ebp + 0x20], 0
mov dword [esp + 0x2c], 0
jne 0x4b494e
mov dword [esp + 0x14], 3
push 0
push 0x4f7e18
push 0x4f7e18
push 0
push 0x4f7e18
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esp + 0x18], eax
test eax, eax
je 0x4b4924
mov edi, dword [ebp + 0x1c]
mov ecx, dword [edi + 4]
lea esi, [ebp + 0x18]
lea eax, [esp + 0x18]
push eax
push ecx
push edi
mov ecx, esi
call fcn.004b2260
push 1
mov ecx, esi
mov ebx, eax
call fcn.00463ec0
mov dword [edi + 4], ebx
mov edx, dword [ebx + 4]
mov edi, dword [esp + 0x1c]
mov dword [edx], ebx
sub dword [esp + 0x14], 1
jne 0x4b48d5
cmp dword [ebp + 0x20], 0
jne 0x4b494e
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
mov eax, dword [ebp + 0x1c]
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, eax
mov eax, dword [ecx]
cmp eax, ecx
je 0x4b4979
mov edx, dword [eax + 4]
mov ecx, dword [eax]
mov dword [edx], ecx
mov edx, dword [eax]
mov ecx, dword [eax + 4]
push eax
mov dword [edx + 4], ecx
call fcn.0048e976
add esp, 4
dec dword [ebp + 0x20]
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, esi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret