joyce8/EMBER2024-capa huggingface dataset:
Function at 0x449490
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4888e3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.0047c045
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], method.CBrush.virtual_0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.004816db
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.00482bf7
test eax, eax
je 0x4495ac
mov ecx, dword [esp + 0x3c]
call fcn.00481708
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x449570
push edi
mov ecx, esi
call fcn.0047ed71
mov ecx, esi
call fcn.00449750
cmp dword [esp + 0x38], 1
jne 0x4495a5
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.0047eeac
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x44b790
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x44b7c3
push esi
call fcn.00459b40
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x44b7bc
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x44b849
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x44b832
mov eax, dword [esi + 8]
test eax, eax
je 0x44b7e7
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x44b82e
cmp eax, 2
je 0x44b832
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x44b7da
cmp eax, 3
je 0x44b80d
cmp eax, 1
jne 0x44b7da
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x44b7da
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x44b7da
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0044b870
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x44b858
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0044b870
add esp, 4
pop esi
ret

Function at 0x44c0e0
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x44c101
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x44c101
mov eax, dword [eax + 0x44]
test eax, eax
je 0x44c101
mov edx, dword [esp + 8]
push edx
push eax
call ecx
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x4673c0
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x467463
test eax, eax
jbe 0x467463
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x467463
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x46740e
xor esi, esi
jmp 0x467414
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x46743f
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.0040ab50
add esi, eax
push esi
mov ebx, esi
call fcn.0040ab50
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x467420
pop ebp
test edi, edi
pop edi
jne 0x467463
test ebx, ebx
je 0x467463
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.0046bba0
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x467585
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x46769d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x46769d
mov eax, dword [esi + 0x3c]
push eax
call fcn.0047c497
mov esi, eax
test esi, esi
je 0x46769d
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x46769d
mov ecx, esi
call fcn.00467510
cmp edi, eax
jge 0x46769d
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x467623
mov dword [esp + 0x34], 1
jmp 0x46767e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x46769d
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.00466b00
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc

Function at 0x47ce3b
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x47ce73
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0047aeef
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0047aec7
jmp 0x47ce7f
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x47e52e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x47e570
call fcn.00483fdd
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x47e570
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x47e567
xor eax, eax
jmp 0x47e578
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0047e57e
pop edi
pop esi
pop ebx
ret 4
Function at 0x48450d
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x48453b
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x484559
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00484473
jmp 0x484559
mov eax, dword [esi + 0x14]
test eax, eax
je 0x484559
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00484473
test edi, edi
mov eax, edi
jne 0x484543
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8

Function at 0xb3a058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.00b3a1a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xb3a07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xb3a06a
add dl, dl
jne 0xb3a089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xb3a0dc
xor eax, eax
add dl, dl
jne 0xb3a096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xb3a17d
add dl, dl
jne 0xb3a0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xb3a0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xb3a0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xb3a0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xb3a0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xb3a075
mov eax, 1
add dl, dl
jne 0xb3a0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xb3a0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xb3a0e1
sub eax, ebx
mov ebx, 1
jne 0xb3a128
mov ecx, 1
add dl, dl
jne 0xb3a10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xb3a119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xb3a105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xb3a075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xb3a13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xb3a14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xb3a136
cmp eax, 0x7d00
jae 0xb3a16d
cmp eax, 0x500
jb 0xb3a168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xb3a075
cmp eax, 0x7f
ja 0xb3a170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xb3a075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xb3a19e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0xb3a075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x402380
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push esi
mov esi, 0x811c9dc5
xor edx, edx
movzx eax, byte [edx + ecx]
xor eax, esi
imul esi, eax, 0x1000193
inc edx
cmp edx, 4
jb 0x402388
mov eax, esi
pop esi
ret
Function at 0x431005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
call 0x43100c
pop eax
nop
nop
nop
nop
nop
add eax, 0x403e6a
nop
sub eax, 0x403e10
nop
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
jl 0x431030
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43101e
nop
nop
popal
nop
nop
nop
nop
jmp loc.00401219
Function at 0x405282
Capabilities:
Print debug messages

Disassembly:
push esi
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push edi
push str.WinMain_start__lpCmdLine_is:
call esi
mov eax, dword [esp + 0x14]
xor edi, edi
cmp dword [esp + 0x14], edi
jne 0x4052a2
mov eax, str.NULL
push eax
call esi
push str.WinMain_start__parameter_is:
call esi
push str.package.nameZoom.msipackage.versionlatestpackage.size9958kdownloadRoothttps:__launcher.zoom.us_clientactionjoinbrowserchromeconfiddGlkPTc0MWYyNDU5NTM5OGEyMzFhMTBmMTY3MDA1YzA4NjY2confno3690219528zc0mcv0.92.11227.0929stafalseinstaller.exeInstaller.exe
call esi
push 0x444
call fcn.00407475
pop ecx
cmp eax, edi
je 0x4052ce
mov edx, dword [esp + 0xc]
push eax
call fcn.0040538c
jmp 0x4052d0
xor eax, eax
push str.zoom.us_Downloader_Mutex_1.0.0.0
push edi
push 0x1f0001
mov dword [0x41ddb8], eax
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
cmp eax, edi
je 0x4052f3
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4052fc
call fcn.00406405
test eax, eax
jne 0x40531c
push edi
push str.zoom.us_Boot_Downloader
call dword [sym.imp.USER32.dll_FindWindowA]
cmp eax, edi
je 0x405341
push edi
push edi
push 0x7e9
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
jmp 0x405341
mov ecx, dword [esp + 0x14]
call fcn.004057bb
mov eax, dword [0x41ddb8]
cmp eax, edi
je 0x405334
push eax
call fcn.00405348
push str.WinMain_end
mov dword [0x41ddb8], edi
call esi
pop edi
xor eax, eax
pop esi
ret 0x10
Function at 0x4116e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
pushal
call 0x4116ef
pop dword [ebp - 0x34]
mov eax, 0x498987f3
add eax, 0xb6b78efc
sub dword [ebp - 0x34], eax
push 0x40
push 0x1000
push 0x3cb4e
push 0
mov eax, 0x10ae970b
sub eax, 0x106c44f3
add eax, dword [ebp - 0x34]
call dword [eax]
mov ecx, 0xeef685d5
add ecx, 0x1109bdc2
mov esi, eax
mov edx, 0xf27b6702
sub edx, 0xf2381302
add edx, dword [ebp - 0x34]
mov edi, 0x6d0b72ca
sub edi, 0x4eb77d62
sub dword [ebp - 4], 0xce288d90
mov ebx, dword [edx]
xor ebx, edi
add dword [ebp - 0x24], ebx
mov dword [esi], ebx
xor dword [ebp - 0x28], ebx
add esi, 0x4c260d34
sub esi, 0x4c260d30
add edx, 4
loop 0x41174e
add eax, 0x981c4c51
sub eax, 0x981b4b22
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0xe6b841a5
sub ecx, 0xe67841a5
add ecx, dword [ebp - 0x34]
call ebx
leave
ret
Function at 0x40595e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
pushal
call 0x40596d
pop dword [ebp - 0xc]
mov eax, 0x1f5b20bd
add eax, 0xe0e538b0
sub dword [ebp - 0xc], eax
mov dword [ebp - 0x1c], 0x22a520e1
add dword [ebp - 0x1c], 0x2bad246a
mov dword [ebp - 0x18], 0xd94c178e
sub dword [ebp - 0x18], 0xa718cb49
mov dword [ebp - 0x14], 0x9706a51f
add dword [ebp - 0x14], 0xb5459f0f
mov dword [ebp - 0x10], 0x1d80cf2d
sub dword [ebp - 0x10], 0x1d80cf2d
lea eax, [ebp - 0x1c]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0xc]
call dword [eax]
mov dword [ebp - 0x1c], 0xaedcb6f7
sub dword [ebp - 0x1c], 0x3a6a4da1
mov dword [ebp - 0x18], 0x7621519d
sub dword [ebp - 0x18], 0x34b4f028
mov dword [ebp - 0x14], 0x49f17dda
add dword [ebp - 0x14], 0x197dee92
mov dword [ebp - 0x10], 0xe671d5ce
add dword [ebp - 0x10], 0x198e2a32
lea ebx, [ebp - 0x1c]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0xc]
call dword [eax]
push 0x40
push 0x1000
push 0x384c3
push 0
call eax
mov ecx, 0x5e8ffea9
sub ecx, 0x5e8fb056
mov esi, eax
mov edi, 0x66808bff
add edi, 0x99c07401
add edi, dword [ebp - 0xc]
mov edx, 0x8a31d1c0
xor dword [ebp - 8], 0xa46a8b28
mov ebx, dword [edi]
add ebx, edx
add dword [ebp - 8], 0x6ef40a69
mov dword [esi], ebx
add dword [ebp - 4], 0x8d624505
add esi, 4
add edi, 0x502fe93f
add edi, 0xafd016c5
loop 0x405a7f
add eax, 0x12c1f
mov ebx, eax
add eax, 0x9846e497
sub eax, 0x9846e492
mov ecx, 0x1383562c
add ecx, 0xecbca9d4
add ecx, dword [ebp - 0xc]
call ebx
leave
ret

Function at 0x4065b0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40c17c]
jne 0x4065ba
repz ret
jmp fcn.00406941
Function at 0x40157d
Capabilities:
Accept command line arguments
Check mutex on windows

Disassembly:
push 0x818
push 0x41f6e0
call fcn.00412678
xor ebx, ebx
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
push ebx
push dword [ebp + 8]
push 0x427630
mov ecx, 0x427658
call fcn.0040126a
mov dword [ebp - 0x24], 1
mov dword [ebp - 0x1c], ebx
mov esi, 0x41f5b8
lea edi, [ebp - 0x28]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push eax
call fcn.0040fe4e
pop ecx
pop ecx
mov esi, eax
cmp esi, ebx
je 0x40166c
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
push str.UnregServer
push esi
call edi
test eax, eax
je 0x401669
push str.RegServer
push esi
call edi
test eax, eax
je 0x401669
push 4
push str.auto
push esi
call fcn.00412ef0
add esp, 0xc
test eax, eax
jne 0x401613
mov dword [0x426064], ebx
jmp 0x401651
push 9
push str.scheduled
push esi
call fcn.00412ef0
add esp, 0xc
test eax, eax
jne 0x401633
mov dword [0x427654], 1
jmp 0x401651
push 4
push str.test
push esi
call fcn.00412ef0
add esp, 0xc
test eax, eax
jne 0x401651
lea eax, [esi + 5]
push eax
call fcn.0040fe8f
pop ecx
lea eax, [ebp - 0x28]
push eax
push esi
call fcn.0040fe4e
pop ecx
pop ecx
mov esi, eax
cmp esi, ebx
jne 0x4015df
jmp 0x40166c
mov dword [ebp - 0x24], ebx
cmp dword [ebp - 0x24], ebx
je 0x401729
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 0x4016ff
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x4016ff
call fcn.0040c3e9
test eax, eax
jne 0x4016f5
mov edi, 0x400
push edi
lea eax, [ebp - 0x428]
push eax
push 0x72
push dword [0x4278ac]
mov esi, dword [sym.imp.USER32.dll_LoadStringA]
call esi
push edi
lea eax, [ebp - 0x828]
push eax
push 0x75
push dword [0x4278ac]
call esi
push 0x10
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x828]
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
mov dword [ebp - 0x1c], 0x80004005
jmp 0x401720
call fcn.00401531
mov dword [ebp - 0x1c], eax
jmp 0x401720
mov dword [ebp - 0x1c], 0x64
cmp dword [ebp - 0x20], ebx
je 0x401720
cmp dword [0x426064], ebx
jne 0x40171b
cmp dword [0x427654], ebx
je 0x401720
call fcn.0040f00c
or dword [ebp - 4], 0xffffffff
call fcn.00401746
mov ecx, 0x427658
call fcn.004014df
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [ebp - 0x1c]
call fcn.004126b3
ret 0x10
Function at 0x4020ee
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x41e3e6
call fcn.00412ec4
sub esp, 0x418
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov esi, ecx
call dword [0x426060]
xor ebx, ebx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x424], ebx
cmp dword [ebp + 8], ebx
mov byte [ebp - 4], 1
je 0x402197
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edi, [eax + eax + 2]
cmp edi, 0x400
jg 0x402160
push edi
call fcn.00401b08
test al, al
pop ecx
je 0x402160
mov eax, edi
add eax, 3
and eax, 0xfffffffc
call fcn.00412ff0
mov dword [ebp - 0x10], esp
mov esi, esp
jmp 0x402176
lea eax, [edi + 8]
push eax
call fcn.00412fd0
cmp eax, ebx
pop ecx
je 0x402197
mov dword [eax], ebx
mov dword [ebp - 0x18], eax
lea esi, [eax + 8]
cmp esi, ebx
je 0x402197
push ebx
push ebx
push edi
push esi
push 0xffffffffffffffff
push dword [ebp + 8]
mov byte [esi], bl
push ebx
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
neg eax
sbb eax, eax
and eax, esi
jmp 0x402199
xor eax, eax
cmp eax, ebx
jne 0x4021c0
lea eax, [ebp - 0x420]
cmp dword [ebp - 0x424], eax
je 0x4021b6
lea ecx, [ebp - 0x424]
call fcn.0040340e
mov esi, 0x8007000e
jmp 0x4022b3
push 2
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov edi, eax
cmp edi, ebx
mov dword [ebp - 0x14], edi
jne 0x4021df
call fcn.00401b61
mov esi, eax
jmp 0x40229a
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
cmp esi, ebx
je 0x402201
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, ebx
mov dword [ebp + 0x10], eax
jne 0x40220b
call fcn.00401b61
jmp 0x40228f
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp + 8], eax
inc eax
cmp eax, 0x400
mov byte [ebp - 4], 2
jbe 0x402236
push eax
lea ecx, [ebp - 0x424]
call fcn.004022d4
jmp 0x402246
lea eax, [ebp - 0x420]
mov dword [ebp - 0x424], eax
jmp 0x402246
mov edi, dword [ebp - 0x424]
cmp edi, ebx
mov dword [ebp - 4], 1
jne 0x40225e
mov esi, 0x8007000e
jmp 0x402291
mov ecx, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
push dword [ebp + 0x14]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp - 0x424]
mov ecx, dword [ebp + 8]
mov byte [ecx + eax], bl
push dword [ebp - 0x424]
lea ecx, [ebp - 0x20]
call fcn.0040230d
mov esi, eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x420]
cmp dword [ebp - 0x424], eax
je 0x4022b3
lea ecx, [ebp - 0x424]
call fcn.0040340e
lea ecx, [ebp - 0x18]
call fcn.00401de2
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 0x402ecd
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
push ebx
push esi
push 0x2001f
push dword [ebp + 8]
mov ebx, ecx
push dword [ebx]
xor esi, esi
lea ecx, [ebp - 4]
mov dword [ebp - 4], esi
call fcn.00402e0e
cmp eax, esi
jne 0x402f45
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
jmp 0x402f0e
lea eax, [ebp - 0x110]
push eax
call fcn.00402ecd
cmp eax, esi
jne 0x402f44
lea eax, [ebp - 0x10]
push eax
push esi
push esi
push esi
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x110]
push eax
push esi
push dword [ebp - 4]
mov dword [ebp - 8], 0x100
call edi
test eax, eax
lea ecx, [ebp - 4]
je 0x402efe
call fcn.00402df7
push dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
pop edi
lea ecx, [ebp - 4]
mov esi, eax
call fcn.00402df7
mov eax, esi
pop esi
pop ebx
leave
ret 4
Function at 0x40331a
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_lstrlenA]
inc eax
add esi, eax
add edi, eax
cmp eax, 1
jne 0x403325
push edi
push dword [esp + 0x18]
push 7
push 0
push dword [esp + 0x20]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
pop ebx
ret 8

Function at 0x403970
Capabilities:
Check internet connectivity via wininet
Connect to http server
Create http request
Parse url
Send data
Send http request

Disassembly:
push 0x460
push 0x41fa38
call fcn.00412678
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 0x4039a4
mov eax, ebx
jmp 0x403aed
push str.http:__java.sun.com
push 0x41f9dc
lea eax, [ebp - 0x170]
push eax
call fcn.0041335e
add esp, 0xc
mov dword [ebp - 4], esi
push esi
push esi
push esi
push esi
push 0x41f9e0
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [ebp - 0x24], eax
cmp eax, esi
je 0x403ae1
push 0xf
pop ecx
xor eax, eax
lea edi, [ebp - 0x70]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x70], 0x3c
lea eax, [ebp - 0x370]
mov dword [ebp - 0x60], eax
mov eax, 0x100
mov dword [ebp - 0x5c], eax
mov word [ebp - 0x58], si
lea ecx, [ebp - 0x270]
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x40], eax
lea ecx, [ebp - 0x470]
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x70]
push eax
push esi
lea eax, [ebp - 0x170]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea eax, [ebp - 0x170]
push eax
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
push esi
push esi
push 3
push 0x41f9e8
push 0x41f9e9
push dword [ebp - 0x58]
push dword [ebp - 0x60]
push dword [ebp - 0x24]
call dword [sym.imp.WININET.dll_InternetConnectA]
mov dword [ebp - 0x2c], eax
cmp eax, esi
je 0x403ae1
push esi
push 0x4400000
push esi
push 0x41f9ea
push 0x41f9ec
lea ecx, [ebp - 0x270]
push ecx
push 0x41f9f8
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov edi, eax
mov dword [ebp - 0x28], edi
cmp edi, esi
je 0x403ae1
push esi
push esi
push esi
push esi
push edi
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
jne 0x403ab9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x34], eax
sub eax, 0x2ee2
je 0x403ab6
sub eax, 5
je 0x403ab6
sub eax, 0x16
jne 0x403ab9
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 0x403ae1
cmp dword [ebp - 0x20], 0x197
jne 0x403ae1
mov dword [ebp - 0x1c], ebx
or dword [ebp - 4], 0xffffffff
call fcn.00403af5
mov eax, dword [ebp - 0x1c]
call fcn.004126b3
ret