joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4121d0
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bff7e
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4f4214]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov eax, dword [0x4f41d4]
mov edx, dword [eax + 0xc]
mov ecx, 0x4f41d4
call edx
add eax, 0x10
mov dword [esi], eax
mov dword [ebp - 4], 1
mov eax, dword [0x4f41d4]
mov edx, dword [eax + 0xc]
lea edi, [esi + 4]
mov ecx, 0x4f41d4
mov dword [ebp - 0x10], edi
call edx
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 3
mov eax, dword [0x4f41d4]
mov edx, dword [eax + 0xc]
lea edi, [esi + 8]
mov ecx, 0x4f41d4
mov dword [ebp - 0x10], edi
call edx
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 5
mov eax, dword [0x4f41d4]
mov edx, dword [eax + 0xc]
lea edi, [esi + 0xc]
mov ecx, 0x4f41d4
mov dword [ebp - 0x10], edi
call edx
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 7
mov eax, dword [0x4f41d4]
mov edx, dword [eax + 0xc]
lea edi, [esi + 0x10]
mov ecx, 0x4f41d4
mov dword [ebp - 0x10], edi
call edx
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 9
mov eax, dword [0x4f41d4]
mov edx, dword [eax + 0xc]
lea edi, [esi + 0x14]
mov ecx, 0x4f41d4
mov dword [ebp - 0x10], edi
call edx
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 0xb
mov eax, dword [0x4f41d4]
mov edx, dword [eax + 0xc]
lea edi, [esi + 0x18]
mov ecx, 0x4f41d4
mov dword [ebp - 0x10], edi
call edx
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 0xd
mov eax, dword [0x4f41d4]
mov edx, dword [eax + 0xc]
lea edi, [esi + 0x1c]
mov ecx, 0x4f41d4
mov dword [ebp - 0x10], edi
call edx
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 0xf
mov eax, dword [0x4f41d4]
mov edx, dword [eax + 0xc]
lea edi, [esi + 0x20]
mov ecx, 0x4f41d4
mov dword [ebp - 0x10], edi
call edx
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 0x11
mov eax, dword [0x4f41d4]
mov edx, dword [eax + 0xc]
lea edi, [esi + 0x24]
mov ecx, 0x4f41d4
mov dword [ebp - 0x10], edi
call edx
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 0x13
mov eax, dword [0x4f41d4]
mov edx, dword [eax + 0xc]
lea edi, [esi + 0x28]
mov ecx, 0x4f41d4
mov dword [ebp - 0x10], edi
call edx
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 0x15
mov eax, dword [0x4f41d4]
mov edx, dword [eax + 0xc]
lea edi, [esi + 0x2c]
mov ecx, 0x4f41d4
mov dword [ebp - 0x10], edi
call edx
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 0x17
mov eax, dword [0x4f41d4]
mov edx, dword [eax + 0xc]
lea edi, [esi + 0x30]
mov ecx, 0x4f41d4
mov dword [ebp - 0x10], edi
call edx
add eax, 0x10
mov dword [edi], eax
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x4214e0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c1a48
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x4f4214]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
or eax, 0xffffffff
mov esi, 0x4f5bb8
call fcn.00451c40
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0
push 0
push 0
push 0x421270
push 0
push 0
mov dword [0x4f9714], eax
call fcn.0049e771
add esp, 0x18
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
lea ecx, [ebp + 0xc]
cmp eax, ecx
je 0x421567
push eax
call fcn.0049c78c
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x427370
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
push edi
mov edi, eax
mov eax, dword [edi + 0x284]
cmp eax, ecx
jle 0x427390
cmp dword [edi + 0x288], 0
je 0x4273d0
cmp eax, ecx
jne 0x42739b
cmp dword [edi + 0x288], 1
je 0x4273d0
cmp eax, ecx
jge 0x4273af
mov dword [edi + 0x284], ecx
mov dword [edi + 0x288], 0
mov eax, dword [ebp + 8]
test eax, eax
jne 0x4273db
mov eax, dword [edi + 4]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4273d0
mov ecx, dword [edi + 4]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp dword [edi + 0x27c], 0
je 0x427505
mov esi, dword [edi + 0x34]
push eax
lea eax, [edi + 0x2c]
call fcn.004638f0
mov ecx, dword [edi + 0x27c]
mov dword [ebp - 0x10], edx
mov edx, dword [ecx]
mov esi, eax
mov eax, dword [edx + 0x58]
add esp, 4
mov dword [ebp - 0x14], esi
call eax
mov ecx, dword [edi + 0x278]
sub eax, esi
cdq
sub eax, edx
mov edx, dword [ecx]
mov edx, dword [edx + 0x50]
mov esi, eax
lea eax, [ebp - 0x1c]
push eax
sar esi, 1
call edx
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ebp - 0xc], ecx
mov ecx, dword [edi + 0x278]
mov eax, dword [ecx]
mov dword [ebp - 8], edx
mov edx, dword [eax + 0x60]
call edx
mov ebx, eax
mov eax, dword [ebp - 0x14]
add ebx, dword [ebp - 8]
lea ecx, [esi + eax + 0xa]
mov dword [ebp - 0x24], ecx
mov ecx, dword [edi + 0x278]
mov edx, dword [ecx]
mov eax, dword [edx + 0x58]
call eax
mov ecx, dword [ebp - 0x24]
add eax, ecx
sub esp, 0x10
mov edx, esp
mov dword [edx], ecx
mov ecx, dword [ebp - 8]
mov dword [edx + 4], ecx
mov dword [ebp - 0x1c], eax
mov eax, dword [edi + 0x278]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [eax]
mov dword [edx + 8], ecx
mov ecx, dword [edi + 0x278]
mov dword [edx + 0xc], ebx
mov edx, dword [eax + 0x34]
call edx
mov ecx, dword [edi + 0x280]
mov eax, dword [ecx]
mov eax, dword [eax + 0x50]
lea edx, [ebp - 0x1c]
push edx
call eax
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ebp - 0xc], ecx
mov ecx, dword [edi + 0x280]
mov eax, dword [ecx]
mov dword [ebp - 8], edx
mov edx, dword [eax + 0x58]
lea ebx, [esi - 0x1c]
call edx
mov ecx, dword [edi + 0x280]
lea esi, [ebx + eax]
mov eax, dword [ecx]
mov edx, dword [eax + 0x60]
call edx
add eax, dword [ebp - 8]
mov ecx, dword [edi + 0x280]
mov ecx, dword [ecx]
sub esp, 0x10
mov edx, esp
mov dword [edx], ebx
mov ebx, dword [ebp - 8]
mov dword [edx + 4], ebx
mov dword [edx + 8], esi
mov dword [edx + 0xc], eax
mov eax, ecx
mov ecx, dword [edi + 0x280]
mov eax, dword [eax + 0x34]
call eax
mov edi, dword [edi + 0x27c]
mov edx, dword [edi]
mov eax, dword [ebp + 8]
mov edx, dword [edx + 0x2c]
push eax
mov ecx, edi
call edx
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x427620
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bfbeb
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x4f4214]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [ebp - 0x90]
xor ecx, ecx
mov dword [ebp - 0x94], eax
mov word [ebp - 0x90], cx
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x108]
cmp edx, dword [esi + 0x258]
jne 0x4276dc
mov eax, dword [eax]
mov ecx, str.click
mov edi, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4276a6
test dx, dx
je 0x4276a2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4276a6
add eax, 4
add ecx, 4
test dx, dx
jne 0x427680
xor eax, eax
jmp 0x4276ab
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4276dc
cmp dword [esi + 0x264], 0xffffffff
je 0x4276c2
mov dword [esi + 0x268], 1
mov eax, dword [esi - 0x1c]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4276dc
mov ecx, dword [esi - 0x1c]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x94]
lea edx, [ebp - 0x90]
cmp eax, edx
je 0x4276fc
push eax
call fcn.0049c78c
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049c72a
mov esp, ebp
pop ebp
ret 4
Function at 0x4278a0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bfbeb
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x4f4214]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
push esi
call fcn.00418b30
mov eax, dword [esi]
mov ecx, str.click
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x427906
test dx, dx
je 0x427902
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x427906
add eax, 4
add ecx, 4
test dx, dx
jne 0x4278e0
xor eax, eax
jmp 0x42790b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x427a3e
mov ecx, dword [esi + 0x108]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
lea edx, [ebp - 0x94]
push edx
call eax
mov dword [ebp - 4], 0
mov esi, dword [ebp - 0x94]
mov ecx, str.weibo_icon
mov eax, esi
jmp 0x427940
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x427966
test dx, dx
je 0x427962
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x427966
add eax, 4
add ecx, 4
test dx, dx
jne 0x427940
xor eax, eax
jmp 0x42796b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x427a06
mov ecx, str.weibo_label
mov eax, esi
lea ebx, [ebx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4279a6
test dx, dx
je 0x4279a2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4279a6
add eax, 4
add ecx, 4
test dx, dx
jne 0x427980
xor eax, eax
jmp 0x4279ab
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x427a06
mov ecx, str.bbs_icon
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4279dc
test dx, dx
je 0x4279d8
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4279dc
add eax, 4
add ecx, 4
test dx, dx
jne 0x4279b6
xor eax, eax
jmp 0x4279e1
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4279f9
mov ecx, str.bbs_label
lea eax, [ebp - 0x94]
call fcn.00451eb0
test al, al
je 0x427a1e
push 5
push 0
push 0
push str.http:__bbs.appduoduo.com_forum.php
jmp 0x427a11
push 5
push 0
push 0
push str.http:__weibo.com_appduoduo
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x94]
lea ecx, [ebp - 0x90]
cmp eax, ecx
je 0x427a3e
push eax
call fcn.0049c78c
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049c72a
mov esp, ebp
pop ebp
ret 4
Function at 0x427b20
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bbf36
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x4f4214]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
push esi
call fcn.00418b30
mov eax, dword [esi]
mov ecx, str.click
lea ecx, [ecx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x427b86
test dx, dx
je 0x427b82
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x427b86
add eax, 4
add ecx, 4
test dx, dx
jne 0x427b60
xor eax, eax
jmp 0x427b8b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x427c5e
mov ecx, dword [esi + 0x108]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
lea edx, [ebp - 0x94]
push edx
call eax
mov dword [ebp - 4], 0
mov eax, dword [eax]
mov ecx, str.ituneslinkbtn
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x427bdb
test dx, dx
je 0x427bd7
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x427bdb
add eax, 4
add ecx, 4
test dx, dx
jne 0x427bb5
xor eax, eax
jmp 0x427be0
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete bl
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x94]
lea ecx, [ebp - 0x90]
cmp eax, ecx
je 0x427c05
push eax
call fcn.0049c78c
add esp, 4
test bl, bl
je 0x427c5e
mov ecx, dword [esi + 0x108]
mov edx, dword [ecx]
mov edx, dword [edx + 0x28]
lea eax, [ebp - 0x94]
push eax
call edx
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x94]
push 5
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x94]
lea ecx, [ebp - 0x90]
cmp eax, ecx
je 0x427c5e
push eax
call fcn.0049c78c
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049c72a
mov esp, ebp
pop ebp
ret 4
Function at 0x42e2a0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x4f4214]
xor eax, ebp
mov dword [ebp - 8], eax
cmp byte [ebp + 8], 0
push ebx
push esi
push edi
mov esi, ecx
je 0x42e325
mov eax, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_IsWindow]
push eax
call edi
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
test eax, eax
je 0x42e2d9
mov ecx, dword [esi + 4]
push 1
push ecx
call ebx
mov esi, dword [esi + 0x308]
mov edx, dword [esi + 4]
push edx
call edi
test eax, eax
je 0x42e2f1
mov eax, dword [esi + 4]
push 1
push eax
call ebx
mov edx, dword [esi + 4]
lea ecx, [ebp - 0x18]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
push 1
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0049c72a
mov esp, ebp
pop ebp
ret 4
mov edi, dword [esi + 0x308]
mov ecx, dword [edi + 4]
mov ebx, dword [sym.imp.USER32.dll_IsWindow]
push ecx
call ebx
test eax, eax
je 0x42e347
mov edx, dword [edi + 4]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [edi + 4]
lea eax, [ebp - 0x18]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
push 1
lea edx, [ebp - 0x18]
push edx
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [esi + 4]
push eax
call ebx
test eax, eax
je 0x42e37e
mov ecx, dword [esi + 4]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0049c72a
mov esp, ebp
pop ebp
ret 4
Function at 0x433ac0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, ecx
mov esi, dword [edi + 0x260]
test esi, esi
je 0x433b20
mov eax, dword [esi + 4]
push ebx
mov ebx, dword [sym.imp.USER32.dll_IsWindow]
push eax
call ebx
test eax, eax
je 0x433aee
mov ecx, dword [esi + 4]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov esi, dword [edi + 0x260]
mov edx, dword [esi + 4]
push edx
call ebx
pop ebx
test eax, eax
je 0x433b31
mov eax, dword [esi + 4]
push 0
push 1
push 0x10
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, dword [ebp + 0x14]
pop edi
mov dword [ecx], 0
xor eax, eax
pop esi
pop ebp
ret 0x10
mov edx, dword [ebp + 0x14]
pop edi
mov dword [edx], 0
xor eax, eax
pop esi
pop ebp
ret 0x10
mov eax, dword [ebp + 0x14]
pop edi
mov dword [eax], 0
xor eax, eax
pop esi
pop ebp
ret 0x10
Function at 0x434b30
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c2637
mov eax, dword fs:[0]
push eax
sub esp, 0x468
mov eax, dword [0x4f4214]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x470], 0
mov eax, dword [0x4f41d4]
mov edx, dword [eax + 0xc]
mov ecx, 0x4f41d4
mov dword [ebp - 0x474], edi
call edx
add eax, 0x10
mov dword [ebp - 0x46c], eax
mov dword [ebp - 4], 2
push 0x250
lea eax, [ebp - 0x468]
push 0
push eax
call fcn.0049f910
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0x216]
push edx
mov word [ebp - 0x218], cx
call fcn.0049f910
add esp, 0x18
lea eax, [ebp - 0x218]
push eax
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea ecx, [ebp - 0x218]
push ecx
call esi
push str.DuoDuoHelper
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x468]
push eax
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
jne 0x434c7c
lea edx, [ebp - 0x218]
push edx
call fcn.00436b50
add esp, 4
lea eax, [ebp - 0x218]
push eax
call esi
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x434c30
sub eax, edx
lea ecx, [ebp - 0x218]
sar eax, 1
push ecx
lea edx, [ebp - 0x46c]
push edx
mov ebx, eax
call fcn.004026a0
mov esi, dword [ebp - 0x46c]
add esi, 0xfffffff0
mov eax, esi
call fcn.004027b0
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 2
mov dword [ebp - 0x470], 1
jmp 0x434d07
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
test byte [ebp - 0x468], 0x10
jne 0x434ca8
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea edx, [ebp - 0x218]
push edx
call fcn.00436b50
add esp, 4
lea eax, [ebp - 0x218]
push eax
call esi
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x434cc0
sub eax, edx
lea ecx, [ebp - 0x218]
sar eax, 1
push ecx
lea edx, [ebp - 0x46c]
push edx
mov ebx, eax
call fcn.004026a0
mov esi, dword [ebp - 0x46c]
add esi, 0xfffffff0
mov eax, esi
call fcn.004027b0
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 2
mov dword [ebp - 0x470], 1
mov dword [ebp - 4], 0
or ecx, 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x434d27
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049c72a
mov esp, ebp
pop ebp
ret
Function at 0x435070
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c2e73
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x4f4214]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x4f41d4]
mov edx, dword [eax + 0xc]
mov ecx, 0x4f41d4
call edx
lea esi, [eax + 0x10]
mov dword [ebp - 0x21c], esi
mov dword [ebp - 4], 1
mov eax, dword [esi - 0xc]
test eax, eax
jne 0x435188
lea edi, [ebp - 0x220]
call fcn.00434b30
mov byte [ebp - 4], 2
lea edi, [ebp - 0x21c]
call fcn.00402630
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x220]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x435108
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x220]
push ecx
lea edx, [ebp - 0x21c]
push edx
mov ecx, 1
call fcn.0042ee90
mov byte [ebp - 4], 4
push eax
mov ecx, 0x4d5cf0
call fcn.0041fbf0
add esp, 4
mov bl, al
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x220]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43515a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x435170
push 1
push 0x4d5cf0
lea ebx, [ebp - 0x21c]
call fcn.00420160
push 0xa
push str.config.ini
lea ebx, [ebp - 0x21c]
call fcn.00420160
mov esi, dword [ebp - 0x21c]
push 0x208
lea ecx, [ebp - 0x218]
push 0
push ecx
call fcn.0049f910
add esp, 0xc
push esi
push 0x104
lea edx, [ebp - 0x218]
push edx
push 0x4d8c40
push str.downloadspeed
push str.DuoDuoMain
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x218]
push eax
call fcn.0049eaf7
add esp, 4
mov edi, eax
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4351f4
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049c72a
mov esp, ebp
pop ebp
ret
Function at 0x435220
Capabilities:
Create directory
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c1852
mov eax, dword fs:[0]
push eax
sub esp, 0x258
mov eax, dword [0x4f4214]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [ebp - 4], ebx
push 0x103
lea eax, [ebp - 0x117]
push ebx
mov dword [ebp - 0x25c], ebx
push eax
mov dword [ebp - 0x260], esi
mov byte [ebp - 0x118], bl
call fcn.0049f910
add esp, 0xc
lea ecx, [ebp - 0x118]
push ecx
push ebx
push ebx
push 0x1a
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
lea edx, [ebp - 0x118]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashA]
push str.AppleDriver
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
lea ecx, [ebp - 0x258]
push ecx
lea edx, [ebp - 0x118]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x4352cf
push ebx
lea eax, [ebp - 0x118]
push eax
jmp 0x4352ed
test byte [ebp - 0x258], 0x10
jne 0x4352f3
lea ecx, [ebp - 0x118]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push ebx
lea edx, [ebp - 0x118]
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashA]
lea eax, [ebp - 0x118]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
mov byte [esi], bl
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x435320
sub eax, edx
push eax
lea ecx, [ebp - 0x118]
push ecx
mov ecx, esi
call fcn.00407660
mov dword [ebp - 4], ebx
mov dword [ebp - 0x25c], 1
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049c72a
mov esp, ebp
pop ebp
ret

Function at 0x435370
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c25a9
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x4f4214]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
call fcn.00435220
mov dword [ebp - 4], 0
push 8
push str.3rdParty
mov ecx, esi
mov dword [ebp - 0x10], 1
call fcn.00407450
push 1
push 0x4d46b8
mov ecx, esi
call fcn.00407450
cmp dword [esi + 0x14], 0x10
jb 0x4353e0
mov eax, dword [esi]
jmp 0x4353e2
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x435402
cmp dword [esi + 0x14], 0x10
jb 0x4353f7
mov eax, dword [esi]
jmp 0x4353f9
mov eax, esi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret