joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40ab80
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ecx
push esi
mov esi, dword [0x43c64c]
test esi, esi
je 0x40abaa
push edi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [esp + 8]
push eax
push 0x40
push 0x10000
push esi
call edi
mov esi, dword [esi + 4]
test esi, esi
jne 0x40ab93
pop edi
pop esi
pop ecx
ret

Function at 0x40ac00
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
sub esp, 0x1c
push ebx
push esi
mov esi, eax
movzx eax, si
test eax, eax
push edi
je 0x40ac16
lea esi, [eax + esi - 0x10000]
cmp esi, dword [esp + 0x2c]
jae 0x40acbf
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualQuery]
mov edi, dword [sym.imp.KERNEL32.dll_VirtualAlloc]
lea esp, [esp]
lea eax, [esi - 0x50000000]
cmp eax, 0x30000000
ja 0x40ac44
mov esi, 0x80010000
jmp 0x40acb5
xor eax, eax
push 0x1c
lea ecx, [esp + 0x10]
push ecx
push esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
call ebx
test eax, eax
je 0x40acbf
cmp dword [esp + 0x1c], 0x10000
mov eax, dword [esp + 0x18]
jne 0x40aca0
cmp eax, 0x10000
jb 0x40aca0
push 0x40
push 0x3000
push 0x10000
push esi
call edi
test eax, eax
jne 0x40acc1
add esi, 0x10000
jmp 0x40acb5
mov edx, dword [esp + 0xc]
lea esi, [edx + eax]
movzx eax, si
test eax, eax
je 0x40acb5
lea esi, [esi + eax - 0x10000]
cmp esi, dword [esp + 0x2c]
jb 0x40ac30
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 0x1c
ret

Function at 0x40acd0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
sub esp, 0x1c
push ebx
push ebp
push esi
mov esi, eax
add esi, 0xffff0000
movzx eax, si
test eax, eax
push edi
je 0x40ace8
sub esi, eax
cmp esi, dword [esp + 0x30]
jbe 0x40ad7b
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualQuery]
mov edi, dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ebp, 0x10000
lea eax, [esi - 0x50000000]
cmp eax, 0x30000000
ja 0x40ad17
mov esi, 0x4fff0000
jmp 0x40ad75
xor eax, eax
push 0x1c
lea ecx, [esp + 0x14]
push ecx
push esi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
call ebx
test eax, eax
je 0x40ad7b
cmp dword [esp + 0x20], ebp
jne 0x40ad62
cmp dword [esp + 0x1c], ebp
jb 0x40ad62
push 0x40
push 0x3000
push ebp
push esi
call edi
test eax, eax
jne 0x40ad7d
sub esi, ebp
jmp 0x40ad75
mov esi, dword [esp + 0x14]
add esi, 0xffff0000
movzx eax, si
test eax, eax
je 0x40ad75
sub esi, eax
cmp esi, dword [esp + 0x30]
ja 0x40ad03
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
Function at 0x40ad90
Capabilities:
Hook routines via microsoft detours

Disassembly:
push ebx
push ebp
push esi
mov esi, eax
cmp esi, 0x7ff80000
push edi
lea ebx, [esi - 0x7ff80000]
ja 0x40ada9
mov ebx, 0x10000
cmp esi, 0x80000000
lea ebp, [esi + 0x7ff80000]
jb 0x40adbc
mov ebp, 0xfff80000
mov eax, dword [0x43c650]
test eax, eax
mov edx, dword [0x43c64c]
jne 0x40add6
test edx, edx
je 0x40ade9
mov eax, edx
mov dword [0x43c650], eax
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x40ade9
cmp ecx, ebx
jb 0x40ade9
cmp ecx, ebp
jbe 0x40aed7
test edx, edx
mov eax, edx
mov dword [0x43c650], eax
je 0x40ae17
test eax, eax
je 0x40ae0b
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x40ae0b
cmp ecx, ebx
jb 0x40ae0b
cmp ecx, ebp
jbe 0x40aed2
mov eax, dword [eax + 4]
test eax, eax
jne 0x40adf8
mov dword [0x43c650], eax
mov eax, esi
and eax, 0xffff
sub esi, eax
cmp esi, 0x40000000
jbe 0x40ae52
lea edi, [esi - 0x40000000]
push esi
mov eax, edi
call fcn.0040ac00
add esp, 4
test eax, eax
jne 0x40ae96
push ebx
mov eax, edi
call fcn.0040acd0
add esp, 4
test eax, eax
jne 0x40ae96
cmp esi, 0x40000000
jae 0x40ae78
lea edi, [esi + 0x40000000]
push esi
mov eax, edi
call fcn.0040acd0
add esp, 4
test eax, eax
jne 0x40ae96
push ebp
mov eax, edi
call fcn.0040ac00
add esp, 4
test eax, eax
jne 0x40ae96
push ebx
mov eax, esi
call fcn.0040acd0
add esp, 4
test eax, eax
jne 0x40ae96
push ebp
mov eax, esi
call fcn.0040ac00
add esp, 4
test eax, eax
je 0x40aeff
xor edx, edx
mov dword [eax], 0x52727464
mov dword [eax + 8], edx
mov ecx, dword [0x43c64c]
mov dword [eax + 4], ecx
mov dword [0x43c650], eax
mov dword [0x43c64c], eax
lea ecx, [eax + 0xffa8]
mov esi, 0x38b
nop
mov dword [ecx + 0x40], edx
mov edx, ecx
sub ecx, 0x48
sub esi, 1
jne 0x40aec0
mov dword [eax + 8], edx
jmp 0x40aed7
mov dword [0x43c650], eax
mov esi, dword [eax + 8]
cmp esi, ebx
jb 0x40aeff
cmp esi, ebp
ja 0x40aeff
mov edx, dword [esi + 0x40]
push 0x48
push 0xcc
push esi
mov dword [eax + 8], edx
call fcn.0040c7b0
add esp, 0xc
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret

Function at 0x40af40
Capabilities:
Hook routines via microsoft detours

Disassembly:
mov eax, dword [0x43c64c]
test eax, eax
push ebx
mov ebx, 0x43c64c
je 0x40afad
push esi
push edi
cmp dword [eax], 0x52727464
jne 0x40afa2
lea edi, [eax + 0x10000]
xor edx, edx
lea esi, [eax + 0x88]
mov ecx, dword [esi]
test ecx, ecx
je 0x40af75
cmp ecx, eax
jb 0x40afa2
cmp ecx, edi
jae 0x40afa2
add edx, 1
add esi, 0x48
cmp edx, 0x38d
jb 0x40af67
mov ecx, dword [eax + 4]
push 0x8000
push 0
push eax
mov dword [ebx], ecx
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov dword [0x43c650], 0
jmp 0x40afa5
lea ebx, [eax + 4]
mov eax, dword [ebx]
test eax, eax
jne 0x40af51
pop edi
pop esi
pop ebx
ret
Function at 0x40b050
Capabilities:
Resume thread

Disassembly:
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x43c65c], eax
je 0x40b066
mov eax, 0x10dd
pop ecx
ret
push ebx
push ebp
push esi
mov esi, dword [0x43c66c]
xor ebp, ebp
cmp esi, ebp
push edi
je 0x40b0ce
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
lea eax, [esp + 0x10]
push eax
movzx eax, byte [edx + 0x36]
push ecx
mov ecx, dword [esi + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp dword [esi + 4], ebp
jne 0x40b0bd
mov ebx, dword [esi + 0x10]
cmp ebx, ebp
je 0x40b0bd
push 0x48
push ebp
mov edi, ebx
push ebx
and edi, 0xffff0000
call fcn.0040c7b0
mov edx, dword [edi + 8]
mov dword [ebx + 0x40], edx
mov dword [edi + 8], ebx
add esp, 0xc
mov dword [esi + 0x10], ebp
mov edi, dword [esi]
push esi
call fcn.0040c4fa
add esp, 4
cmp edi, ebp
mov esi, edi
jne 0x40b076
mov dword [0x43c66c], ebp
call fcn.0040abb0
mov esi, dword [0x43c668]
cmp esi, ebp
je 0x40b107
mov ebx, dword [sym.imp.KERNEL32.dll_ResumeThread]
lea esp, [esp]
mov eax, dword [esi + 4]
push eax
call ebx
mov edi, dword [esi]
push esi
call fcn.0040c4fa
add esp, 4
cmp edi, ebp
mov esi, edi
jne 0x40b0f0
pop edi
pop esi
mov dword [0x43c668], ebp
mov dword [0x43c65c], ebp
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
Function at 0x40b410
Capabilities:
Suspend thread

Disassembly:
push edi
mov edi, eax
mov eax, dword [0x43c660]
test eax, eax
jne 0x40b487
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
cmp edi, eax
jne 0x40b42a
xor eax, eax
pop edi
ret
push esi
push 8
call fcn.0040caec
mov esi, eax
add esp, 4
test esi, esi
jne 0x40b442
mov edi, 8
jmp 0x40b45f
push edi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x40b474
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
mov edi, eax
call fcn.0040c4fa
add esp, 4
pop esi
mov dword [0x43c660], edi
mov eax, edi
mov dword [0x43c664], 0
pop edi
ret
mov eax, dword [0x43c668]
mov dword [esi], eax
mov dword [esi + 4], edi
mov dword [0x43c668], esi
xor eax, eax
pop esi
pop edi
ret
Function at 0x40bdc9
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x43b9a0], 0
push esi
jne 0x40bd3c
call fcn.0040bc67
test eax, eax
je 0x40bd7f
mov eax, dword [0x43b9a0]
cmp eax, 1
jne 0x40bd5d
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x40bd7f
pop esi
ret
push eax
call dword [0x43b9a8]
test eax, eax
jne 0x40bdc7
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 0x40bd83
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x43b9a0]
call dword [0x43b9a8]
mov edi, eax
test edi, edi
je 0x40bdaa
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, edi
jmp 0x40bdc6
lea edi, [esi + 0xff0]
push esi
push dword [0x43b9a0]
call dword [0x43b9a4]
add esi, 0x10
cmp esi, edi
jb 0x40bdb0
mov eax, esi
pop edi
pop esi
ret
jmp 0x40bd29

Function at 0x40bf1a
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x425054]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.0040beaf
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.0040c7b0
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x40bf69
cmp dword [ebp - 0x1c], 5
jb 0x40bf81
jmp 0x40bf7d
cmp dword [ebp - 0x10], 1
jne 0x40bf81
cmp dword [ebp - 0x1c], 4
ja 0x40bf7d
jne 0x40bf81
cmp dword [ebp - 0x18], 0
jbe 0x40bf81
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x41d4a8
call fcn.00407804
test eax, eax
jge 0x40bfa2
mov byte [0x43c77c], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0040c4ff
add ebp, 0x78
leave
ret

Function at 0x40c4ff
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x425054]
jne 0x40c509
repz ret
jmp fcn.00410338
Function at 0x414eee
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0040fd1f
xor ebx, ebx
cmp dword [0x43c4f4], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x414fc3
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x414f2e
xor eax, eax
jmp 0x415087
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x41dcb0
push edi
call esi
cmp eax, ebx
je 0x414f27
push eax
call fcn.0040fcbc
mov dword [esp], 0x41dca0
push edi
mov dword [0x43c4f4], eax
call esi
push eax
call fcn.0040fcbc
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x43c4f8], eax
call esi
push eax
call fcn.0040fcbc
mov dword [0x43c4fc], eax
lea eax, [ebp - 8]
push eax
call fcn.0040ef75
test eax, eax
pop ecx
pop ecx
je 0x414f91
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0040c95e
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x414fc3
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0040fcbc
cmp eax, ebx
pop ecx
mov dword [0x43c504], eax
je 0x414fc3
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040fcbc
pop ecx
mov dword [0x43c500], eax
mov eax, dword [0x43c500]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x41503c
cmp dword [0x43c504], esi
je 0x41503c
push eax
call fcn.0040fd28
pop ecx
call eax
cmp eax, ebx
je 0x415009
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x43c504]
call fcn.0040fd28
pop ecx
call eax
test eax, eax
je 0x415009
test byte [ebp - 0x18], 1
jne 0x41503c
lea eax, [ebp - 0xc]
push eax
call fcn.0040efac
test eax, eax
pop ecx
je 0x415024
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0040c95e
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x415033
or dword [ebp + 0x10], 0x200000
jmp 0x41506d
or dword [ebp + 0x10], 0x40000
jmp 0x41506d
mov eax, dword [0x43c4f8]
cmp eax, esi
je 0x41506d
push eax
call fcn.0040fd28
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x41506d
mov eax, dword [0x43c4fc]
cmp eax, esi
je 0x41506d
push dword [ebp - 4]
push eax
call fcn.0040fd28
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x43c4f4]
call fcn.0040fd28
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401500
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4371f0
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x4475b4]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
push 0x43dee7
lea ecx, [esp + 0x10]
mov dword [esp + 0x14], 0
call fcn.004024d0
lea eax, [esp + 0x10]
push eax
push 0x20019
push 0
push str.SoftwareMicrosoftInternet_ExplorerMain_
push SysReAllocString
mov dword [esp + 0x3c], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x40159f
or edi, 0xffffffff
mov dword [esp + 0x28], edi
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x4016ff
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x20
ret
push 0x50
call fcn.00403433
add esp, 4
lea ecx, [esp + 0x14]
push ecx
mov esi, eax
mov eax, dword [esp + 0x14]
push esi
lea edx, [esp + 0x20]
push edx
push 0
push str.Start_Page
push eax
mov dword [esp + 0x30], 1
mov dword [esp + 0x2c], 0x50
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x401563
lea ecx, [esp + 0x1c]
push ecx
call fcn.00401b90
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 1
call fcn.00402800
mov byte [esp + 0x28], 0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
or edi, 0xffffffff
lea edx, [eax + 0xc]
mov ecx, edi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40161c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push esi
call fcn.00403428
mov ecx, dword [esp + 0x14]
add esp, 4
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [esp + 0xc]
push str.baidu.com
push edx
call fcn.00421d40
add esp, 8
test eax, eax
je 0x40167e
mov dword [esp + 0x28], edi
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x401667
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x20
ret
mov ecx, dword [esp + 0xc]
push str.hao123.com
push ecx
call fcn.00421d40
add esp, 8
test eax, eax
je 0x4016a9
mov dword [esp + 0x28], edi
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
lock xadd dword [edx], edi
dec edi
jmp 0x401659
mov ecx, dword [esp + 0xc]
push str.hao111.com
push ecx
call fcn.00421d40
add esp, 8
test eax, eax
je 0x4016ca
lea ecx, [esp + 0xc]
call fcn.004029c0
jmp 0x401667
mov edx, dword [esp + 0xc]
push str.7556.com
push edx
call fcn.00421d40
add esp, 8
test eax, eax
jne 0x4016bf
mov eax, dword [esp + 0xc]
push str.99danji.com
push eax
call fcn.00421d40
add esp, 8
lea ecx, [esp + 0xc]
test eax, eax
jne 0x4016c3
call fcn.004029c0
xor eax, eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x20
ret
Function at 0x401720
Capabilities:
Read .ini file

Disassembly:
push ecx
push esi
push edi
push str..Main_gamex.ini
lea ecx, [esp + 0xc]
mov esi, eax
call fcn.004024d0
mov eax, dword [esp + 8]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push eax
push 0x100
lea ecx, [esi + 0xd6]
push ecx
push 0
push str.Name
push str.AppName
call edi
test eax, eax
jne 0x401782
mov eax, dword [esp + 8]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40177c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop edi
xor eax, eax
pop esi
pop ecx
ret
mov ecx, dword [esp + 8]
push ecx
push 0x100
lea edx, [esi + 0xa4]
push edx
push 0
push str.Name
push str.Main
call edi
test eax, eax
jne 0x4017bb
mov eax, dword [esp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x401770
mov ecx, dword [esp + 8]
push ecx
push 0x100
add esi, 0x108
push esi
push 0
push str.Name
push str.Params
call edi
mov eax, dword [esp + 8]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4017fa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop edi
mov eax, 1
pop esi
pop ecx
ret

Function at 0x402220
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x402239
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x402274
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x402270
lea ebx, [ebx]
cmp esi, eax
jae 0x402274
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x402260
cmp esi, eax
jb 0x40227a
pop esi
pop edi
xor eax, eax
pop ebx
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret
Function at 0x403090
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x437028
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x4475b4]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
lea eax, [esp + 8]
push eax
push 0x20006
push 0
push str.SoftwareMicrosoftInternet_ExplorerMain_
push SysReAllocString
mov dword [esp + 0x2c], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x403119
mov dword [esp + 0x18], 0xffffffff
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403104
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret 4
mov eax, dword [esp + 0x20]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x10], esp
mov esi, esp
push eax
call fcn.00402930
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.004031c0
mov ecx, dword [esp + 0x20]
mov esi, eax
mov eax, dword [ecx - 0xc]
inc eax
movzx eax, ax
movzx edx, ax
mov eax, dword [esp + 8]
push edx
push esi
push 1
push 0
push str.Start_Page
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x4030dc
push esi
call fcn.00403428
mov ecx, dword [esp + 0xc]
add esp, 4
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x18], 0xffffffff
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4031a4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret 4

Function at 0x403320
Capabilities:
Extract resource via kernel32 functions

Disassembly:
movzx edx, word [esp + 4]
mov dword [esp + 4], edx
jmp fcn.00407f80

Function at 0x4051d5
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x40521d
call fcn.00406581
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x40521d
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x405260
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x405249
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x405249
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x40525d
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x40960d
Capabilities:
Create http request

Disassembly:
mov edi, edi
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]
mov dword [esi], vtable.CInternetSession.0
test eax, eax
jne 0x409638
call fcn.00406581
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_InternetOpenA]
mov dword [esi + 8], eax
test eax, eax
jne 0x40965b
push eax
push dword [esi + 4]
call fcn.00409593
push esi
push eax
mov ecx, 0x448c30
call fcn.00409247
mov eax, esi
pop esi
pop ebp
ret 0x18

Function at 0x410bc8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x410c0f
call fcn.00406581
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x410c0f
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x410c2b
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.00410742
mov esi, eax
test edi, edi
je 0x410c29
test ebx, ebx
je 0x410c29
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x411357
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x435da6
call fcn.00422941
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x41137c
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x4113c2
lea ecx, [ebp - 0x10]
call fcn.004028d0
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00403526
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.004029a0
mov eax, esi
call fcn.00422a19
ret 8