joyce8/EMBER2024-capa huggingface dataset:
Function at 0x484d70
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5cdd0c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esi + 0xc]
mov dword [esp + 0x10], esi
mov dword [esi], 0x5ef798
call fcn.0040c810
xor edi, edi
mov dword [esp + 0x1c], edi
push edi
push edi
push edi
push edi
lea ecx, [esi + 0x50]
call fcn.00578904
mov byte [esp + 0x1c], 1
lea ebp, [esi + 0x58]
push 0xa
mov ecx, ebp
call fcn.005aae9d
mov byte [esp + 0x1c], 2
lea ebx, [esi + 0x74]
push 0xa
mov ecx, ebx
call fcn.005aae9d
mov byte [esp + 0x1c], 3
mov eax, 1
mov dword [esi + 0x4c], eax
mov dword [esi + 0x38], eax
push edi
lea eax, [esi + 4]
push eax
mov dword [esi + 0x34], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x94], edi
mov dword [esi + 0x98], edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push 1
lea ecx, [esi + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov ecx, ebp
call fcn.005aafc7
mov ecx, ebx
call fcn.005aafc7
push str.kernel32
call dword [0x652c2c]
cmp eax, edi
mov dword [esi + 0x90], eax
je 0x484e65
mov edi, dword [0x652bf0]
push str.GetFileAttributesExW
push eax
call edi
mov edx, dword [esi + 0x90]
push 0x5ef754
push edx
mov dword [esi + 0x94], eax
call edi
mov dword [esi + 0x98], eax
mov dword [esp + 0x1c], 0xffffffff
mov ecx, dword [esp + 0x14]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x484e90
Capabilities:
Terminate thread

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5cdd28
push eax
mov dword fs:[0], esp
sub esp, 0x10
push edi
mov edi, ecx
mov ecx, dword [0x661400]
call fcn.00485f40
mov eax, dword [edi + 0x48]
test eax, eax
je 0x484f5e
mov eax, dword [edi + 0x54]
push ebx
push ebp
push esi
push eax
mov dword [edi + 0x4c], 0
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ebp, dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
mov esi, 0xa
mov edx, dword [edi + 0x48]
lea ecx, [esp + 0x10]
push ecx
push edx
call ebp
test eax, eax
je 0x484f0b
cmp dword [esp + 0x10], 0x103
jne 0x484f0b
push 0xc8
call ebx
dec esi
test esi, esi
jg 0x484ee6
xor ebp, ebp
cmp esi, ebp
jne 0x484f58
push 1
lea eax, [edi + 0xc]
push eax
lea ecx, [esp + 0x1c]
call fcn.005789d4
mov dword [esp + 0x28], ebp
mov ecx, dword [edi + 0x48]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push str.WARNING:_Terminating_CLibrary_thread.
push 3
push 0x661308
call fcn.0046abf0
add esp, 0xc
push 0x64
call ebx
mov dword [esp + 0x28], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.0057897a
pop esi
mov dword [edi + 0x48], ebp
pop ebp
pop ebx
mov ecx, dword [esp + 0x14]
pop edi
mov dword fs:[0], ecx
add esp, 0x1c
ret
Function at 0x485d60
Capabilities:
Access peb ldr_data
Check for time delay via gettickcount

Disassembly:
push 0xffffffffffffffff
push 0x5cdd28
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov ecx, dword [0x6613fc]
push 0
lea edi, [esi + 0x4c]
push edi
call fcn.00487440
mov ecx, dword [0x6613f8]
push 0
mov ebx, eax
call fcn.004be670
or ebx, eax
push 1
lea eax, [esi + 0xc]
push eax
lea ecx, [esp + 0x18]
call fcn.005789d4
mov dword [esp + 0x24], 0
mov ecx, dword [esi + 0x30]
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
inc ecx
test ebx, ebx
mov dword [esi + 0x30], ecx
je 0x485dcd
call ebp
mov dword [esi + 0x2c], eax
mov eax, dword [esi + 0x34]
test eax, eax
je 0x485df1
mov ecx, dword [esi + 0x2c]
sub ecx, dword [esi + 0x3c]
cmp ecx, 0x1388
jbe 0x485df1
mov ecx, esi
call fcn.00485b80
call ebp
mov dword [esi + 0x2c], eax
mov dword [esi + 0x3c], eax
mov eax, dword [esi + 0x48]
test eax, eax
jne 0x485e17
push 0
push 0
push 0
push 0xfffffffffffffffe
push esi
push 0x4850b0
mov dword [edi], 1
call fcn.005b169c
mov edx, dword [eax + 0x28]
mov dword [esi + 0x48], edx
mov ecx, dword [0x661400]
call fcn.00487030
mov dword [esp + 0x24], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.0057897a
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret

Function at 0x485f40
Capabilities:
Terminate thread

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5cded8
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebp
push edi
mov edi, ecx
mov eax, dword [edi + 0x5c]
xor ebp, ebp
cmp eax, ebp
je 0x485ffc
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
push esi
mov dword [edi + 0x60], ebp
mov esi, 0x14
lea esp, [esp]
mov ecx, dword [edi + 0x5c]
lea eax, [esp + 0x10]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
je 0x485fa9
cmp dword [esp + 0x10], 0x103
jne 0x485fa9
push 0x96
call ebx
dec esi
cmp esi, ebp
jg 0x485f80
cmp esi, ebp
jne 0x485ff4
push 1
lea edx, [edi + 4]
push edx
lea ecx, [esp + 0x1c]
call fcn.005789d4
mov dword [esp + 0x28], ebp
mov eax, dword [edi + 0x5c]
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push str.WARNING:_Terminating_CLibraryBuilder_thread.
push 3
push 0x661308
call fcn.0046abf0
add esp, 0xc
push 0x64
call ebx
mov dword [esp + 0x28], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.0057897a
pop esi
mov dword [edi + 0x5c], ebp
mov dword [edi + 0x74], ebp
pop ebx
mov ecx, dword [esp + 0x18]
pop edi
pop ebp
mov dword fs:[0], ecx
add esp, 0x1c
ret
Function at 0x488c70
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5ce320
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
xor eax, eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
push ebx
mov ebx, dword [esp + 0x44]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
push ebp
push esi
mov esi, dword [0x652d5c]
mov dword [esp + 0x28], eax
push edi
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
lea edx, [esp + 0x18]
push edx
push eax
mov dword [esp + 0x44], eax
mov eax, dword [ebx + 0x1c]
mov ebp, ecx
mov ecx, dword [esp + 0x5c]
push 0x104b
mov edi, 0xff00
push eax
mov dword [esp + 0x20], 0
mov dword [esp + 0x28], 0xe
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x38], edi
call esi
test eax, eax
je 0x488e1b
mov ecx, dword [esp + 0x38]
cmp ecx, dword [ebp + 4]
jne 0x488e1b
mov eax, dword [ebp + 8]
cmp eax, dword [esp + 0x34]
je 0x488d1e
mov dword [esp + 0x34], eax
mov dword [esp + 0x10], 1
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [esp + 0x24]
shl eax, 4
or eax, ecx
shl eax, 8
and edx, edi
cmp edx, eax
je 0x488d48
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], edi
mov dword [esp + 0x10], 1
jmp 0x488d50
mov eax, dword [esp + 0x10]
test eax, eax
je 0x488d62
mov ecx, dword [ebx + 0x1c]
lea eax, [esp + 0x18]
push eax
push 0
push 0x104c
push ecx
call esi
mov eax, dword [esp + 0x58]
xor esi, esi
test eax, eax
jle 0x488e02
mov edx, dword [esp + 0x54]
push esi
push edx
lea eax, [esp + 0x1c]
push eax
mov ecx, ebx
call fcn.005a9532
mov dword [esp + 0x48], 0
mov ecx, dword [ebp + 0x14]
mov eax, dword [eax]
lea edi, [esi*4]
add ecx, edi
mov ecx, dword [ecx]
push ecx
push eax
call fcn.0057a418
add esp, 8
test eax, eax
setne byte [esp + 0x50]
mov dword [esp + 0x48], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x488dd1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov al, byte [esp + 0x50]
test al, al
je 0x488df5
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + edi]
mov edx, dword [esp + 0x54]
push ecx
push esi
push edx
mov ecx, ebx
call fcn.005a8cfe
mov dword [esp + 0x10], 1
mov eax, dword [esp + 0x58]
inc esi
cmp esi, eax
jl 0x488d70
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
add esp, 0x3c
ret 0xc
mov ecx, dword [esp + 0x40]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x3c
ret 0xc

Function at 0x48a660
Capabilities:
Hash data with md5

Disassembly:
xor eax, eax
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x14], eax
mov dword [ecx + 4], 0x67452301
mov dword [ecx + 8], 0xefcdab89
mov dword [ecx + 0xc], 0x98badcfe
mov dword [ecx + 0x10], 0x10325476
ret

Function at 0x48a730
Capabilities:
Hash data with md5

Disassembly:
mov eax, ecx
xor ecx, ecx
mov dword [eax], 0x5efb4c
mov dword [eax + 0x18], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 4], 0x67452301
mov dword [eax + 8], 0xefcdab89
mov dword [eax + 0xc], 0x98badcfe
mov dword [eax + 0x10], 0x10325476
ret
Function at 0x48b3a0
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret

Function at 0x48cad0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5ce668
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
mov dword [esp + 4], 0
call fcn.005afeed
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 8], eax
mov dword [esp + 0x14], 1
mov edx, dword [esp + 0x1c]
lea eax, [esp + 4]
push eax
lea ecx, [esp + 0xc]
push ecx
push edx
lea ecx, [esi + 0x30]
call fcn.005ab0cf
mov esi, dword [esp + 4]
mov dword [esp + 0x14], 0xffffffff
mov eax, dword [esp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48cb4f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret 4

Function at 0x48cc10
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5ce6c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x14]
push esi
mov esi, ecx
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 8], 0
call fcn.00406630
mov dword [esp + 0x10], 0
lea ecx, [esp + 0x18]
call fcn.0041ce00
mov edx, dword [esp + 0x18]
lea ecx, [esp + 4]
push ecx
push edx
lea ecx, [esi + 0x30]
call fcn.005aaf79
mov edx, dword [esp + 4]
mov esi, eax
neg esi
sbb esi, esi
and esi, edx
mov dword [esp + 0x10], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48cc94
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 8]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x48d420
Capabilities:
Get common file path
Get program files directory
Resume thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x474
mov eax, dword [0x64aa84]
mov dword [esp + 0x470], eax
mov eax, dword [0x658d90]
dec eax
cmp eax, 4
push edi
ja case.0x48d448.2
jmp dword [eax*4 + 0x48d674]
mov eax, dword [0x6613bc]
mov eax, dword [eax + 0x74]
push 0
push eax
call dword [0x652cc4]
test eax, eax
jne case.0x48d448.2
push 1
push 0x26
lea ecx, [esp + 0x68]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea edx, [esp + 0x60]
push str.DrpDrp.exe
push edx
call fcn.0057c8c2
add esp, 8
lea eax, [esp + 0x60]
push eax
call dword [0x652bd0]
cmp eax, 0xffffffff
jne 0x48d4de
lea ecx, [esp + 0x14]
push ecx
push 4
push 0
push 0x48d3b0
push 0
push 0
mov dword [esp + 0x2c], 0
call fcn.0057c9ce
add esp, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov dword [0x658d90], 2
mov ecx, dword [esp + 0x474]
call fcn.0057981f
pop edi
mov esp, ebp
pop ebp
ret
xor edx, edx
xor eax, eax
mov ecx, 0x11
lea edi, [esp + 0x18]
rep stosd dword es:[edi], eax
mov dword [esp + 4], edx
lea eax, [esp + 4]
push eax
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], edx
lea ecx, [esp + 0x1c]
push ecx
push edx
push edx
push edx
push edx
push edx
push edx
push edx
mov dword [esp + 0x34], edx
lea edx, [esp + 0x84]
push edx
mov dword [esp + 0x40], 0x44
call dword [0x652b8c]
push 0
call fcn.0057bbd0
add esp, 4
mov dword [0x658d94], eax
mov dword [0x658d90], 5
mov ecx, dword [esp + 0x474]
call fcn.0057981f
pop edi
mov esp, ebp
pop ebp
ret
push 1
push 0x1a
lea eax, [esp + 0x270]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea ecx, [esp + 0x268]
push str.ShortSetup.exe
push ecx
call fcn.0057c8c2
xor edx, edx
xor eax, eax
mov dword [esp + 0xc], edx
mov ecx, 0x11
lea edi, [esp + 0x20]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], edx
lea eax, [esp + 0x68]
push 0x5e8b30
push eax
mov dword [esp + 0x28], 0x44
mov dword [esp + 0x20], edx
mov word [esp + 0x70], dx
call fcn.0057c8c2
lea ecx, [esp + 0x278]
push ecx
lea edx, [esp + 0x74]
push edx
call fcn.0057c8c2
lea eax, [esp + 0x78]
push 0x5e8b30
push eax
call fcn.0057c8c2
lea ecx, [esp + 0x80]
push str.__S__D
push ecx
call fcn.0057c8c2
add esp, 0x28
lea edx, [esp + 4]
push edx
lea eax, [esp + 0x1c]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x80]
push ecx
push 0
call dword [0x652b8c]
push 0
call fcn.0057bbd0
add esp, 4
mov dword [0x658d98], eax
mov dword [0x658d90], 4
push 0
call fcn.0057bbd0
mov ecx, dword [0x658d98]
add esp, 4
test ecx, ecx
je case.0x48d448.2
add ecx, 0x1e
jmp 0x48d654
push 0
call fcn.0057bbd0
mov ecx, dword [0x658d94]
add esp, 4
test ecx, ecx
je case.0x48d448.2
add ecx, 0xa
cmp eax, ecx
jle case.0x48d448.2
mov dword [0x658d90], 1
mov ecx, dword [esp + 0x474]
call fcn.0057981f
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x490db0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x5ceb68
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [esp + 4], esi
call fcn.00492570
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esi], 0x5f024c
xor ecx, ecx
lea edx, [esi + 0x30]
mov dword [edx], ecx
mov dword [edx + 4], ecx
mov dword [edx + 8], ecx
mov dword [edx + 0xc], ecx
mov dword [edx + 0x10], ecx
mov dword [edx + 0x14], ecx
mov dword [edx + 0x18], ecx
mov dword [edx + 0x1c], ecx
mov dword [esi + 0x2c], eax
mov dword [esi + 0x28], eax
mov dword [esp + 0x10], 0xffffffff
mov ecx, dword [esp + 8]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x491630
Capabilities:
Resume thread

Disassembly:
push ecx
push 0
call fcn.0057bbd0
mov ecx, dword [0x658da0]
add esp, 4
test ecx, ecx
je 0x49164f
add ecx, 0x708
cmp eax, ecx
jle 0x491681
mov ecx, dword [0x6613f4]
call fcn.004926a0
test eax, eax
jne 0x491681
mov dword [esp], eax
lea eax, [esp]
push eax
push 4
push 0
push 0x4912b0
push 0
push 0
call fcn.0057c9ce
add esp, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
pop ecx
ret
Function at 0x492740
Capabilities:
Access peb ldr_data
Get kernel32 base address
Monitor local ipv4 address changes

Disassembly:
push 0xffffffffffffffff
push 0x5ced71
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
push edi
xor edi, edi
push edi
mov esi, ecx
push edi
push edi
lea ecx, [esi + 4]
mov dword [esp + 0x18], esi
mov dword [esi], 0x5f0404
call fcn.005788a0
mov dword [esp + 0x18], edi
push edi
push edi
push edi
push edi
lea ecx, [esi + 0xc]
call fcn.00578904
mov byte [esp + 0x18], 1
push 0xa
lea ecx, [esi + 0x3c]
call fcn.005aad36
mov byte [esp + 0x18], 2
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x2c], edi
mov edi, dword [sym.imp.WS2_32.dll_WSACreateEvent]
call edi
mov dword [esp + 8], eax
call edi
mov dword [0x658db8], eax
push 0x658da8
lea eax, [esp + 0xc]
push eax
call sub.iphlpapi.dll_NotifyAddrChange
xor ecx, ecx
lea edx, [esi + 0x14]
mov dword [edx], ecx
mov dword [edx + 4], ecx
mov dword [edx + 8], ecx
mov dword [edx + 0xc], ecx
mov dword [esp + 0x18], 0xffffffff
mov ecx, dword [esp + 0x10]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x492e80
Capabilities:
Resolve dns

Disassembly:
push 0xffffffffffffffff
push 0x5cede0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov edx, dword [esp + 0x18]
push ebp
mov ebp, dword [sym.imp.WS2_32.dll_htons]
push edi
mov edi, dword [esp + 0x24]
xor eax, eax
mov ecx, edi
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
push edx
mov word [edi], 2
call ebp
mov word [edi + 2], ax
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x493051
cmp word [eax], 0
je 0x493051
push ebx
push esi
push eax
lea ecx, [esp + 0x30]
call fcn.00406630
mov dword [esp + 0x1c], 0
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx - 0xc]
test eax, eax
jle 0x492f97
push 0x3a
push ecx
call fcn.0057a3c2
add esp, 8
test eax, eax
je 0x492f97
sub eax, dword [esp + 0x2c]
sar eax, 1
mov esi, eax
test esi, esi
jl 0x492f97
lea eax, [esi + 1]
push eax
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x34]
call fcn.0040db40
mov byte [esp + 0x1c], 1
mov eax, dword [eax]
lea edx, [esp + 0x28]
push edx
push 0x5e3cec
push eax
call fcn.0057a511
add esp, 0xc
mov ebx, eax
dec ebx
neg ebx
sbb bl, bl
inc bl
mov byte [esp + 0x1c], 0
lea ecx, [esp + 0x24]
call fcn.00401b70
test bl, bl
je 0x492f6b
mov eax, dword [esp + 0x28]
push eax
call ebp
mov word [edi + 2], ax
push esi
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x34]
call fcn.0041ce60
mov byte [esp + 0x1c], 2
push eax
lea ecx, [esp + 0x30]
call fcn.00405540
mov byte [esp + 0x1c], 0
lea ecx, [esp + 0x24]
call fcn.00401b70
mov edx, dword [esp + 0x2c]
push edx
lea ecx, [esp + 0x14]
call fcn.00401f30
mov byte [esp + 0x1c], 3
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
or ebx, 0xffffffff
cmp eax, ebx
jne 0x493019
mov eax, dword [esp + 0x30]
test eax, eax
je 0x49301c
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov esi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
test esi, esi
jne 0x49300d
mov byte [esp + 0x1c], 0
lea ecx, [esp + 0x10]
call fcn.00401b70
mov dword [esp + 0x1c], ebx
lea ecx, [esp + 0x2c]
call fcn.00401b70
pop esi
pop ebx
pop edi
xor eax, eax
pop ebp
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret 0x10
mov edx, dword [esi + 0xc]
mov eax, dword [edx]
mov ecx, dword [eax]
mov dword [edi + 4], ecx
jmp 0x49301c
mov dword [edi + 4], eax
mov byte [esp + 0x1c], 0
lea ecx, [esp + 0x10]
call fcn.00401b70
mov dword [esp + 0x1c], ebx
lea ecx, [esp + 0x2c]
call fcn.00401b70
pop esi
pop ebx
pop edi
mov eax, 1
pop ebp
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret 0x10
mov ecx, dword [esp + 0xc]
pop edi
xor eax, eax
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x10

Function at 0x498280
Capabilities:
Resume thread

Disassembly:
push ecx
lea eax, [esp]
push eax
push 4
push 0
push 0x497a70
push 0
push 0
mov dword [esp + 0x18], 0
call fcn.0057c9ce
add esp, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
pop ecx
ret
Function at 0x49a1c0
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x5cf8ae
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea edi, [esi + 8]
mov dword [esp + 0x10], esi
mov dword [esi], 0x5f149c
mov dword [esp + 0x14], edi
call fcn.005afeed
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [edi], eax
mov dword [esp + 0x20], 1
lea ebp, [esi + 0x18]
mov ebx, ebp
mov dword [esp + 0x14], ebx
call fcn.005afeed
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebx], eax
mov bl, 3
mov byte [esp + 0x20], bl
mov eax, dword [esp + 0x28]
mov dword [esi + 4], eax
mov ecx, dword [eax + 4]
mov edx, dword [ecx]
push eax
mov ecx, edi
mov dword [esi + 0x1c], edx
call fcn.00405540
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], edx
mov eax, dword [edi]
mov ecx, dword [eax - 0xc]
test ecx, ecx
jge 0x49a267
push 0x80070057
call fcn.00401180
cmp word [eax], 0x2e
jne 0x49a29a
push edi
lea eax, [esp + 0x2c]
push str.razacore
push eax
call fcn.00424ed0
add esp, 0xc
mov byte [esp + 0x20], 4
push eax
mov ecx, edi
call fcn.00405540
mov byte [esp + 0x20], bl
lea ecx, [esp + 0x28]
call fcn.00401b70
mov edi, dword [esp + 0x38]
test edi, edi
je 0x49a2b4
push edi
call fcn.0057a0fd
add esp, 4
push eax
push edi
mov ecx, ebp
call fcn.004053c0
mov dword [esp + 0x20], 0xffffffff
mov ecx, dword [esp + 0x18]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 0x14
Function at 0x49b550
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x5cfa08
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x68
mov eax, dword [0x6613c8]
push ebx
push ebp
push esi
push edi
push 1
add eax, 4
mov esi, ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.005789d4
mov dword [esp + 0x80], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.0057897a
mov eax, dword [esp + 0x88]
xor ebx, ebx
cmp eax, 0x7bc
mov dword [esp + 0x10], ebx
je 0x49b5b1
mov ecx, esi
call fcn.005adb93
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x20]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
mov ebp, dword [0x652d5c]
xor eax, eax
mov ecx, 0xb
lea edi, [esp + 0x4c]
rep stosd dword es:[edi], eax
mov ecx, dword [esi + 0x6c]
lea eax, [esp + 0x4c]
push eax
push ebx
push 0x120b
push ecx
mov dword [esp + 0x5c], 1
xor edi, edi
call ebp
test eax, eax
je 0x49b60e
mov edx, dword [esp + 0x50]
mov eax, dword [esi + 0x6c]
add ebx, edx
lea edx, [esp + 0x4c]
push edx
inc edi
push edi
push 0x120b
push eax
call ebp
test eax, eax
jne 0x49b5f2
mov edx, dword [esp + 0x28]
xor ecx, ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], ecx
push 1
mov dword [esp + 0x48], ecx
lea eax, [esp + 0x34]
xor edi, edi
push eax
mov dword [esp + 0x50], ecx
mov ebp, 3
push edi
mov ecx, esi
mov dword [esp + 0x3c], 0x1c
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], edx
call fcn.005ac78d
push edi
mov ecx, esi
call fcn.005ad403
mov ecx, dword [esp + 0x28]
push 0x40
push 0x14
lea edx, [eax + ecx]
push edx
push edi
neg eax
push eax
push edi
lea ecx, [esi + 0x50]
call fcn.005ac2e8
mov eax, dword [esi + 0xa8]
mov ecx, dword [0x6613c0]
push edi
push eax
add ecx, 0x50
call fcn.005a9fa8
test eax, eax
je 0x49b6d0
mov eax, dword [esi + 0xa8]
mov eax, dword [eax + 0x188]
cmp eax, edi
je 0x49b6d0
mov ecx, dword [0x6613bc]
nop
cmp dword [eax + 0x14], edi
jne 0x49b6c5
cmp dword [ecx + 0x4e8], edi
jne 0x49b6c5
cmp dword [ecx + 0x370], edi
je 0x49b6c9
inc dword [esp + 0x10]
mov eax, dword [eax + 0x10]
cmp eax, edi
jne 0x49b6b0
mov edx, dword [esp + 0x10]
xor ecx, ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x2c]
add ecx, 0xffffffec
mov dword [esp + 0x3c], edx
mov eax, 0x78787879
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
lea ecx, [edx + eax + 1]
push 1
lea edx, [esp + 0x34]
push edx
mov dword [esp + 0x48], ecx
push 1
mov ecx, esi
mov dword [esp + 0x3c], 0x1c
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], edi
call fcn.005ac78d
mov eax, dword [esi + 0x1c]
push 1
push edi
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, dword [esp + 0x78]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x74
ret 0xc