joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48f0a0
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e0ba6
mov eax, dword fs:[0]
push eax
sub esp, 0x258
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
push 0x2d
mov edi, ecx
xor ebx, ebx
xor eax, eax
mov esi, 7
push str.SoftwareAdobeRepairAcrobat_Reader11.0IOD
lea ecx, [ebp - 0x254]
mov byte [ebp - 0x255], bl
mov dword [ebp - 0x240], esi
mov dword [ebp - 0x244], ebx
mov word [ebp - 0x254], ax
call fcn.00405fe0
xor ecx, ecx
push 0x30
mov word [ebp - 0x238], cx
push str.SoftwareAdobeAcrobat_Reader11.0InstallerIOD
lea ecx, [ebp - 0x238]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x224], esi
mov dword [ebp - 0x228], ebx
call fcn.00405fe0
cmp dword [ebp - 0x240], 8
mov eax, dword [ebp - 0x254]
mov byte [ebp - 4], 1
jae 0x48f147
lea eax, [ebp - 0x254]
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea edx, [ebp - 0x25c]
push edx
push 0x20019
push ebx
push eax
push 0x80000002
call esi
test eax, eax
je 0x48f198
cmp dword [ebp - 0x224], 8
mov eax, dword [ebp - 0x238]
jae 0x48f17b
lea eax, [ebp - 0x238]
lea ecx, [ebp - 0x25c]
push ecx
push 0x20019
push ebx
push eax
push 0x80000002
call esi
test eax, eax
jne 0x48f249
push 0x20a
lea edx, [ebp - 0x21c]
push ebx
push edx
call fcn.004b8020
add esp, 0xc
lea eax, [ebp - 0x264]
push eax
mov eax, dword [ebp - 0x25c]
lea ecx, [ebp - 0x21c]
push ecx
lea edx, [ebp - 0x260]
push edx
push ebx
push str.Library
push eax
mov dword [ebp - 0x264], 0x20a
mov dword [ebp - 0x260], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x48f23c
lea ecx, [ebp - 0x21c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathIsRelativeW]
test eax, eax
jne 0x48f23c
lea edx, [ebp - 0x21c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x48f23c
call fcn.00435510
test al, al
je 0x48f23c
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp eax, ebx
je 0x48f23c
push str.MaintenanceRepair
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
mov dword [edi], eax
setne byte [ebp - 0x255]
mov ecx, dword [ebp - 0x25c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, 8
cmp dword [ebp - 0x224], esi
jb 0x48f265
mov edx, dword [ebp - 0x238]
push edx
call fcn.00406ca9
add esp, 4
xor eax, eax
mov dword [ebp - 0x224], 7
mov dword [ebp - 0x228], ebx
mov word [ebp - 0x238], ax
cmp dword [ebp - 0x240], esi
jb 0x48f295
mov ecx, dword [ebp - 0x254]
push ecx
call fcn.00406ca9
add esp, 4
mov al, byte [ebp - 0x255]
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
Function at 0x4931a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x522638]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
lea eax, [ebp - 0x214]
push eax
xor edi, edi
push str.SoftwareAdobeDigital_Editions_
mov dword [ebp - 0x218], edi
push 0x80000001
xor bl, bl
mov dword [ebp - 0x214], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x493252
push 0x20a
lea ecx, [ebp - 0x210]
push edi
push ecx
mov dword [ebp - 0x21c], 0x20a
mov dword [ebp - 0x218], 1
call fcn.004b8020
add esp, 0xc
lea edx, [ebp - 0x21c]
push edx
mov edx, dword [ebp - 0x214]
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x218]
push ecx
push edi
push str.InstallPath
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x49323b
mov bl, 1
mov eax, dword [ebp - 0x214]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [ebp - 0x210]
test bl, bl
jne 0x493257
mov edx, 0x4e596c
mov dword [esi + 0x10], edi
xor ecx, ecx
mov eax, edx
mov dword [esi + 0x14], 7
mov word [esi], cx
lea edi, [eax + 2]
jmp 0x493270
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x493270
sub eax, edi
sar eax, 1
push eax
push edx
mov ecx, esi
call fcn.00405fe0
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401306
mov esp, ebp
pop ebp
ret 4
Function at 0x499d20
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
test eax, eax
je 0x499dc0
test edi, edi
je 0x499dc0
mov ecx, dword [edi + 4]
mov edx, dword [ecx + 8]
push ebx
xor bl, bl
cmp edx, dword [eax]
je 0x499d4b
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0xc]
push esi
push eax
mov dword [edi + 0x14], 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
je 0x499da5
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 4], eax
test eax, eax
je 0x499dae
push esi
call dword [sym.imp.KERNEL32.dll_GlobalSize]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
push eax
push ecx
push edx
push edi
call fcn.00477990
add esp, 0x10
push esi
mov bl, al
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
xor eax, eax
test bl, bl
setne al
pop esi
mov dword [edi + 0x1c], eax
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + 0x10], eax
xor eax, eax
test bl, bl
setne al
pop esi
mov dword [edi + 0x1c], eax
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
xor al, al
mov esp, ebp
pop ebp
ret

Function at 0x499dd0
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub esp, 8
push ebx
mov ebx, dword [ebp + 8]
test eax, eax
je 0x499e87
test ebx, ebx
je 0x499e87
mov edx, dword [ebx + 4]
mov edx, dword [edx + 8]
mov byte [ebp - 1], 0
cmp edx, dword [eax]
jne 0x499e87
push esi
push edi
mov edi, dword [eax + 8]
cmp edi, ecx
jbe 0x499e0a
mov edi, ecx
push 0xe
call dword [sym.imp.USER32.dll_GetClipboardData]
mov dword [ebp - 8], eax
mov dword [ebx + 0x14], 1
test eax, eax
je 0x499e74
push 0x525eb5
push edi
call fcn.004282c1
mov esi, eax
add esp, 8
test esi, esi
je 0x499e7d
mov eax, dword [ebp - 8]
push esi
push edi
push eax
call dword [sym.imp.GDI32.dll_GetEnhMetaFileBits]
test eax, eax
je 0x499e56
mov ecx, dword [ebp + 0xc]
push edi
push esi
push ecx
push ebx
call fcn.00477990
add esp, 0x10
mov byte [ebp - 1], al
push esi
call fcn.0041ecb3
mov al, byte [ebp - 1]
add esp, 4
xor edx, edx
cmp byte [ebp - 1], dl
pop edi
setne dl
pop esi
mov dword [ebx + 0x1c], edx
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx + 0x10], eax
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x499e90
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x522638]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x54], eax
test eax, eax
je 0x49a00e
test esi, esi
je 0x49a00e
mov edx, dword [esi + 4]
mov edx, dword [edx + 8]
push ebx
xor bl, bl
cmp edx, dword [eax]
je 0x499ed4
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401306
mov esp, ebp
pop ebp
ret
push edi
mov edi, dword [eax + 8]
mov dword [ebp - 0x34], edi
cmp edi, ecx
jbe 0x499ee4
mov dword [ebp - 0x34], ecx
mov edi, ecx
push 2
call dword [sym.imp.USER32.dll_GetClipboardData]
mov dword [ebp - 0x38], eax
mov dword [esi + 0x14], 5
test eax, eax
je 0x499ff3
push 0x525eb5
push edi
call fcn.004282c1
mov edi, eax
xor eax, eax
add esp, 8
cmp edi, eax
je 0x499ffc
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x50]
push eax
push 0x18
push ecx
call dword [sym.imp.GDI32.dll_GetObjectW]
push 0x2c
lea edx, [ebp - 0x30]
push 0
push edx
call fcn.004b8020
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x48]
mov dx, word [ebp - 0x40]
add esp, 0xc
mov dword [ebp - 0x2c], eax
mov ax, word [ebp - 0x3e]
push 0
mov dword [ebp - 0x30], 0x28
mov dword [ebp - 0x28], ecx
mov word [ebp - 0x24], dx
mov word [ebp - 0x22], ax
mov dword [ebp - 0x20], 0
call dword [sym.imp.USER32.dll_GetDC]
mov ebx, eax
test ebx, ebx
je 0x499fbd
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x38]
push 0
lea ecx, [ebp - 0x30]
push ecx
push edi
push edx
push 0
push eax
push ebx
call dword [sym.imp.GDI32.dll_GetDIBits]
mov ecx, dword [ebp - 0x4c]
movzx eax, word [ebp - 0x40]
mov edx, dword [ebp - 0x48]
mov dword [esi + 0x1c], ecx
movzx ecx, word [ebp - 0x3e]
push ebx
push 0
mov dword [esi + 0x20], edx
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], ecx
call dword [sym.imp.USER32.dll_ReleaseDC]
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x54]
push edx
push edi
push eax
push esi
call fcn.00477990
push edi
mov bl, al
call fcn.0041ecb3
add esp, 0x14
xor ecx, ecx
test bl, bl
setne cl
pop edi
mov al, bl
pop ebx
mov dword [esi + 0x2c], ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401306
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x10], eax
pop edi
mov al, bl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401306
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor al, al
call fcn.00401306
mov esp, ebp
pop ebp
ret
Function at 0x49a100
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90
mov eax, dword [0x522638]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x78], esi
test esi, esi
jne 0x49a136
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401306
mov esp, ebp
pop ebp
ret 8
cmp byte [ecx + 0x50], 0
je 0x49a122
mov ecx, ebx
call fcn.004c9680
test al, al
je 0x49a122
push edi
push ebx
mov byte [ebp - 0x71], 0
xor edi, edi
mov dword [esi + 0x14], 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
xor eax, eax
cmp esi, eax
je 0x49a202
cmp ebx, 0xe
jne 0x49a19e
push 0x68
push eax
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0x6c]
push eax
call fcn.004b8020
add esp, 0xc
lea ecx, [ebp - 0x70]
push ecx
push 0x6c
push esi
mov dword [ebp - 0x6c], 0x6c
call dword [sym.imp.GDI32.dll_GetEnhMetaFileHeader]
test eax, eax
je 0x49a1fe
mov edi, dword [ebp - 0x40]
mov al, 1
jmp 0x49a211
cmp ebx, 2
jne 0x49a1f5
lea edx, [ebp - 0x90]
push edx
push 0x18
push esi
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], eax
call dword [sym.imp.GDI32.dll_GetObjectW]
test eax, eax
je 0x49a1fe
movzx edi, word [ebp - 0x7e]
imul edi, dword [ebp - 0x8c]
add edi, 0x1f
shr edi, 5
imul edi, dword [ebp - 0x88]
add edi, edi
add edi, edi
mov al, 1
jmp 0x49a211
push esi
call dword [sym.imp.KERNEL32.dll_GlobalSize]
mov edi, eax
mov al, 1
jmp 0x49a211
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x78]
mov dword [ecx + 0x10], eax
mov al, byte [ebp - 0x71]
mov edx, dword [ebp - 0x78]
mov ecx, dword [ebp - 4]
mov dword [edx + 0x1c], edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401306
mov esp, ebp
pop ebp
ret 8

Function at 0x49c010
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub esp, 8
push esi
test eax, eax
je 0x49c07d
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x49c07d
mov edx, dword [ebp + 8]
push ebx
mov bl, byte [ebp + 0x14]
lea ecx, [ebp + 0xc]
push ecx
push 0x20019
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x49c075
mov edx, dword [ebp + 0xc]
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 8]
push ecx
push 0
push 0
push esi
push edx
mov dword [ebp - 4], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x49c06b
cmp dword [ebp - 8], eax
setne bl
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
mov al, byte [ebp + 0x14]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x49c090
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [ebp + 0xc]
push esi
cmp eax, ebx
je 0x49c0fb
mov esi, dword [ebp + 0x10]
cmp esi, ebx
je 0x49c0fb
mov edx, dword [ebp + 8]
push ebx
lea ecx, [ebp + 0xc]
push ecx
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x49c0f3
cmp byte [ebp + 0x14], bl
mov edx, dword [ebp + 0xc]
push 4
lea ecx, [ebp - 4]
push ecx
push 4
setne al
push ebx
push esi
push edx
mov dword [ebp - 4], eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x49c0e9
mov bl, 1
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x49c110
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], 0
test eax, eax
je 0x49c179
push ebx
mov ebx, dword [ebp + 0x10]
test ebx, ebx
je 0x49c178
push edi
mov edi, dword [ebp + 0x14]
test edi, edi
je 0x49c177
push esi
mov esi, dword [ebp + 0x18]
test esi, esi
je 0x49c176
mov edx, dword [ebp + 8]
push 0
lea ecx, [ebp + 0xc]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x49c176
push esi
push edi
push 1
push eax
mov eax, dword [ebp + 0xc]
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x49e520
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e1b13
mov eax, dword fs:[0]
push eax
sub esp, 0x268
mov eax, dword [0x522638]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor edi, edi
push 0x206
lea ecx, [ebp - 0x216]
xor eax, eax
push edi
mov dword [ebp - 0x270], edi
push ecx
mov dword [ebp - 0x274], esi
mov word [ebp - 0x218], ax
call fcn.004b8020
xor edx, edx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], edi
add esp, 0xc
mov word [esi], dx
push 0x104
lea eax, [ebp - 0x218]
push eax
push str._APPDATA_
mov dword [ebp - 4], edi
mov dword [ebp - 0x270], 1
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
cmp eax, edi
je 0x49e6a0
cmp eax, 0x104
jae 0x49e6a0
xor ecx, ecx
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], edi
mov word [ebp - 0x234], cx
lea edx, [ebp - 0x218]
push 0x104
push edx
mov dword [ebp - 4], 1
call fcn.004b887f
lea ecx, [eax - 1]
add esp, 8
cmp ecx, 0x102
ja 0x49e688
movzx eax, word [ebp + eax*2 - 0x21a]
cmp eax, 0x5c
je 0x49e627
cmp eax, 0x2f
je 0x49e627
push 0x4e84a0
lea ecx, [ebp - 0x234]
call fcn.00428890
push 0x40
push str.chc.4875E02D9FB21EE389F73B8D1702B320485DF8CE.1Local_StoreHelp_
lea ecx, [ebp - 0x234]
call fcn.0040d980
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 0x26c]
call fcn.00408720
lea ecx, [ebp - 0x234]
push ecx
push eax
lea edx, [ebp - 0x250]
push edx
mov byte [ebp - 4], 2
call fcn.00429900
add esp, 0xc
push eax
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.00405f60
lea ecx, [ebp - 0x250]
call fcn.00409f90
lea ecx, [ebp - 0x26c]
call fcn.00409f90
cmp dword [ebp - 0x220], 8
jb 0x49e6a0
mov eax, dword [ebp - 0x234]
push eax
call fcn.00406ca9
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00401306
mov esp, ebp
pop ebp
ret
Function at 0x49f4a0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e1ce6
mov eax, dword fs:[0]
push eax
sub esp, 0x214
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 esi, ecx
xor edi, edi
mov dword [ebp - 0x220], esi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [ebp - 4], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov eax, 7
xor ecx, ecx
mov dword [esi + 0x54], eax
mov dword [esi + 0x50], edi
mov word [esi + 0x40], cx
xor edx, edx
mov dword [esi + 0x70], eax
mov dword [esi + 0x6c], edi
mov word [esi + 0x5c], dx
mov dword [esi + 0x8c], eax
xor eax, eax
mov dword [esi + 0x88], edi
mov word [esi + 0x78], ax
mov ecx, dword [esi + 0x20]
mov byte [ebp - 4], 4
cmp ecx, dword [esi + 0x24]
je 0x49f55b
mov eax, dword [esi + 0x24]
cmp ecx, eax
je 0x49f55b
mov edx, dword [ebp - 0x220]
push edx
push ecx
push eax
push eax
call fcn.0049e2e0
mov edx, dword [esi + 0x24]
mov ebx, eax
mov eax, dword [ebp - 0x220]
push eax
lea ecx, [esi + 0x2c]
push ecx
push edx
push ebx
call fcn.0049e320
add esp, 0x20
mov dword [esi + 0x24], ebx
mov eax, dword [esi + 0x30]
cmp eax, dword [esi + 0x34]
je 0x49f598
mov ecx, eax
mov eax, dword [esi + 0x34]
cmp ecx, eax
je 0x49f598
mov edx, dword [ebp - 0x220]
push edx
push ecx
push eax
push eax
call fcn.0049e2e0
mov edx, dword [esi + 0x34]
mov ebx, eax
mov eax, dword [ebp - 0x220]
push eax
lea ecx, [esi + 0x3c]
push ecx
push edx
push ebx
call fcn.0049e320
add esp, 0x20
mov dword [esi + 0x34], ebx
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov eax, 1
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
lea eax, [ebp - 0x21c]
push eax
push edi
push edi
push 0x20
push edi
mov dword [esi + 0x1c], edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
test eax, eax
js 0x49f60f
cmp word [ebp - 0x21c], di
je 0x49f60f
lea ecx, [ebp - 0x21c]
push ecx
call ebx
test eax, eax
je 0x49f60f
lea eax, [ebp - 0x21c]
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x49f5f0
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0x21c]
push edx
lea ecx, [esi + 0x40]
call fcn.00405fe0
lea eax, [ebp - 0x21c]
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x49f65f
lea ecx, [ebp - 0x21c]
push ecx
call ebx
test eax, eax
je 0x49f65f
lea eax, [ebp - 0x21c]
lea edx, [eax + 2]
jmp 0x49f640
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x49f640
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0x21c]
push edx
lea ecx, [esi + 0x5c]
call fcn.00405fe0
mov ecx, esi
call fcn.0049e6c0
mov eax, esi
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
Function at 0x4a0dd0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x5c]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0x5c]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
mov edx, dword [esi + 0x5c]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 5
push edx
call ebx
mov eax, dword [esi + 0x5c]
push 0
push 0
push 7
push eax
call ebx
mov ecx, dword [esi + 0x5c]
push ecx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
cmp byte [esi + 0x59], 0
je 0x4a0e85
push edi
nop
push 0
push 0
push 0
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x4a0e84
mov edi, dword [esi + 4]
test edi, edi
je 0x4a0e6a
call dword [sym.imp.USER32.dll_GetFocus]
mov ecx, dword [edi + 0x24]
cmp ecx, eax
je 0x4a0e54
push eax
push ecx
call dword [sym.imp.USER32.dll_IsChild]
test eax, eax
je 0x4a0e6a
mov ecx, dword [edi + 0x24]
lea eax, [ebp - 0x1c]
push eax
push 0
push 0x37f
push ecx
call ebx
cmp eax, 1
je 0x4a0e7e
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
cmp byte [esi + 0x59], 0
jne 0x4a0e20
pop edi
xor eax, eax
cmp dword [esi + 0x54], 1
pop esi
sete al
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4a18a0
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
cmp dword [esi + 0x10], edi
je 0x4a1914
cmp dword [esi + 0x14], 8
jb 0x4a18bc
mov eax, dword [esi]
jmp 0x4a18be
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsURLW]
test eax, eax
je 0x4a1914
push 0x3c
lea eax, [ebp - 0x3c]
push 0
push eax
call fcn.004b8020
mov eax, dword [esi + 0x10]
add esp, 0xc
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x34], 1
jb 0x4a18f2
mov esi, dword [esi]
lea ecx, [ebp - 0x3c]
push ecx
push 0
push eax
push esi
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
je 0x4a1916
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x30]
pop edi
mov dword [edx], ecx
pop esi
mov esp, ebp
pop ebp
ret 8
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x4a2080
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e2160
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push esi
mov eax, dword [0x522638]
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 0x4a21bd
test eax, 0x20000
je 0x4a20d2
test eax, 0x10000
je 0x4a21bd
cmp dword [ebp + 0x18], 0
je 0x4a21bd
cmp dword [ebp + 0x1c], 8
mov eax, dword [ebp + 8]
jae 0x4a20e8
lea eax, [ebp + 8]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathIsURLW]
push eax
call ebx
test eax, eax
je 0x4a21bd
push 0x3c
lea eax, [ebp - 0x4c]
push 0
push eax
call fcn.004b8020
mov eax, dword [ebp + 8]
add esp, 0xc
cmp dword [ebp + 0x1c], 8
mov dword [ebp - 0x4c], 0x3c
mov dword [ebp - 0x44], esi
jae 0x4a211f
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 0x4a21bd
mov eax, dword [ebp - 0x40]
cmp eax, 3
je 0x4a2147
cmp eax, 4
jne 0x4a21bd
cmp dword [ebp + 0x34], 0
je 0x4a21bd
cmp dword [ebp + 0x38], 8
mov eax, dword [ebp + 0x24]
jae 0x4a2159
lea eax, [ebp + 0x24]
push eax
call ebx
test eax, eax
je 0x4a21bd
push 0x3c
lea eax, [ebp - 0x4c]
push 0
push eax
call fcn.004b8020
mov eax, dword [ebp + 0x24]
add esp, 0xc
cmp dword [ebp + 0x38], 8
mov dword [ebp - 0x4c], 0x3c
mov dword [ebp - 0x44], 1
jae 0x4a218a
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 0x4a21bd
mov eax, dword [ebp - 0x40]
cmp eax, 3
je 0x4a21a8
cmp eax, 4
jne 0x4a21bd
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x60]
push 1
lea eax, [ebp + 8]
push eax
push edx
call fcn.00482950
add esp, 0xc
mov esi, 8
cmp dword [ebp + 0x1c], esi
jb 0x4a21d3
mov eax, dword [ebp + 8]
push eax
call fcn.00406ca9
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 0x4a21f8
mov edx, dword [ebp + 0x24]
push edx
call fcn.00406ca9
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