joyce8/EMBER2024-capa huggingface dataset:
Function at 0x101d1140
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x101d131e
pushal
mov esi, section.UPX1
lea edi, [esi - 0xe2000]
push edi
or ebp, 0xffffffff
jmp 0x101d116a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x101d1171
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x101d1160
mov eax, 1
add ebx, ebx
jne 0x101d1183
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x101d1194
jne 0x101d11b3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x101d11b3
dec eax
add ebx, ebx
jne 0x101d11a0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x101d1178
add ebx, ebx
jne 0x101d11af
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x101d1205
xor ecx, ecx
sub eax, 3
jb 0x101d11cb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x101d123a
sar eax, 1
mov ebp, eax
jmp 0x101d11d6
add ebx, ebx
jne 0x101d11d6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x101d11a4
inc ecx
add ebx, ebx
jne 0x101d11e4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x101d11a4
add ebx, ebx
jne 0x101d11f1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x101d11e6
jne 0x101d1202
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x101d11e6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x101d1224
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x101d1216
jmp 0x101d1166
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x101d1224
add edi, ecx
jmp 0x101d1166
pop esi
mov edi, esi
mov ecx, 0xda58d
mov al, 0xe8
repne scasb al, byte es:[edi]
jne 0x101d125f
cmp byte [edi], 0x2e
jne 0x101d1244
mov eax, dword [edi]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
add eax, esi
stosd dword es:[edi], eax
jmp 0x101d1242
lea edi, [esi + 0x1c8000]
mov eax, dword [edi]
or eax, eax
je 0x101d12b0
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1e2e00]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1e2f2c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x101d1265
mov ecx, edi
jns 0x101d1294
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1e2f30]
or eax, eax
je 0x101d12aa
mov dword [ebx], eax
add ebx, 4
jmp 0x101d1282
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x101d12e1
cmp al, 0xef
ja 0x101d12d4
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x101d12b6
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x101d12c3
mov ebp, dword [esi + 0x1e2f34]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x257]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x101d1315
sub esp, 0xffffff80
jmp 0x100a4585
Function at 0x401800
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x20330
call fcn.0040a050
mov eax, dword [0x4111b4]
xor eax, esp
mov dword [esp + 0x20328], eax
push ebp
push esi
push edi
xor eax, eax
push 0x206
mov esi, ecx
push eax
lea ecx, [esp + 0x132]
push ecx
mov word [esp + 0x134], ax
call fcn.00409aee
add esp, 0xc
xor edx, edx
push 0x1fffe
push edx
lea eax, [esp + 0x33a]
push eax
mov word [esp + 0x33c], dx
call fcn.00409aee
add esp, 0xc
xor ecx, ecx
push 0x80
push ecx
lea edx, [esp + 0x22]
push edx
mov word [esp + 0x24], cx
call fcn.00409aee
add esp, 0xc
xor eax, eax
push 0x80
push eax
lea ecx, [esp + 0xaa]
push ecx
mov word [esp + 0xac], ax
call fcn.00409aee
add esp, 0xc
test esi, esi
je 0x401990
push 0x104
lea edx, [esp + 0x12c]
push edx
push str._Config_Original_QQGameDebug.ini
push esi
call fcn.004086af
mov esi, eax
add esp, 0x10
mov dword [esp + 0x10], esi
test esi, esi
je 0x401978
mov ebp, dword [0x40b00c]
lea eax, [esp + 0x128]
push eax
push 0x40
lea ecx, [esp + 0x20]
push ecx
push 0x40c3e8
push str.DebuggerSwitchLevel
push str.QQGame
call ebp
lea ecx, [esp + 0x18]
call fcn.00401d70
mov edx, dword [ebx]
push eax
mov eax, dword [edx + 0x10]
push 1
mov ecx, ebx
call eax
lea ecx, [esp + 0x128]
push ecx
push 0x40
lea edx, [esp + 0x20]
push edx
push 0x40c3e8
push str.FileSwitchLevel
push str.QQGame
call ebp
lea ecx, [esp + 0x18]
call fcn.00401d70
mov edx, dword [ebx]
push eax
mov eax, dword [edx + 0x10]
push 0
mov ecx, ebx
call eax
lea ecx, [esp + 0x128]
push ecx
push 0x10000
lea edx, [esp + 0x338]
push edx
push str.SwitchLevels
call dword [0x40b048]
mov dword [esp + 0x14], eax
test eax, eax
jbe 0x401976
cmp word [esp + 0x330], 0
lea edi, [esp + 0x330]
mov dword [esp + 0xc], edi
jne 0x4019bc
mov eax, esi
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x20328]
xor ecx, esp
call fcn.00409ade
add esp, 0x20330
ret
xor eax, eax
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x20328]
xor ecx, esp
call fcn.00409ade
add esp, 0x20330
ret
mov edi, dword [esp + 0xc]
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
mov ecx, edi
lea edx, [esp + 0x330]
sub ecx, edx
sar ecx, 1
cmp ecx, eax
ja 0x401976
lea esi, [esp + 0x18]
call fcn.00401790
test eax, eax
je 0x401a34
lea eax, [esp + 0x128]
push eax
push 0x40
lea ecx, [esp + 0xa8]
push ecx
push str.Trace
mov edx, esi
push edx
push str.SwitchLevels
call ebp
lea ecx, [esp + 0xa0]
call fcn.00401d70
mov edi, eax
mov eax, dword [ebx]
mov edx, dword [eax]
mov ecx, esi
push ecx
mov ecx, ebx
call edx
mov ebp, eax
xor esi, esi
mov eax, dword [ebx]
mov edx, dword [eax + 0xc]
push edi
push ebp
push esi
mov ecx, ebx
call edx
inc esi
cmp esi, 2
jl 0x401a18
mov edi, dword [esp + 0xc]
mov ebp, dword [0x40b00c]
mov eax, edi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x401a40
sub eax, edx
sar eax, 1
lea eax, [edi + eax*2 + 2]
mov dword [esp + 0xc], eax
cmp word [eax], cx
jne 0x4019b0
mov ecx, dword [esp + 0x20334]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.00409ade
add esp, 0x20330
ret
Function at 0x401a80
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x420
mov eax, dword [0x4111b4]
xor eax, esp
mov dword [esp + 0x418], eax
push ebx
push ebp
push edi
xor eax, eax
push 0x206
mov edi, ecx
push eax
lea ecx, [esp + 0x1a]
push ecx
mov word [esp + 0x1c], ax
call fcn.00409aee
add esp, 0xc
test edi, edi
je 0x401b01
push 0x104
lea edx, [esp + 0x14]
push edx
push str._Config_Original_QQGameDebug.ini
push edi
call fcn.004086af
mov ebp, eax
add esp, 0x10
test ebp, ebp
je 0x401b7c
mov ebx, dword [0x40b04c]
lea eax, [esp + 0x10]
push eax
push 0
push str.Log2Debugger
push str.QQGame
call ebx
mov edx, dword [esi]
mov ecx, esi
test eax, eax
je 0x401b1b
mov eax, dword [edx + 0x18]
call eax
jmp 0x401b22
xor eax, eax
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x418]
xor ecx, esp
call fcn.00409ade
add esp, 0x420
ret
mov eax, dword [edx + 0x1c]
push 1
call eax
lea ecx, [esp + 0x10]
push ecx
push 0
push str.Log2File
push str.QQGame
call ebx
test eax, eax
je 0x401b6f
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x222]
push eax
mov word [esp + 0x224], dx
call fcn.00409aee
add esp, 0xc
lea ebx, [esp + 0x218]
call fcn.00401ba0
mov edx, dword [esi]
mov edx, dword [edx + 0x14]
mov eax, ebx
push eax
jmp 0x401b76
mov eax, dword [esi]
mov edx, dword [eax + 0x1c]
push 0
mov ecx, esi
call edx
mov eax, ebp
mov ecx, dword [esp + 0x424]
pop edi
pop ebp
pop ebx
xor ecx, esp
call fcn.00409ade
add esp, 0x420
ret

Function at 0x402240
Capabilities:
Create thread

Disassembly:
push esi
mov esi, edx
test eax, eax
je 0x4022bd
test ecx, ecx
je 0x4022bd
cmp dword [esi + 0x1c], 0
jne 0x4022bd
cmp dword [esi + 0x20], 0
jne 0x4022bd
cmp dword [esi + 0x24], 0
jne 0x4022bd
cmp dword [esi + 0x30], 0
jne 0x4022bd
mov dword [esi + 0x30], ecx
push eax
mov ecx, esi
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 1
call dword [0x40b15c]
call fcn.004024c0
test eax, eax
je 0x4022bd
push 0
push 0
push 0
push 0
call dword [0x40b0dc]
mov dword [esi + 0x20], eax
test eax, eax
je 0x4022bd
push 0
push 0
push esi
push 0x402420
push 0
push 0
call dword [0x40b068]
xor ecx, ecx
test eax, eax
setne cl
mov dword [esi + 0x1c], eax
pop esi
mov eax, ecx
ret
xor eax, eax
pop esi
ret
Function at 0x4027a9
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
lea ebp, [esp - 0x1b4]
sub esp, 0x234
mov eax, dword [0x4111b4]
xor eax, ebp
mov dword [ebp + 0x1b0], eax
push ebx
push esi
push edi
xor edi, edi
push 0x228
lea eax, [ebp - 0x78]
push edi
push eax
mov dword [ebp - 0x7c], edi
call fcn.00409aee
add esp, 0xc
push edi
push 2
call fcn.00403e86
mov esi, eax
lea eax, [ebp - 0x7c]
push eax
push esi
mov dword [ebp - 0x80], esi
mov dword [ebp - 0x7c], 0x22c
call fcn.00403e80
lea eax, [ebp - 0x7c]
push eax
push esi
call fcn.00403e7a
mov ebx, dword [0x40b03c]
jmp 0x40282d
lea eax, [ebp - 0x58]
push 0x40b464
push eax
call dword [0x40b35c]
pop ecx
pop ecx
test eax, eax
je 0x402833
lea eax, [ebp - 0x7c]
push eax
push esi
call fcn.00403e7a
test eax, eax
jne 0x40280e
jmp 0x402861
push dword [ebp - 0x74]
push edi
push 1
call dword [0x40b070]
mov esi, eax
cmp esi, edi
je 0x402861
push dword [ebp + 0x1bc]
push esi
call dword [0x40b0cc]
test eax, eax
je 0x40285e
push edi
push esi
call dword [0x40b0d0]
push esi
call ebx
push dword [ebp - 0x80]
call ebx
mov ecx, dword [ebp + 0x1b0]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00409ade
add ebp, 0x1b4
leave
ret 4

Function at 0x402e0c
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x810
mov eax, dword [0x4111b4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x810], eax
mov eax, dword [ebp + 0x18]
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x808], eax
xor eax, eax
push 0x7fe
push eax
mov word [ebp - 0x804], ax
lea eax, [ebp - 0x802]
push eax
mov dword [ebp - 0x80c], ecx
call fcn.00409aee
add esp, 0xc
push esi
push 0x400
lea eax, [ebp - 0x804]
push eax
push dword [ebp - 0x810]
push ebx
push edi
call dword [0x40b00c]
push dword [ebp + 0x1c]
mov ecx, dword [ebp - 0x80c]
push dword [ebp - 0x808]
lea eax, [ebp - 0x804]
push eax
call fcn.00402d17
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00409ade
leave
ret 0x18

Function at 0x402ea8
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4111b4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
mov ebx, ecx
call fcn.00409aee
add esp, 0xc
push esi
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0
push str.Path
push 0x40b5b4
call dword [0x40b00c]
lea eax, [ebp - 0x20c]
push eax
mov ecx, ebx
call fcn.0040299d
mov ecx, ebx
test eax, eax
jne 0x402f43
lea eax, [ebp - 0x20c]
push eax
call fcn.00402972
push dword [ebp + 0x10]
test eax, eax
push edi
lea eax, [ebp - 0x20c]
mov ecx, ebx
push eax
je 0x402f3c
push esi
call fcn.00402d95
jmp 0x402f4d
call fcn.00402ea8
jmp 0x402f4d
push esi
push dword [ebp + 0x10]
push edi
call fcn.00402c2f
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00409ade
leave
ret 0xc
Function at 0x40301d
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x434
mov eax, dword [0x4111b4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov dword [ebp - 0x42c], eax
xor eax, eax
mov ebx, dword [ebp + 8]
mov word [ebp - 0x18], ax
mov esi, dword [ebp + 0xc]
lea edi, [ebp - 0x16]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0xa
stosw word es:[edi], ax
lea eax, [ebp - 0x18]
push eax
push 0x40b648
push str.NotUseDefaultDllPath
push 0x40b614
push ebx
mov dword [ebp - 0x430], ecx
mov dword [ebp - 0x434], esi
call fcn.00402e0c
cmp word [ebp - 0x18], 0x31
jne 0x403094
push dword [ebp + 0x14]
mov ecx, dword [ebp - 0x430]
push dword [ebp - 0x42c]
push esi
jmp 0x403133
xor eax, eax
mov edi, 0x206
push edi
push eax
mov word [ebp - 0x428], ax
lea eax, [ebp - 0x426]
push eax
call fcn.00409aee
add esp, 0xc
push ebx
mov esi, 0x104
push esi
lea eax, [ebp - 0x428]
push eax
push 0
push str.DllPath
push str.DefaultValue
call dword [0x40b00c]
xor eax, eax
push edi
push eax
mov word [ebp - 0x220], ax
lea eax, [ebp - 0x21e]
push eax
call fcn.00409aee
add esp, 0xc
push esi
mov esi, dword [ebp - 0x430]
lea eax, [ebp - 0x220]
push eax
push dword [ebp - 0x434]
lea eax, [ebp - 0x428]
push eax
mov ecx, esi
call fcn.00402cb7
lea eax, [ebp - 0x220]
push eax
mov ecx, esi
call fcn.00402972
test eax, eax
mov ecx, esi
lea eax, [ebp - 0x220]
je 0x40313b
push dword [ebp + 0x14]
push dword [ebp - 0x42c]
push eax
push ebx
call fcn.00402d95
jmp 0x40314a
push eax
push dword [ebp + 0x14]
push dword [ebp - 0x42c]
call fcn.00402c2f
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00409ade
leave
ret 0x10

Function at 0x403340
Capabilities:
Enumerate process modules

Disassembly:
push ebp
sub esp, 0x428
lea ebp, [esp - 4]
mov eax, dword [0x4111b4]
xor eax, ebp
mov dword [ebp + 0x428], eax
push 0xc
mov eax, 0x40a5f8
call fcn.00409b4c
lea ecx, [ebp - 0x18]
call fcn.004032fd
xor edi, edi
push edi
push 8
mov dword [ebp - 4], edi
call fcn.00403e86
mov ebx, eax
cmp ebx, 0xffffffff
je 0x40341b
cmp dword [ebp - 0x14], edi
je 0x40341b
push 0x424
lea eax, [ebp + 4]
push edi
push eax
call fcn.00409aee
add esp, 0xc
lea eax, [ebp]
push eax
push ebx
mov dword [ebp], 0x428
call fcn.00403e92
mov esi, dword [0x40b004]
jmp 0x4033d2
push str.TenioDllFreeMap
push dword [ebp + 0x1c]
call esi
cmp eax, edi
je 0x4033c8
call eax
lea eax, [ebp]
push eax
push ebx
call fcn.00403e8c
test eax, eax
jne 0x4033b8
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx]
call dword [eax + 0x2c]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx]
push 1
call dword [eax + 8]
lea eax, [ebp]
push eax
push ebx
call fcn.00403e92
jmp 0x403410
push str.TenioSetDllSafe
push dword [ebp + 0x1c]
call esi
cmp eax, edi
je 0x403406
push edi
call eax
pop ecx
lea eax, [ebp]
push eax
push ebx
call fcn.00403e8c
test eax, eax
jne 0x4033f4
push ebx
call dword [0x40b03c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x428]
xor ecx, ebp
call fcn.00409ade
add ebp, 0x42c
leave
ret
Function at 0x40367f
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa0c
mov eax, dword [0x4111b4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor eax, eax
push 0x7fe
push eax
mov word [ebp - 0xa0c], ax
lea eax, [ebp - 0xa0a]
push eax
call fcn.00409aee
add esp, 0xc
push 0
call dword [0x40b0d4]
test eax, eax
je 0x403781
mov esi, 0x400
push esi
lea ecx, [ebp - 0xa0c]
push ecx
push eax
call dword [0x40b0d8]
test eax, eax
je 0x4036f4
lea eax, [ebp - 0xa0c]
push 0x5c
push eax
call dword [0x40b374]
pop ecx
pop ecx
test eax, eax
je 0x4036f4
xor ecx, ecx
mov word [eax + 2], cx
lea eax, [ebp - 0xa0c]
push eax
call dword [0x40b354]
pop ecx
test eax, eax
jbe 0x403781
push esi
lea eax, [ebp - 0xa0c]
push str.configOriginalCreateResource.ini
push eax
call dword [0x40b340]
add esp, 0xc
test eax, eax
je 0x403781
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.00409aee
add esp, 0xc
lea eax, [ebp - 0xa0c]
push eax
push 0x104
lea eax, [ebp - 0x20c]
push eax
push str.true
push str.Created
push str.CreateRes
call dword [0x40b00c]
lea eax, [ebp - 0x20c]
push str.false
push eax
call dword [0x40b35c]
neg eax
pop ecx
sbb eax, eax
pop ecx
inc eax
jmp 0x403783
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00409ade
leave
ret
Function at 0x40434d
Capabilities:
Get file version info

Disassembly:
push ebp
sub esp, 0x224
lea ebp, [esp - 4]
mov eax, dword [0x4111b4]
xor eax, ebp
mov dword [ebp + 0x224], eax
push 0x14
mov eax, 0x40a7ca
call fcn.00409b4c
mov ecx, dword [ebp + 0x234]
mov edi, dword [ebp + 0x230]
xor ebx, ebx
push ebx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x20], ebx
call dword [0x40b1dc]
push eax
call fcn.0040a5d0
mov esi, eax
cmp esi, ebx
jne 0x4043af
push 0x40c360
mov ecx, edi
call dword [0x40b1d4]
mov eax, edi
jmp 0x40448d
lea ecx, [ebp]
call dword [0x40b164]
push esi
mov dword [ebp - 4], 1
call fcn.0040a03c
push esi
mov edi, eax
push ebx
push edi
call fcn.00409aee
mov ecx, dword [ebp - 0x10]
add esp, 0x10
push edi
push esi
push ebx
call dword [0x40b1dc]
push eax
call fcn.0040a5ca
test eax, eax
je 0x404463
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x1c]
push eax
push str.VarFileInfoTranslation
push edi
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x1c], ebx
call fcn.0040a5c4
xor eax, eax
push 0x206
mov word [ebp + 0x1c], ax
lea eax, [ebp + 0x1e]
push ebx
push eax
call fcn.00409aee
mov eax, dword [ebp - 0x1c]
movzx ecx, word [eax + 2]
movzx eax, word [eax]
push ecx
push eax
push 0x40bd30
lea eax, [ebp + 0x1c]
push 0x104
push eax
call dword [0x40b2f8]
add esp, 0x20
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp + 0x1c]
push eax
push edi
mov dword [ebp - 0x14], ebx
call fcn.0040a5c4
test eax, eax
je 0x404463
cmp dword [ebp - 0x14], ebx
je 0x404463
push dword [ebp - 0x14]
lea ecx, [ebp]
call dword [0x40b15c]
push edi
call fcn.0040a036
pop ecx
mov ecx, dword [ebp - 0x18]
lea eax, [ebp]
push eax
call dword [0x40b100]
lea ecx, [ebp]
mov dword [ebp - 0x20], 1
mov byte [ebp - 4], bl
call dword [0x40b1e0]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x224]
xor ecx, ebp
call fcn.00409ade
add ebp, 0x228
leave
ret
Function at 0x40586b
Capabilities:
Create process on windows
Terminate process

Disassembly:
push ebp
sub esp, 0x224
lea ebp, [esp - 4]
mov eax, dword [0x4111b4]
xor eax, ebp
mov dword [ebp + 0x224], eax
push 0x58
mov eax, 0x40a9aa
call fcn.00409b4c
mov edi, dword [ebp + 0x230]
push 0x31
push 0x40bf40
push 0x40bed0
xor ebx, ebx
push ebx
call dword [0x40b3b8]
xor esi, esi
inc esi
cmp eax, esi
jne 0x4059d4
push str.Click_OK_Btn__Terminate_Process_and_Open_URL
lea ecx, [ebp - 0x28]
call dword [0x40b1d4]
push dword [ebp + 0x234]
lea eax, [ebp - 0x28]
push eax
push edi
mov dword [ebp - 4], ebx
call fcn.0040420f
or dword [ebp - 4], 0xffffffff
add esp, 0xc
lea ecx, [ebp - 0x28]
call dword [0x40b1e0]
push 5
push ebx
push str.http:__qqgame.qq.com
push str.iexplore
push ebx
push ebx
call dword [0x40b388]
xor eax, eax
push 0x206
mov word [ebp + 0x1c], ax
lea eax, [ebp + 0x1e]
push ebx
push eax
call fcn.00409aee
add esp, 0xc
push ebx
call dword [0x40b0d4]
push 0x104
lea ecx, [ebp + 0x1c]
push ecx
push eax
call dword [0x40b0d8]
lea eax, [ebp + 0x1c]
push eax
lea ecx, [ebp - 0x28]
call dword [0x40b1d4]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp]
push eax
mov dword [ebp - 4], esi
call fcn.0040434d
pop ecx
pop ecx
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call dword [0x40b1e0]
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp]
call dword [0x40b14c]
mov esi, eax
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp]
call dword [0x40b150]
mov edi, eax
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp]
call dword [0x40b14c]
push dword [0x40b338]
push dword [esi + 4]
push dword [esi]
push dword [edi + 4]
push dword [edi]
push dword [eax + 4]
push dword [eax]
lea eax, [ebp - 0x30]
push eax
call fcn.00402050
push str.qqgame.exe
lea eax, [ebp]
push eax
call dword [0x40b158]
add esp, 0x28
test al, al
je 0x4059c3
push ebx
call dword [0x40b01c]
push eax
call dword [0x40b0d0]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp]
call dword [0x40b1e0]
xor eax, eax
jmp 0x405a0b
push str.Click_Cancel_Btn
lea ecx, [ebp - 0x64]
call dword [0x40b1d4]
push dword [ebp + 0x234]
lea eax, [ebp - 0x64]
push eax
push edi
mov dword [ebp - 4], 4
call fcn.0040420f
or dword [ebp - 4], 0xffffffff
add esp, 0xc
lea ecx, [ebp - 0x64]
call dword [0x40b1e0]
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 + 0x224]
xor ecx, ebp
call fcn.00409ade
add ebp, 0x228
leave
ret
Function at 0x408521
Capabilities:
Check os version
Get system information on windows

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x144
mov eax, dword [0x4111b4]
xor eax, ebp
mov dword [ebp + 0x74], eax
push ebx
push esi
push 0x118
xor ebx, ebx
lea eax, [ebp - 0xa4]
push ebx
push eax
call fcn.00409aee
mov esi, dword [0x40b094]
add esp, 0xc
lea eax, [ebp - 0xa8]
push eax
mov dword [ebp - 0xa8], 0x11c
call esi
test eax, eax
jne 0x408587
lea eax, [ebp - 0xa8]
push eax
mov dword [ebp - 0xa8], 0x114
call esi
test eax, eax
je 0x40869c
push edi
push 8
pop ecx
push str.GetNativeSystemInfo
xor eax, eax
mov dword [ebp - 0xcc], ebx
lea edi, [ebp - 0xc8]
push 0x40c184
rep stosd dword es:[edi], eax
call dword [0x40b0d4]
push eax
call dword [0x40b004]
pop edi
cmp eax, ebx
je 0x4085c2
lea ecx, [ebp - 0xcc]
push ecx
call eax
jmp 0x4085cf
lea eax, [ebp - 0xcc]
push eax
call dword [0x40b090]
cmp dword [ebp - 0x98], 2
jne 0x40864e
cmp dword [ebp - 0xa4], 4
ja 0x4085e5
push 5
jmp 0x40864b
cmp dword [ebp - 0xa4], 5
jne 0x408627
cmp dword [ebp - 0xa0], ebx
jne 0x4085fa
push 6
jmp 0x40864b
xor eax, eax
inc eax
cmp dword [ebp - 0xa0], eax
jne 0x408609
push 7
jmp 0x40864b
cmp dword [ebp - 0xa0], 2
jne 0x408649
cmp byte [ebp + 0x72], al
jne 0x408623
push 9
pop eax
cmp word [ebp - 0xcc], ax
je 0x40869e
push 8
jmp 0x40864b
cmp dword [ebp - 0xa4], 6
jne 0x408649
cmp dword [ebp - 0xa0], ebx
jne 0x40863c
push 0xa
jmp 0x40864b
cmp dword [ebp - 0xa0], 1
jne 0x408649
push 0xb
jmp 0x40864b
push 0x14
pop eax
jmp 0x40869e
xor eax, eax
inc eax
cmp dword [ebp - 0x98], eax
jne 0x40869c
cmp dword [ebp - 0xa4], 4
jne 0x40869c
cmp dword [ebp - 0xa0], ebx
je 0x40869e
cmp dword [ebp - 0xa0], 0xa
jne 0x40868f
cmp word [ebp - 0x92], 0x41
je 0x40868b
cmp word [ebp - 0x92], 0x42
je 0x40868b
push 2
jmp 0x40864b
push 3
jmp 0x40864b
cmp dword [ebp - 0xa0], 0x5a
jne 0x40869c
push 4
jmp 0x40864b
xor eax, eax
mov ecx, dword [ebp + 0x74]
pop esi
xor ecx, ebp
pop ebx
call fcn.00409ade
add ebp, 0x78
leave
ret

Function at 0x408703
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [0x40b098]
test eax, eax
jbe 0x40873b
push dword [ebp + 8]
call dword [0x40b354]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [0x40b2d4]
add esp, 0x10
test eax, eax
je 0x40873b
xor eax, eax
inc eax
pop ebp
ret
xor eax, eax
pop ebp
ret