joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49fba0
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e3bb0
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push esi
mov eax, dword [0x5256a8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp + 0x40]
mov esi, 1
mov dword [ebp - 4], esi
test eax, 0x100000
jne 0x49fcdd
test eax, 0x20000
je 0x49fbf2
test eax, 0x10000
je 0x49fcdd
cmp dword [ebp + 0x18], 0
je 0x49fcdd
cmp dword [ebp + 0x1c], 8
mov eax, dword [ebp + 8]
jae 0x49fc08
lea eax, [ebp + 8]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathIsURLW]
push eax
call ebx
test eax, eax
je 0x49fcdd
push 0x3c
lea eax, [ebp - 0x4c]
push 0
push eax
call fcn.004b7120
mov eax, dword [ebp + 8]
add esp, 0xc
cmp dword [ebp + 0x1c], 8
mov dword [ebp - 0x4c], 0x3c
mov dword [ebp - 0x44], esi
jae 0x49fc3f
lea eax, [ebp + 8]
mov edx, dword [ebp + 0x18]
mov esi, dword [sym.imp.WININET.dll_InternetCrackUrlW]
lea ecx, [ebp - 0x4c]
push ecx
push 0
push edx
push eax
call esi
test eax, eax
je 0x49fcdd
mov eax, dword [ebp - 0x40]
cmp eax, 3
je 0x49fc67
cmp eax, 4
jne 0x49fcdd
cmp dword [ebp + 0x34], 0
je 0x49fcdd
cmp dword [ebp + 0x38], 8
mov eax, dword [ebp + 0x24]
jae 0x49fc79
lea eax, [ebp + 0x24]
push eax
call ebx
test eax, eax
je 0x49fcdd
push 0x3c
lea eax, [ebp - 0x4c]
push 0
push eax
call fcn.004b7120
mov eax, dword [ebp + 0x24]
add esp, 0xc
cmp dword [ebp + 0x38], 8
mov dword [ebp - 0x4c], 0x3c
mov dword [ebp - 0x44], 1
jae 0x49fcaa
lea eax, [ebp + 0x24]
mov edx, dword [ebp + 0x34]
lea ecx, [ebp - 0x4c]
push ecx
push 0
push edx
push eax
call esi
test eax, eax
je 0x49fcdd
mov eax, dword [ebp - 0x40]
cmp eax, 3
je 0x49fcc8
cmp eax, 4
jne 0x49fcdd
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x60]
push 1
lea eax, [ebp + 8]
push eax
push edx
call fcn.0047e3b0
add esp, 0xc
mov esi, 8
cmp dword [ebp + 0x1c], esi
jb 0x49fcf3
mov eax, dword [ebp + 8]
push eax
call fcn.00406cf9
add esp, 4
xor ecx, ecx
mov dword [ebp + 0x1c], 7
mov dword [ebp + 0x18], 0
mov word [ebp + 8], cx
cmp dword [ebp + 0x38], esi
jb 0x49fd18
mov edx, dword [ebp + 0x24]
push edx
call fcn.00406cf9
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x3c
Function at 0x4a57b0
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e3f88
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
mov eax, dword [0x5256a8]
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 esi, dword [ebp + 8]
mov eax, dword [esi + 0x10]
mov edi, ecx
test eax, eax
je 0x4a5953
mov ebx, 8
cmp dword [esi + 0x14], ebx
jb 0x4a57fc
mov eax, dword [esi]
jmp 0x4a57fe
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsURLW]
test eax, eax
je 0x4a5953
push 0x3c
lea eax, [ebp - 0xc0]
push 0
push eax
call fcn.004b7120
mov ecx, dword [esi + 0x10]
mov eax, 1
add esp, 0xc
mov dword [ebp - 0xc0], 0x3c
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0xac], eax
cmp dword [esi + 0x14], ebx
jb 0x4a5847
mov eax, dword [esi]
jmp 0x4a5849
mov eax, esi
lea edx, [ebp - 0xc0]
push edx
push 0
push ecx
push eax
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
je 0x4a5953
mov eax, dword [ebp - 0xb4]
cmp eax, 3
je 0x4a5876
cmp eax, 4
jne 0x4a5953
mov eax, dword [ebp - 0xbc]
xor bl, bl
test eax, eax
je 0x4a5940
mov ecx, dword [ebp - 0xb8]
test ecx, ecx
je 0x4a5940
cmp dword [ebp - 0xb0], 0
je 0x4a5940
cmp dword [ebp - 0xac], 0
jbe 0x4a5940
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.004609c0
mov eax, dword [ebp - 0xac]
mov ecx, dword [ebp - 0xb0]
push eax
push ecx
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], 0
call fcn.004609c0
lea edx, [ebp - 0x48]
push edx
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x80]
push ecx
mov byte [ebp - 4], 1
call fcn.004a5730
add esp, 0xc
push eax
lea edx, [ebp - 0x84]
push edx
lea ecx, [edi + 0x64]
mov byte [ebp - 4], 2
call fcn.004a4990
lea ecx, [ebp - 0x80]
call fcn.00409f90
mov eax, dword [ebp - 0x84]
cmp eax, dword [edi + 0x68]
je 0x4a592c
add eax, 0x44
cmp dword [eax + 0x14], 8
jb 0x4a591f
mov eax, dword [eax]
push eax
mov eax, dword [edi + 0x5c]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov bl, 1
lea ecx, [ebp - 0x48]
call fcn.00409fe0
lea ecx, [ebp - 0x2c]
call fcn.00409fe0
test bl, bl
jne 0x4a5953
cmp dword [esi + 0x14], 8
jb 0x4a5948
mov esi, dword [esi]
mov ecx, dword [edi + 0x5c]
push esi
push ecx
call dword [sym.imp.USER32.dll_SetWindowTextW]
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 0x4a7490
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e4239
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x5256a8]
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 0x4a75ef
mov ebx, 8
cmp dword [esi + 0x14], ebx
jb 0x4a74e4
mov eax, dword [esi]
jmp 0x4a74e6
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsURLW]
test eax, eax
je 0x4a75ec
push 0x3c
lea eax, [ebp - 0x70]
push 0
push eax
call fcn.004b7120
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.00416893
add esp, 0x10
mov dword [ebp - 0x60], eax
test eax, eax
je 0x4a7534
mov eax, dword [esi + 0x10]
inc eax
mov dword [ebp - 0x5c], eax
mov eax, dword [esi + 0x10]
cmp dword [esi + 0x14], ebx
jb 0x4a753e
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 0x4a75dc
mov eax, dword [ebp - 0x64]
cmp eax, 3
je 0x4a75b3
cmp eax, 4
jne 0x4a75dc
mov edx, 0x1bb
cmp word [ebp - 0x58], dx
jne 0x4a75dc
mov ecx, dword [ebp - 0x60]
xor esi, esi
cmp ecx, esi
je 0x4a75ba
mov eax, dword [ebp - 0x5c]
cmp eax, esi
je 0x4a75ba
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.00406030
lea eax, [ebp - 0x2c]
push eax
mov ecx, edi
mov dword [ebp - 4], esi
mov dword [ebp - 0x34], 1
call fcn.004a70e0
test al, al
je 0x4a75ba
xor bl, bl
jmp 0x4a75bc
cmp word [ebp - 0x58], 0x50
jmp 0x4a756a
mov bl, 1
test byte [ebp - 0x34], 1
je 0x4a75d4
cmp dword [ebp - 0x18], 8
jb 0x4a75d4
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00406cf9
add esp, 4
test bl, bl
jne 0x4a75dc
mov byte [ebp - 0x2d], 1
mov eax, dword [ebp - 0x60]
test eax, eax
je 0x4a75ec
push eax
call fcn.004168eb
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 0x4a9ff0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x138
mov eax, dword [0x5256a8]
xor eax, ebp
mov dword [ebp - 4], eax
movzx eax, word [ebp + 8]
push esi
mov esi, dword [0x529fe8]
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 0x4aa1b8
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4aa1b8
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4aa1b8
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendDlgItemMessageW]
jmp 0x4aa066
mov edi, dword [ebp - 0x10c]
movzx eax, word [esi]
xor ecx, ecx
cmp cx, ax
je 0x4aa1a3
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 0x4aa0f6
push 3
lea edx, [ebp - 0x104]
push esi
lea ecx, [ebp - 0x108]
mov dword [ebp - 0x108], edx
call fcn.004a90c0
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 0x4aa0d4
mov dword [ebp - 0x10c], 0
mov eax, dword [ebp - 0x108]
lea ecx, [ebp - 0x104]
cmp eax, ecx
je 0x4aa177
push eax
call fcn.00402cee
add esp, 4
jmp 0x4aa177
mov edx, 0x1234
cmp dx, ax
jne 0x4aa177
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.004a90c0
mov eax, dword [ebp - 0x108]
lea ecx, [ebp - 0x104]
mov dword [ebp - 0x130], eax
cmp eax, ecx
je 0x4aa14d
push eax
call fcn.00402cee
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 0x4aa177
mov dword [ebp - 0x10c], 0
add esi, dword [ebp - 0x114]
cmp dword [ebp - 0x10c], 0
jne 0x4aa060
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 0x4ace20
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
call fcn.004a61a0
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 0x4aceee
push 0xf0
push ebx
push esi
call edi
mov edi, dword [sym.imp.KERNEL32.dll_LoadResource]
xor ebx, ebx
test eax, eax
je 0x4ace74
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 0x4aced7
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x4aced7
push ebx
push edi
call fcn.004a8340
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 0x4acec3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
cmp ebx, edi
je 0x4acee0
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalHandle]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x4acee0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x4aceee
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 0x4adbf0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dbe78
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x5256a8]
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 0x4add17
push 0
push edi
call fcn.004ad4b0
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4adce4
test edi, edi
je 0x4adc68
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 0x4adccd
lea eax, [ebp - 0x2c]
push eax
mov ecx, esi
call fcn.004a8ed0
test eax, eax
jne 0x4adcb4
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 0x4adccd
push 0
push 0
push 0
lea eax, [ebp - 0x2c]
push eax
call ebx
test eax, eax
jne 0x4adc91
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.USER32.dll_DestroyWindow]
test edi, edi
je 0x4adce4
push 1
push edi
call dword [sym.imp.USER32.dll_EnableWindow]
lea edx, [ebp - 0x2c]
push edx
mov ecx, esi
call fcn.004ad0e0
mov ecx, dword [ebp - 0x30]
push eax
mov dword [ebp - 4], 0
call fcn.00405fb0
cmp dword [ebp - 0x18], 8
jb 0x4add11
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00406cf9
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 0x4af6f0
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 0x4af719
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov dword [ebp - 4], eax
jmp 0x4af720
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 0x4af785
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 0x4af785
call esi
call esi
sub eax, edi
cmp eax, 0x493e0
ja 0x4af785
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 0x4af740
mov eax, dword [ebp - 4]
pop edi
pop esi
test eax, eax
je 0x4af795
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 0x4afa90
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e4c59
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x5256a8]
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 0x4afbe2
cmp dword [esi + 0x14], 8
jb 0x4afadd
mov eax, dword [esi]
jmp 0x4afadf
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsURLW]
test eax, eax
je 0x4afbe2
push 0x3c
lea eax, [ebp - 0x70]
push 0
push eax
call fcn.004b7120
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.00416893
add esp, 0x10
mov dword [ebp - 0x60], eax
test eax, eax
je 0x4afb2d
mov eax, dword [esi + 0x10]
inc eax
mov dword [ebp - 0x5c], eax
cmp dword [esi + 0x14], 8
mov eax, dword [esi + 0x10]
jb 0x4afb38
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 0x4afbd2
cmp dword [ebp - 0x64], 4
jne 0x4afbd2
mov edx, 0x1bb
cmp word [ebp - 0x58], dx
jne 0x4afbd2
mov ecx, dword [ebp - 0x60]
test ecx, ecx
je 0x4afbad
mov eax, dword [ebp - 0x5c]
test eax, eax
je 0x4afbad
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.00406030
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x34], 1
call fcn.004af870
add esp, 4
test al, al
je 0x4afbad
xor bl, bl
jmp 0x4afbaf
mov bl, 1
test byte [ebp - 0x34], 1
je 0x4afbc7
cmp dword [ebp - 0x18], 8
jb 0x4afbc7
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00406cf9
add esp, 4
test bl, bl
jne 0x4afbcf
mov byte [ebp - 0x2d], 1
mov bl, byte [ebp - 0x2d]
mov eax, dword [ebp - 0x60]
test eax, eax
je 0x4afbe2
push eax
call fcn.004168eb
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 0x4b0520
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [ebp + 0x14]
push edi
xor edi, edi
push edi
push edi
push 1
push edi
mov dword [esi], edi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ebx, eax
test ebx, ebx
je 0x4b05bc
push 0x10
call fcn.00404fba
add esp, 4
test eax, eax
je 0x4b0567
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov dword [eax + 4], ecx
mov ecx, dword [ebp + 0x10]
mov dword [eax], ebx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov edi, eax
jmp 0x4b0569
xor edi, edi
push esi
push 0
push edi
push 0x4b0320
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
test esi, esi
je 0x4b05aa
mov edx, dword [0x527038]
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0xc]
push eax
push 3
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], esi
mov dword [ebp - 4], edx
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push edi
call fcn.00406cf9
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4c5479
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x5256a8]
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 [0x529f90], 0
mov dword [ebp - 0x18], eax
jne 0x4c552c
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4c55d4
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x50edf4
push ebx
call edi
test eax, eax
je 0x4c55d4
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x50ede4
push ebx
mov dword [0x529f90], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x529f94], eax
call edi
push eax
call esi
push 0x50edb4
push ebx
mov dword [0x529f98], eax
call edi
push eax
call esi
mov dword [0x529fa0], eax
test eax, eax
je 0x4c552c
push 0x50ed9c
push ebx
call edi
push eax
call esi
mov dword [0x529f9c], eax
mov eax, dword [0x529f9c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4c5585
cmp dword [0x529fa0], ecx
je 0x4c5585
push eax
call esi
push dword [0x529fa0]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4c5585
test ebx, ebx
je 0x4c5585
call edi
test eax, eax
je 0x4c557c
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4c557c
test byte [ebp - 8], 1
jne 0x4c5585
or dword [ebp + 0x10], 0x200000
jmp 0x4c55b8
mov eax, dword [0x529f94]
cmp eax, dword [ebp - 0x18]
je 0x4c55b8
push eax
call esi
test eax, eax
je 0x4c55b8
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4c55b8
mov eax, dword [0x529f98]
cmp eax, dword [ebp - 0x18]
je 0x4c55b8
push eax
call esi
test eax, eax
je 0x4c55b8
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x529f90]
call esi
test eax, eax
je 0x4c55d4
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4c55d6
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401306
leave
ret
Function at 0x4ca0fd
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x52a024], 0
push esi
push edi
jne 0x4ca073
call fcn.004c9fdf
test eax, eax
je 0x4ca0b8
mov eax, dword [0x52a024]
cmp eax, 1
jne 0x4ca094
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x4ca0b8
jmp 0x4ca0fa
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
push eax
call edi
test eax, eax
jne 0x4ca0fa
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 0x4ca0bc
xor eax, eax
jmp 0x4ca0fa
mov eax, dword [esi]
push dword [0x52a024]
call edi
mov edi, eax
test edi, edi
je 0x4ca0de
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, edi
jmp 0x4ca0fa
lea edi, [esi + 0xff0]
push esi
push dword [0x52a024]
call dword [sym.imp.KERNEL32.dll_InterlockedPushEntrySList]
add esi, 0x10
cmp esi, edi
jb 0x4ca0e4
mov eax, esi
pop edi
pop esi
ret
jmp 0x4ca05f

Function at 0x4caa80
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 0x4caad0
movzx ecx, word [eax + 0x14]
add ecx, esi
lea eax, [ecx + eax + 0x18]
test eax, eax
je 0x4caad0
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x4caaba
add ecx, edx
cmp ecx, ebx
ja 0x4caaca
mov ebx, dword [eax + 8]
add ebx, ecx
mov dword [ebp - 4], ebx
mov ebx, dword [ebp + 8]
cmp dword [ebp - 4], ebx
ja 0x4caad2
inc edi
add esi, 0x28
jmp 0x4caa91
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4d0170
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e0138
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x5256a8]
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 0x4d023e
push 0
push 0x50f04c
push 0x50f04c
push 0
inc esi
push 0x50f04c
mov dword [ebp - 0x14], esi
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x4d020e
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.004cdb90
mov ecx, dword [ebx + 0x24]
mov edx, 0x3ffffffe
sub edx, ecx
cmp edx, 1
jb 0x4d0234
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 0x4d01b8
cmp dword [ebx + 0x24], 0
jne 0x4d023e
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.004b55e7
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 0x4d0269
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.00406cf9
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