joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45f70b
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x100c
call fcn.0044e310
mov eax, dword [0x4a0340]
push ebx
push esi
push 1
xor esi, esi
push esi
push dword [ebp + 8]
xor eax, ebp
mov dword [ebp - 4], eax
call fcn.004556f1
or ebx, 0xffffffff
add esp, 0xc
cmp eax, ebx
mov dword [ebp - 0x1008], eax
je 0x45f840
push 2
push esi
push dword [ebp + 8]
call fcn.004556f1
add esp, 0xc
cmp eax, ebx
je 0x45f840
push edi
mov edi, dword [ebp + 0xc]
sub edi, eax
test edi, edi
jle 0x45f7e0
mov ebx, 0x1000
push ebx
lea eax, [ebp - 0x1004]
push esi
push eax
call fcn.0044d4a0
push 0x8000
push dword [ebp + 8]
call fcn.00450735
add esp, 0x14
mov dword [ebp - 0x100c], eax
cmp edi, ebx
mov eax, ebx
jge 0x45f796
mov eax, edi
push eax
lea eax, [ebp - 0x1004]
push eax
push dword [ebp + 8]
call fcn.00454e46
add esp, 0xc
cmp eax, 0xffffffff
je 0x45f7b6
sub edi, eax
test edi, edi
jg 0x45f78e
jmp 0x45f7ce
call fcn.0044e526
cmp dword [eax], 5
jne 0x45f7cb
call fcn.0044e51d
mov dword [eax], 0xd
or esi, 0xffffffff
push dword [ebp - 0x100c]
push dword [ebp + 8]
call fcn.00450735
pop ecx
pop ecx
jmp 0x45f828
jge 0x45f828
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004556f1
push dword [ebp + 8]
call fcn.0044dca4
add esp, 0x10
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov esi, eax
neg esi
sbb esi, esi
neg esi
dec esi
cmp esi, ebx
jne 0x45f828
call fcn.0044e51d
mov dword [eax], 0xd
call fcn.0044e526
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi], eax
push 0
push dword [ebp - 0x1008]
push dword [ebp + 8]
call fcn.004556f1
add esp, 0xc
mov eax, esi
pop edi
jmp 0x45f842
mov eax, ebx
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00450b02
leave
ret
Function at 0x45f92e
Capabilities:
Get geographical location

Disassembly:
push 0x18
push 0x491338
call fcn.0044f298
xor edi, edi
xor ebx, ebx
inc ebx
cmp dword [0x4a6170], edi
jne 0x45f972
push edi
push edi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x45f95d
mov dword [0x4a6170], ebx
jmp 0x45f972
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x45f972
mov dword [0x4a6170], 2
mov eax, dword [0x4a6170]
cmp eax, ebx
jne 0x45f992
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
jmp 0x45fa55
cmp eax, 2
je 0x45f99b
cmp eax, edi
jne 0x45f9c3
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x24], edi
cmp dword [ebp + 0x18], edi
jne 0x45f9ae
mov eax, dword [0x4a6100]
mov dword [ebp + 0x18], eax
push edi
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
mov dword [ebp - 0x20], eax
cmp eax, edi
jne 0x45f9ca
xor eax, eax
jmp 0x45fa55
mov dword [ebp - 4], edi
add eax, 3
and eax, 0xfffffffc
call fcn.0044e310
mov dword [ebp - 0x18], esp
mov esi, esp
mov dword [ebp - 0x28], esi
or dword [ebp - 4], 0xffffffff
jmp 0x45f9fd
cmp esi, edi
jne 0x45fa13
push dword [ebp - 0x20]
call fcn.00450055
pop ecx
mov esi, eax
cmp esi, edi
je 0x45f9c3
mov dword [ebp - 0x24], ebx
push dword [ebp - 0x20]
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x45fa46
cmp dword [ebp + 0x14], edi
jne 0x45fa30
push edi
push edi
jmp 0x45fa36
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 0xffffffffffffffff
push esi
push ebx
push dword [ebp + 0x18]
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x24], edi
je 0x45fa52
push esi
call fcn.0044e8cc
pop ecx
mov eax, dword [ebp - 0x1c]
lea esp, [ebp - 0x34]
call fcn.0044f2d3
ret
Function at 0x45fa5e
Capabilities:
Get geographical location

Disassembly:
push 0x18
push 0x491348
call fcn.0044f298
xor esi, esi
cmp dword [0x4a6174], esi
jne 0x45faa2
push esi
push esi
xor edi, edi
inc edi
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x45fa8d
mov dword [0x4a6174], edi
jmp 0x45faa2
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x45faa2
mov dword [0x4a6174], 2
mov eax, dword [0x4a6174]
cmp eax, 2
je 0x45fb83
cmp eax, esi
je 0x45fb83
cmp eax, 1
jne 0x45fae7
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], esi
cmp dword [ebp + 0x18], esi
jne 0x45fad0
mov eax, dword [0x4a6100]
mov dword [ebp + 0x18], eax
push esi
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov ebx, eax
mov dword [ebp - 0x24], ebx
cmp ebx, esi
jne 0x45faee
xor eax, eax
jmp 0x45fb95
mov dword [ebp - 4], esi
lea eax, [ebx + ebx]
add eax, 3
and eax, 0xfffffffc
call fcn.0044e310
mov dword [ebp - 0x18], esp
mov edi, esp
mov dword [ebp - 0x28], edi
or dword [ebp - 4], 0xffffffff
jmp 0x45fb24
cmp edi, esi
jne 0x45fb3f
lea eax, [ebx + ebx]
push eax
call fcn.00450055
pop ecx
mov edi, eax
cmp edi, esi
je 0x45fae7
mov dword [ebp - 0x20], 1
push ebx
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x45fb72
push esi
push esi
cmp dword [ebp + 0x14], esi
jne 0x45fb5c
push esi
push esi
jmp 0x45fb62
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 0xffffffffffffffff
push edi
push esi
push dword [ebp + 0x18]
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x20], esi
je 0x45fb7e
push edi
call fcn.0044e8cc
pop ecx
mov eax, dword [ebp - 0x1c]
jmp 0x45fb95
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
lea esp, [ebp - 0x34]
call fcn.0044f2d3
ret
Function at 0x460319
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
cmp eax, ebx
push edi
mov dword [ebp - 0x10], ebx
jne 0x460332
or eax, 0xffffffff
jmp 0x460393
push esi
mov esi, dword [eax]
cmp esi, ebx
mov dword [ebp - 8], esi
je 0x46038f
push 0x3d
push esi
call fcn.0046051a
cmp eax, ebx
pop ecx
pop ecx
mov dword [ebp - 0xc], eax
je 0x46038f
cmp esi, eax
je 0x46038f
xor ecx, ecx
cmp byte [eax + 1], cl
mov eax, dword [0x4a5b14]
sete cl
cmp eax, dword [0x4a5b18]
mov dword [ebp - 4], ecx
jne 0x460375
mov edi, eax
call fcn.004602b8
mov dword [0x4a5b14], eax
cmp eax, ebx
jne 0x4603ce
cmp dword [ebp + 0xc], ebx
je 0x460397
cmp dword [0x4a5b1c], ebx
je 0x460397
call fcn.0045f89e
test eax, eax
je 0x4603ce
or eax, 0xffffffff
pop esi
pop edi
pop ebx
leave
ret
cmp dword [ebp - 4], ebx
je 0x4603a0
xor eax, eax
jmp 0x460392
push 4
call fcn.00450055
cmp eax, ebx
pop ecx
mov dword [0x4a5b14], eax
je 0x46038f
mov dword [eax], ebx
cmp dword [0x4a5b1c], ebx
jne 0x4603ce
push 4
call fcn.00450055
cmp eax, ebx
pop ecx
mov dword [0x4a5b1c], eax
je 0x46038f
mov dword [eax], ebx
mov edi, dword [ebp - 0xc]
mov ebx, dword [0x4a5b14]
sub edi, esi
push esi
call fcn.0046026b
mov edi, eax
test edi, edi
pop ecx
jl 0x460435
cmp dword [ebx], 0
je 0x460435
lea esi, [ebx + edi*4]
push dword [esi]
call fcn.0044e8cc
xor eax, eax
cmp dword [ebp - 4], eax
pop ecx
jne 0x460415
mov ecx, dword [ebp - 8]
mov dword [esi], ecx
mov ecx, dword [ebp + 8]
mov esi, dword [ebp - 8]
mov dword [ecx], eax
jmp 0x460476
mov ecx, dword [esi + 4]
inc edi
mov dword [esi], ecx
lea esi, [ebx + edi*4]
cmp dword [esi], eax
jne 0x46040c
mov eax, edi
shl eax, 2
push eax
push dword [0x4a5b14]
call fcn.00450067
test eax, eax
mov esi, dword [ebp - 8]
pop ecx
pop ecx
je 0x460476
jmp 0x460471
cmp dword [ebp - 4], 0
jne 0x4604dd
test edi, edi
jge 0x460445
neg edi
lea eax, [edi*4 + 8]
push eax
push dword [0x4a5b14]
call fcn.00450067
test eax, eax
pop ecx
pop ecx
je 0x46038f
lea ecx, [eax + edi*4]
and dword [ecx + 4], 0
mov dword [ecx], esi
mov ecx, dword [ebp + 8]
and dword [ecx], 0
mov dword [0x4a5b14], eax
cmp dword [ebp + 0xc], 0
je 0x4604c8
push esi
call fcn.0044d870
inc eax
inc eax
push eax
call fcn.00450055
mov edi, eax
test edi, edi
pop ecx
pop ecx
je 0x4604c8
push esi
push edi
call fcn.0044d900
mov eax, edi
sub eax, esi
add eax, dword [ebp - 0xc]
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
mov byte [eax], 0
inc eax
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
test eax, eax
jne 0x4604c1
or dword [ebp - 0x10], 0xffffffff
push edi
call fcn.0044e8cc
pop ecx
cmp dword [ebp - 4], 0
je 0x4604d5
push esi
call fcn.0044e8cc
pop ecx
mov eax, dword [ebp - 0x10]
jmp 0x460392
push esi
call fcn.0044e8cc
mov eax, dword [ebp + 8]
and dword [eax], 0
pop ecx
jmp 0x46039c
Function at 0x466cb0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x466cf3
call fcn.00476bf9
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x466cf3
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x466d0e
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.00465e24
test ebx, ebx
mov esi, eax
je 0x466d0c
test edi, edi
je 0x466d0c
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x4684a6
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x47ee36
call fcn.0044d428
sub esp, 0x18
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x58]
mov ebx, dword [esi + 0x5c]
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], eax
call fcn.00476bf9
cmp dword [esi + 0x54], 0
mov edi, dword [eax + 0xc]
je 0x4684f4
call fcn.00476bf9
mov edi, dword [eax + 0xc]
push 5
push dword [esi + 0x54]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x468505
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x468511
or eax, 0xffffffff
jmp 0x468614
mov ecx, esi
call fcn.00467fe8
mov dword [ebp - 0x14], eax
call fcn.00464f48
and dword [ebp - 0x20], 0
cmp dword [ebp - 0x14], 0
je 0x468554
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp dword [ebp - 0x14], eax
je 0x468554
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x468554
push 0
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x20], 1
and dword [ebp - 4], 0
push esi
call fcn.00466343
push dword [ebp - 0x14]
call fcn.00464ea0
push edi
push eax
push ebx
mov ecx, esi
call fcn.00468299
xor ebx, ebx
cmp eax, ebx
je 0x4685c8
test byte [esi + 0x38], 0x10
je 0x468596
push 4
pop edi
mov ecx, esi
call fcn.00468819
test ah, 1
je 0x46858e
push 5
pop edi
push edi
mov ecx, esi
call fcn.00464944
cmp dword [esi + 0x1c], ebx
je 0x4685c8
push 0x97
push ebx
push ebx
push ebx
push ebx
push ebx
mov ecx, esi
call fcn.00468aa9
jmp 0x4685c8
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x20], ebx
je 0x4685dc
push 1
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebp - 0x14], ebx
je 0x4685f5
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x1c]
jne 0x4685f5
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x60]
mov ecx, esi
call fcn.00468022
cmp dword [esi + 0x54], ebx
je 0x468611
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [esi + 0x40]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x468f54
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x47ef35
call fcn.0044d428
push ecx
push esi
mov esi, ecx
cmp dword [esi + 0x4c], 0
jne 0x468f6e
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x468fba
call fcn.00466fe3
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov ecx, dword [esi + 0x4c]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push dword [ebp + 0xc]
push dword [ebp - 0x10]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401148
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret 8

Function at 0x469777
Capabilities:
Get disk information

Disassembly:
mov eax, 0x47f375
call fcn.0044d428
sub esp, 0x264
mov eax, dword [0x4a0340]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
xor eax, ebp
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x268]
push eax
push edi
mov esi, 0x104
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
test eax, eax
jne 0x4697be
push esi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
jmp 0x4697c2
cmp eax, esi
jb 0x4697c9
xor eax, eax
jmp 0x4698b1
call fcn.00466fe3
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x264], eax
and dword [ebp - 4], 0
lea eax, [ebp - 0x264]
push eax
push edi
call fcn.00469735
push dword [ebp - 0x264]
call dword [sym.imp.SHLWAPI.dll_PathIsUNCW]
test eax, eax
jne 0x46989e
push eax
push eax
lea ecx, [ebp - 0x26c]
push ecx
lea ecx, [ebp - 0x270]
push ecx
push eax
push eax
push eax
push dword [ebp - 0x264]
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
jne 0x46982a
xor esi, esi
jmp 0x4698a1
test byte [ebp - 0x26c], 2
jne 0x46983a
push edi
call dword [sym.imp.USER32.dll_CharUpperW]
test byte [ebp - 0x26c], 4
jne 0x46989e
lea eax, [ebp - 0x260]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
je 0x46989e
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp - 0x268], 0
je 0x469826
cmp dword [ebp - 0x268], edi
jbe 0x469826
lea eax, [ebp - 0x234]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x268]
sub ecx, edi
sar ecx, 1
add ecx, eax
cmp ecx, esi
jge 0x469826
lea eax, [ebp - 0x234]
push eax
push dword [ebp - 0x268]
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
xor esi, esi
inc esi
mov ecx, dword [ebp - 0x264]
add ecx, 0xfffffff0
call fcn.00401148
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop esi
xor ecx, ebp
pop ebx
call fcn.00450b02
leave
ret 8
Function at 0x46b73c
Capabilities:
Check if file exists
Get file attributes
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 0x22c
xor ebx, ebx
push ebx
push esi
mov edi, ecx
call fcn.0044d4a0
add esp, 0xc
push 0x104
push dword [edi + 0xc]
lea eax, [esi + 0x22]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
mov eax, dword [edi + 4]
cmp eax, dword [0x48c624]
je 0x46b88a
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 8]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
je 0x46b7ac
push ebx
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], ebx
jne 0x46b7b3
cmp ebx, ebx
jne 0x46b7b3
xor eax, eax
jmp 0x46b88d
mov edi, dword [edi + 0xc]
cmp dword [edi - 0xc], ebx
jne 0x46b7c0
mov byte [esi + 0x20], bl
jmp 0x46b7d4
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
sete cl
dec cl
and ecx, eax
mov byte [esi + 0x20], cl
lea eax, [ebp - 8]
push eax
call fcn.00444b6f
test eax, eax
je 0x46b7fb
push 0xffffffffffffffff
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x20]
call fcn.0044325a
mov ecx, dword [eax]
mov dword [esi], ecx
mov eax, dword [eax + 4]
mov dword [esi + 4], eax
jmp 0x46b800
mov dword [esi], ebx
mov dword [esi + 4], ebx
lea eax, [ebp - 0x10]
push eax
call fcn.00444b6f
test eax, eax
je 0x46b828
push 0xffffffffffffffff
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x20]
call fcn.0044325a
mov ecx, dword [eax]
mov dword [esi + 0x10], ecx
mov eax, dword [eax + 4]
mov dword [esi + 0x14], eax
jmp 0x46b832
xor eax, eax
xor ecx, ecx
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], ecx
lea eax, [ebp - 0x18]
push eax
call fcn.00444b6f
test eax, eax
je 0x46b85a
push 0xffffffffffffffff
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x20]
call fcn.0044325a
mov ecx, dword [eax]
mov dword [esi + 8], ecx
mov eax, dword [eax + 4]
mov dword [esi + 0xc], eax
jmp 0x46b864
xor eax, eax
xor ecx, ecx
mov dword [esi + 8], eax
mov dword [esi + 0xc], ecx
mov eax, dword [esi]
or eax, dword [esi + 4]
jne 0x46b876
mov eax, dword [esi + 8]
mov dword [esi], eax
mov eax, dword [esi + 0xc]
mov dword [esi + 4], eax
mov eax, dword [esi + 0x10]
or eax, dword [esi + 0x14]
jne 0x46b88a
mov eax, dword [esi + 8]
mov dword [esi + 0x10], eax
mov eax, dword [esi + 0xc]
mov dword [esi + 0x14], eax
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x46d45d
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x204
mov eax, dword [0x4a0340]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
xor eax, ebp
push edi
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, eax
mov eax, 0x100
cmp ebx, eax
ja 0x46d4b0
push eax
lea eax, [ebp - 0x204]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp eax, ebx
jne 0x46d4b0
push edi
lea eax, [ebp - 0x204]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x46d4b8
push edi
push esi
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00450b02
leave
ret 8

Function at 0x46fa7f
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4a0340]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
xor eax, ebp
mov esi, ecx
cmp dword [esi + 0x50], 0
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 4], eax
je 0x46fad0
push edi
call fcn.004780b4
mov esi, eax
test esi, esi
je 0x46faf4
push 4
lea eax, [ebp + 0x10]
push eax
push 4
push 0
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push esi
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test edi, edi
sete al
jmp 0x46faf4
push dword [ebp + 0x10]
lea eax, [ebp - 0x24]
push 0x48b348
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push dword [esi + 0x64]
lea eax, [ebp - 0x24]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00450b02
leave
ret 0xc
Function at 0x474ba6
Capabilities:
Parse url

Disassembly:
push ebp
mov eax, 0x106c
lea ebp, [esp - 0xfec]
call fcn.0044e310
mov eax, dword [0x4a0340]
mov ecx, dword [ebp + 0xff8]
xor eax, ebp
mov dword [ebp + 0xfe8], eax
mov eax, dword [ebp + 0xffc]
push ebx
mov ebx, dword [ebp + 0xff4]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0x1000]
xor edx, edx
cmp ecx, edx
push esi
push edi
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x7c], eax
je 0x474cd1
cmp ebx, edx
je 0x474cd1
mov eax, dword [ebp + 0x1004]
mov esi, eax
mov edi, eax
and esi, 0x2e000000
and edi, 0x40000000
test eax, 0x90000000
mov dword [ebp - 0x6c], 0x824
mov dword [ebp - 0x68], edx
mov dword [ebp - 0x74], edx
je 0x474c43
cmp dword [ecx + 0x30], edx
je 0x474c43
test eax, 0x2000000
je 0x474c3d
mov dword [ebp - 0x74], 1
jmp 0x474c43
or edi, 0x80000000
push esi
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x60]
push eax
push ebx
mov ebx, dword [sym.imp.WININET.dll_InternetCanonicalizeUrlW]
call ebx
test eax, eax
jne 0x474c92
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x474cd1
mov eax, dword [ebp - 0x6c]
add eax, eax
push eax
call fcn.004637cb
test eax, eax
pop ecx
mov dword [ebp - 0x78], eax
je 0x474cd1
push esi
lea ecx, [ebp - 0x6c]
push ecx
push eax
push dword [ebp - 0x80]
mov dword [ebp - 0x68], 1
call ebx
test eax, eax
jne 0x474c97
push dword [ebp - 0x78]
jmp 0x474ccb
lea ebx, [ebp - 0x60]
jmp 0x474c9a
mov ebx, dword [ebp - 0x78]
mov esi, dword [ebp - 0x70]
push esi
push edi
xor edi, edi
push edi
push ebx
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
cmp dword [ebp - 0x74], edi
mov dword [ebp - 0x70], eax
je 0x474cf9
push 0x2100000
push edi
push edi
push dword [esi + 0x2c]
call dword [sym.imp.SHLWAPI.dll_UrlUnescapeW]
test eax, eax
jge 0x474ced
cmp dword [ebp - 0x68], edi
je 0x474cd1
push ebx
call fcn.004637fb
pop ecx
xor eax, eax
mov ecx, dword [ebp + 0xfe8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00450b02
add ebp, 0xfec
leave
ret 0x14
push dword [esi + 0x2c]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [esi + 0x30], eax
cmp dword [ebp - 0x68], edi
je 0x474d05
push ebx
call fcn.004637fb
pop ecx
mov eax, dword [ebp - 0x70]
cmp eax, edi
jne 0x474d17
mov ecx, dword [ebp - 0x64]
mov dword [ecx], 0x1000
jmp 0x474cd3
mov cx, word [esi + 0x18]
mov edx, dword [ebp - 0x7c]
mov word [edx], cx
mov esi, dword [esi + 0xc]
dec esi
mov ecx, dword [ebp - 0x64]
je 0x474d78
dec esi
je 0x474d6d
dec esi
je 0x474d62
dec esi
je 0x474d57
dec esi
je 0x474d4c
dec esi
je 0x474d44
dec esi
jne 0x474d0f
mov dword [ecx], 0x1002
jmp 0x474cd3
mov dword [ecx], 0x1006
jmp 0x474cd3
mov dword [ecx], 0x1001
jmp 0x474cd3
mov dword [ecx], 0x100b
jmp 0x474cd3
mov dword [ecx], 3
jmp 0x474cd3
mov dword [ecx], 2
jmp 0x474cd3
mov dword [ecx], 1
jmp 0x474cd3
Function at 0x4752b1
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
and dword [esi + 0x10], 0
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
test eax, eax
mov dword [esi], 0x48b160
jne 0x4752da
call fcn.00476bf9
mov eax, dword [eax + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
test eax, eax
mov dword [esi + 8], eax
jne 0x4752fd
push eax
push dword [esi + 4]
call fcn.0047523e
push esi
push eax
mov ecx, 0x4a5558
call fcn.004750ca
mov eax, esi
pop esi
pop ebp
ret 0x18

Function at 0x4759de
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x47eec4
call fcn.0044d428
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.00469d98
xor edi, edi
lea ecx, [esi + 0x24]
mov dword [ebp - 4], edi
mov dword [esi], 0x48b17c
call fcn.004014c5
mov ebx, dword [ebp + 0x10]
push dword [ebx + 0xc]
mov ecx, 0x4a5558
push dword [ebp + 8]
mov byte [ebp - 4], 1
call fcn.004750ca
push dword [ebp + 0xc]
lea ecx, [esi + 0xc]
call fcn.004423e2
mov eax, dword [ebx + 8]
mov dword [esi + 0x1c], eax
lea eax, [ebp + 0x10]
push eax
mov ecx, ebx
call fcn.004433b5
push eax
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 2
call fcn.00443127
mov ecx, dword [ebp + 0x10]
add ecx, 0xfffffff0
call fcn.00401148
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x14], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x3c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x18], eax
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x10

Function at 0x475b77
Capabilities:
Connect to http server

Disassembly:
mov eax, 0x47eee1
call fcn.0044d428
push ecx
push esi
push edi
push dword [ebp + 0x1c]
mov edi, dword [ebp + 8]
push dword [ebp + 0x10]
mov esi, ecx
push dword [ebp + 0xc]
mov dword [ebp - 0x10], esi
push edi
call fcn.00475b39
and dword [ebp - 4], 0
lea ecx, [esi + 0x18]
mov dword [esi], 0x48b1f4
call fcn.004014c5
push dword [esi + 8]
mov edi, dword [edi + 8]
push 0
push 3
push dword [ebp + 0x18]
mov byte [ebp - 4], 1
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call dword [sym.imp.WININET.dll_InternetConnectW]
test eax, eax
mov dword [esi + 4], eax
jne 0x475bde
push eax
push dword [esi + 8]
call fcn.0047523e
push dword [esi + 0xc]
mov ecx, 0x4a5558
push eax
call fcn.004750ca
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 0x18