joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403b69
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push edi
push dword [esi + 0x4c]
mov edi, dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
push dword [esi + 0xc]
mov ebx, eax
call edi
test eax, eax
je 0x403b93
mov dword [esi + 0x48], 0x2749
xor al, al
jmp 0x403c4b
push 0
push dword [esi + 4]
call edi
cmp eax, 0x80
jne 0x403baa
mov dword [esi + 0x48], 0x2734
jmp 0x403b8c
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
mov eax, dword [ebx]
and dword [ebx], 0
and dword [ebp - 4], 0
mov dword [ebp - 0xc], eax
xor eax, eax
lea edi, [ebp - 0x20]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea edi, [esi + 0x10]
push edi
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
mov eax, dword [esi + 4]
push eax
mov dword [ebp - 0x10], eax
call dword [sym.imp.WS2_32.dll_WSAResetEvent]
push 0
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 4]
push eax
push ebx
push 1
lea eax, [ebp - 0xc]
push eax
push dword [esi + 0x40]
call dword [sym.imp.WS2_32.dll_WSARecv]
test eax, eax
je 0x403c08
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x3e5
jne 0x403c3d
push dword [esi + 0x4c]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
test eax, eax
jne 0x403c40
and dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push 0
push ebx
lea eax, [ebp - 0x20]
push eax
push dword [esi + 0x40]
call dword [sym.imp.WS2_32.dll_WSAGetOverlappedResult]
test eax, eax
je 0x403c37
mov bl, 1
jmp 0x403c42
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [esi + 0x48], eax
xor bl, bl
push edi
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
mov al, bl
pop edi
pop ebx
leave
ret 4
Function at 0x406082
Capabilities:
Enumerate gui resources

Disassembly:
push 0x38
mov eax, 0x44ff73
call fcn.004482ac
and dword [ebp - 0x18], 0
mov eax, dword [0x46f9b8]
mov esi, 0x46f9b8
push 0x800
mov ecx, esi
call dword [eax]
call fcn.0041e7ed
mov byte [ebp - 0x11], al
push str.PartnerSignature
lea eax, [ebp - 0x1c]
push eax
call fcn.00401421
and dword [ebp - 4], 0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
mov eax, dword [0x46f9b8]
mov ecx, esi
call dword [eax]
mov ebx, eax
call fcn.004181a3
mov byte [ebp - 4], 1
mov eax, dword [eax]
xor ebx, ebx
cmp dword [eax - 0xc], ebx
setne byte [ebp - 0x12]
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x20]
call fcn.0040145e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.0040145e
mov eax, esi
lea edi, [ebp - 0x44]
call fcn.0041cfa5
mov dword [ebp - 4], 2
push dword [ebp + 8]
mov eax, edi
push eax
call fcn.0041cffd
test al, al
jne 0x40612f
cmp byte [ebp - 0x11], bl
jne 0x40612f
cmp byte [ebp - 0x12], bl
je 0x40612f
mov byte [ebp - 0x11], bl
jmp 0x406260
push str.PartnerHWND.Kind
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 0x11], 1
call fcn.00401421
mov byte [ebp - 4], 3
push str.ByClass
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x18], 1
call fcn.00401421
push 4
pop edi
mov dword [ebp - 4], edi
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x24]
push eax
mov eax, dword [0x46f9b8]
mov ecx, esi
mov dword [ebp - 0x18], 3
call dword [eax]
mov ebx, eax
call fcn.004181a3
mov dword [ebp - 4], 5
push 7
pop ebx
push dword [eax]
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x18], ebx
call fcn.00406c6a
test eax, eax
je 0x4061a5
cmp byte [ebp - 0x12], 0
mov byte [ebp - 0x12], 0
jne 0x4061a9
mov byte [ebp - 0x12], 1
mov dword [ebp - 4], edi
mov dword [ebp - 0x18], ebx
and dword [ebp - 0x18], 0xfffffffb
lea ecx, [ebp - 0x24]
call fcn.0040145e
mov dword [ebp - 4], 3
push 2
pop ebx
test byte [ebp - 0x18], bl
je 0x4061d6
and dword [ebp - 0x18], 0xfffffffd
lea ecx, [ebp - 0x1c]
call fcn.0040145e
mov dword [ebp - 4], ebx
test byte [ebp - 0x18], 1
je 0x4061eb
and dword [ebp - 0x18], 0xfffffffe
lea ecx, [ebp - 0x20]
call fcn.0040145e
cmp byte [ebp - 0x12], 0
je 0x40621a
mov eax, dword [ebp + 8]
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x44]
push eax
push 0x41d477
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [ebp - 0x28]
test eax, eax
setne byte [ebp - 0x11]
cmp byte [ebp - 0x11], 0
mov dword [0x46fbfc], eax
je 0x406260
push str.hwnd_TAG
lea eax, [ebp - 0x20]
push eax
mov byte [ebp + 0xb], 0
call fcn.00401421
mov byte [ebp - 4], 6
lea eax, [ebp - 0x20]
push eax
mov eax, dword [0x46f9b8]
mov ecx, esi
call dword [eax]
lea ecx, [ebp + 0xb]
mov edx, eax
call fcn.0041836a
mov esi, eax
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x20]
call fcn.0040145e
cmp byte [ebp + 0xb], 0
je 0x406260
mov dword [0x46fbfc], esi
or dword [ebp - 4], 0xffffffff
lea edi, [ebp - 0x44]
call fcn.0041cfda
mov al, byte [ebp - 0x11]
call fcn.00448384
ret 4
Function at 0x40b889
Capabilities:
Create thread

Disassembly:
push 0x10
mov eax, 0x44e3ae
call fcn.004482ac
mov edi, ecx
push str.InstallerUI.Kind
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 0xd], 0
call fcn.00401421
and dword [ebp - 4], 0
push str.CenterParent
lea eax, [ebp - 0x14]
push eax
call fcn.00401421
mov byte [ebp - 4], 1
mov ecx, dword [edi + 4]
mov eax, dword [ecx]
call dword [eax]
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x1c]
push ecx
mov ebx, eax
call fcn.004181a3
mov byte [ebp - 4], 2
push dword [eax]
lea eax, [ebp - 0x14]
push eax
call fcn.00406c6a
mov ebx, eax
neg ebx
sbb bl, bl
inc bl
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.0040145e
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.0040145e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.0040145e
movzx eax, bl
neg eax
sbb eax, eax
and eax, dword [ebp + 8]
push 0x12c
mov dword [edi + 0x34], eax
lea eax, [edi + 0x6c]
call fcn.0040fcfb
push 0x12e
lea eax, [edi + 0x74]
call fcn.0040fcfb
call fcn.0040b5ad
xor esi, esi
push esi
push esi
push 1
push esi
call dword [sym.imp.KERNEL32.DLL_CreateEventW]
mov dword [edi + 0x80], eax
cmp eax, esi
je 0x40b98d
lea eax, [ebp + 8]
push eax
push esi
push edi
push 0x40bd1f
push esi
push esi
call dword [sym.imp.KERNEL32.DLL_CreateThread]
push 0xffffffffffffffff
push dword [edi + 0x80]
mov dword [edi + 0x7c], eax
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
push dword [edi + 0x80]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov dword [edi + 0x80], esi
mov byte [ebp - 0xd], 1
mov al, byte [ebp - 0xd]
call fcn.00448384
ret 4

Function at 0x40c75c
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetCursorPos]
push esi
mov esi, eax
push edi
lea eax, [ebp - 8]
push eax
call ebx
lea eax, [ebp - 8]
push eax
push dword [esi + 0x68]
call dword [sym.imp.USER32.dll_ScreenToClient]
push dword [ebp - 4]
mov edi, dword [sym.imp.USER32.dll_PtInRect]
push dword [ebp - 8]
lea eax, [esi + 0x98]
push eax
call edi
test eax, eax
je 0x40c7a9
cmp byte [esi + 0xfa], 0
je 0x40c805
call fcn.0040be07
jmp 0x40c81e
cmp byte [esi + 0xfa], 0
je 0x40c805
cmp byte [esi + 0x92], 0
je 0x40c7d7
push dword [ebp - 4]
lea eax, [esi + 0xb8]
push dword [ebp - 8]
push eax
call edi
test eax, eax
je 0x40c7d7
mov eax, esi
call fcn.0040becb
jmp 0x40c81e
cmp byte [esi + 0xfa], 0
je 0x40c805
cmp byte [esi + 0x92], 0
jne 0x40c805
push dword [ebp - 4]
lea eax, [esi + 0xa8]
push dword [ebp - 8]
push eax
call edi
test eax, eax
je 0x40c805
mov eax, esi
call fcn.0040bea3
jmp 0x40c81e
push dword [esi + 0x68]
call dword [sym.imp.USER32.dll_SetCapture]
mov byte [esi + 0x90], 1
add esi, 0x88
push esi
call ebx
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret
Function at 0x40e2fe
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x940
mov eax, 0x44b921
call fcn.00448315
mov ebx, ecx
push ebx
lea eax, [ebp - 0x948]
mov esi, edx
push eax
mov dword [ebp - 0x944], esi
call fcn.00401421
xor edi, edi
mov dword [ebp - 4], edi
mov eax, dword [ebp - 0x948]
cmp dword [eax - 0xc], 4
jne 0x40e4a8
test esi, 0xffff0000
jne 0x40e4a8
push 0x64
pop eax
cmp ax, si
ja 0x40e4a8
add eax, 0x64
cmp si, ax
jae 0x40e4a8
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.DLL_FindResourceW]
mov esi, eax
cmp esi, edi
setne byte [ebp - 0x93d]
cmp byte [ebp - 0x93d], 0
je 0x40e48b
push esi
push edi
call dword [sym.imp.KERNEL32.DLL_LoadResource]
mov ebx, eax
cmp ebx, edi
setne byte [ebp - 0x93d]
cmp byte [ebp - 0x93d], 0
je 0x40e48b
push esi
push edi
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov ebx, eax
cmp ebx, edi
je 0x40e4a8
cmp esi, 0x12
jbe 0x40e4a8
lea edi, [ebp - 0x528]
mov byte [ebp - 0x93d], 1
call fcn.0040d8bb
lea edi, [ebp - 0x93c]
mov byte [ebp - 4], 1
call fcn.0040d8bb
lea eax, [ebp - 0x948]
mov edi, 0x46fc08
mov byte [ebp - 4], 2
call fcn.00406c0b
mov ax, word [ebp - 0x944]
mov word [0x46f960], ax
add ebx, 2
lea eax, [ebx + 0x10]
lea edi, [esi - 0x12]
mov dword [ebp - 0x94c], eax
lea eax, [edi + 1]
push eax
mov esi, 0x46fc04
call fcn.00406b95
push 0x10
push ebx
lea ecx, [ebp - 0x114]
mov dword [ebp - 0x944], eax
call fcn.0041f763
push dword [ebp - 0x944]
mov ecx, dword [ebp - 0x94c]
mov edx, edi
lea eax, [ebp - 0x114]
call fcn.0041f7c3
mov eax, edi
call fcn.0040f221
mov byte [ebp - 4], 1
mov edi, vtable.appenv::CByteBuffer.0
lea esi, [ebp - 0x938]
mov dword [ebp - 0x93c], edi
call fcn.0040f39f
mov byte [ebp - 4], 0
lea esi, [ebp - 0x524]
mov dword [ebp - 0x528], edi
call fcn.0040f39f
cmp byte [ebp - 0x93d], 0
sete bl
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x948]
add eax, 0xfffffff0
call fcn.0040114e
mov al, bl
call fcn.00448398
ret
mov byte [ebp - 0x93d], 0
jmp 0x40e484
Function at 0x40fcfb
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
xor ebx, ebx
lea esi, [eax + 4]
push edi
mov byte [ebp - 1], bl
cmp dword [esi], ebx
je 0x40fd1e
mov eax, dword [esi]
cmp eax, ebx
je 0x40fd1e
mov dword [esi], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
movzx eax, word [ebp + 8]
push 0x4550ec
push eax
push ebx
call dword [sym.imp.KERNEL32.DLL_FindResourceW]
mov edi, eax
cmp edi, ebx
je 0x40fdd0
push edi
push ebx
call dword [sym.imp.KERNEL32.DLL_LoadResource]
mov dword [ebp - 0xc], eax
cmp eax, ebx
je 0x40fdd0
push edi
push ebx
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
push dword [ebp - 0xc]
mov dword [ebp + 8], eax
call dword [sym.imp.KERNEL32.DLL_LockResource]
push dword [ebp + 8]
mov dword [ebp - 0xc], eax
push 2
call dword [sym.imp.KERNEL32.DLL_GlobalAlloc]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.DLL_GlobalLock]
push dword [ebp + 8]
push dword [ebp - 0xc]
push eax
call fcn.0043a120
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.DLL_GlobalUnlock]
lea eax, [ebp - 8]
push eax
push 1
push edi
mov dword [ebp - 8], ebx
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
js 0x40fdbc
push esi
push 0x451640
push ebx
push dword [ebp + 8]
push dword [ebp - 8]
call dword [sym.imp.OLEAUT32.dll_OleCreatePictureIndirect]
test eax, eax
js 0x40fdbc
mov byte [ebp - 1], 1
push edi
call dword [sym.imp.KERNEL32.DLL_GlobalFree]
mov eax, dword [ebp - 8]
cmp eax, ebx
je 0x40fdd0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x4109d3
Capabilities:
Delete file

Disassembly:
push 0x18
mov eax, 0x44e1dd
call fcn.004482ac
xor ebx, ebx
mov dword [ebp - 4], ebx
push 0x453f84
mov dword [ebp - 0x20], ebx
push dword [ebp + 0xc]
call fcn.00401421
xor esi, esi
push str.appb
lea eax, [ebp - 0x10]
mov dword [ebp - 4], ebx
inc esi
push eax
mov dword [ebp - 0x20], esi
call fcn.00401421
lea eax, [ebp - 0x1c]
push eax
lea edi, [ebp - 0x10]
mov dword [ebp - 4], esi
call fcn.0042b96b
pop ecx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.0040114e
push 0x455a80
lea eax, [ebp - 0x10]
push eax
call fcn.00401421
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 4
mov esi, dword [ebp + 8]
push eax
call fcn.0040fef1
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.0040114e
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], ebx
je 0x410b3e
mov eax, dword [ebp - 0x1c]
cmp dword [eax - 0xc], ebx
je 0x410b3e
push eax
lea eax, [ebp + 8]
push eax
call fcn.00401421
mov byte [ebp - 4], 8
push dword [ebp - 0x14]
lea eax, [ebp - 0x18]
push eax
call fcn.00401421
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 0xa
call fcn.00411bc9
mov byte [ebp - 4], 0xb
push 0x455ad0
push dword [ebp - 0x10]
call fcn.004377e1
pop ecx
pop ecx
cmp eax, ebx
je 0x410ac7
sub eax, dword [ebp - 0x10]
sar eax, 1
js 0x410ac7
mov eax, dword [ebp + 0x10]
lea edi, [ebp - 0x10]
call fcn.00406c0b
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], ebx
je 0x410b11
push dword [ebp + 8]
mov edi, dword [sym.imp.KERNEL32.DLL_DeleteFileW]
call edi
mov eax, dword [ebp + 8]
push dword [eax - 0xc]
lea esi, [ebp + 8]
call fcn.00401520
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveExtensionW]
or eax, 0xffffffff
call fcn.004070b5
push dword [ebp - 0x10]
mov eax, esi
call fcn.0040f322
push dword [ebp + 8]
mov esi, dword [ebp + 0xc]
push esi
call fcn.00401468
push dword [esi]
call edi
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.0040114e
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.0040114e
mov byte [ebp - 4], 6
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.0040114e
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.0040114e
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.0040114e
mov eax, dword [ebp + 0xc]
call fcn.00448384
ret 0xc
Function at 0x411734
Capabilities:
Check for time delay via gettickcount
Enumerate processes

Disassembly:
push 0x248
mov eax, 0x44b81b
call fcn.00448315
mov eax, dword [ebp + 8]
mov esi, ecx
mov dword [ebp - 0x248], eax
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcessId]
mov edi, dword [sym.imp.KERNEL32.DLL_Sleep]
and dword [ebp - 0x24c], 0
push 0x3e8
mov dword [ebp - 0x250], eax
call edi
push 0
push 2
call dword [sym.imp.KERNEL32.DLL_CreateToolhelp32Snapshot]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x411797
mov ecx, dword [esi + 8]
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [eax]
push 1
mov ecx, eax
call dword [edx + 0x1c]
xor eax, eax
jmp 0x411929
mov eax, dword [section..data]
mov ecx, section..data
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x254], eax
and dword [ebp - 4], 0
lea esi, [ebp - 0x254]
call fcn.004014de
mov esi, 0x22c
push esi
lea eax, [ebp - 0x23c]
push 0
push eax
call fcn.00439030
add esp, 0xc
lea eax, [ebp - 0x23c]
push eax
push ebx
mov dword [ebp - 0x23c], esi
call dword [sym.imp.KERNEL32.DLL_Process32FirstW]
test eax, eax
je 0x411891
lea eax, [ebp - 0x23c]
push eax
push ebx
mov dword [ebp - 0x23c], esi
call dword [sym.imp.KERNEL32.DLL_Process32NextW]
test eax, eax
je 0x411891
mov eax, dword [ebp - 0x250]
cmp dword [ebp - 0x234], eax
je 0x4117ef
lea eax, [ebp - 0x218]
push 0x5c
push eax
call fcn.00436990
pop ecx
pop ecx
test eax, eax
jne 0x411835
lea eax, [ebp - 0x218]
jmp 0x411838
add eax, 2
push eax
lea eax, [ebp - 0x244]
push eax
call fcn.00401421
mov eax, dword [ebp - 0x248]
mov byte [ebp - 4], 1
mov ecx, dword [eax]
push 1
push dword [ebp - 0x244]
call fcn.00430192
mov byte [ebp - 0x23d], al
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x244]
pop ecx
pop ecx
add eax, 0xfffffff0
call fcn.0040114e
cmp byte [ebp - 0x23d], 0
je 0x4117ef
mov eax, dword [ebp - 0x234]
mov dword [ebp - 0x24c], eax
push ebx
mov ebx, dword [sym.imp.KERNEL32.DLL_CloseHandle]
call ebx
cmp dword [ebp - 0x24c], 0
je 0x411911
mov esi, dword [sym.imp.KERNEL32.DLL_GetTickCount]
call esi
mov dword [ebp - 0x248], eax
mov eax, dword [ebp + 0xc]
imul eax, eax, 0x3e8
mov dword [ebp - 0x250], eax
jmp 0x411901
push 0
call dword [sym.imp.KERNEL32.DLL_SetLastError]
push dword [ebp - 0x24c]
push 0
push 0x400
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
mov dword [ebp - 0x244], eax
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp dword [ebp - 0x244], 0
je 0x411911
push dword [ebp - 0x244]
call ebx
push 0x7d0
call edi
call esi
sub eax, dword [ebp - 0x248]
cmp eax, dword [ebp - 0x250]
jb 0x4118c2
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x254]
add eax, 0xfffffff0
call fcn.0040114e
mov eax, dword [ebp - 0x24c]
call fcn.00448398
ret 8
Function at 0x414610
Capabilities:
Terminate thread

Disassembly:
push 4
mov eax, 0x4498c0
call fcn.004482ac
mov esi, dword [ebp + 8]
mov dword [esi], vtable.appenv::UIManager.0
mov dword [ebp - 4], 7
mov eax, dword [esi + 0x38]
mov edi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
xor ebx, ebx
cmp eax, ebx
je 0x41464b
push ebx
push eax
call dword [sym.imp.KERNEL32.DLL_TerminateThread]
push dword [esi + 0x38]
call edi
mov dword [esi + 0x3c], ebx
mov eax, dword [esi + 0x68]
cmp eax, ebx
je 0x414658
push eax
call edi
mov dword [esi + 0x68], ebx
mov eax, dword [esi + 0x6c]
cmp eax, ebx
je 0x414665
push eax
call edi
mov dword [esi + 0x6c], ebx
mov eax, dword [esi + 0xa4]
test eax, eax
je 0x414678
push eax
call edi
and dword [esi + 0xa4], ebx
mov byte [ebp - 4], 6
lea eax, [esi + 0xa8]
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 6
mov eax, dword [eax]
sub eax, 0x10
call fcn.0040114e
mov byte [ebp - 4], 5
lea eax, [esi + 0x70]
push eax
call fcn.00416819
mov byte [ebp - 4], 4
lea ecx, [esi + 0x60]
call fcn.0040145e
mov byte [ebp - 4], 3
lea ecx, [esi + 0x48]
call fcn.0040145e
mov byte [ebp - 4], 2
lea ecx, [esi + 0x44]
call fcn.0040145e
mov byte [ebp - 4], 1
lea ecx, [esi + 0x40]
call fcn.0040145e
mov byte [ebp - 4], 0
lea ecx, [esi + 4]
call fcn.00427f04
or dword [ebp - 4], 0xffffffff
mov dword [esi], vtable.appenv::HTMLWindowObserver.0
call fcn.00448384
ret 4
Function at 0x414eec
Capabilities:
Create thread

Disassembly:
push 0x4c
mov eax, 0x44dae3
call fcn.004482ac
mov ebx, ecx
xor edi, edi
lea esi, [ebx + 0x60]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], esi
call fcn.004014de
cmp dword [ebx + 0x38], edi
je 0x414f50
push str.threading_error
lea eax, [ebp - 0x14]
push eax
call fcn.00401421
xor ebx, ebx
inc ebx
mov dword [ebp - 4], ebx
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx]
lea edx, [ebp - 0x14]
push edx
call dword [eax + 0x1c]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.0040145e
mov eax, esi
mov esi, dword [ebp + 8]
call fcn.0040140f
mov dword [ebp - 4], edi
mov dword [ebp - 0x18], ebx
jmp 0x415009
push dword [ebx + 0x48]
lea eax, [ebx + 0x40]
push eax
mov dword [ebx + 0x50], edi
mov dword [ebx + 0x58], edi
mov dword [ebx + 0x34], 1
call fcn.00406c6a
mov ecx, dword [ebx + 0xb0]
test eax, eax
setne al
mov byte [ebp + 0xc], al
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebx + 0xb0]
mov esi, eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
push dword [ebp + 0xc]
mov eax, dword [eax + 0xa0]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.0041976e
mov dword [ebp - 4], 2
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x14]
and dword [ebp - 4], 0
lea edi, [ebp - 0x58]
call fcn.00418985
lea eax, [ebx + 0x3c]
push eax
xor eax, eax
push eax
push ebx
push 0x415553
push eax
push eax
call dword [sym.imp.KERNEL32.DLL_CreateThread]
mov edi, dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
push 0xffffffffffffffff
push dword [ebx + 0xa4]
mov dword [ebx + 0x38], eax
call edi
push dword [ebx + 0xa0]
call dword [sym.imp.USER32.dll_DestroyWindow]
push 0xffffffffffffffff
push dword [ebx + 0x68]
call edi
mov eax, dword [ebp - 0x14]
mov esi, dword [ebp + 8]
call fcn.0040140f
and dword [ebp - 4], 0
mov dword [ebp - 0x18], 1
mov eax, esi
call fcn.00448384
ret 8
Function at 0x415a7e
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x44c906
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push esi
push edi
mov eax, dword [0x46b1f0]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov eax, dword [eax - 0xc]
xor ebx, ebx
cmp eax, ebx
je 0x415ae8
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov ecx, dword [esi + 0xb0]
mov dword [esi + 0x54], eax
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, eax
lea eax, [esp + 0x24]
push eax
call fcn.0041983a
mov dword [esp + 0x70], ebx
mov edx, dword [edi]
push eax
mov ecx, edi
call dword [edx + 0x14]
jmp 0x415b4a
mov ecx, dword [esi + 0x60]
cmp dword [ecx - 0xc], ebx
jne 0x415b58
cmp eax, ebx
jne 0x415b58
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov ecx, dword [esi + 0xb0]
mov dword [esi + 0x54], eax
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [esi + 0x50]
mov edi, eax
mov eax, dword [esi + 0x54]
cmp eax, ecx
jb 0x415b18
sub eax, ecx
jmp 0x415b1b
sub eax, ecx
dec eax
movzx ecx, word [esi + 0x5a]
cmp dword [esi + 0x58], ebx
push ecx
movzx ecx, word [esi + 0x58]
push ecx
setl cl
movzx ecx, cl
push ecx
push eax
lea eax, [esp + 0x34]
push eax
call fcn.00419870
mov dword [esp + 0x70], 2
mov edx, dword [edi]
push eax
mov ecx, edi
call dword [edx + 0x14]
or dword [esp + 0x70], 0xffffffff
lea edi, [esp + 0x24]
call fcn.00418985
mov eax, dword [ebp + 8]
lea edi, [esi + 0x60]
call fcn.00406c0b
mov ecx, dword [esi + 0xb0]
mov eax, dword [ecx]
call dword [eax + 4]
push dword [edi]
mov ecx, dword [eax]
push str.OnSAIClose__s_
push eax
call dword [ecx + 0xc]
add esp, 0xc
push dword [esi + 0x68]
call dword [sym.imp.KERNEL32.DLL_SetEvent]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
lea ebx, [esi + 4]
xor eax, eax
inc eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
sub esp, 0x10
mov edi, esp
lea esi, [esp + 0x24]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, ebx
movsd dword es:[edi], dword [esi]
call fcn.00428313
mov eax, ebx
call fcn.004285cc
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x41a58b
Capabilities:
Print debug messages

Disassembly:
push 4
mov eax, 0x44df5f
call fcn.004482ac
and dword [ebp - 0x10], 0
cmp dword [ebp + 0xc], 0
setne al
test al, al
je 0x41a62e
or dword [ebp - 4], 0xffffffff
push dword [ebp + 0xc]
lea eax, [ebp + 0xc]
push eax
call fcn.00401421
mov dword [ebp - 4], 2
cmp byte [ebp + 8], 0
je 0x41a5ef
lea eax, [ebp + 8]
push 0x454e28
push eax
lea edi, [ebp + 0xc]
call fcn.00406fc7
pop ecx
pop ecx
mov byte [ebp - 4], 3
call fcn.00406c0b
mov byte [ebp - 4], 2
lea ecx, [ebp + 8]
call fcn.0040145e
push dword [ebp + 0xc]
lea eax, [ebp + 8]
push eax
call fcn.0040d71c
mov byte [ebp - 4], 4
call fcn.0042d240
mov bl, al
mov byte [ebp - 4], 2
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.0040114e
test bl, bl
jne 0x41a622
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.DLL_OutputDebugStringW]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.0040145e
call fcn.00448384
ret 8