joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42661f
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x4bca50]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, ecx
xor ebx, ebx
xor edx, edx
cmp dword [esi + 0x40], ebx
je 0x42664a
mov edx, dword [esi + 0x34]
mov eax, 0x1ffff
sub eax, dword [esi + 0x34]
jmp 0x42666b
mov eax, dword [esi + 0x38]
cmp eax, ebx
jne 0x42665d
cmp dword [esi + 0x54], ebx
je 0x42665d
mov eax, 0x20000
jmp 0x42666b
sub eax, dword [esi + 0x34]
mov ecx, 0x20000
cmp eax, ecx
jb 0x42666b
mov eax, ecx
push ebx
push eax
mov eax, dword [esi + 0x30]
add eax, edx
push eax
push dword [esi + 0x2c]
call dword [sym.imp.WS2_32.dll_recv]
mov dword [esi + 0x44], ebx
cmp eax, 0xffffffff
je 0x4267b6
cmp eax, ebx
je 0x4267e7
add dword [esi + 0x34], eax
mov ecx, dword [esi + 0x34]
cmp dword [esi + 0x40], ebx
je 0x426765
mov eax, dword [esi + 0x30]
mov byte [ecx + eax], bl
mov eax, dword [esi + 0x30]
push str._r_n_r_n
push eax
call fcn.00473e80
mov edi, eax
pop ecx
pop ecx
cmp edi, ebx
jne 0x4266e8
cmp dword [esi + 0x34], 0x800
mov dword [esi + 0x54], ebx
jbe 0x42677c
push 0x21
push 0x478
push dword [esi + 4]
push dword [esi + 0x2c]
call dword [sym.imp.WS2_32.dll_WSAAsyncSelect]
call fcn.0042657e
jmp 0x4267ef
mov eax, dword [esi + 0x30]
add edi, 4
mov ecx, edi
sub ecx, eax
push ecx
push eax
lea ecx, [ebp - 0x20]
call fcn.004267f9
lea eax, [esi + 0x38]
push eax
lea eax, [ebp - 0x20]
call fcn.004261cd
mov ecx, dword [esi + 0x28]
cmp ecx, ebx
je 0x42671f
mov eax, dword [ecx]
lea edx, [ebp - 0x20]
push edx
push dword [esi + 0x3c]
call dword [eax + 8]
test eax, eax
jne 0x426745
mov eax, dword [esi + 0x30]
mov ecx, dword [esi + 0x34]
sub eax, edi
add eax, ecx
cmp eax, ebx
je 0x426752
mov ecx, dword [esi + 0x28]
mov dword [esi + 0x34], eax
cmp ecx, ebx
je 0x426755
mov edx, dword [ecx]
push eax
push edi
push dword [esi + 0x3c]
call dword [edx + 0xc]
test eax, eax
je 0x426755
push ebx
push 1
lea ecx, [ebp - 0x20]
call fcn.004028c7
jmp 0x4267a4
mov dword [esi + 0x34], ebx
push ebx
push 1
lea ecx, [ebp - 0x20]
mov dword [esi + 0x40], ebx
call fcn.004028c7
jmp 0x42677c
mov ecx, dword [esi + 0x28]
cmp ecx, ebx
je 0x42677c
mov edx, dword [ecx]
push eax
push dword [esi + 0x30]
push dword [esi + 0x3c]
call dword [edx + 0xc]
test eax, eax
jne 0x4267a4
mov eax, dword [esi + 0x38]
cmp dword [esi + 0x34], eax
jne 0x426788
cmp eax, ebx
jne 0x426791
cmp dword [esi + 0x54], ebx
je 0x426636
call fcn.0042657e
mov ecx, dword [esi + 0x28]
cmp ecx, ebx
je 0x4267a4
push dword [esi + 0x3c]
mov eax, dword [ecx]
call dword [eax]
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047099a
leave
ret
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, eax
cmp edi, 0x2733
je 0x4267a4
cmp edi, 0x2736
je 0x4267a4
call fcn.0042657e
mov ecx, dword [esi + 0x28]
cmp ecx, ebx
je 0x4267e3
push edi
push dword [esi + 0x3c]
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
jmp 0x4267a7
mov eax, dword [esi + 0x34]
cmp eax, dword [esi + 0x38]
je 0x4267a4
mov ecx, dword [esi + 0x28]
cmp ecx, ebx
je 0x4267e3
push ebx
jmp 0x4267db
Function at 0x426984
Capabilities:
Create thread

Disassembly:
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
push ebx
xor ebx, ebx
mov dword [edi + 4], ebx
mov dword [edi + 0x14], ebx
push esi
mov dword [edi + 0x18], ebx
mov dword [edi + 0x1c], ebx
mov dword [edi + 0x20], eax
mov dword [edi + 0x24], vtable.IAsynHttpClientEvent.0
lea esi, [edi + 0x2c]
mov dword [edi], vtable.AsynHttpFileClientImpl.0
mov dword [edi + 0x24], vtable.AsynHttpFileClientImpl.1.0
call fcn.004287f3
lea ecx, [edi + 0x44]
call fcn.0042894f
lea ecx, [edi + 0x60]
call fcn.0042894f
lea ecx, [edi + 0x88]
mov dword [edi + 0x7c], 0x1e
mov dword [edi + 0x84], ebx
call fcn.004018e1
lea ecx, [edi + 0xa4]
call fcn.004018e1
lea ecx, [edi + 0xc0]
call fcn.004018e1
lea ecx, [edi + 0xdc]
call fcn.004018e1
lea ecx, [edi + 0xf8]
call fcn.004018e1
lea ecx, [edi + 0x114]
call fcn.004018e1
lea ecx, [edi + 0x130]
call fcn.004032e9
lea ecx, [edi + 0x14c]
call fcn.004032e9
xor eax, eax
push 0x108
mov dword [edi + 0x168], ebx
mov dword [edi + 0x16c], ebx
mov dword [edi + 0x178], ebx
mov word [edi + 0x17c], ax
call fcn.004709c4
pop ecx
cmp eax, ebx
je 0x426a60
mov esi, eax
call fcn.00429553
jmp 0x426a62
xor eax, eax
push ebx
push ebx
push edi
push 0x42861c
push ebx
push ebx
mov dword [edi + 0x80], eax
call fcn.00471725
add esp, 0x18
pop esi
mov dword [edi + 0x174], eax
mov eax, edi
pop ebx
ret
Function at 0x427344
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
mov ebx, ecx
push edi
mov edi, dword [ebp + 8]
lea esi, [ebx + 8]
mov dword [esp + 0x10], ebx
call fcn.00403fdc
cmp dword [ebx + 0x144], 0
mov esi, dword [eax]
je 0x427519
test esi, esi
je 0x427519
mov edi, dword [ebp + 0xc]
and dword [esp + 0x14], 0
lea eax, [esp + 0x14]
push eax
mov eax, edi
call fcn.00426206
mov ecx, dword [esp + 0x14]
cmp ecx, 0x190
jb 0x4273ae
mov esi, dword [esi]
call fcn.0042657e
mov dword [ebx + 0x60], 3
xor eax, eax
inc eax
jmp 0x42751b
mov eax, dword [ebx + 0x144]
cmp eax, 1
jne 0x4273eb
cmp ecx, 0x12e
jne 0x4273f0
lea ecx, [ebx + 0x9c]
push edi
mov edi, str.Location:
mov dword [esp + 0x18], ecx
call fcn.0042623d
mov edx, dword [esp + 0x14]
add ebx, 0xffffffdc
mov ecx, ebx
call fcn.00427839
call fcn.00427b83
jmp 0x427435
cmp eax, 2
jne 0x42744a
cmp ecx, 0xc8
jne 0x4273a6
push 0xffffffffffffffff
push 0
lea eax, [ebx + 0x80]
push eax
lea ecx, [ebx + 0x9c]
call fcn.004019a1
lea eax, [ebx + 0x148]
push eax
mov eax, edi
call fcn.004261cd
push edi
lea ecx, [ebx + 0xb8]
mov edi, str.Last_Modified:
call fcn.0042623d
add ebx, 0xffffffdc
call fcn.00427ce8
test eax, eax
jne 0x4273a6
mov eax, dword [esp + 0x10]
mov dword [eax + 0x60], 3
jmp 0x427470
push 3
pop edi
cmp eax, edi
jne 0x42747c
cmp ecx, 0xce
jne 0x4273a6
lea eax, [ebx - 0x24]
call fcn.00428279
test eax, eax
jne 0x4273a6
mov dword [ebx + 0x60], edi
mov esi, dword [esi]
call fcn.0042657e
jmp 0x4273a6
cmp eax, 4
jne 0x4273a6
cmp ecx, 0x130
jne 0x4274b7
cmp dword [ebx + 0x7c], 8
jb 0x427498
mov eax, dword [ebx + 0x68]
jmp 0x42749b
lea eax, [ebx + 0x68]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4274b2
mov dword [ebx + 0x60], 2
jmp 0x4273a6
add ebx, 0xffffffdc
jmp 0x42750f
cmp ecx, 0xc8
jne 0x4273a6
cmp dword [ebx + 0x7c], 8
jb 0x4274ce
mov eax, dword [ebx + 0x68]
jmp 0x4274d1
lea eax, [ebx + 0x68]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x427505
cmp dword [ebx + 0x7c], 8
jb 0x4274e7
mov eax, dword [ebx + 0x68]
jmp 0x4274ea
lea eax, [ebx + 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
add ebx, 0xffffffdc
mov ecx, ebx
call fcn.004284b7
test eax, eax
jne 0x4273a6
jmp 0x427508
add ebx, 0xffffffdc
mov eax, ebx
call fcn.00428589
call fcn.0042830f
jmp 0x4273a6
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x427839
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov eax, dword [0x4bca50]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 7
pop ebx
mov esi, ecx
push 0
lea ecx, [ebp - 0x20]
mov edi, edx
mov dword [ebp - 8], ebx
call fcn.00401cdf
push 0
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x24], ebx
call fcn.00401cdf
lea eax, [esi + 0x17c]
push eax
lea ebx, [ebp - 0x20]
mov eax, edi
call fcn.0042689a
pop ecx
lea ebx, [esi + 0x130]
push ebx
lea eax, [ebp - 0x20]
call fcn.00429236
pop ecx
lea eax, [ebp - 0x3c]
push eax
mov eax, edi
call fcn.00426938
pop ecx
lea eax, [esi + 0x14c]
push eax
lea eax, [ebp - 0x3c]
call fcn.00429236
pop ecx
xor edi, edi
push edi
push 1
call fcn.0040215a
pop ecx
pop ecx
cmp eax, edi
je 0x4278c5
lea ecx, [ebp - 0x5c]
mov dword [eax], ecx
mov dword [ebp - 0x5c], eax
jmp 0x4278c8
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x44], 0x1e
dec dword [ebp - 0x44]
lea eax, [ebp - 0x5c]
call fcn.004289c1
cmp dword [ebx + 0x18], 0x10
jb 0x4278ee
mov eax, dword [ebx + 4]
jmp 0x4278f1
lea eax, [ebx + 4]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov edi, eax
test edi, edi
jne 0x42791e
cmp dword [ebx + 0x18], 0x10
jb 0x427909
mov eax, dword [ebx + 4]
jmp 0x42790c
lea eax, [ebx + 4]
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [esi + 0x178], eax
jmp 0x4279a4
mov eax, dword [edi + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [esi + 0x178], eax
mov eax, dword [edi + 0xc]
cmp dword [eax], 0
je 0x4279a4
and dword [ebp - 0x40], 0
mov ecx, dword [ebp - 0x40]
mov eax, dword [ecx + eax]
mov ecx, dword [ebp - 0x50]
mov eax, dword [eax]
add dword [ebp - 0x40], 4
mov dword [ebp - 0x60], eax
test ecx, ecx
jne 0x427951
xor eax, eax
jmp 0x427959
mov eax, dword [ebp - 0x48]
sub eax, ecx
sar eax, 2
mov edx, dword [ebp - 0x4c]
sub edx, ecx
sar edx, 2
cmp edx, eax
mov eax, dword [ebp - 0x4c]
jae 0x427975
mov ecx, dword [ebp - 0x60]
mov dword [eax], ecx
add eax, 4
mov dword [ebp - 0x4c], eax
jmp 0x427998
mov dword [ebp - 0x64], eax
cmp ecx, eax
jbe 0x427981
call fcn.004705d9
push dword [ebp - 0x64]
mov eax, dword [ebp - 0x5c]
push eax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x5c]
call fcn.004021f6
mov eax, dword [edi + 0xc]
mov ecx, dword [ebp - 0x40]
cmp dword [ecx + eax], 0
jne 0x427937
mov eax, dword [ebp - 0x4c]
sub eax, dword [ebp - 0x50]
sar eax, 2
test eax, eax
ja 0x4279c6
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp - 0x44], 0
jne 0x4278d8
mov ebx, esi
call fcn.004276f8
push esi
lea ebx, [ebp - 0x5c]
call fcn.0042757a
xor esi, esi
cmp dword [ebp - 0x50], esi
je 0x4279e6
push dword [ebp - 0x50]
call fcn.00470471
pop ecx
push dword [ebp - 0x5c]
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x48], esi
call fcn.00470471
pop ecx
push esi
push 1
lea ecx, [ebp - 0x3c]
call fcn.00401a58
push esi
push 1
lea ecx, [ebp - 0x20]
call fcn.00401a58
mov ecx, dword [ebp - 4]
pop edi
xor eax, eax
pop esi
xor ecx, ebp
inc eax
pop ebx
call fcn.0047099a
leave
ret
Function at 0x428391
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xcc
mov eax, dword [0x4bca50]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
cmp dword [esi + 0xa0], 8
push edi
jb 0x4283ba
mov eax, dword [esi + 0x8c]
jmp 0x4283c0
lea eax, [esi + 0x8c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4284a6
cmp dword [esi + 0xa0], 8
jb 0x4283e0
mov eax, dword [esi + 0x8c]
jmp 0x4283e6
lea eax, [esi + 0x8c]
lea ecx, [ebp - 0xc8]
push ecx
push eax
call fcn.00475996
pop ecx
pop ecx
test eax, eax
jne 0x428488
mov eax, dword [ebp - 0xb4]
cmp eax, dword [esi + 0x16c]
jne 0x428488
lea eax, [ebp - 0xa8]
push eax
call fcn.0047586e
mov edi, eax
pop ecx
test edi, edi
je 0x428488
push 0x70
lea eax, [ebp - 0x78]
push 0
push eax
call fcn.00470920
add esp, 0xc
push edi
push 0x4ad864
lea eax, [ebp - 0x78]
push 0x38
push eax
call fcn.00475fec
add esp, 0x10
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp - 0x94]
call fcn.004018f6
lea ecx, [ebp - 0x94]
mov ebx, esi
call fcn.00427e70
mov ebx, eax
neg ebx
push 0
sbb bl, bl
push 1
lea ecx, [ebp - 0x94]
inc bl
call fcn.00401a58
test bl, bl
je 0x428483
mov dword [esi + 0x84], 3
xor eax, eax
inc eax
jmp 0x4284a8
cmp dword [esi + 0xa0], 8
jb 0x428499
mov esi, dword [esi + 0x8c]
jmp 0x42849f
add esi, 0x8c
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047099a
leave
ret

Function at 0x4284b7
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4bca50]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov ebx, ecx
mov esi, dword [ebx + 0x80]
cmp dword [esi + 0x78], 8
push edi
jb 0x4284dd
mov eax, dword [esi + 0x64]
jmp 0x4284e0
lea eax, [esi + 0x64]
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push eax
call edi
test eax, eax
je 0x428578
lea eax, [esi + 0x7c]
cmp dword [eax + 0x18], 8
jb 0x4284ff
mov eax, dword [eax + 4]
jmp 0x428502
add eax, 4
push eax
call edi
test eax, eax
je 0x428578
mov edi, dword [ebx + 0x80]
call fcn.004297fe
test eax, eax
je 0x428578
mov eax, dword [ebx + 0x80]
mov ecx, dword [ebx + 0x16c]
cmp ecx, dword [eax + 0x34]
jne 0x428578
xor esi, esi
push esi
lea ecx, [ebp - 0x20]
mov dword [ebp - 8], 7
call fcn.00401cdf
mov eax, dword [ebx + 0x80]
push 0xffffffffffffffff
push esi
add eax, 0xd0
push eax
lea ecx, [ebp - 0x20]
call fcn.004019a1
lea ecx, [ebp - 0x20]
call fcn.00427e70
test eax, eax
jne 0x428568
mov dword [ebx + 0x84], 3
push esi
push 1
lea ecx, [ebp - 0x20]
call fcn.00401a58
xor eax, eax
inc eax
jmp 0x42857a
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047099a
leave
ret
Function at 0x42944c
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x4bca50]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
xor edi, edi
push edi
lea eax, [ebp - 0x20]
push eax
mov ebx, ecx
push edi
push ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x20], edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push edi
lea eax, [ebp - 0x14]
push eax
push 4
lea eax, [ebp - 0x10]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [ebp - 0x14], 4
jae 0x429497
xor eax, eax
jmp 0x429545
mov ebx, dword [ebp - 0x10]
cmp ebx, edi
je 0x429490
push ebx
call fcn.0046f72f
pop ecx
mov dword [ebp - 0x18], eax
cmp eax, edi
je 0x429490
push edi
lea eax, [ebp - 0x20]
push eax
push edi
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push edi
lea eax, [ebp - 0x14]
push eax
push ebx
push dword [ebp - 0x18]
mov dword [ebp - 0x14], edi
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [ebp - 0x14], ebx
jae 0x4294e3
push dword [ebp - 0x18]
call fcn.00470646
pop ecx
jmp 0x429490
mov eax, dword [ebp - 0x18]
push ebx
mov edx, esi
call fcn.0042936c
lea edx, [esi + 4]
push ebx
call fcn.0042936c
lea edx, [esi + 8]
push ebx
call fcn.0042936c
lea edx, [esi + 0xc]
push ebx
call fcn.0042936c
lea edx, [esi + 0x10]
push ebx
mov dword [ebp - 0x1c], edx
call fcn.0042936c
lea edi, [esi + 0x14]
push ebx
call fcn.004293c8
lea edi, [esi + 0x30]
push ebx
call fcn.004293c8
lea edi, [esi + 0x4c]
push ebx
call fcn.004293c8
push dword [ebp - 0x18]
call fcn.00470646
mov ecx, dword [ebp - 0x1c]
xor eax, eax
add esp, 0x24
cmp dword [ecx], eax
setne al
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.0047099a
leave
ret
Function at 0x429cdb
Capabilities:
Delete file
Move file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x4bca50]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov esi, edx
xor edi, edi
mov ebx, ecx
mov dword [ebp - 0x40], eax
cmp dword [esi + 0x104], edi
jne 0x429d09
xor eax, eax
jmp 0x429e3e
mov eax, dword [ebp + 8]
lea ecx, [eax + ebx]
cmp ecx, dword [esi + 0x34]
ja 0x429d02
push edi
lea ecx, [ebp - 0x48]
push ecx
push eax
push dword [esi + 0x3c]
mov dword [ebp - 0x48], edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push edi
lea eax, [ebp - 0x44]
push eax
push ebx
push dword [ebp - 0x40]
mov dword [ebp - 0x44], edi
push dword [esi + 0x3c]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp + 8]
xor edx, edx
div dword [esi + 0x38]
lea edi, [esi + 0x30]
add dword [edi], ebx
mov ecx, esi
mov dword [ebp - 0x40], eax
call fcn.00429f1e
mov ecx, dword [ebp - 0x40]
cmp ecx, eax
jae 0x429d6a
mov eax, dword [esi + 0x104]
mov byte [ecx + eax], 2
mov dword [esi + 0x28], 1
push ebx
push dword [edi]
lea eax, [ebp - 0x3c]
push str.totolrecv:_d__getsize:_d
push eax
call fcn.004750cf
add esp, 0x10
call fcn.00429ecc
cmp dword [esi + 0x34], 0
je 0x429e3b
mov edi, dword [esi + 0x104]
test edi, edi
je 0x429e3b
mov ecx, esi
call fcn.00429f1e
test eax, eax
je 0x429e3b
xor ecx, ecx
test eax, eax
jbe 0x429dbf
cmp byte [edi + ecx], 2
jne 0x429e3b
inc ecx
cmp ecx, eax
jb 0x429db0
call fcn.00429e4f
mov eax, dword [esi + 0x104]
test eax, eax
je 0x429ddc
push eax
call fcn.00470646
and dword [esi + 0x104], 0
pop ecx
mov eax, dword [esi + 0x3c]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
or ebx, 0xffffffff
cmp eax, ebx
je 0x429df2
push eax
call edi
mov dword [esi + 0x3c], ebx
mov eax, dword [esi + 0x40]
cmp eax, ebx
je 0x429dff
push eax
call edi
mov dword [esi + 0x40], ebx
cmp dword [esi + 0x5c], 8
jb 0x429e0a
mov ecx, dword [esi + 0x48]
jmp 0x429e0d
lea ecx, [esi + 0x48]
cmp dword [esi + 0x78], 8
jb 0x429e18
mov eax, dword [esi + 0x64]
jmp 0x429e1b
lea eax, [esi + 0x64]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
lea eax, [esi + 0x7c]
cmp dword [eax + 0x18], 8
jb 0x429e31
mov eax, dword [eax + 4]
jmp 0x429e34
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047099a
leave
ret 8
Function at 0x42a110
Capabilities:
Create thread
Resume thread

Disassembly:
push 0xffffffffffffffff
push 0x49d04a
mov eax, dword fs:[0]
push eax
sub esp, 0x20c
mov eax, dword [0x4bca50]
xor eax, esp
mov dword [esp + 0x208], eax
mov eax, dword [0x4bca50]
xor eax, esp
push eax
lea eax, [esp + 0x210]
mov dword fs:[0], eax
lea eax, [esi + 8]
push eax
mov dword [esp + 0xc], esi
call fcn.0042a6b0
lea ecx, [esi + 0x20]
push ecx
mov dword [esp + 0x21c], 0
call fcn.0042a6b0
lea edx, [esi + 0x38]
push edx
mov byte [esp + 0x21c], 1
call fcn.0042a6b0
mov byte [esp + 0x218], 2
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push 0x4ae3f0
lea edx, [esp + 0x14]
mov dword [esi + 0x54], eax
call fcn.0042ab60
add esp, 8
lea eax, [esp + 0xc]
push eax
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
lea ecx, [esi + 4]
push ecx
push 4
push esi
push 0x42a0f0
push 0
push 0
mov dword [esi + 0x50], eax
call fcn.00471725
add esp, 0x18
push eax
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, esi
mov ecx, dword [esp + 0x210]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.0047099a
add esp, 0x218
ret
Function at 0x42f2a9
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4bca50]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x42f332
push edi
call fcn.004708ae
pop ecx
test eax, eax
je 0x42f332
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.00470920
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
lea esi, [ebp - 0x20c]
mov eax, esi
push eax
jmp 0x42f327
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x42f323
push edi
push esi
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x42f344
add esi, 8
push esi
call fcn.004708ae
pop ecx
cmp eax, 3
je 0x42f30b
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0047099a
leave
ret 4
xor eax, eax
inc eax
jmp 0x42f334

Function at 0x42fd3e
Capabilities:
Create thread

Disassembly:
push ecx
lea eax, [esp]
push eax
xor eax, eax
push eax
push ecx
push 0x42fc72
push eax
push eax
call fcn.00471725
add esp, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret

Function at 0x434610
Capabilities:
Create thread

Disassembly:
push ecx
push esi
mov esi, ecx
xor eax, eax
cmp dword [esi + 0x138], eax
jne 0x43463a
lea ecx, [esp + 4]
push ecx
push eax
push esi
push 0x4344fd
push eax
push eax
call fcn.00471725
add esp, 0x18
mov dword [esi + 0x138], eax
pop esi
pop ecx
ret

Function at 0x434697
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x4bca50]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 0x4acb48
mov ecx, esi
call fcn.00401a34
push esi
push str.Inno_Setup:_App_Path
mov ebx, str.SoftwareMicrosoftWindowsCurrentVersionUninstall_thunder_is1
push ebx
mov edi, reloc.OLEAUT32.dll_SysReAllocString
push edi
call fcn.0040b040
add esp, 0x10
test eax, eax
je 0x4346fa
push esi
push str.InstallLocation
push ebx
push edi
call fcn.0040b040
add esp, 0x10
test eax, eax
je 0x4346fa
push 0x4acb48
mov ecx, esi
call fcn.00401a34
cmp dword [esi + 0x18], 8
jb 0x434705
mov eax, dword [esi + 4]
jmp 0x434708
lea eax, [esi + 4]
push 0x4acb48
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
xor edi, edi
test eax, eax
je 0x43472c
push edi
push str.InstallerIPCListenerPort
mov ecx, esi
call fcn.0042f823
cmp eax, 0xffffffff
je 0x434795
xor eax, eax
push 0x206
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push edi
push eax
call fcn.00470920
push 0x208
lea eax, [ebp - 0x414]
push edi
push eax
call fcn.00470920
add esp, 0x18
lea eax, [ebp - 0x414]
push eax
push edi
push edi
push 0x26
push edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push str.Thunder_NetworkThunder
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x20c]
push eax
mov ecx, esi
call fcn.00401a34
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047099a
leave
ret 4
Function at 0x4347a6
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x3b0]
sub esp, 0x430
mov eax, dword [0x4bca50]
xor eax, ebp
mov dword [ebp + 0x3ac], eax
push ebx
push esi
push 0x208
lea eax, [ebp + 0x1a4]
push 0
push eax
mov ebx, ecx
call fcn.00470920
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x64], ax
lea eax, [ebp - 0x62]
push eax
call fcn.00470920
add esp, 0x18
mov esi, 0x104
push esi
lea eax, [ebp - 0x64]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x4acb48
lea ecx, [ebp - 0x80]
call fcn.004018f6
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.004034f4
pop ecx
pop ecx
lea eax, [ebp + 0x1a4]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
push str.Thunder7Install
lea eax, [ebp + 0x1a4]
push eax
call esi
cmp dword [ebp - 0x68], 8
mov eax, dword [ebp - 0x7c]
jae 0x43484c
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp + 0x1a4]
push eax
call esi
lea eax, [ebp + 0x1a4]
push eax
call fcn.00403444
pop ecx
lea eax, [ebp + 0x1a4]
push eax
lea ecx, [ebx + 0x90]
call fcn.00401a34
push 0
push 1
lea ecx, [ebp - 0x80]
call fcn.00401a58
mov ecx, dword [ebp + 0x3ac]
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.0047099a
add ebp, 0x3b0
leave
ret

Function at 0x434f71
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4bca50]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov esi, ecx
push eax
lea ecx, [ebp - 0x20]
call fcn.004018f6
push str.10001
lea ecx, [ebp - 0x20]
call fcn.0040bee4
xor edi, edi
test eax, eax
jne 0x434fba
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x13c], eax
lea eax, [ebp - 0x24]
push eax
push edi
push esi
push 0x434b89
jmp 0x434fdf
push str.10002
lea ecx, [ebp - 0x20]
call fcn.0040bee4
test eax, eax
jne 0x434ff0
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x140], eax
lea eax, [ebp - 0x24]
push eax
push edi
push esi
push 0x4349fa
push edi
push edi
call fcn.00471725
add esp, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push 1
lea ecx, [ebp - 0x20]
call fcn.00401a58
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
xor eax, eax
pop esi
call fcn.0047099a
leave
ret 8