joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402060
Capabilities:
Create thread

Disassembly:
push ecx
mov ecx, dword [0x56bc94]
mov eax, 1
cmp ecx, eax
je 0x4020b0
lea ecx, [esp]
mov dword [0x56bc94], eax
push ecx
push 0
push eax
push 0x4020c0
push 0
push 0
mov dword [esp + 0x18], 0
call dword [0x523468]
add esp, 0x18
test eax, eax
je 0x4020a6
push eax
call dword [0x5233b0]
xor eax, eax
pop ecx
ret
mov dword [0x56bc94], 0
xor eax, eax
pop ecx
ret

Function at 0x402d70
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov eax, dword [esp + 0xc]
lea edx, [esp + 0xc]
push edx
mov dword [esp + 4], 1
lea ecx, [eax + eax]
mov eax, dword [esp + 0xc]
mov dword [esp + 0x10], ecx
lea ecx, [esp + 4]
push eax
push ecx
push str.DownProgName
push str.Software360360se3
push 0x80000001
call dword [0x52370c]
neg eax
sbb eax, eax
inc eax
pop ecx
ret

Function at 0x402db0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x210
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xe]
mov word [esp + 0xc], 0
lea edx, [esp + 4]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push edx
push str.DownProgID
push str.Software360360se3
push 0x80000001
mov dword [esp + 0x20], 0x208
mov dword [esp + 0x1c], 1
call dword [0x52370c]
test eax, eax
pop edi
jne 0x402e26
lea eax, [esp + 8]
push str.TwInternalDownload
push eax
call dword [0x523710]
test eax, eax
jne 0x402e26
mov eax, 1
add esp, 0x210
ret
xor eax, eax
cmp word [esp + 8], ax
sete al
add esp, 0x210
ret

Function at 0x402e40
Capabilities:
Set registry value

Disassembly:
push str.TwInternalDownload
call dword [0x52345c]
add esp, 4
shl eax, 1
push eax
push str.TwInternalDownload
push 1
push str.DownProgID
push str.Software360360se3
push 0x80000001
call dword [0x523714]
ret
Function at 0x405ff0
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x10
push esi
mov esi, ecx
mov eax, dword [esi + 0x3f18]
test eax, eax
je 0x406037
push eax
call dword [0x5237ac]
test eax, eax
jne 0x4060f0
mov ecx, dword [esi + 0x3f18]
lea eax, [esi + 0x5010]
push eax
push ecx
call dword [0x523a0c]
mov edx, dword [esi + 0x3f18]
push 5
push edx
call dword [0x523884]
pop esi
add esp, 0x10
ret
lea eax, [esp + 4]
push 0
push eax
mov ecx, esi
call fcn.00405b70
mov edx, dword [0x58bccc]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 8]
push 0
push edx
mov edx, dword [esi + 4]
sub eax, ecx
push 0
push edx
mov edx, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x18]
sub edx, eax
push edx
push ecx
push eax
push 0x44000080
push 0x56bc90
push str.edit
push 0x20
call dword [0x5238cc]
push 0xfffffffffffffffc
push eax
mov dword [esi + 0x3f18], eax
call dword [0x5238c8]
mov dword [esi + 0x3f10], eax
mov eax, dword [esi + 0x3f18]
push esi
push str.CLASSPROC
push eax
call dword [0x5237b4]
mov ecx, dword [esi + 0x3f18]
push 0x4053f0
push 0xfffffffffffffffc
push ecx
call dword [0x5238c4]
mov ecx, esi
call fcn.004063f0
mov ecx, esi
call fcn.00406240
mov eax, dword [esi + 0x3f18]
lea edx, [esi + 0x5010]
push edx
push eax
call dword [0x523a0c]
mov ecx, dword [esi + 0x3f18]
push 5
push ecx
call dword [0x523884]
pop esi
add esp, 0x10
ret

Function at 0x4081e3
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 8
push esi
mov esi, ecx
push 2
call fcn.0050a9e0
mov eax, dword [esp + 0x14]
push 1
movsx ecx, ax
shr eax, 0x10
movsx edx, ax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
call dword [0x523744]
shr eax, 8
test al, al
je 0x408237
mov eax, dword [esi + 0x70a0]
cmp eax, 0xffffffff
je 0x408237
cmp eax, dword [esp + 4]
jne 0x408230
mov eax, dword [esi + 0x70a4]
mov ecx, dword [esp + 8]
cmp eax, ecx
je 0x408237
mov ecx, esi
call fcn.004096c0
mov ecx, esi
call fcn.00407dc0
mov edx, dword [esi + 0x3f14]
mov ecx, 0x20
cmp edx, ecx
jne 0x40825d
test eax, eax
je 0x408270
mov dword [esi + 0x3f14], 0x10
jmp 0x408267
test eax, eax
jne 0x408270
mov dword [esi + 0x3f14], ecx
push 1
mov ecx, esi
call fcn.00408ec0
lea ecx, [esp + 4]
push ecx
mov ecx, esi
call fcn.00407fa0
test eax, eax
je 0x408287
push 0x7f01
jmp 0x4082a2
mov ecx, esi
call fcn.00407ea0
test eax, eax
jne 0x40829d
mov ecx, esi
call fcn.00407f20
test eax, eax
je 0x4082b1
push 0x7f89
push 0
call dword [0x5238a4]
push eax
call dword [0x5238a0]
mov ecx, esi
call fcn.00408ef0
pop esi
add esp, 8
ret 8
Function at 0x409600
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
push 0
mov dword [esi + 0x1e68], 0
mov dword [esi + 0x1e6c], 0
call fcn.00409570
push 1
push 0
mov ecx, esi
call fcn.00408e40
mov eax, dword [esi + 0x3f18]
push 0x56bc90
push eax
mov dword [esi + 0x1e74], 1
call dword [0x523a0c]
mov ecx, dword [esi + 0x3f18]
push 0
push ecx
mov dword [esi + 0x1e74], 0
call dword [0x523884]
push 0
mov ecx, esi
call fcn.004097d0
push 0x56bc90
mov ecx, esi
call fcn.00407c10
push eax
call dword [0x523478]
add esp, 8
test eax, eax
jne 0x40968e
mov edx, dword [esi + 4]
push 1
push eax
push edx
call dword [0x52374c]
pop esi
ret

Function at 0x40b4d0
Capabilities:
Set registry value

Disassembly:
sub esp, 0x41c
push esi
mov edx, ecx
push edi
xor esi, esi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x16]
mov word [esp + 0x14], si
rep stosd dword es:[edi], eax
mov ecx, edx
stosw word es:[edi], ax
call fcn.0040c0b0
push eax
lea eax, [esp + 0x18]
push 0x103
push eax
call dword [0x52346c]
mov cx, word [0x56bc90]
xor eax, eax
mov word [esp + 0x228], cx
mov ecx, 0x81
lea edi, [esp + 0x22a]
lea edx, [esp + 0x18]
rep stosd dword es:[edi], eax
push edx
mov dword [esp + 0x1c], esi
stosw word es:[edi], ax
call dword [0x5234a4]
lea eax, [esp + 0x24]
push esi
lea ecx, [esp + 0x1c]
push eax
push ecx
mov dword [esp + 0x24], esi
call fcn.00495a40
mov eax, dword [esp + 0x24]
add esp, 0x1c
cmp eax, esi
je 0x40b59b
lea edx, [esp + 0x21c]
push 0x103
push edx
push 0x538b04
push str.Main
push eax
call fcn.00496280
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
push eax
push str.UsedTime
push str.Main
push ecx
call fcn.00496470
lea edx, [esp + 0x2c]
push esi
push edx
call fcn.00495c30
add esp, 0x2c
mov edi, dword [esp + 0x428]
mov eax, dword [0x585fa0]
cmp edi, esi
je 0x40b5bf
cmp eax, esi
je 0x40b5da
cmp dword [esp + 0x42c], esi
je 0x40b5da
call fcn.004c1d60
jmp 0x40b5da
cmp eax, esi
je 0x40b5d1
cmp dword [esp + 0x42c], esi
jne 0x40b5d1
call fcn.004c1d70
push esi
call fcn.00424fb0
add esp, 4
cmp dword [0x585fb0], esi
je 0x40b608
cmp edi, esi
je 0x40b608
lea eax, [esp + 0x10]
push 4
push eax
push 4
push str.160A
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_SettingsZones3
push 0x80000001
mov dword [esp + 0x28], esi
call dword [0x523714]
pop edi
pop esi
add esp, 0x41c
ret 8

Function at 0x40bb20
Capabilities:
Create thread

Disassembly:
push ecx
push esi
mov esi, ecx
mov dword [esi + 0x60], 1
call dword [0x523364]
mov dword [esi + 0x5c], eax
lea eax, [esp + 4]
push eax
push 0
push 0
push 0x40b9c0
push 0
push 0
mov dword [esp + 0x1c], 0
call dword [0x523468]
add esp, 0x18
test eax, eax
je 0x40bb62
push eax
call dword [0x5233b0]
mov ecx, dword [esp + 0xc]
push ecx
mov ecx, esi
call fcn.0040bc30
pop esi
pop ecx
ret 4

Function at 0x40bbe0
Capabilities:
Create thread

Disassembly:
push ecx
push esi
push 0
push 0
push 1
mov esi, ecx
push 0
call dword [0x523350]
test eax, eax
mov dword [esi + 4], eax
je 0x40bc26
lea eax, [esp + 4]
mov dword [esp + 4], 0
push eax
push 0
push esi
push 0x40bb80
push 0
push 0
call dword [0x523468]
add esp, 0x18
test eax, eax
je 0x40bc26
push eax
call dword [0x5233b0]
pop esi
pop ecx
ret
Function at 0x40bf31
Capabilities:
Create thread

Disassembly:
push ecx
push esi
mov esi, ecx
call fcn.0040db30
test eax, eax
je 0x40bf6a
lea eax, [esp + 4]
mov dword [esp + 4], 0
push eax
push 0
push esi
push 0x40d940
push 0
push 0
call dword [0x523468]
add esp, 0x18
test eax, eax
je 0x40bf6a
push eax
call dword [0x5233b0]
pop esi
pop ecx
ret

Function at 0x40bfa0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov eax, dword [0x585f98]
sub esp, 0x28
push esi
push edi
xor edi, edi
mov esi, ecx
cmp eax, edi
jne 0x40bfba
pop edi
xor eax, eax
pop esi
add esp, 0x28
ret
push edi
mov dword [esp + 0x24], 0x4df0c730
mov word [esp + 0x28], 0xdf9d
mov word [esp + 0x2a], 0x4ae3
mov byte [esp + 0x2c], 0x91
mov byte [esp + 0x2d], 0x53
mov byte [esp + 0x2e], 0xaa
mov byte [esp + 0x2f], 0x6b
mov byte [esp + 0x30], 0x82
mov byte [esp + 0x31], 0xe9
mov byte [esp + 0x32], 0x79
mov byte [esp + 0x33], 0x5a
mov dword [esp + 0x14], 0x8be2d872
mov word [esp + 0x18], 0x86aa
mov word [esp + 0x1a], 0x4d47
mov byte [esp + 0x1c], 0xb7
mov byte [esp + 0x1d], 0x76
mov byte [esp + 0x1e], 0x32
mov byte [esp + 0x1f], 0xcc
mov byte [esp + 0x20], 0xa4
mov byte [esp + 0x21], 0xc
mov byte [esp + 0x22], 0x70
mov byte [esp + 0x23], 0x18
call dword [0x523c50]
lea eax, [esp + 8]
lea ecx, [esp + 0x10]
push eax
push ecx
push 3
lea edx, [esp + 0x2c]
push edi
push edx
mov dword [esp + 0x1c], edi
call dword [0x523c54]
test eax, eax
jne 0x40c09e
mov eax, dword [esp + 8]
cmp eax, edi
je 0x40c09e
lea edx, [esp + 0xc]
add esi, 0x26c
push edx
mov dword [esp + 0x10], edi
mov ecx, dword [eax]
push 1
push esi
push eax
call dword [ecx + 0x28]
test eax, eax
jne 0x40c094
mov eax, dword [esp + 0xc]
cmp eax, edi
je 0x40c094
mov ecx, dword [eax]
push eax
mov edi, 1
call dword [ecx + 8]
mov eax, dword [esp + 8]
push eax
mov edx, dword [eax]
call dword [edx + 8]
call dword [0x523c58]
mov eax, edi
pop edi
pop esi
add esp, 0x28
ret
Function at 0x40c1a0
Capabilities:
Get common file path

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x208
test eax, eax
push ebx
mov ebx, dword [esp + 0x214]
push ebp
mov ebp, dword [0x52346c]
push esi
push edi
mov edx, ecx
jne 0x40c240
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x12]
mov word [esp + 0x10], 0
rep stosd dword es:[edi], eax
add edx, 0x26c
push str.LoginEnrolLoginEnrol.dll
stosw word es:[edi], ax
push edx
push 0x538c6c
lea eax, [esp + 0x1c]
push 0x103
push eax
call ebp
add esp, 0x14
lea ecx, [esp + 0x10]
push 0
push ecx
mov ecx, 0x56bcc8
call fcn.0040c9f0
test eax, eax
je 0x40c240
lea edx, [esp + 0x10]
push edx
call dword [0x523398]
mov esi, eax
test esi, esi
je 0x40c240
push str.GetProfilePath
push esi
call dword [0x5233b4]
test eax, eax
je 0x40c239
mov ecx, dword [esp + 0x224]
dec ecx
push ecx
push ebx
call eax
push esi
call dword [0x5233a0]
cmp word [ebx], 0
jne 0x40c28d
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x12]
mov word [esp + 0x10], 0
rep stosd dword es:[edi], eax
lea edx, [esp + 0x10]
push edx
push 0
push 0
push 0x1a
push 0
stosw word es:[edi], ax
call dword [0x52363c]
mov ecx, dword [esp + 0x224]
lea eax, [esp + 0x10]
push str.360SE
push eax
dec ecx
push 0x538c40
push ecx
push ebx
call ebp
add esp, 0x14
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret 0xc
Function at 0x40d4f0
Capabilities:
Check if file exists

Disassembly:
sub esp, 0x824
push ebx
push ebp
push esi
mov esi, ecx
push edi
xor ebx, ebx
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x21e]
mov word [esp + 0x21c], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x16]
mov word [esp + 0x14], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x426]
mov word [esp + 0x424], bx
rep stosd dword es:[edi], eax
push 0x56c13c
mov dword [esp + 0x14], ebx
stosw word es:[edi], ax
call dword [0x52345c]
sub eax, 4
push eax
lea eax, [esp + 0x42c]
push 0x56c13c
push eax
call dword [0x523498]
push 5
lea ecx, [esp + 0x438]
push str..ini
push ecx
call dword [0x5234a8]
add esp, 0x1c
lea edx, [esp + 0x21c]
mov ecx, esi
push 0x103
push edx
push 1
call fcn.0040c1a0
mov ebp, dword [0x52346c]
lea eax, [esp + 0x424]
lea ecx, [esp + 0x21c]
push eax
push ecx
push 0x538c6c
lea edx, [esp + 0x20]
push 0x103
push edx
call ebp
add esp, 0x14
mov ecx, esi
call fcn.0040ac70
test eax, eax
je 0x40d5e4
lea ecx, [esp + 0x10]
push ecx
push 0x538ee8
push eax
call fcn.0044f970
add esp, 0xc
mov ebx, eax
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x40d644
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x62e]
mov word [esp + 0x62c], 0
rep stosd dword es:[edi], eax
lea edx, [esp + 0x21c]
push str.ie6_mode
stosw word es:[edi], ax
push edx
push 0x538c6c
lea eax, [esp + 0x638]
push 0x103
push eax
call ebp
lea ecx, [esp + 0x640]
push 0
push ecx
call fcn.0043f210
add esp, 0x1c
test eax, eax
je 0x40d644
mov ebx, 1
mov eax, ebx
sub eax, 0
je 0x40d6a8
dec eax
jne 0x40d6a8
mov eax, dword [esp + 0x83c]
mov edi, dword [esp + 0x838]
lea edx, [esp + 0x21c]
push str.360seie6.ini
push edx
dec eax
push 0x538c6c
push eax
push edi
call ebp
add esp, 0x14
push edi
call dword [0x523704]
test eax, eax
jne 0x40d6c8
push 1
lea ecx, [esp + 0x18]
push edi
push ecx
call fcn.0043fea0
add esp, 0xc
mov ecx, esi
push edi
call fcn.0040d410
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x824
ret 8
mov eax, dword [esp + 0x83c]
mov ecx, dword [esp + 0x838]
lea edx, [esp + 0x14]
dec eax
push edx
push 0x5384a4
push eax
push ecx
call ebp
add esp, 0x10
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x824
ret 8
Function at 0x40db30
Capabilities:
Get common file path

Disassembly:
sub esp, 0x424
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x1a]
mov word [esp + 0x18], 0
mov word [esp + 0x220], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x222]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x220]
push eax
push 0
push 0
push 0x1a
push 0
call dword [0x52363c]
push str.GuardConfig.ini
lea ecx, [esp + 0x224]
push str.360SE
push ecx
push str._s_sdata_s
lea edx, [esp + 0x28]
push 0x103
push edx
call dword [0x52346c]
lea eax, [esp + 0x30]
push 0
push eax
call fcn.0043f210
add esp, 0x20
test eax, eax
pop edi
je 0x40dbe1
lea ecx, [esp + 0x14]
push ecx
push 0
push str.Debug
push str.Main
call dword [0x5233a4]
test eax, eax
je 0x40dbe1
mov eax, 1
add esp, 0x424
ret
lea edx, [esp]
push edx
call dword [0x52331c]
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0xe]
and eax, 0xffff
and ecx, 0xffff
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea edx, [ecx + eax*8]
push edx
call dword [0x5234b0]
add esp, 4
call dword [0x5234ac]
cdq
mov ecx, 0x64
idiv ecx
xor eax, eax
cmp edx, 5
setl al
add esp, 0x424
ret
Function at 0x40e1f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
lea eax, [ebp - 8]
push edi
xor edi, edi
push eax
push 0x20019
push edi
push str.Software360360se3
push 0x80000001
mov dword [ebp - 4], edi
mov dword [ebp - 8], edi
call dword [0x523060]
test eax, eax
jne 0x40e383
mov eax, dword [ebp - 8]
cmp eax, edi
je 0x40e383
lea ecx, [ebp - 4]
push ecx
push edi
push edi
push edi
push str.homepage
push eax
call dword [0x523064]
mov eax, dword [ebp - 4]
cmp eax, edi
jbe 0x40e379
cmp eax, 0x2800
jae 0x40e379
lea edx, [eax + eax + 2]
push edx
call fcn.0051c5a0
mov esi, eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x10], esi
lea ecx, [eax + eax + 1]
push ecx
call fcn.0051c5a0
add esp, 8
cmp esi, edi
mov ebx, eax
je 0x40e379
cmp ebx, edi
je 0x40e379
mov edx, dword [ebp - 4]
xor eax, eax
mov edi, esi
lea ecx, [edx + edx + 2]
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebp - 4]
mov edi, ebx
lea ecx, [eax + eax + 1]
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [ebp - 8]
lea eax, [ebp - 4]
push eax
push esi
push 0
push 0
push str.homepage
push ecx
call dword [0x523064]
test eax, eax
jne 0x40e36a
mov eax, dword [ebp - 4]
test eax, eax
jbe 0x40e36a
push esi
call dword [0x523394]
lea eax, [eax + eax + 2]
mov dword [ebp - 0xc], eax
add eax, 3
and al, 0xfc
call fcn.0051c5b0
mov edx, dword [ebp - 0xc]
mov edi, esp
push 0
push 0
push edx
push edi
push 0xffffffffffffffff
push esi
push 0
push 0
mov byte [edi], 0
call dword [0x523334]
push edi
push ebx
call fcn.00481560
add esp, 8
push ebx
call dword [0x523308]
mov esi, eax
inc esi
lea eax, [esi + esi]
add eax, 3
and al, 0xfc
call fcn.0051c5b0
mov edi, esp
push esi
push edi
push 0xffffffffffffffff
push ebx
push 0
push 0
mov word [edi], 0
call dword [0x52330c]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push edi
dec eax
push 0x5384a4
push eax
push ecx
call dword [0x52346c]
mov esi, dword [ebp - 0x10]
add esp, 0x10
push esi
call fcn.0051c55a
push ebx
call fcn.0051c55a
add esp, 8
mov edx, dword [ebp - 8]
push edx
call dword [0x52306c]
mov eax, dword [ebp + 8]
cmp word [eax], 0
jne 0x40e3a5
mov ecx, dword [ebp + 0xc]
push str.se:blank
dec ecx
push 0x5384a4
push ecx
push eax
call dword [0x52346c]
add esp, 0x10
lea esp, [ebp - 0x1c]
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40e3c0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x40e401
push edi
call dword [0x523394]
lea esi, [eax + eax + 2]
mov eax, esi
add eax, 3
and al, 0xfc
call fcn.0051c5b0
mov ebx, esp
push 0
push 0
push esi
push ebx
push 0xffffffffffffffff
push edi
push 0
push 0
mov byte [ebx], 0
call dword [0x523334]
test ebx, ebx
jne 0x40e40d
xor eax, eax
lea esp, [ebp - 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [ebp - 4], ecx
lea edi, [ecx + ecx + 0xa]
push edi
call fcn.0051c5a0
mov esi, eax
add esp, 4
test esi, esi
mov dword [ebp + 8], 0
je 0x40e4c6
mov ecx, edi
xor eax, eax
mov edx, ecx
mov edi, esi
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebp - 4]
push eax
push ebx
push esi
call fcn.00481480
add esp, 0xc
push esi
call dword [0x523308]
mov edi, eax
inc edi
lea eax, [edi + edi]
add eax, 3
and al, 0xfc
call fcn.0051c5b0
mov ebx, esp
push edi
push ebx
push 0xffffffffffffffff
push esi
push 0
push 0
mov word [ebx], 0
call dword [0x52330c]
test ebx, ebx
je 0x40e4bd
push ebx
call dword [0x52345c]
add esp, 4
shl eax, 1
push eax
push ebx
push 1
push str.homepage
push str.Software360360se3
push 0x80000001
call dword [0x523714]
test eax, eax
jne 0x40e4bd
mov dword [ebp + 8], 1
push esi
call fcn.0051c55a
add esp, 4
mov eax, dword [ebp + 8]
lea esp, [ebp - 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x412070
Capabilities:
Parse url

Disassembly:
sub esp, 0x144
push ebx
push ebp
push esi
mov esi, dword [esp + 0x154]
test esi, esi
push edi
mov ebx, ecx
je 0x412291
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x55]
mov byte [esp + 0x54], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0xe
xor eax, eax
lea edi, [esp + 0x1c]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x18]
lea eax, [esp + 0x54]
push ecx
push 0x10000000
push esi
mov dword [esp + 0x24], 0x3c
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], 0x100
call dword [0x523308]
push eax
push esi
call dword [0x523ad8]
test eax, eax
je 0x412291
mov ebp, dword [esp + 0x15c]
mov eax, dword [ebx + 0x210]
neg ebp
sbb ebp, ebp
and ebp, 0xfffffffe
add ebp, 2
test eax, eax
je 0x41216f
mov ecx, dword [eax + 4]
xor esi, esi
test ecx, ecx
lea edi, [eax + 0x14]
jbe 0x4121ca
lea edx, [edi + 8]
mov dword [esp + 0x10], edx
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x54]
push eax
push ecx
call dword [0x5235f0]
add esp, 8
test eax, eax
je 0x412151
mov edx, dword [esp + 0x10]
add edi, 0x108
add edx, 0x108
inc esi
mov dword [esp + 0x10], edx
mov edx, dword [ebx + 0x210]
cmp esi, dword [edx + 4]
jb 0x412118
jmp 0x4121ca
cmp dword [edi], ebp
je 0x412291
mov ecx, ebx
mov dword [edi], ebp
call fcn.00411f70
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x144
ret 8
push 0x6734
mov dword [ebx + 0x214], 0x6734
call fcn.0051c5a0
mov ecx, dword [ebx + 0x214]
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [ebx + 0x210], edi
add esp, 4
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebx + 0x210]
mov dword [eax], 0x133
mov ecx, dword [ebx + 0x210]
mov dword [ecx + 0x10], 0x233
mov edx, dword [ebx + 0x210]
mov dword [edx + 8], 0x14
mov ecx, dword [ebx + 0x210]
mov eax, dword [ebx + 0x214]
mov ecx, dword [ecx + 4]
mov edx, ecx
shl edx, 5
add edx, ecx
lea ecx, [edx*8 + 0x11c]
cmp eax, ecx
jae 0x412238
add eax, 0x6720
push eax
mov dword [esp + 0x18], eax
call fcn.0051c5a0
mov ecx, dword [ebx + 0x214]
mov esi, dword [ebx + 0x210]
mov edx, ecx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
add esp, 4
and ecx, 3
mov dword [esp + 0x10], eax
rep movsb byte es:[edi], byte [esi]
mov ecx, ebx
call fcn.00411e00
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [ebx + 0x210], eax
mov dword [ebx + 0x214], ecx
mov eax, dword [ebx + 0x210]
lea esi, [esp + 0x54]
mov ecx, dword [eax + 4]
mov edx, ecx
shl edx, 5
add edx, ecx
lea eax, [eax + edx*8 + 0x14]
mov edx, 0x100
mov dword [eax], ebp
add eax, 8
sub esi, eax
lea ecx, [edx + 0x7ffffefe]
test ecx, ecx
je 0x412275
mov cl, byte [esi + eax]
test cl, cl
je 0x412275
mov byte [eax], cl
inc eax
dec edx
jne 0x41225c
jmp 0x412279
test edx, edx
jne 0x41227a
dec eax
mov byte [eax], 0
mov eax, dword [ebx + 0x210]
mov ecx, dword [eax + 4]
inc ecx
mov dword [eax + 4], ecx
mov ecx, ebx
call fcn.00411f70
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x144
ret 8
Function at 0x4122f0
Capabilities:
Parse url

Disassembly:
sub esp, 0x140
push ebp
push esi
mov ebp, ecx
push edi
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x4d]
mov byte [esp + 0x4c], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0xe
xor eax, eax
lea edi, [esp + 0x14]
mov esi, 0x100
rep stosd dword es:[edi], eax
lea eax, [esp + 0x4c]
xor edi, edi
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x158]
cmp eax, edi
mov dword [esp + 0x10], 0x3c
mov dword [esp + 0x24], esi
je 0x4123fd
mov edx, dword [esp + 0x150]
lea ecx, [esp + 0x4c]
lea eax, [esp + 0x4c]
sub edx, ecx
lea ecx, [esi + 0x7ffffefe]
test ecx, ecx
je 0x412371
mov cl, byte [edx + eax]
test cl, cl
je 0x412371
mov byte [eax], cl
inc eax
dec esi
jne 0x412358
jmp 0x412375
cmp esi, edi
jne 0x412376
dec eax
mov byte [eax], 0
mov al, byte [esp + 0x4c]
push ebx
test al, al
mov dword [esp + 0x10], edi
je 0x41244b
mov eax, dword [ebp + 0x210]
cmp eax, edi
je 0x41244b
mov ecx, dword [eax + 4]
lea ebx, [eax + 0x14]
test ecx, ecx
jbe 0x41244b
lea esi, [ebx + 8]
cmp esi, 8
je 0x4123d4
cmp byte [esi], 0
je 0x4123d4
lea eax, [esp + 0x50]
mov ecx, ebp
push eax
push esi
call fcn.004122a0
test eax, eax
jne 0x412431
lea ecx, [esp + 0x50]
push esi
push ecx
call dword [0x5236f4]
test eax, eax
jne 0x412431
mov edx, dword [ebp + 0x210]
add ebx, 0x108
add esi, 0x108
inc edi
cmp edi, dword [edx + 4]
jb 0x4123a9
mov eax, dword [esp + 0x10]
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x140
ret 0xc
mov esi, dword [esp + 0x150]
lea edx, [esp + 0x10]
push edx
push 0x10000000
push esi
call dword [0x523308]
push eax
push esi
call dword [0x523ad8]
test eax, eax
jne 0x412379
pop edi
pop esi
pop ebp
add esp, 0x140
ret 0xc
mov ecx, dword [ebx]
xor eax, eax
test ecx, ecx
mov ecx, dword [esp + 0x158]
mov dword [esp + 0x10], 1
sete al
mov dword [ecx], eax
mov eax, dword [esp + 0x10]
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x140
ret 0xc