joyce8/EMBER2024-capa huggingface dataset:
Function at 0x419e40
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
cmp dword [ebp + 0xc], 0
mov eax, dword [0x44dcf8]
push ebx
mov ebx, dword [0x452838]
push esi
mov dword [ebp - 4], eax
push edi
mov esi, ecx
jne 0x419e81
push 0x104
lea eax, [ebp - 0x20c]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push ebx
lea eax, [ebp - 0x20c]
push eax
jmp 0x419e91
push dword [ebp + 0xc]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
lea edi, [esi + 0x24]
mov ecx, edi
call fcn.00419f18
mov ecx, esi
call fcn.00419ebb
mov ecx, dword [ebp - 4]
xor eax, eax
cmp dword [edi], eax
pop edi
pop esi
setne al
pop ebx
call fcn.0042da10
leave
ret 0xc

Function at 0x41a13f
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ecx
push ebx
push ebp
push esi
xor esi, esi
mov ebp, ecx
cmp dword [ebp], esi
mov dword [esp + 0xc], esi
je 0x41a155
call fcn.0041289d
push esi
push 0x80
push 3
push esi
push 1
push SysReAllocStringLen
push dword [esp + 0x2c]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x41a17a
xor eax, eax
jmp 0x41a1dc
push edi
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push esi
push esi
push esi
push 2
push esi
push ebx
mov dword [esp + 0x30], eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, eax
call ebx
cmp edi, esi
jne 0x41a1a7
xor eax, eax
jmp 0x41a1db
push esi
push esi
push esi
push 4
push edi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
push edi
mov esi, eax
call ebx
push dword [esp + 0x18]
mov ecx, ebp
push esi
call fcn.00419f8b
test eax, eax
je 0x41a1d0
mov dword [esp + 0x10], 1
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 4
Function at 0x41a772
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
lea ebp, [esp - 0x398]
sub esp, 0x418
mov eax, dword [0x44dcf8]
push ebx
push esi
push edi
mov dword [ebp + 0x394], eax
mov esi, ecx
call dword [0x4521c8]
xor ebx, ebx
push 2
push ebx
push dword [ebp + 0x3a0]
mov dword [ebp - 0x7c], esi
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x70], ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
cmp edi, ebx
mov dword [ebp - 0x74], edi
jne 0x41a7c5
call fcn.00415c1c
mov esi, eax
jmp 0x41a865
push dword [ebp + 0x3a8]
push dword [ebp + 0x3a4]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
cmp esi, ebx
je 0x41a83b
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, ebx
mov dword [ebp - 0x78], eax
je 0x41a83b
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
lea esi, [edi + edi]
lea eax, [esi + 2]
cmp eax, 0x400
jbe 0x41a80f
push eax
lea ecx, [ebp - 0x70]
call fcn.0041b798
jmp 0x41a815
lea eax, [ebp - 0x6c]
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], ebx
jne 0x41a821
mov esi, 0x8007000e
jmp 0x41a85c
call dword [0x4521c8]
push edi
push dword [ebp - 0x70]
push edi
push dword [ebp - 0x78]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x41a842
call fcn.00415c1c
jmp 0x41a85a
mov eax, dword [ebp - 0x70]
push dword [ebp + 0x3ac]
mov word [esi + eax], bx
push dword [ebp - 0x70]
lea ecx, [ebp - 0x80]
call fcn.0041a898
mov esi, eax
push dword [ebp - 0x74]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x6c]
cmp dword [ebp - 0x70], eax
je 0x41a875
lea ecx, [ebp - 0x70]
call fcn.0041a88f
mov ecx, dword [ebp + 0x394]
pop edi
mov eax, esi
pop esi
pop ebx
call fcn.0042da10
add ebp, 0x398
leave
ret 0x10
Function at 0x41b69a
Capabilities:
Set registry value

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
mov ebx, ecx
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x41b6a5
push edi
push dword [esp + 0x18]
push 7
push 0
push dword [esp + 0x20]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
ret 8

Function at 0x41bd4c
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
mov ecx, dword [ebp + 0xc]
xor ebx, ebx
cmp ecx, ebx
push edi
je 0x41bd67
cmp word [ecx], bx
je 0x41bd67
xor eax, eax
jmp 0x41bd6a
xor eax, eax
inc eax
mov edi, dword [ebp + 8]
cmp edi, ebx
mov dword [esi + 4], eax
je 0x41be29
cmp dword [edi], 0x18
jne 0x41be29
push dword [edi + 8]
lea ecx, [ebp + 8]
call fcn.00401b2d
mov eax, dword [edi + 4]
cmp eax, ebx
jne 0x41bd9a
push ebx
push ebx
push ebx
push 1
jmp 0x41be09
cmp eax, 1
je 0x41be05
mov eax, dword [ebp + 8]
cmp dword [eax - 8], ebx
je 0x41be05
push dword [edi + 0x10]
lea ecx, [esi + 0x10]
call fcn.00401bea
push dword [edi + 0x14]
lea ecx, [esi + 0x14]
call fcn.00401bea
push dword [edi + 0xc]
mov eax, dword [0x452170]
push dword [ebp + 8]
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push str.httphttp:___s:_d
push eax
call fcn.00401d58
mov edi, dword [ebp - 4]
add esp, 0x10
push ebx
push str._local_
push edi
push 3
push dword [ebp + 0xc]
call dword [sym.imp.WININET.dll_InternetOpenW]
lea ecx, [edi - 0xc]
mov dword [esi], eax
cmp ecx, dword [0x452174]
je 0x41be14
call fcn.004013ad
jmp 0x41be14
push ebx
push ebx
push ebx
push ebx
push dword [ebp + 0xc]
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [esi], eax
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff4
cmp ecx, dword [0x452174]
je 0x41be36
call fcn.004013ad
jmp 0x41be36
push ebx
push ebx
push ebx
push ebx
push ecx
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [esi], eax
xor eax, eax
cmp dword [esi], ebx
pop edi
pop esi
setne al
pop ebx
leave
ret 8
Function at 0x41dcfa
Capabilities:
Get common file path

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esi], 0x43fa70
mov dword [esi + 4], 1
lea edi, [esi + 8]
xor ebp, ebp
lea ecx, [esi + 0xc]
mov dword [edi], ebp
call fcn.0041d1c9
push 0x3c
mov dword [esi + 0x50], ebp
mov dword [esi + 0x54], ebp
mov dword [esi + 0x58], ebp
mov dword [esi + 0x5c], ebp
call fcn.0042c8e6
cmp eax, ebp
pop ecx
je 0x41dd3f
mov ecx, eax
call fcn.0041d1fd
mov ebx, eax
jmp 0x41dd41
xor ebx, ebx
cmp ebx, ebp
je 0x41dd53
push ebx
mov ecx, edi
call fcn.00412b28
mov eax, dword [ebx]
push ebx
call dword [eax + 8]
mov edi, 0x104
push edi
lea ebx, [esi + 0x64]
push ebp
push ebx
mov dword [esi + 0x60], ebp
call fcn.0042d500
push edi
lea ebp, [esi + 0x26c]
push 0
push ebp
call fcn.0042d500
add esp, 0x18
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push str.ShareFile.bat
push ebx
call fcn.0042d999
pop ecx
pop ecx
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push str.TTRecomList.xml
push ebp
call fcn.0042d999
pop ecx
pop ecx
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
ret
Function at 0x422211
Capabilities:
Delete file

Disassembly:
mov eax, 0x43cf7e
call fcn.0042e160
push ecx
push ecx
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
xor edi, edi
inc edi
mov dword [ebp - 0x14], edi
xor esi, esi
mov dword [ebp - 4], esi
push dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov ecx, ebx
call fcn.00422b8b
mov dword [ebp - 0x14], eax
cmp eax, esi
jl 0x4222a2
or dword [ebp - 4], 0xffffffff
mov dword [ebp - 4], 2
push edi
mov ecx, ebx
call fcn.004222c6
or dword [ebp - 4], 0xffffffff
push esi
push str.TTPlayer_PlayerWnd
call dword [sym.imp.USER32.dll_FindWindowW]
mov edi, eax
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x422282
push esi
push esi
push 0x812
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x42228f
add ebx, 0x26c
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push esi
push esi
push 0x10
push dword [0x4523a8]
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x4234be
Capabilities:
Delete file

Disassembly:
mov eax, 0x43cf92
call fcn.0042e160
push ecx
push ecx
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], 1
xor esi, esi
mov dword [ebp - 4], esi
push dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov ecx, ebx
call fcn.00422b8b
mov dword [ebp - 0x14], eax
cmp eax, esi
jl 0x423550
or dword [ebp - 4], 0xffffffff
mov dword [ebp - 4], 2
push esi
mov ecx, ebx
call fcn.004222c6
or dword [ebp - 4], 0xffffffff
push esi
push str.TTPlayer_PlayerWnd
call dword [sym.imp.USER32.dll_FindWindowW]
mov edi, eax
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x423530
push esi
push esi
push 0x812
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x42353d
add ebx, 0x26c
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push esi
push esi
push 0x10
push dword [0x4523a8]
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x423574
Capabilities:
Delete file

Disassembly:
mov eax, 0x43cf9c
call fcn.0042e160
push ecx
push ecx
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], 1
xor esi, esi
mov dword [ebp - 4], esi
push dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov ecx, ebx
call fcn.00422b8b
mov dword [ebp - 0x14], eax
cmp eax, esi
jl 0x423606
or dword [ebp - 4], 0xffffffff
mov dword [ebp - 4], 2
push esi
mov ecx, ebx
call fcn.004222c6
or dword [ebp - 4], 0xffffffff
push esi
push str.TTPlayer_PlayerWnd
call dword [sym.imp.USER32.dll_FindWindowW]
mov edi, eax
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4235e6
push esi
push esi
push 0x813
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x4235f3
add ebx, 0x26c
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push esi
push esi
push 0x10
push dword [0x4523a8]
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x424c73
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov edx, dword [esp + 8]
test edx, edx
jne 0x424c7e
xor eax, eax
ret
mov eax, dword [esp + 0xc]
cmp eax, 8
push ebx
push esi
mov esi, dword [esp + 0xc]
not esi
mov ecx, 0xff
jb 0x424d41
push edi
mov edi, eax
shr edi, 3
xor ebx, ebx
mov bl, byte [edx]
sub eax, 8
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x441a98]
xor ebx, ebx
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x441a98]
xor ebx, ebx
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x441a98]
xor ebx, ebx
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x441a98]
xor ebx, ebx
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x441a98]
xor ebx, ebx
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x441a98]
xor ebx, ebx
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x441a98]
xor ebx, ebx
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x441a98]
inc edx
dec edi
jne 0x424c9e
pop edi
test eax, eax
je 0x424d5b
xor ebx, ebx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x441a98]
inc edx
dec eax
jne 0x424d45
mov eax, esi
pop esi
not eax
pop ebx
ret
Function at 0x42526a
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
cmp dword [esi + 0x18], edi
je 0x42531f
mov eax, dword [esi + 0x1c]
mov ebx, dword [ebp + 0xc]
lea ecx, [ebx + eax]
mov eax, dword [esi + 0x20]
cmp ecx, eax
jb 0x425305
add eax, eax
cmp eax, ecx
mov dword [ebp - 4], eax
ja 0x42529a
mov dword [ebp - 4], ecx
push edi
push dword [ebp - 4]
push edi
push 4
push edi
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov ebx, eax
cmp ebx, edi
je 0x4252ce
push dword [ebp - 4]
push edi
push edi
push 0xf001f
push ebx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edi, eax
test edi, edi
jne 0x4252d5
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0x300
jmp 0x425348
push dword [esi + 0x20]
push dword [esi + 0x18]
push edi
call fcn.0042c9b0
add esp, 0xc
push dword [esi + 0x18]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
mov dword [esi + 4], ebx
mov ebx, dword [ebp + 0xc]
mov dword [esi + 0x20], eax
mov dword [esi + 0x18], edi
mov eax, dword [esi + 0x1c]
add eax, dword [esi + 0x18]
push ebx
push dword [ebp + 8]
push eax
call fcn.0042c9b0
add esp, 0xc
add dword [esi + 0x1c], ebx
mov eax, ebx
jmp 0x425348
mov eax, dword [esi]
cmp eax, edi
je 0x42533f
push edi
lea ecx, [ebp - 4]
push ecx
push dword [ebp + 0xc]
mov dword [ebp - 4], edi
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp - 4]
jmp 0x425348
mov dword [esi + 0xc], 0x1000000
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x4255b3
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov ecx, dword [esi + 0x58]
test ecx, ecx
push edi
je 0x4255fd
mov eax, dword [esi + 0x60]
mov edi, dword [esi + 0x5c]
cmp eax, edi
jae 0x425639
sub edi, eax
cmp edi, dword [ebp + 0xc]
jbe 0x4255d5
mov edi, dword [ebp + 0xc]
push edi
add eax, ecx
push eax
push dword [ebp + 8]
call fcn.0042c9b0
add dword [esi + 0x60], edi
add dword [esi + 0x48], edi
push edi
push dword [ebp + 8]
push dword [esi + 0x4c]
call fcn.00424c73
add esp, 0x18
mov dword [esi + 0x4c], eax
mov eax, edi
jmp 0x42563b
mov eax, dword [esi + 0x50]
test eax, eax
je 0x425632
push 0
lea ecx, [ebp + 0xc]
push ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x425639
mov edi, dword [ebp + 0xc]
add dword [esi + 0x48], edi
push edi
push dword [ebp + 8]
push dword [esi + 0x4c]
call fcn.00424c73
add esp, 0xc
jmp 0x4255f6
mov dword [esi + 0xc], 0x1000000
xor eax, eax
pop edi
pop esi
pop ebp
ret 8
Function at 0x425d40
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
xor edx, edx
push edi
mov edi, dword [esp + 0x14]
inc edx
xor ebx, ebx
cmp edi, edx
jl 0x425d59
cmp edi, 8
jg 0x425d59
mov al, dl
jmp 0x425d5b
xor al, al
mov esi, dword [esp + 0x10]
push str.bad_pack_level
push eax
push esi
call fcn.00423920
lea ecx, [esi + 0x6af70]
add esp, 0xc
cmp dword [ecx], ebx
lea eax, [esi + 0x6af78]
mov dword [eax], ebx
jne 0x425d88
mov dword [eax], edx
mov dword [ecx], 0x10000
push 0x1fffc
lea eax, [esi + 0x4af70]
push ebx
push eax
mov dword [esi + 0x6af6c], ebx
call fcn.0042d500
mov eax, edi
shl eax, 3
movzx ecx, word [eax + 0x441a4a]
mov dword [esi + 0x6af98], ecx
movzx ecx, word [eax + 0x441a48]
mov dword [esi + 0x6af9c], ecx
movzx ecx, word [eax + 0x441a4c]
mov dword [esi + 0x6afa0], ecx
movzx eax, word [eax + 0x441a4e]
add esp, 0xc
cmp edi, 2
mov dword [esi + 0x6af94], eax
jg 0x425dea
mov eax, dword [esp + 0x18]
or byte [eax], 4
jmp 0x425df6
cmp edi, 8
jl 0x425df6
mov eax, dword [esp + 0x18]
or byte [eax], 2
push 0x10000
lea edi, [esi + 0x1af70]
push edi
push esi
mov dword [esi + 0x6af84], ebx
mov dword [esi + 0x6af74], ebx
call dword [esi + 0xc]
add esp, 0xc
cmp eax, ebx
mov dword [esi + 0x6af90], eax
je 0x425e60
cmp eax, 0xffffffff
je 0x425e60
cmp eax, 0x106
mov dword [esi + 0x6af8c], ebx
jae 0x425e38
push esi
call fcn.00424381
pop ecx
mov dword [esi + 0x6af7c], ebx
movzx eax, byte [edi + ebx]
mov ecx, dword [esi + 0x6af7c]
shl ecx, 5
xor eax, ecx
and eax, 0x7fff
inc ebx
cmp ebx, 2
mov dword [esi + 0x6af7c], eax
jb 0x425e3e
jmp 0x425e70
mov dword [esi + 0x6af8c], 1
mov dword [esi + 0x6af90], ebx
pop edi
pop esi
pop ebx
ret
Function at 0x426442
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
cmp dword [esi + 0x6af90], ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0x6af80], 2
je 0x426647
push edi
mov edi, 0x7fff
cmp dword [esi + 0x6af90], 3
jb 0x4264bc
mov ecx, dword [esi + 0x6af84]
movzx eax, byte [ecx + esi + 0x1af72]
mov edx, dword [esi + 0x6af7c]
shl edx, 5
xor eax, edx
and eax, edi
mov dword [esi + 0x6af7c], eax
mov eax, dword [esi + eax*4 + 0x4af70]
and ecx, edi
mov dword [esi + ecx*4 + 0x2af70], eax
mov ecx, dword [esi + 0x6af84]
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x6af7c]
mov dword [esi + eax*4 + 0x4af70], ecx
cmp dword [ebp - 4], 0
je 0x4264fd
mov eax, dword [esi + 0x6af84]
sub eax, dword [ebp - 4]
cmp eax, 0x7efa
ja 0x4264fd
mov ecx, dword [esi + 0x6af90]
lea eax, [esi + 0x6afa0]
cmp dword [eax], ecx
jbe 0x4264e4
mov dword [eax], ecx
push dword [ebp - 4]
push esi
call fcn.004241e8
mov ebx, eax
mov eax, dword [esi + 0x6af90]
cmp ebx, eax
pop ecx
pop ecx
jbe 0x4264fd
mov ebx, eax
cmp ebx, 3
jb 0x4265c1
lea eax, [ebx - 3]
push eax
mov eax, dword [esi + 0x6af84]
sub eax, dword [esi + 0x6af88]
push eax
push esi
call fcn.00423cdc
sub dword [esi + 0x6af90], ebx
add esp, 0xc
cmp ebx, dword [esi + 0x6af98]
mov dword [ebp + 8], eax
mov eax, dword [esi + 0x6af90]
ja 0x42658f
cmp eax, 3
jb 0x42658f
dec ebx
inc dword [esi + 0x6af84]
mov edx, dword [esi + 0x6af84]
movzx ecx, byte [esi + edx + 0x1af72]
mov eax, dword [esi + 0x6af7c]
shl eax, 5
xor ecx, eax
and ecx, edi
mov dword [esi + 0x6af7c], ecx
mov ecx, dword [esi + ecx*4 + 0x4af70]
and edx, edi
dec ebx
mov dword [esi + edx*4 + 0x2af70], ecx
mov eax, dword [esi + 0x6af7c]
mov dword [ebp - 4], ecx
mov ecx, dword [esi + 0x6af84]
mov dword [esi + eax*4 + 0x4af70], ecx
jne 0x42653d
jmp 0x4265e4
add dword [esi + 0x6af84], ebx
mov eax, dword [esi + 0x6af84]
lea edx, [eax + esi]
movzx ecx, byte [edx + 0x1af70]
lea eax, [esi + 0x6af7c]
mov dword [eax], ecx
movzx edx, byte [edx + 0x1af71]
shl ecx, 5
xor edx, ecx
xor ebx, ebx
and edx, edi
mov dword [eax], edx
jmp 0x4265ea
mov eax, dword [esi + 0x6af84]
movzx eax, byte [eax + esi + 0x1af70]
push eax
push 0
push esi
call fcn.00423cdc
add esp, 0xc
dec dword [esi + 0x6af90]
mov dword [ebp + 8], eax
inc dword [esi + 0x6af84]
cmp dword [ebp + 8], 0
je 0x426626
mov eax, dword [esi + 0x6af74]
test eax, eax
jl 0x426603
lea ecx, [eax + esi + 0x1af70]
jmp 0x426605
xor ecx, ecx
mov edx, dword [esi + 0x6af84]
push 0
sub edx, eax
push edx
push ecx
push esi
call fcn.0042629c
mov eax, dword [esi + 0x6af84]
add esp, 0x10
mov dword [esi + 0x6af74], eax
cmp dword [esi + 0x6af90], 0x106
jae 0x426639
push esi
call fcn.00424381
pop ecx
cmp dword [esi + 0x6af90], 0
jne 0x42646c
pop edi
mov eax, dword [esi + 0x6af74]
test eax, eax
jl 0x42665a
lea ecx, [eax + esi + 0x1af70]
jmp 0x42665c
xor ecx, ecx
mov edx, dword [esi + 0x6af84]
push 1
sub edx, eax
push edx
push ecx
push esi
call fcn.0042629c
add esp, 0x10
pop esi
pop ebx
leave
ret
Function at 0x429324
Capabilities:
Connect to http server
Send data
Send http request

Disassembly:
push ebp
mov eax, 0x2494
lea ebp, [esp - 0x2414]
call fcn.0042db90
mov eax, dword [0x44dcf8]
push ebx
push esi
push edi
mov dword [ebp + 0x2410], eax
mov esi, ecx
call fcn.004272c7
mov edi, 0x10000000
push edi
xor ebx, ebx
push ebx
lea ecx, [ebp - 0x78]
call fcn.00402a5e
mov eax, dword [esi + 0x80]
mov eax, dword [eax + 8]
push edi
push eax
lea ecx, [ebp - 0x78]
call fcn.00402ac3
test eax, eax
je 0x42947a
push ebx
push ebx
push 3
push dword [ebp - 0x54]
push dword [ebp - 0x5c]
push dword [ebp - 0x60]
push dword [ebp - 0x68]
push dword [esi + 0x6c]
call dword [sym.imp.WININET.dll_InternetConnectW]
cmp eax, ebx
mov dword [esi + 0x70], eax
je 0x42947a
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x78]
call fcn.00402b29
mov edi, dword [eax]
lea eax, [ebp - 0x7c]
push eax
lea ecx, [ebp - 0x78]
call fcn.00402b8c
mov eax, dword [eax]
push esi
push 0x80400200
push ebx
push edi
push ebx
push eax
push 0x445e7c
push dword [esi + 0x70]
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov ecx, dword [ebp - 0x7c]
add ecx, 0xfffffff4
mov dword [esi + 0x74], eax
cmp ecx, dword [0x452174]
je 0x4293e5
call fcn.004013ad
mov ecx, dword [ebp - 0x80]
add ecx, 0xfffffff4
cmp ecx, dword [0x452174]
je 0x4293f8
call fcn.004013ad
cmp dword [esi + 0x74], ebx
je 0x42947a
mov eax, dword [esi + 0x68]
cmp eax, ebx
mov edi, dword [0x452170]
mov dword [ebp - 0x7c], edi
jbe 0x429422
push eax
lea eax, [ebp - 0x7c]
push str.Range:_bytes_u__r_n
push eax
call fcn.00401d58
mov edi, dword [ebp - 0x7c]
add esp, 0xc
mov eax, dword [edi - 8]
push ebx
push ebx
push eax
push edi
push dword [esi + 0x74]
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
je 0x42944b
lea ecx, [edi - 0xc]
cmp ecx, dword [0x452174]
je 0x429446
call fcn.004013ad
push 2
pop eax
jmp 0x42947c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
lea ecx, [edi - 0xc]
jne 0x42946d
cmp ecx, dword [0x452174]
je 0x429468
call fcn.004013ad
xor eax, eax
inc eax
jmp 0x42947c
cmp ecx, dword [0x452174]
je 0x42947a
call fcn.004013ad
xor eax, eax
mov ecx, dword [ebp + 0x2410]
pop edi
pop esi
pop ebx
call fcn.0042da10
add ebp, 0x2414
leave
ret
Function at 0x42998f
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
mov esi, ecx
xor edi, edi
cmp dword [esi + 0x64], edi
je 0x4299a5
call fcn.00427370
mov eax, dword [esi + 0x40]
cmp eax, edi
je 0x429aa8
cmp dword [eax], 0x18
jne 0x429aa8
push ebx
push dword [eax + 8]
lea ecx, [ebp - 4]
call fcn.00401b2d
mov eax, dword [esi + 0x40]
mov ecx, dword [eax + 4]
cmp ecx, edi
mov ebx, dword [ebp - 4]
jne 0x4299e0
push 0x10000000
push edi
push edi
push 1
jmp 0x429a9a
cmp ecx, 1
je 0x429a92
cmp dword [ebx - 8], edi
je 0x429a92
push dword [eax + 0x10]
lea ecx, [ebp - 0xc]
call fcn.00401b2d
mov eax, dword [esi + 0x40]
push dword [eax + 0x14]
lea ecx, [ebp - 8]
call fcn.00401b2d
mov eax, dword [0x452170]
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x40]
push dword [eax + 0xc]
lea eax, [ebp - 4]
push ebx
push str.httphttp:___s:_d
push eax
call fcn.00401d58
mov edi, dword [ebp - 4]
add esp, 0x10
push 0x10000000
push str._local_
push edi
push 3
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_InternetOpenW]
lea ecx, [edi - 0xc]
mov dword [esi + 0x64], eax
cmp ecx, dword [0x452174]
je 0x429a57
call fcn.004013ad
mov ecx, dword [ebp - 8]
add ecx, 0xfffffff4
cmp ecx, dword [0x452174]
je 0x429a6a
call fcn.004013ad
mov ecx, dword [ebp - 0xc]
add ecx, 0xfffffff4
cmp ecx, dword [0x452174]
je 0x429a7d
call fcn.004013ad
xor edi, edi
lea ecx, [ebx - 0xc]
cmp ecx, dword [0x452174]
pop ebx
je 0x429abc
call fcn.004013ad
jmp 0x429abc
push 0x10000000
push edi
push edi
push edi
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [esi + 0x64], eax
jmp 0x429a7f
push 0x10000000
push edi
push edi
push edi
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [esi + 0x64], eax
mov esi, dword [esi + 0x64]
cmp esi, edi
jne 0x429ac7
xor eax, eax
jmp 0x429adb
push 0x42798e
push esi
call dword [sym.imp.WININET.dll_InternetSetStatusCallbackW]
inc eax
neg eax
sbb eax, eax
and eax, 2
pop edi
pop esi
leave
ret 4

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

Disassembly:
push esi
mov esi, ecx
call fcn.00427b8a
test eax, eax
je 0x429c2e
push edi
mov ecx, esi
call fcn.00427bc6
test eax, eax
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
je 0x429bb9
call edi
sub eax, dword [esi + 0x54]
cmp eax, 0x4e20
jae 0x429be4
mov ecx, esi
call fcn.00428f0b
push 0
mov ecx, esi
call fcn.00427b1a
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0xc0]
call fcn.00428274
mov ecx, esi
call fcn.00429ae1
cmp eax, 2
je 0x429c2d
mov eax, dword [esp + 0xc]
add eax, 0x34
push eax
lea ecx, [esi + 0x34]
call fcn.00428766
call edi
sub eax, dword [esi + 0x54]
cmp eax, 1
jae 0x429c03
xor eax, eax
inc eax
jmp 0x429c08
call edi
sub eax, dword [esi + 0x54]
and dword [esi + 0x54], 0
mov ecx, esi
mov dword [esi + 0x50], eax
call fcn.00428f0b
mov eax, dword [esi + 0x60]
test eax, eax
mov dword [esi + 0x20], 1
je 0x429c2d
push dword [esi + 0x5c]
push 0
push 3
call eax
pop edi
pop esi
ret 4