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

Disassembly:
push 0xffffffffffffffff
push 0x101839b8
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
push edi
mov eax, dword [0x101c6444]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0xc]
call fcn.1002b7b0
mov ecx, dword [esi + 0x2730]
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0x30], 0
call fcn.10133e9c
lea ecx, [esi + 0x1d75]
push ecx
call fcn.100f2827
mov ecx, eax
add esp, 4
or ecx, edx
je 0x1008a901
mov esi, edx
jmp 0x1008a90d
mov eax, dword [esi + 0x250f]
mov esi, dword [esi + 0x2513]
mov edx, dword [esp + 0x34]
push edx
push esi
push eax
call fcn.10133565
add esp, 8
shl eax, 0xa
push eax
lea ecx, [esp + 0x14]
call fcn.1002b3f0
lea ecx, [esp + 0xc]
mov esi, eax
mov edi, edx
mov dword [esp + 0x2c], 0xffffffff
call fcn.1002b6a0
mov eax, esi
mov edx, edi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x24
ret 4
Function at 0x1008d830
Capabilities:
Move file

Disassembly:
push 0xffffffffffffffff
push 0x10183af0
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x101c6444]
xor eax, esp
mov dword [esp + 0x54], eax
push ebx
push esi
push edi
mov eax, dword [0x101c6444]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov esi, dword [esp + 0x78]
mov edi, dword [esp + 0x7c]
xor ebx, ebx
cmp esi, ebx
je 0x1008d9bb
cmp edi, ebx
je 0x1008d9bb
mov eax, 7
mov dword [esp + 0x60], eax
mov dword [esp + 0x5c], ebx
mov word [esp + 0x4c], bx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x44], eax
mov dword [esp + 0x40], ebx
mov word [esp + 0x30], bx
mov eax, esi
mov byte [esp + 0x70], 1
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], ebx
mov byte [esp + 0x14], bl
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x1008d8b8
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x18]
call fcn.10001b80
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x14]
push ecx
mov byte [esp + 0x78], 2
call fcn.100f6be6
mov esi, 0x10
add esp, 8
cmp dword [esp + 0x28], esi
mov byte [esp + 0x70], 1
jb 0x1008d902
mov edx, dword [esp + 0x14]
push edx
call fcn.10157f3b
add esp, 4
mov eax, edi
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], ebx
mov byte [esp + 0x14], bl
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x1008d917
sub eax, edx
push eax
push edi
lea ecx, [esp + 0x18]
call fcn.10001b80
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x14]
push ecx
mov byte [esp + 0x78], 3
call fcn.100f6be6
add esp, 8
cmp dword [esp + 0x28], esi
jb 0x1008d957
mov edx, dword [esp + 0x14]
push edx
call fcn.10157f3b
add esp, 4
mov ecx, dword [esp + 0x30]
mov esi, 8
cmp dword [esp + 0x44], esi
jae 0x1008d96a
lea ecx, [esp + 0x30]
cmp dword [esp + 0x60], esi
mov eax, dword [esp + 0x4c]
jae 0x1008d978
lea eax, [esp + 0x4c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x1008d9db
cmp dword [esp + 0x44], esi
jb 0x1008d997
mov eax, dword [esp + 0x30]
push eax
call fcn.10157f3b
add esp, 4
cmp dword [esp + 0x60], esi
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], ebx
mov word [esp + 0x30], bx
jb 0x1008d9bb
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.10157f3b
add esp, 4
xor al, al
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.101586e7
add esp, 0x64
ret
cmp dword [esp + 0x44], esi
jb 0x1008d9ee
mov edx, dword [esp + 0x30]
push edx
call fcn.10157f3b
add esp, 4
cmp dword [esp + 0x60], esi
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], ebx
mov word [esp + 0x30], bx
jb 0x1008da12
mov eax, dword [esp + 0x4c]
push eax
call fcn.10157f3b
add esp, 4
mov al, 1
jmp 0x1008d9bd
Function at 0x100aa0a0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push 0xffffffffffffffff
push 0x10185ea8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebp
push esi
push edi
mov eax, dword [0x101c6444]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
call fcn.10023df0
lea edi, [eax + 4]
push edi
mov dword [esp + 0x18], 0x101975f4
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [esp + 0x34], 0
mov dword [esp + 0x24], 0
je 0x100aa106
mov eax, dword [esp + 0x2c]
mov dword [esi + 0x5538], eax
push edi
jmp 0x100aa1e6
cmp byte [esp + 0x30], 0
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, dword [esp + 0x2c]
je 0x100aa17f
test edi, edi
je 0x100aa12f
cmp edi, 0xa
jae 0x100aa125
mov edi, 0xa
test edi, edi
mov dword [esi + 0x5534], edi
jne 0x100aa183
mov eax, 1
cmp dword [esi + 0x57e8], eax
mov dword [esi + 0x5534], 0
je 0x100aa154
mov dword [esi + 0x57e8], eax
call ebp
mov dword [esi + 0x57e0], eax
xor eax, eax
push eax
push 4
push 0
call fcn.1010b39c
add esp, 8
mov ecx, eax
call fcn.1010a8d0
test edi, edi
jne 0x100aa193
push 0xffffffffffffffff
call fcn.100e7500
mov ecx, eax
call fcn.100e75e0
push edi
jmp 0x100aa1d5
test edi, edi
je 0x100aa154
cmp edi, 0xa
jbe 0x100aa18c
mov eax, edi
jmp 0x100aa156
mov eax, 0xa
jmp 0x100aa156
cmp byte [esp + 0x30], 0
jne 0x100aa1c4
mov eax, dword [esi + 0x57e8]
test eax, eax
je 0x100aa1bb
cmp eax, 2
je 0x100aa1bb
mov dword [esi + 0x57e8], 0
call ebp
mov dword [esi + 0x57e0], eax
cmp dword [esi + 0x57e8], 2
je 0x100aa1e1
shl edi, 0xa
push edi
call fcn.100e7500
mov ecx, eax
call fcn.100e75e0
push edi
call fcn.10063c50
mov ecx, eax
call fcn.1005e440
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, 1
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x18
ret 0xc
Function at 0x100ad720
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x101860d6
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x101c6444]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
mov edi, dword [esp + 0x24]
mov ax, word [edi]
mov word [esi], ax
mov ecx, dword [edi + 4]
mov dword [esi + 4], ecx
mov edx, dword [edi + 8]
mov dword [esi + 8], edx
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov ecx, dword [edi + 0x10]
mov dword [esi + 0x10], ecx
xor ebx, ebx
push 0xffffffffffffffff
lea ecx, [esi + 0x14]
lea eax, [edi + 0x14]
push ebx
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push eax
mov byte [ecx + 4], bl
call fcn.10001a10
push 0xffffffffffffffff
lea ecx, [esi + 0x30]
lea eax, [edi + 0x30]
push ebx
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push eax
mov dword [esp + 0x28], ebx
mov byte [ecx + 4], bl
call fcn.10001a10
push 0xffffffffffffffff
lea ecx, [esi + 0x4c]
lea eax, [edi + 0x4c]
push ebx
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push eax
mov byte [esp + 0x28], 1
mov byte [ecx + 4], bl
call fcn.10001a10
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4
Function at 0x100aebf0
Capabilities:
Get hostname
Resolve dns

Disassembly:
push 0xffffffffffffffff
push 0x1018622b
mov eax, dword fs:[0]
push eax
sub esp, 0x4ac
mov eax, dword [0x101c6444]
xor eax, esp
mov dword [esp + 0x4a8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101c6444]
xor eax, esp
push eax
lea eax, [esp + 0x4c0]
mov dword fs:[0], eax
xor ebx, ebx
push 0x384
lea eax, [esp + 0x13c]
push ebx
push eax
mov dword [esp + 0x20], ebx
call fcn.101580b0
add esp, 0xc
push 0xff
lea ecx, [esp + 0x3c]
push ecx
call dword [sym.imp.WS2_32.dll_gethostname]
lea edx, [esp + 0x38]
push edx
call dword [sym.imp.WS2_32.dll_gethostbyname]
cmp eax, ebx
mov dword [esp + 0x18], eax
je 0x100aed5d
xor ebp, ebp
jmp 0x100aec76
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x14]
cmp dword [eax + ecx*4], ebx
lea eax, [eax + ecx*4]
je 0x100aed47
mov edx, dword [eax]
mov eax, dword [edx]
push eax
call dword [sym.imp.WS2_32.dll_inet_ntoa]
mov esi, eax
cmp esi, ebx
je 0x100aed47
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x100aecb1
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x24]
call fcn.10001b80
mov eax, esi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x100aecd0
sub eax, edx
cmp eax, 0x1e
jae 0x100aecf4
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x100aece5
sub eax, edx
mov edi, eax
jmp 0x100aecf9
mov edi, 0x1d
push edi
lea ecx, [esp + ebp + 0x13c]
push esi
push ecx
call fcn.10159070
add dword [esp + 0x20], 1
lea edx, [edi + ebp]
add esp, 0xc
add ebp, 0x1e
cmp dword [esp + 0x34], 0x10
mov byte [esp + edx + 0x138], bl
mov dword [esp + 0x4c8], 0xffffffff
jb 0x100aed3c
mov eax, dword [esp + 0x20]
push eax
call fcn.10157f3b
add esp, 4
cmp dword [esp + 0x14], 0x1e
jl 0x100aec72
cmp dword [esp + 0x14], ebx
jle 0x100aed5d
lea ecx, [esp + 0x138]
push ecx
call dword [sym.imp.WS2_32.dll_inet_addr]
jmp 0x100aed5f
xor eax, eax
mov ecx, dword [esp + 0x4c0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x4a8]
xor ecx, esp
call fcn.101586e7
add esp, 0x4b8
ret
Function at 0x100aee00
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x10183b30
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x101c6444]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push esi
mov eax, dword [0x101c6444]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov ecx, dword [esp + 0x58]
xor ebx, ebx
cmp ecx, ebx
je 0x100aeefb
cmp byte [ecx], bl
je 0x100aeefb
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], ebx
mov word [esp + 0x2c], bx
mov eax, ecx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x24], 0xf
mov dword [esp + 0x20], ebx
mov byte [esp + 0x10], bl
lea esi, [eax + 1]
mov dl, byte [eax]
add eax, 1
cmp dl, bl
jne 0x100aee70
sub eax, esi
push eax
push ecx
lea ecx, [esp + 0x14]
call fcn.10001b80
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x10]
push ecx
mov byte [esp + 0x58], 1
call fcn.100f6be6
add esp, 8
cmp dword [esp + 0x24], 0x10
jb 0x100aeeb1
mov edx, dword [esp + 0x10]
push edx
call fcn.10157f3b
add esp, 4
mov eax, dword [esp + 0x2c]
mov esi, 8
cmp dword [esp + 0x40], esi
jae 0x100aeec4
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x100aeee5
cmp dword [esp + 0x40], esi
jb 0x100aeefb
mov eax, dword [esp + 0x2c]
push eax
call fcn.10157f3b
add esp, 4
jmp 0x100aeefb
test al, 0x10
lea ecx, [esp + 0x28]
je 0x100aeef6
call fcn.1002be60
mov al, 1
jmp 0x100aeefd
call fcn.1002be60
xor al, al
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.101586e7
add esp, 0x48
ret
Function at 0x100aef20
Capabilities:
Copy file

Disassembly:
push 0xffffffffffffffff
push 0x101862b0
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x101c6444]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
push esi
push edi
mov eax, dword [0x101c6444]
xor eax, esp
push eax
lea eax, [esp + 0x6c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x7c]
mov edi, dword [esp + 0x80]
xor ebx, ebx
cmp esi, ebx
je 0x100af0cb
cmp edi, ebx
je 0x100af0cb
mov eax, 7
mov dword [esp + 0x64], eax
mov dword [esp + 0x60], ebx
mov word [esp + 0x50], bx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x48], eax
mov dword [esp + 0x44], ebx
mov word [esp + 0x34], bx
mov eax, esi
mov byte [esp + 0x74], 1
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
lea edx, [eax + 1]
jmp 0x100aefb0
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x100aefb0
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x1c]
call fcn.10001b80
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x18]
push ecx
mov byte [esp + 0x7c], 2
call fcn.100f6be6
mov esi, 0x10
add esp, 8
cmp dword [esp + 0x2c], esi
mov byte [esp + 0x74], 1
jb 0x100aeffa
mov edx, dword [esp + 0x18]
push edx
call fcn.10157f3b
add esp, 4
mov eax, edi
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
lea edx, [eax + 1]
nop
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x100af010
sub eax, edx
push eax
push edi
lea ecx, [esp + 0x1c]
call fcn.10001b80
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x18]
push ecx
mov byte [esp + 0x7c], 3
call fcn.100f6be6
add esp, 8
cmp dword [esp + 0x2c], esi
jb 0x100af050
mov edx, dword [esp + 0x18]
push edx
call fcn.10157f3b
add esp, 4
mov esi, dword [esp + 0x34]
mov edi, 8
cmp dword [esp + 0x48], edi
jae 0x100af063
lea esi, [esp + 0x34]
cmp dword [esp + 0x64], edi
mov eax, dword [esp + 0x50]
jae 0x100af071
lea eax, [esp + 0x50]
xor ecx, ecx
cmp byte [esp + 0x84], bl
sete cl
push ecx
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
cmp eax, 1
sete byte [esp + 0x13]
cmp dword [esp + 0x48], edi
jb 0x100af0a1
mov edx, dword [esp + 0x34]
push edx
call fcn.10157f3b
add esp, 4
cmp dword [esp + 0x64], edi
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], ebx
mov word [esp + 0x34], bx
jb 0x100af0c5
mov eax, dword [esp + 0x50]
push eax
call fcn.10157f3b
add esp, 4
mov al, byte [esp + 0x13]
jmp 0x100af0cd
xor al, al
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.101586e7
add esp, 0x68
ret
Function at 0x100af0f0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x10183b30
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x101c6444]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push esi
mov eax, dword [0x101c6444]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov edx, dword [esp + 0x58]
xor ebx, ebx
cmp edx, ebx
je 0x100af1cb
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], ebx
mov word [esp + 0x2c], bx
mov eax, edx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x24], 0xf
mov dword [esp + 0x20], ebx
mov byte [esp + 0x10], bl
lea esi, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x100af158
sub eax, esi
push eax
push edx
lea ecx, [esp + 0x14]
call fcn.10001b80
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x10]
push ecx
mov byte [esp + 0x58], 1
call fcn.100f6be6
add esp, 8
cmp dword [esp + 0x24], 0x10
jb 0x100af199
mov edx, dword [esp + 0x10]
push edx
call fcn.10157f3b
add esp, 4
mov eax, dword [esp + 0x2c]
mov esi, 8
cmp dword [esp + 0x40], esi
jae 0x100af1ac
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x100af1cf
cmp dword [esp + 0x40], esi
jb 0x100af1cb
mov eax, dword [esp + 0x2c]
push eax
call fcn.10157f3b
add esp, 4
xor al, al
jmp 0x100af1eb
and al, 0x10
cmp al, 0x10
sete bl
cmp dword [esp + 0x40], esi
jb 0x100af1e9
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.10157f3b
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.101586e7
add esp, 0x48
ret
Function at 0x100afcf0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x10186428
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101c6444]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esi + 0x4ce8]
xor ebx, ebx
cmp ecx, ebx
jne 0x100afd3b
xor eax, eax
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret
mov eax, dword [esi + 0x1748]
cmp eax, 3
ja case.0x100afd46.0
jmp dword [eax*4 + 0x100afed4]
mov dword [esp + 0x14], 6
jmp 0x100afd73
mov dword [esp + 0x14], 4
jmp 0x100afd73
mov dword [esp + 0x14], 3
jmp 0x100afd73
mov dword [esp + 0x14], 1
lea eax, [esi + 8]
push eax
call fcn.10128cfd
cmp eax, ebx
mov dword [esp + 0x18], eax
je 0x100afeb9
lea edi, [esi + 0x2772]
mov eax, edi
mov dword [esp + 0x74], 0xf
mov dword [esp + 0x70], ebx
mov byte [esp + 0x60], bl
lea ebp, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x100afda3
sub eax, ebp
push eax
push edi
lea ecx, [esp + 0x64]
call fcn.10001b80
lea ecx, [esi + 0x2752]
mov ebp, 0xf
mov eax, ecx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x58], ebp
mov dword [esp + 0x54], ebx
mov byte [esp + 0x44], bl
lea edi, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
add eax, 1
cmp dl, bl
jne 0x100afde0
sub eax, edi
push eax
push ecx
lea ecx, [esp + 0x48]
call fcn.10001b80
lea ecx, [esi + 0x174c]
mov eax, ecx
mov byte [esp + 0x80], 1
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
lea edi, [eax + 1]
mov dl, byte [eax]
add eax, 1
cmp dl, bl
jne 0x100afe15
sub eax, edi
push eax
push ecx
lea ecx, [esp + 0x2c]
call fcn.10001b80
movzx eax, word [esi + 0x2750]
lea ecx, [esp + 0x5c]
push ecx
lea edx, [esp + 0x44]
push edx
push eax
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x2e]
mov byte [esp + 0x90], 2
call fcn.100248e0
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
push eax
push edx
push ebp
call fcn.1012d6d0
mov esi, 0x10
cmp dword [esp + 0x3c], esi
jb 0x100afe7b
mov eax, dword [esp + 0x28]
push eax
call fcn.10157f3b
add esp, 4
cmp dword [esp + 0x58], esi
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
jb 0x100afe9a
mov ecx, dword [esp + 0x44]
push ecx
call fcn.10157f3b
add esp, 4
cmp dword [esp + 0x74], esi
mov dword [esp + 0x58], ebp
mov dword [esp + 0x54], ebx
mov byte [esp + 0x44], bl
jb 0x100afeb9
mov edx, dword [esp + 0x60]
push edx
call fcn.10157f3b
add esp, 4
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret
Function at 0x100b36f0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push esi
push edi
mov esi, ecx
lea edi, [esi + 0x59dc]
push edi
call ebp
mov eax, dword [esi + 0x59f4]
cmp eax, 0xa
jle 0x100b371a
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebp
ret
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push edi
call ebx
mov eax, dword [esi + 0x59f8]
test eax, eax
je 0x100b373f
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x59f8], 0
lea edi, [esi + 0x59dc]
push edi
call ebp
add dword [esi + 0x59f4], 1
lea ecx, [esi + 0x59fc]
push ecx
push 0
push esi
push 0x100b3570
push 0
push 0
call fcn.10158ba9
add esp, 0x18
push edi
mov dword [esi + 0x59f8], eax
call ebx
pop ebx
pop edi
pop esi
pop ebp
ret

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

Disassembly:
push 0xffffffffffffffff
push 0x10186a2e
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101c6444]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
xor ebx, ebx
lea ebp, [esi + 4]
mov dword [esi], ebx
mov dword [ebp + 4], ebx
mov dword [ebp + 8], ebx
mov dword [ebp + 0xc], ebx
lea edi, [esi + 0x14]
mov dword [esp + 0x30], ebx
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov eax, dword [esp + 0x14]
push eax
push 0x101c5610
push 0x101c55d8
lea ecx, [esp + 0x24]
mov byte [esp + 0x3c], 1
call fcn.1000cd60
lea ecx, [esp + 0x18]
push ecx
mov ecx, edi
mov byte [esp + 0x34], 2
call fcn.1000d080
mov eax, dword [esp + 0x1c]
cmp eax, ebx
mov byte [esp + 0x30], 1
je 0x100b52f1
push eax
call fcn.10157f3b
add esp, 4
push edi
mov ecx, ebp
call fcn.1000d080
mov edx, dword [str.www.tencent.com.]
mov dword [esi + 0x24], edx
mov eax, dword [0x101995c8]
mov dword [esi + 0x28], eax
mov ecx, dword [0x101995cc]
mov dword [esi + 0x2c], ecx
mov edx, dword [0x101995d0]
mov dword [esi + 0x30], edx
mov eax, dword [esi + 0x24]
mov ecx, dword [esi + 0x28]
mov edx, dword [esi + 0x2c]
mov dword [esi + 0x34], eax
mov eax, dword [esi + 0x30]
mov dword [esi + 0x38], ecx
mov dword [esi + 0x3c], edx
mov dword [esi + 0x40], eax
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
Function at 0x100b55c0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x10186acb
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x101c6444]
xor eax, esp
push eax
lea eax, [esp + 8]
mov dword fs:[0], eax
mov eax, ecx
xor ecx, ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x20], ecx
mov dword [eax + 0x24], ecx
mov dword [eax + 0x28], ecx
mov dword [eax + 0x2c], ecx
mov dword [eax + 0x30], ecx
mov dword [eax + 0x34], ecx
mov dword [eax + 0x50], 0xf
mov dword [eax + 0x4c], ecx
mov byte [eax + 0x3c], cl
mov dword [eax + 0x58], ecx
mov dword [eax + 0x5c], ecx
mov dword [eax + 0x60], ecx
mov byte [eax + 0x64], cl
mov dword [eax + 0x6c], ecx
mov dword [eax + 0x70], ecx
mov dword [eax + 0x74], ecx
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
add esp, 0x10
ret
Function at 0x100bc0c0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x101873c1
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x101c6444]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, dword [esp + 0x20]
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov dword [esi], eax
mov eax, dword [esp + 0x30]
mov dword [esi + 4], ecx
mov ecx, dword [esp + 0x34]
mov dword [esi + 8], edx
mov dword [esi + 0xc], eax
lea edx, [esp + 0x38]
mov dword [esi + 0x10], ecx
push edx
lea ecx, [esi + 0x18]
mov dword [esp + 0x1c], 1
call fcn.100b66d0
lea ecx, [esp + 0x38]
mov dword [esp + 8], 1
mov byte [esp + 0x18], 0
call fcn.10062770
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret

Function at 0x100bdf70
Capabilities:
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x10187631
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
push ebp
push esi
mov eax, dword [0x101c6444]
xor eax, esp
push eax
lea eax, [esp + 0xc4]
mov dword fs:[0], eax
mov esi, ecx
call fcn.10023df0
lea ebp, [eax + 4]
push ebp
mov dword [esp + 0x10], 0x101975f4
mov dword [esp + 0x14], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esp + 0xd8]
test eax, eax
mov dword [esp + 0xcc], 0
je 0x100be047
cmp eax, 1
je 0x100be010
cmp eax, 2
jne 0x100be10b
cmp byte [esi + 0x5800], 0
je 0x100be10b
push 1
push esi
call fcn.10063c50
mov ecx, eax
call fcn.1005e5c0
mov byte [esi + 0x5802], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x5804], eax
jmp 0x100be10b
lea eax, [esp + 0xd4]
push eax
lea ecx, [esp + 0xbc]
push ecx
lea ecx, [esi + 0x58f8]
call fcn.1000abf0
push 1
push 3
lea ecx, [esp + 0x38]
call fcn.10013620
mov byte [esp + 0xcc], 1
push str.__SetSafeNetworkConnMode
jmp 0x100be074
lea ecx, [esp + 0xd4]
push ecx
lea ecx, [esi + 0x58f8]
call fcn.10069740
push 1
push 3
lea ecx, [esp + 0x38]
call fcn.10013620
mov byte [esp + 0xcc], 2
push 0x1019961c
mov edx, dword [esp + 0xd8]
push edx
lea eax, [esp + 0x40]
push str.inst:
push eax
call fcn.10012340
add esp, 8
mov ecx, eax
call fcn.100133a0
push eax
call fcn.10012340
add esp, 8
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x34]
call fcn.1000abd0
cmp dword [eax + 0x18], 0x10
jb 0x100be0b7
mov eax, dword [eax + 4]
jmp 0x100be0ba
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp dword [esp + 0x2c], 0x10
jb 0x100be0d5
mov edx, dword [esp + 0x18]
push edx
call fcn.10157f3b
add esp, 4
lea ecx, [esp + 0x84]
mov byte [esp + 0xcc], 0
call fcn.10004960
lea eax, [esp + 0x84]
push eax
mov dword [esp + 0x88], 0x101975f8
call fcn.101575fb
add esp, 4
mov ecx, esi
call fcn.100abc90
push ebp
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0xc4]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
add esp, 0xc4
ret 8