joyce8/EMBER2024-capa huggingface dataset:
Function at 0x486b10
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x6eb874]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x230], ecx
push 0
lea ecx, [ebp - 0x22c]
call fcn.00488200
push 0x2001f
push 0x68e3d0
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x22c]
call fcn.00488e20
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0
jne 0x486c35
lea ecx, [ebp - 0x210]
call fcn.00413220
mov ecx, dword [ebp + 0xc]
add ecx, 8
call fcn.0040d3c0
push eax
mov ecx, dword [ebp + 0xc]
call fcn.0040d3c0
push eax
push 0x68e42c
lea eax, [ebp - 0x210]
push eax
call fcn.00422a10
add esp, 0x10
push 0x208
push 0
lea ecx, [ebp - 0x20c]
push ecx
call fcn.0063a460
add esp, 0xc
mov dword [ebp - 0x218], 0x104
lea edx, [ebp - 0x218]
push edx
lea eax, [ebp - 0x20c]
push eax
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x22c]
call fcn.00488eb0
mov dword [ebp - 0x214], eax
lea edx, [ebp - 0x20c]
push edx
lea ecx, [ebp - 0x210]
call fcn.00422730
test eax, eax
je 0x486c0d
push 1
lea ecx, [ebp - 0x210]
call fcn.0040d3c0
push eax
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x22c]
call fcn.00489050
mov dword [ebp - 0x21c], 1
lea ecx, [ebp - 0x210]
call fcn.00413870
lea ecx, [ebp - 0x22c]
call fcn.004882d0
mov eax, dword [ebp - 0x21c]
jmp 0x486c50
mov dword [ebp - 0x220], 0
lea ecx, [ebp - 0x22c]
call fcn.004882d0
mov eax, dword [ebp - 0x220]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006135ac
mov esp, ebp
pop ebp
ret 8

Function at 0x486ca0
Capabilities:
Persist via run registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
mov eax, dword [0x6eb874]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x424], ecx
mov dword [ebp - 0x418], 0
push 0x208
push 0
lea eax, [ebp - 0x20c]
push eax
call fcn.0063a460
add esp, 0xc
mov dword [ebp - 0x41c], 0x104
mov dword [ebp - 0x420], 1
lea ecx, [ebp - 0x41c]
push ecx
lea edx, [ebp - 0x20c]
push edx
lea eax, [ebp - 0x420]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0x68e500
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov edx, 2
imul eax, edx, 0
movzx ecx, word [ebp + eax - 0x20c]
test ecx, ecx
je 0x486d39
mov dword [ebp - 0x418], 1
jmp 0x486dbe
push 0x208
push 0
lea edx, [ebp - 0x414]
push edx
call fcn.0063a460
add esp, 0xc
mov dword [ebp - 0x41c], 0x104
mov dword [ebp - 0x420], 1
lea eax, [ebp - 0x41c]
push eax
lea ecx, [ebp - 0x414]
push ecx
lea edx, [ebp - 0x420]
push edx
mov eax, dword [ebp + 8]
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov ecx, 2
imul edx, ecx, 0
movzx eax, word [ebp + edx - 0x414]
test eax, eax
je 0x486dac
mov dword [ebp - 0x418], 1
jmp 0x486dbe
mov dword [ebp - 0x418], 0
xor ecx, ecx
jne 0x486cc3
mov eax, dword [ebp - 0x418]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006135ac
mov esp, ebp
pop ebp
ret 4
Function at 0x486de0
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, 2
imul ecx, eax, 0
movzx edx, word [ecx + 0x6f84d8]
test edx, edx
jne 0x486e12
mov dword [ebp - 4], 0x100
lea eax, [ebp - 4]
push eax
push 0x6f84d8
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
push 0x6f84d8
mov ecx, dword [ebp + 8]
call fcn.004131e0
mov eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret 4

Function at 0x486e30
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, 2
imul ecx, eax, 0
movzx edx, word [ecx + 0x6f86d8]
test edx, edx
jne 0x486e63
mov dword [ebp - 4], 0x100
lea eax, [ebp - 4]
push eax
push 0x6f86d8
push 2
call sub.Secur32.dll_GetUserNameExW
push 0x6f86d8
mov ecx, dword [ebp + 8]
call fcn.004131e0
mov eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret 4

Function at 0x488eb0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
xor eax, eax
jne 0x488eb9
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
shl edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp + 0x10]
mov dword [eax], 0
lea ecx, [ebp - 4]
push ecx
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x488efc
mov eax, dword [ebp - 8]
jmp 0x488f62
cmp dword [ebp - 0xc], 1
je 0x488f0f
cmp dword [ebp - 0xc], 2
je 0x488f0f
mov eax, 0xd
jmp 0x488f62
cmp dword [ebp + 0xc], 0
je 0x488f56
cmp dword [ebp - 4], 0
je 0x488f45
mov eax, dword [ebp - 4]
xor edx, edx
mov ecx, 2
div ecx
test edx, edx
jne 0x488f3c
mov edx, dword [ebp - 4]
shr edx, 1
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax + edx*2 - 2]
test ecx, ecx
je 0x488f43
mov eax, 0xd
jmp 0x488f62
jmp 0x488f56
mov edx, 2
imul eax, edx, 0
xor ecx, ecx
mov edx, dword [ebp + 0xc]
mov word [edx + eax], cx
mov eax, dword [ebp - 4]
shr eax, 1
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 0xc

Function at 0x489050
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
xor eax, eax
jne 0x489059
cmp dword [ebp + 0xc], 0
je 0x48906c
mov dword [ebp - 4], 1
jmp 0x489073
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 4]
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
jne 0x489086
mov eax, 0xd
jmp 0x4890b5
xor edx, edx
jne 0x48905d
mov eax, dword [ebp + 0xc]
push eax
call fcn.00641e0e
add esp, 4
lea ecx, [eax + eax + 2]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 0x10]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x48b330
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
cmp dword [ecx], 0
jne 0x48b393
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
mov edx, dword [ebp - 4]
mov eax, dword [edx + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov dword [edx], eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
cmp dword [ecx], 0xffffffff
jne 0x48b393
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.create_file_error
mov edx, dword [ebp + 8]
push edx
call fcn.0048be50
add esp, 0xc
mov eax, dword [ebp + 8]
jmp 0x48b41f
mov dword [ebp - 8], 0
push 0
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x48b3d7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.write_file_error
mov eax, dword [ebp + 8]
push eax
call fcn.0048be50
add esp, 0xc
mov eax, dword [ebp + 8]
jmp 0x48b41f
mov ecx, dword [ebp + 0x10]
cmp ecx, dword [ebp - 8]
je 0x48b3fc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.write_file_error_size_
mov edx, dword [ebp + 8]
push edx
call fcn.0048be50
add esp, 0xc
mov eax, dword [ebp + 8]
jmp 0x48b41f
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
mov edx, dword [ecx]
add edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
mov dword [ecx], edx
push 0x68bdd8
mov ecx, dword [ebp + 8]
call fcn.00421970
mov eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x48b720
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x190
mov eax, dword [0x6eb874]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x18c], ecx
lea ecx, [ebp - 0x11c]
call fcn.004219a0
mov dword [ebp - 0x180], 0
mov dword [ebp - 0x184], 0
push 0
push 0
push 0
push 0
push str.WinInet
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [ebp - 0x180], eax
cmp dword [ebp - 0x180], 0
jne 0x48b7b1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.open_session_error
lea eax, [ebp - 0x134]
push eax
call fcn.0048be50
add esp, 0xc
push eax
lea ecx, [ebp - 0x11c]
call fcn.00473a40
lea ecx, [ebp - 0x134]
call fcn.00421c30
jmp 0x48b93e
push 0
push 0x84000000
push 0
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x180]
push edx
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov dword [ebp - 0x184], eax
cmp dword [ebp - 0x184], 0
jne 0x48b813
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.open_url_error
lea eax, [ebp - 0x14c]
push eax
call fcn.0048be50
add esp, 0xc
push eax
lea ecx, [ebp - 0x11c]
call fcn.00473a40
lea ecx, [ebp - 0x14c]
call fcn.00421c30
jmp 0x48b93e
mov dword [ebp - 0x190], 0x100
push 0x100
push 0
lea ecx, [ebp - 0x104]
push ecx
call fcn.0063a460
add esp, 0xc
mov dword [ebp - 0x188], 0
mov edx, 1
test edx, edx
je 0x48b936
mov ecx, dword [ebp - 0x18c]
call fcn.0048bbe0
movzx eax, al
test eax, eax
je 0x48b861
jmp 0x48b936
push 0x100
push 0
lea ecx, [ebp - 0x104]
push ecx
call fcn.0063a460
add esp, 0xc
lea edx, [ebp - 0x188]
push edx
push 0x100
lea eax, [ebp - 0x104]
push eax
mov ecx, dword [ebp - 0x184]
push ecx
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x48b8cf
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.read_url_file_error
lea edx, [ebp - 0x164]
push edx
call fcn.0048be50
add esp, 0xc
push eax
lea ecx, [ebp - 0x11c]
call fcn.00473a40
lea ecx, [ebp - 0x164]
call fcn.00421c30
jmp 0x48b936
cmp dword [ebp - 0x188], 0
jne 0x48b8da
jmp 0x48b936
lea ecx, [ebp + 0x10]
call fcn.0048b2d0
movzx eax, al
test eax, eax
je 0x48b931
mov ecx, dword [ebp - 0x188]
push ecx
lea edx, [ebp - 0x104]
push edx
lea eax, [ebp - 0x17c]
push eax
lea ecx, [ebp + 0x10]
call fcn.0048b430
push eax
lea ecx, [ebp - 0x11c]
call fcn.00473a40
lea ecx, [ebp - 0x17c]
call fcn.00421c30
lea ecx, [ebp - 0x11c]
call fcn.00425070
movzx ecx, al
test ecx, ecx
jne 0x48b931
jmp 0x48b936
jmp 0x48b83d
xor edx, edx
jne 0x48b758
lea eax, [ebp - 0x180]
push eax
call fcn.00489bf0
add esp, 4
lea ecx, [ebp - 0x184]
push ecx
call fcn.00489bf0
add esp, 4
lea edx, [ebp - 0x11c]
push edx
mov ecx, dword [ebp + 8]
call fcn.00479ef0
lea ecx, [ebp - 0x11c]
call fcn.00421c30
lea ecx, [ebp + 0x10]
call fcn.0048b170
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006135ac
mov esp, ebp
pop ebp
ret 0x30
Function at 0x48bd70
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
jne 0x48bdaa
mov dword [ebp - 8], 0
lea ecx, [ebp - 8]
push ecx
push 0
mov edx, dword [ebp - 4]
push edx
push 0x48bd40
push 0
push 0
call fcn.00644f69
add esp, 0x18
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], eax
mov esp, ebp
pop ebp
ret

Function at 0x490240
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 8], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 8]
sub eax, dword [ecx + 0x2c]
cmp eax, 0x493e0
jae 0x490261
jmp 0x490376
lea ecx, [ebp - 0xc]
call fcn.00413220
lea edx, [ebp - 0xc]
push edx
push 0x6903ec
push 0x6903fc
call fcn.004be1b0
add esp, 0xc
lea ecx, [ebp - 0xc]
call fcn.0040dd70
movzx eax, al
test eax, eax
je 0x49029b
lea ecx, [ebp - 0xc]
call fcn.00413870
jmp 0x490376
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x2c], eax
push 0x690438
lea ecx, [ebp - 0x24]
call fcn.004131e0
call fcn.00431970
mov ecx, eax
call fcn.00540040
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x490366
movzx edx, byte [ebp - 1]
push edx
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 8]
add ecx, 8
call fcn.004315a0
cmp dword [ebp - 8], 0
je 0x4902f2
mov ecx, dword [ebp - 8]
add ecx, 4
mov dword [ebp - 0x14], ecx
jmp 0x4902f9
mov dword [ebp - 0x14], 0
mov ecx, dword [ebp - 8]
add ecx, 8
call fcn.00431280
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x18]
mov eax, dword [edx]
call eax
mov ecx, dword [ebp - 8]
add ecx, 8
call fcn.00431280
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0xc]
call fcn.0040d3c0
push eax
push 0x69049c
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [edx + 0x1c]
call eax
mov ecx, dword [ebp - 8]
add ecx, 8
call fcn.00431280
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x24]
call fcn.0040d3c0
push eax
push 2
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x20]
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x24]
call fcn.00413870
lea ecx, [ebp - 0xc]
call fcn.00413870
mov esp, ebp
pop ebp
ret 4
Function at 0x492710
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x448
mov eax, dword [0x6eb874]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x42c], ecx
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x440]
call fcn.00614c60
mov ecx, dword [ebp - 0x42c]
add ecx, 0x120
push ecx
lea ecx, [ebp - 0x440]
call fcn.00614e70
mov edx, dword [ebp - 0x42c]
add edx, 0x138
push edx
lea ecx, [ebp - 0x440]
call fcn.00614e70
mov eax, dword [ebp - 0x42c]
add eax, 0xf0
push eax
lea ecx, [ebp - 0x440]
call fcn.00614e70
mov ecx, dword [ebp - 0x42c]
add ecx, 0x108
push ecx
lea ecx, [ebp - 0x440]
call fcn.00614e70
mov edx, dword [ebp - 0x42c]
cmp dword [edx + 0xa0], 0
jne 0x4927ab
jmp 0x4929f3
lea ecx, [ebp - 0x438]
call fcn.00413220
call fcn.005e2270
mov dword [ebp - 0x430], eax
cmp dword [ebp - 0x430], 0
je 0x492935
push 0xfde9
mov ecx, dword [ebp - 0x42c]
add ecx, 0xf0
call fcn.00424f40
push eax
lea ecx, [ebp - 0x21c]
call fcn.00421730
mov ecx, eax
call fcn.0040d3c0
push eax
call fcn.005e22a0
add esp, 4
push eax
push 0x690a24
mov eax, dword [ebp - 0x430]
push eax
call fcn.005e2130
add esp, 0xc
lea ecx, [ebp - 0x21c]
call fcn.00421ba0
push 0xfde9
mov ecx, dword [ebp - 0x42c]
add ecx, 0x120
call fcn.00424f40
push eax
lea ecx, [ebp - 0x2a0]
call fcn.00421730
mov ecx, eax
call fcn.0040d3c0
push eax
call fcn.005e22a0
add esp, 4
push eax
push 0x690a2c
mov ecx, dword [ebp - 0x430]
push ecx
call fcn.005e2130
add esp, 0xc
lea ecx, [ebp - 0x2a0]
call fcn.00421ba0
push 0xfde9
mov ecx, dword [ebp - 0x42c]
add ecx, 0x138
call fcn.00424f40
push eax
lea ecx, [ebp - 0x324]
call fcn.00421730
mov ecx, eax
call fcn.0040d3c0
push eax
call fcn.005e22a0
add esp, 4
push eax
push 0x690a38
mov edx, dword [ebp - 0x430]
push edx
call fcn.005e2130
add esp, 0xc
lea ecx, [ebp - 0x324]
call fcn.00421ba0
mov eax, dword [ebp - 0x430]
push eax
call fcn.005e2520
add esp, 4
mov dword [ebp - 0x434], eax
cmp dword [ebp - 0x434], 0
je 0x492926
push 0xfde9
mov ecx, dword [ebp - 0x434]
push ecx
lea ecx, [ebp - 0x428]
call fcn.004214f0
mov ecx, eax
call fcn.0040d3c0
push eax
lea ecx, [ebp - 0x438]
call fcn.00413a70
lea ecx, [ebp - 0x428]
call fcn.00421ba0
mov edx, dword [ebp - 0x434]
push edx
call fcn.0063e41a
add esp, 4
mov eax, dword [ebp - 0x430]
push eax
call fcn.005e2350
add esp, 4
mov ecx, dword [ebp - 0x42c]
add ecx, 0xf0
call fcn.00425070
movzx ecx, al
test ecx, ecx
jne 0x49299a
lea ecx, [ebp - 0x438]
call fcn.0040d3c0
mov dword [ebp - 0x448], eax
mov dword [ebp - 0x444], 0
sub esp, 0x28
mov ecx, esp
push 0
call fcn.00421a10
lea edx, [ebp - 0x444]
push edx
push 1
lea eax, [ebp - 0x448]
push eax
push 0x690a44
mov ecx, dword [ebp - 0x42c]
add ecx, 0x8c
call fcn.005d2470
push 0x192
push 0
lea ecx, [ebp - 0x198]
push ecx
call fcn.0063a460
add esp, 0xc
push 0xc8
mov ecx, dword [ebp - 0x42c]
add ecx, 0xf0
call fcn.00424f40
push eax
lea edx, [ebp - 0x198]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
lea eax, [ebp - 0x198]
push eax
push str.CBirdPreviewWnd::OnIPCLoginSucess__openid_self__s
call fcn.005564a0
add esp, 8
lea ecx, [ebp - 0x438]
call fcn.00413870
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006135ac
mov esp, ebp
pop ebp
ret 4
Function at 0x49f2c0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 0
jne 0x49f2e2
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x10], 0
jne 0x49f2e2
mov edx, dword [ebp - 4]
cmp dword [edx + 8], 0
je 0x49f2e4
jmp 0x49f32b
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc], eax
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov edx, dword [ebp - 4]
mov dword [edx + 0x10], eax
push 0
push 0
mov eax, dword [ebp - 4]
push eax
push 0x49f470
push 0
push 0
call fcn.00644f69
add esp, 0x18
mov ecx, dword [ebp - 4]
mov dword [ecx + 8], eax
mov esp, ebp
pop ebp
ret

Function at 0x4a0680
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x6eb874]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x420], ecx
cmp dword [0x6f8dc8], 0
jne 0x4a07bc
mov dword [ebp - 0x41c], 0x400000
push 0x208
push 0
lea eax, [ebp - 0x414]
push eax
call fcn.0063a460
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x414]
push ecx
mov edx, dword [ebp - 0x41c]
push edx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 0x208
push 0
lea ecx, [ebp - 0x20c]
push ecx
call fcn.0063a460
add esp, 0xc
lea edx, [ebp - 0x414]
push edx
push 0x104
lea eax, [ebp - 0x20c]
push eax
call fcn.004239e0
push str.NetBase.dll
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4a0776
lea eax, [ebp - 0x414]
push eax
push 0x104
lea ecx, [ebp - 0x20c]
push ecx
call fcn.004239e0
xor edx, edx
mov byte [ebp - 0x415], dl
lea ecx, [ebp - 0x415]
call fcn.004a35d0
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4a07bc
lea edx, [ebp - 0x20c]
push edx
call fcn.00603960
add esp, 4
test eax, eax
je 0x4a07bc
lea eax, [ebp - 0x20c]
push eax
call fcn.004a41b0
mov ecx, eax
call fcn.004a4260
call fcn.004a0980
mov dword [0x6f8dc8], 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006135ac
mov esp, ebp
pop ebp
ret
Function at 0x4a11b0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2608
call fcn.00613c30
mov eax, dword [0x6eb874]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x25fc], ecx
cmp dword [ebp + 0xc], 0
je 0x4a11e2
mov ecx, dword [ebp + 8]
call fcn.00425070
movzx eax, al
test eax, eax
je 0x4a11e9
xor al, al
jmp 0x4a1417
mov ecx, dword [ebp - 0x25fc]
movzx edx, byte [ecx]
test edx, edx
je 0x4a11fd
xor al, al
jmp 0x4a1417
mov ecx, dword [ebp - 0x25fc]
call fcn.004a2160
mov eax, dword [ebp - 0x25fc]
mov byte [eax], 1
mov ecx, dword [ebp - 0x25fc]
mov byte [ecx + 0x54], 1
mov edx, dword [ebp - 0x25fc]
mov eax, dword [ebp + 0xc]
mov dword [edx + 0x8c], eax
mov ecx, dword [ebp - 0x25fc]
cmp dword [ecx + 0x94], 0
jne 0x4a1253
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov edx, dword [ebp - 0x25fc]
mov dword [edx + 0x94], eax
mov eax, dword [ebp - 0x25fc]
cmp dword [eax + 0x88], 2
jne 0x4a1285
push 0
push 0x69381c
mov ecx, dword [ebp + 8]
call fcn.00451450
test eax, eax
jne 0x4a1285
mov ecx, dword [ebp - 0x25fc]
mov dword [ecx + 0x88], 1
mov ecx, dword [ebp + 8]
call fcn.00424f20
push eax
lea ecx, [ebp - 0x18c]
call fcn.0044a2f0
mov ecx, eax
call fcn.0040d3c0
push eax
lea ecx, [ebp - 0x2608]
call fcn.004131e0
lea ecx, [ebp - 0x18c]
call fcn.00421ba0
lea ecx, [ebp - 0x25f8]
call fcn.004a33d0
push 0
lea ecx, [ebp - 0x2608]
call fcn.0040d3c0
push eax
lea ecx, [ebp - 0x25f8]
call fcn.004a3d20
lea ecx, [ebp - 0x2604]
call fcn.00413220
lea ecx, [ebp - 0x25f8]
call fcn.004a4130
push eax
lea ecx, [ebp - 0x25f8]
call fcn.004a4240
push eax
lea ecx, [ebp - 0x25f8]
call fcn.004a4150
push eax
lea ecx, [ebp - 0x25f8]
call fcn.004133f0
push eax
push 0x693824
lea edx, [ebp - 0x2604]
push edx
call fcn.00422a10
add esp, 0x18
lea ecx, [ebp - 0x2604]
call fcn.0040d3c0
push eax
lea ecx, [ebp - 0x88]
call fcn.00421700
mov ecx, eax
call fcn.0040d3c0
push eax
mov ecx, dword [ebp - 0x25fc]
add ecx, 4
call fcn.00421e60
lea ecx, [ebp - 0x88]
call fcn.00421ba0
lea ecx, [ebp - 0x25f8]
call fcn.004a4210
mov ecx, dword [ebp - 0x25fc]
mov word [ecx + 0x1c], ax
mov edx, dword [ebp - 0x25fc]
add edx, 0x98
push edx
push 0
mov eax, dword [ebp - 0x25fc]
push eax
push 0x4a1f80
push 0
push 0
call fcn.00644f69
add esp, 0x18
mov ecx, dword [ebp - 0x25fc]
mov dword [ecx + 0x90], eax
mov edx, dword [ebp - 0x25fc]
cmp dword [edx + 0x90], 0
jne 0x4a13e9
mov byte [ebp - 0x25fd], 0
lea ecx, [ebp - 0x2604]
call fcn.00413870
lea ecx, [ebp - 0x25f8]
call fcn.0040d290
lea ecx, [ebp - 0x2608]
call fcn.00413870
mov al, byte [ebp - 0x25fd]
jmp 0x4a1417
mov byte [ebp - 0x25fe], 1
lea ecx, [ebp - 0x2604]
call fcn.00413870
lea ecx, [ebp - 0x25f8]
call fcn.0040d290
lea ecx, [ebp - 0x2608]
call fcn.00413870
mov al, byte [ebp - 0x25fe]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006135ac
mov esp, ebp
pop ebp
ret 8
Function at 0x4a27e0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0x14], ecx
mov dword [ebp - 8], 0
push 0x6fe300
push 0x10
call fcn.00613623
add esp, 8
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x4a2815
mov ecx, dword [ebp - 0xc]
call fcn.0040d170
mov dword [ebp - 0x10], eax
jmp 0x4a281c
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
mov dword [ecx + 0xc], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 8], ecx
push 0
push 0
mov edx, dword [ebp - 4]
push edx
push 0x4a2bb0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x78]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x102
jne 0x4a2889
mov dword [ebp - 8], 0x5a
mov eax, dword [ebp + 8]
push eax
push str.Async_Http_HTTP_timeout_id:_d
call fcn.005564a0
add esp, 8
jmp 0x4a2892
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
mov dword [ebp - 8], edx
cmp dword [ebp - 8], 0x5a
je 0x4a28b3
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
push 0x10
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.00613304
add esp, 8
mov dword [ebp - 4], 0
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 4