joyce8/EMBER2024-capa huggingface dataset:
Function at 0x408950
Capabilities:
Read file on windows

Disassembly:
sub esp, 8
cmp byte [esi], 0
push edi
mov edi, 1
je 0x408983
mov edx, dword [esi + 2]
push 0
lea eax, [esp + 0xc]
push eax
push edi
lea ecx, [esp + 0x13]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x40897d
mov byte [esi + 6], 1
mov edi, dword [esp + 8]
jmp 0x4089af
mov eax, dword [esi + 0x10]
push ebx
mov ebx, dword [esi + 0x14]
lea ecx, [ebx + 1]
cmp ecx, eax
jbe 0x408995
sub eax, ebx
mov edi, eax
mov edx, dword [esi + 0xc]
push edi
add edx, ebx
push edx
lea eax, [esp + 0x13]
push eax
call fcn.0041b780
add esp, 0xc
add ebx, edi
mov dword [esi + 0x14], ebx
pop ebx
cmp edi, 1
pop edi
jne 0x4089c6
movzx ecx, byte [esp + 3]
mov edx, dword [esp + 0xc]
mov dword [edx], ecx
xor eax, eax
add esp, 8
ret
cmp byte [esi], 0
je 0x4089c0
cmp byte [esi + 6], 0
je 0x4089c0
or eax, 0xffffffff
add esp, 8
ret
Function at 0x408a60
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x18
cmp byte [esi], 0
je 0x408aa5
cmp byte [esi + 1], 0
je 0x408aad
mov eax, dword [esi + 2]
push 2
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp byte [esi], 0
push ebp
je 0x408ac2
cmp byte [esi + 1], 0
je 0x408ab4
mov edx, dword [esi + 2]
push 1
push 0
push 0
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ebp, eax
sub ebp, dword [esi + 7]
mov dword [esp + 4], ebp
jmp 0x408acb
mov ecx, dword [esi + 0x10]
mov dword [esi + 0x14], ecx
jmp 0x408a7e
or eax, 0xffffffff
add esp, 0x18
ret
mov dword [esp + 4], 0
mov ebp, dword [esp + 4]
jmp 0x408acb
mov eax, dword [esi + 0x14]
mov dword [esp + 4], eax
mov ebp, eax
push edi
mov edi, 0xffff
mov dword [esp + 0xc], edi
cmp ebp, edi
jae 0x408adf
mov dword [esp + 0xc], ebp
mov edi, ebp
push ebx
push 0x404
call fcn.004157ec
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x408afd
pop ebx
pop edi
or eax, 0xffffffff
pop ebp
add esp, 0x18
ret
mov eax, 4
mov dword [esp + 0x18], 0xffffffff
cmp edi, eax
jbe 0x408c11
jmp 0x408b20
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov ebp, dword [esp + 0xc]
add eax, 0x400
mov dword [esp + 0x14], edi
cmp eax, edi
ja 0x408b31
mov dword [esp + 0x14], eax
mov eax, ebp
sub eax, dword [esp + 0x14]
sub ebp, eax
mov dword [esp + 0x20], eax
cmp ebp, 0x404
jbe 0x408b4a
mov ebp, 0x404
cmp byte [esi], 0
je 0x408b6f
cmp byte [esi + 1], 0
je 0x408c11
mov ecx, dword [esi + 7]
mov edx, dword [esi + 2]
push 0
push 0
add ecx, eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
jmp 0x408b72
mov dword [esi + 0x14], eax
cmp byte [esi], 0
mov edi, ebp
je 0x408b9a
mov ecx, dword [esi + 2]
push 0
lea eax, [esp + 0x20]
push eax
push ebp
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x408b94
mov byte [esi + 6], 1
mov eax, dword [esp + 0x1c]
jmp 0x408bc0
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x10]
lea edx, [eax + ebp]
cmp edx, ecx
jbe 0x408bab
sub ecx, eax
mov edi, ecx
mov ecx, dword [esi + 0xc]
push edi
add ecx, eax
push ecx
push ebx
call fcn.0041b780
add esp, 0xc
add dword [esi + 0x14], edi
mov eax, edi
xor edx, edx
div ebp
cmp eax, 1
jne 0x408c11
lea eax, [ebp - 3]
test eax, eax
jl 0x408bfc
dec eax
cmp byte [eax + ebx], 0x50
jne 0x408bec
cmp byte [eax + ebx + 1], 0x4b
jne 0x408bec
cmp byte [eax + ebx + 2], 5
jne 0x408bec
cmp byte [eax + ebx + 3], 6
je 0x408bf2
test eax, eax
jge 0x408bd0
jmp 0x408bfc
mov edx, dword [esp + 0x20]
add eax, edx
mov dword [esp + 0x18], eax
cmp dword [esp + 0x18], 0
jne 0x408c11
mov eax, dword [esp + 0x10]
cmp dword [esp + 0x14], eax
jb 0x408b14
push ebx
call fcn.00415d47
mov eax, dword [esp + 0x1c]
add esp, 4
pop ebx
pop edi
pop ebp
add esp, 0x18
ret
Function at 0x4095e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xc
push ebx
push ebp
mov ebp, dword [esp + 0x18]
push edi
mov edi, eax
xor ebx, ebx
cmp edi, ebx
jne 0x4095fe
pop edi
pop ebp
mov eax, 0xffffff9a
pop ebx
add esp, 0xc
ret
cmp dword [edi + 0x18], ebx
je 0x4095f2
cmp dword [edi + 0x7c], ebx
je 0x40960d
call fcn.004099c0
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.00409350
add esp, 0xc
test eax, eax
je 0x409634
pop edi
pop ebp
mov eax, 0xffffff99
pop ebx
add esp, 0xc
ret
push esi
push 0x7e
call fcn.004157ec
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x409672
push 0x4000
call fcn.004157ec
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
add esp, 4
mov dword [esi], eax
mov dword [esi + 0x44], ecx
mov dword [esi + 0x48], edx
mov dword [esi + 0x4c], ebx
cmp eax, ebx
jne 0x40967f
push esi
call fcn.00415d47
add esp, 4
pop esi
pop edi
pop ebp
mov eax, 0xffffff98
pop ebx
add esp, 0xc
ret
mov dword [esi + 0x40], ebx
mov ecx, dword [edi + 0x3c]
xor eax, eax
cmp dword [edi + 0x34], ebx
mov dword [esi + 0x54], ecx
mov dword [esi + 0x50], ebx
mov edx, dword [edi + 0x34]
sete al
mov dword [esi + 0x64], edx
mov ecx, dword [edi]
mov dword [esi + 0x60], ecx
mov edx, dword [edi + 0xc]
mov dword [esi + 0x68], edx
mov dword [esi + 0x18], ebx
cmp eax, ebx
jne 0x4096c7
lea eax, [esi + 4]
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
call fcn.004084a0
test eax, eax
jne 0x4096c7
mov dword [esi + 0x40], 1
mov eax, dword [edi + 0x40]
mov dword [esi + 0x58], eax
mov ecx, dword [edi + 0x44]
mov dword [esi + 0x5c], ecx
mov dl, byte [edi + 0x30]
and dl, 1
mov byte [esi + 0x6c], dl
mov eax, dword [edi + 0x30]
shr eax, 3
test al, 1
je 0x4096ee
mov cl, byte [edi + 0x39]
mov byte [esi + 0x7d], cl
jmp 0x4096f4
mov dl, byte [edi + 0x3f]
mov byte [esi + 0x7d], dl
movzx eax, byte [esi + 0x6c]
neg eax
sbb eax, eax
and eax, 0xc
lea edx, [esi + 0x6d]
mov dword [esi + 0x79], eax
mov dword [edx], 0x12345678
mov dword [esi + 0x71], 0x23456789
mov dword [esi + 0x75], 0x34567890
cmp ebp, ebx
je 0x409731
lea ecx, [ecx]
mov cl, byte [ebp]
cmp cl, bl
je 0x409731
call fcn.00408190
add ebp, 1
jne 0x409720
mov ecx, dword [edi + 0x78]
mov edx, dword [esp + 0x18]
lea eax, [ecx + edx + 0x1e]
mov dword [esi + 0x3c], eax
mov dword [esi + 8], ebx
mov dword [edi + 0x7c], esi
pop esi
pop edi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc
ret
Function at 0x409b20
Capabilities:
Get common file path

Disassembly:
cmp dword [esi], 0
push edi
jne 0x409bd3
cmp dword [esi + 4], 0xffffffff
jne 0x409bd3
lea edi, [esi + 0x244]
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov eax, edi
lea edx, [eax + 2]
jmp 0x409b50
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x409b50
sub eax, edx
sar eax, 1
movzx eax, word [esi + eax*2 + 0x242]
cmp ax, 0x5c
je 0x409b89
cmp ax, 0x2f
je 0x409b89
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x409b76
mov eax, dword [0x42c8b8]
mov dword [edi], eax
push 0x18
call fcn.0040a472
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
add esp, 4
mov byte [eax], 0
mov byte [eax + 1], 1
mov byte [eax + 0xb], 0
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], edx
mov dword [eax + 0x14], 0
mov dword [eax + 7], 0
call fcn.00408c30
mov dword [esi], eax
neg eax
sbb eax, eax
and eax, 0xfffffe00
add eax, 0x200
pop edi
ret 8
mov eax, 0x1000000
pop edi
ret 8

Function at 0x4148db
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x432c20]
jne 0x4148e5
repz ret
jmp fcn.0041919b

Function at 0x423caf
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00419470
and dword [ebp - 4], 0
cmp dword [0x436abc], 0
mov ebx, eax
jne 0x423d60
push 0x42b6a4
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x423e11
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x42b698
push edi
call esi
test eax, eax
je 0x423e11
push eax
call fcn.004193fe
mov dword [esp], 0x42b688
push edi
mov dword [0x436abc], eax
call esi
push eax
call fcn.004193fe
mov dword [esp], 0x42b674
push edi
mov dword [0x436ac0], eax
call esi
push eax
call fcn.004193fe
mov dword [esp], 0x42b658
push edi
mov dword [0x436ac4], eax
call esi
push eax
call fcn.004193fe
pop ecx
mov dword [0x436acc], eax
test eax, eax
je 0x423d60
push 0x42b640
push edi
call esi
push eax
call fcn.004193fe
pop ecx
mov dword [0x436ac8], eax
mov eax, dword [0x436ac8]
cmp eax, ebx
je 0x423db8
cmp dword [0x436acc], ebx
je 0x423db8
push eax
call fcn.00419479
push dword [0x436acc]
mov esi, eax
call fcn.00419479
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x423db8
test edi, edi
je 0x423db8
call esi
test eax, eax
je 0x423daf
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x423daf
test byte [ebp - 0xc], 1
jne 0x423db8
or dword [ebp + 0x10], 0x200000
jmp 0x423df1
mov eax, dword [0x436ac0]
cmp eax, ebx
je 0x423df1
push eax
call fcn.00419479
pop ecx
test eax, eax
je 0x423df1
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x423df1
mov eax, dword [0x436ac4]
cmp eax, ebx
je 0x423df1
push eax
call fcn.00419479
pop ecx
test eax, eax
je 0x423df1
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x436abc]
call fcn.00419479
pop ecx
test eax, eax
je 0x423e11
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x423e13
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10002ff0
Capabilities:
Parse credit card information

Disassembly:
push esi
mov esi, eax
cmp dword [esi + 0x6c], 0
je 0x10002fff
pop esi
jmp fcn.10003aa0
mov eax, dword [esi + 0x60]
push ebx
push edi
call fcn.10005dd0
mov ebx, eax
mov eax, dword [esi + 0x60]
call fcn.10005dd0
cmp dword [esi + 0x14], 0
mov edi, eax
jne 0x10003051
mov eax, dword [esi + 4]
mov ecx, dword [esi + 8]
mov dword [esi + 0xc], eax
mov eax, esi
mov dword [esi + 0x10], ecx
mov dword [esi + 4], str.__:alnum:_____:alnum:___
mov dword [esi + 8], 0x100bae20
call fcn.10003aa0
call fcn.10002b40
mov eax, esi
call fcn.10003aa0
cmp dword [esi + 0x14], 0
jne 0x10003051
mov dword [esi + 0x6c], ebx
pop edi
pop ebx
pop esi
ret

Function at 0x100037f0
Capabilities:
Parse credit card information

Disassembly:
push esi
mov esi, eax
call fcn.10003840
cmp dword [esi + 0x14], 0
jne 0x10003839
mov eax, dword [esi + 0x18]
test al, 4
je 0x1000381b
mov dword [esi + 0x28], 3
mov dword [esi + 0x20], 0x6e
mov eax, esi
pop esi
jmp fcn.10003aa0
and al, 1
movsx eax, al
neg eax
sbb eax, eax
add eax, 2
mov dword [esi + 0x28], eax
mov dword [esi + 0x20], 0x6e
mov eax, esi
pop esi
jmp fcn.10003aa0
pop esi
ret
Function at 0x1000b130
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ebx
push ebp
mov ebp, dword [esp + 0x10]
xor ebx, ebx
cmp dword [esi + 4], ebx
push edi
jle 0x1000b148
mov eax, dword [esi + 0x14]
test byte [eax + 8], 1
jne 0x1000b1b4
push ebp
push esi
mov ecx, ebp
call fcn.1000b5d0
add esp, 8
xor ecx, ecx
cmp dword [esi + 0x10], ebx
jle 0x1000b16b
jmp 0x1000b160
mov edx, dword [eax]
mov dword [edx + ecx*4], ebx
inc ecx
cmp ecx, dword [esi + 0x10]
jl 0x1000b160
mov ecx, dword [esi + 0x28]
mov ecx, dword [ecx + 0xc]
mov edi, dword [eax]
mov edx, ecx
shr edx, 5
lea edx, [edi + edx*4]
and ecx, 0x1f
mov edi, 1
shl edi, cl
or dword [edx], edi
mov ecx, dword [esi + 0x10]
cmp ecx, 1
jne 0x1000b195
mov ecx, dword [eax]
mov edx, dword [ecx]
jmp 0x1000b1aa
xor edx, edx
cmp ecx, ebx
jle 0x1000b1aa
mov ecx, dword [eax]
mov edi, dword [esi + 0x10]
xor edx, dword [ecx]
add ecx, 4
sub edi, 1
jne 0x1000b1a0
mov dword [eax + 4], edx
mov dword [eax + 8], 0xd
xor ecx, ecx
cmp dword [esi + 4], ebx
jle 0x1000b1d0
xor edx, edx
lea ecx, [ecx]
mov edi, dword [esi + 0x14]
mov dword [edx + edi + 0x14], ebx
inc ecx
add edx, 0x20
cmp ecx, dword [esi + 4]
jl 0x1000b1c0
mov dword [eax + 0x14], ebp
pop edi
pop ebp
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
pop ebx
pop ecx
ret
Function at 0x10015e80
Capabilities:
Query environment variable

Disassembly:
push ebx
push 0x100be0a4
call dword [sym.imp.MSVCR90.dll_getenv]
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x10015f40
mov ecx, dword [0x100d3a8c]
test ecx, ecx
je 0x10015ed5
cmp ecx, 0xffffffff
je 0x10015ed5
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10015ec8
test dl, dl
je 0x10015ec4
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10015ec8
add eax, 2
add ecx, 2
test dl, dl
jne 0x10015ea8
xor eax, eax
jmp 0x10015ecd
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x10015f6d
call dword [sym.imp.MSVCR90.dll__tzset]
mov eax, dword [0x100d3a8c]
test eax, eax
je 0x10015ef3
cmp eax, 0xffffffff
je 0x10015ef3
push eax
call dword [sym.imp.MSVCR90.dll_free]
add esp, 4
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10015ef8
push esi
sub eax, edx
push edi
lea edi, [eax + 1]
push edi
call dword [sym.imp.MSVCR90.dll_malloc]
mov esi, eax
add esp, 4
test esi, esi
jne 0x10015f28
test edi, edi
je 0x10015f28
push edi
push str.unable_to_alloc__u_bytes
call sym.tcl85.dll_Tcl_Panic
add esp, 8
mov dword [0x100d3a8c], esi
mov eax, ebx
sub esi, ebx
mov cl, byte [eax]
mov byte [esi + eax], cl
inc eax
test cl, cl
jne 0x10015f32
pop edi
pop esi
pop ebx
ret
cmp dword [0x100d3a8c], 0
je 0x10015f6d
call dword [sym.imp.MSVCR90.dll__tzset]
mov eax, dword [0x100d3a8c]
cmp eax, 0xffffffff
je 0x10015f63
push eax
call dword [sym.imp.MSVCR90.dll_free]
add esp, 4
mov dword [0x100d3a8c], 0
pop ebx
ret
Function at 0x10045d90
Capabilities:
Terminate process

Disassembly:
mov eax, dword [0x100d45a0]
test eax, eax
je 0x10045db0
mov ecx, dword [esp + 4]
push ecx
call eax
add esp, 4
mov dword [esp + 4], str.AppExitProc_returned_unexpectedly
jmp sym.tcl85.dll_Tcl_Panic
call sym.tcl85.dll_Tcl_Finalize
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.MSVCR90.dll_exit]
int3
Function at 0x1005ba40
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
push ebp
xor ebp, ebp
push esi
push edi
cmp dword [0x100d4184], ebp
jne 0x1005ba9a
push 0x24
call dword [sym.imp.MSVCR90.dll_malloc]
mov esi, eax
add esp, 4
cmp esi, ebp
jne 0x1005ba6e
push 0x24
push str.unable_to_alloc__u_bytes
call sym.tcl85.dll_Tcl_Panic
add esp, 8
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov ebx, 0x100d4184
mov dword [0x100d4184], esi
call fcn.100909f0
mov eax, dword [0x100d4184]
mov ecx, dword [esp + 0x24]
mov esi, dword [eax + 4]
mov edi, dword [ecx]
mov ebx, dword [edi + 0x70]
cmp esi, ebp
je 0x1005babc
nop
cmp dword [esi + 0x70], ebx
je 0x1005bae2
mov esi, dword [esi + 0x78]
cmp esi, ebp
jne 0x1005bab0
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x1005badb
mov edx, dword [edi]
push ebp
push 0x100bd5d4
push edx
push str.couldnt_find_state_for_channel__
push eax
call sym.tcl85.dll_Tcl_AppendResult
add esp, 0x14
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
mov ecx, dword [esi + 4]
mov eax, dword [esp + 0x20]
and ecx, eax
test cl, 6
jne 0x1005bb16
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x1005badb
mov edx, dword [edi]
push ebp
push 0x100bd5d4
push edx
push str.reading_and_writing_both_disallowed_for_channel__
push eax
call sym.tcl85.dll_Tcl_AppendResult
add esp, 0x14
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
test al, 4
je 0x1005bb6e
mov edi, dword [esi + 0x68]
mov ebp, dword [esi + 0x6c]
xor eax, eax
push ebx
mov dword [esi + 0x68], eax
mov dword [esi + 0x6c], eax
call sym.tcl85.dll_Tcl_Flush
add esp, 4
mov dword [esi + 0x68], edi
mov dword [esi + 0x6c], ebp
test eax, eax
je 0x1005bb68
mov eax, dword [esp + 0x14]
test eax, eax
je 0x1005badb
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx]
mov ecx, dword [edx]
push 0
push 0x100bd5d4
push ecx
push str.could_not_flush_channel__
push eax
call sym.tcl85.dll_Tcl_AppendResult
add esp, 0x14
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
mov eax, dword [esp + 0x20]
xor ebp, ebp
test al, 2
je 0x1005bb88
mov eax, dword [esi + 0x4c]
cmp eax, ebp
je 0x1005bb88
mov dword [ebx + 0x14], eax
mov edx, dword [esi + 0x50]
mov dword [ebx + 0x18], edx
mov dword [esi + 0x4c], ebp
mov dword [esi + 0x50], ebp
push 0x20
call dword [sym.imp.MSVCR90.dll_malloc]
mov edi, eax
add esp, 4
cmp edi, ebp
jne 0x1005bba8
push 0x20
push str.unable_to_alloc__u_bytes
call sym.tcl85.dll_Tcl_Panic
add esp, 8
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov dword [edi], esi
mov dword [edi + 4], eax
mov dword [edi + 8], ecx
mov dword [edi + 0xc], ebx
mov dword [edi + 0x10], ebp
mov dword [edi + 0x14], ebp
mov dword [edi + 0x18], ebp
mov dword [edi + 0x1c], ebp
mov dword [ebx + 0x10], edi
mov dword [esi + 0x70], edi
mov esi, dword [edi + 8]
push 4
mov eax, esi
call fcn.100623b0
add esp, 4
test eax, eax
je 0x1005bbf1
mov esi, dword [esi + 0x3c]
cmp esi, ebp
je 0x1005bbf1
mov edx, dword [edi + 4]
push ebp
push edx
call esi
add esp, 8
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x1005c7a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [0x100d4184]
push ebp
mov ebp, dword [esp + 8]
push esi
test eax, eax
jne 0x1005c802
push 0x24
call dword [sym.imp.MSVCR90.dll_malloc]
mov esi, eax
add esp, 4
test esi, esi
jne 0x1005c7cf
push 0x24
push str.unable_to_alloc__u_bytes
call sym.tcl85.dll_Tcl_Panic
add esp, 8
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
push ebx
mov dword [esi + 0x20], eax
mov ebx, 0x100d4184
mov dword [0x100d4184], esi
call fcn.100909f0
mov eax, dword [0x100d4184]
pop ebx
mov esi, dword [eax + 4]
push edi
mov edi, dword [ebp]
test esi, esi
je 0x1005c82d
cmp edi, esi
jne 0x1005c819
mov ecx, dword [edi + 0x78]
mov dword [eax + 4], ecx
jmp 0x1005c840
test esi, esi
je 0x1005c82d
lea ecx, [ecx]
mov eax, dword [esi + 0x78]
cmp eax, edi
je 0x1005c83a
mov esi, eax
test esi, esi
jne 0x1005c820
push str.FlushChannel:_damaged_channel_list
call sym.tcl85.dll_Tcl_Panic
add esp, 4
mov edx, dword [edi + 0x78]
mov dword [esi + 0x78], edx
mov dword [edi + 0x78], 0
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 4]
pop edi
cmp eax, 2
je 0x1005c874
cmp eax, 3
je 0x1005c874
cmp eax, 4
je 0x1005c862
cmp eax, 5
jne 0x1005c874
mov ecx, dword [ecx + 0x3c]
test ecx, ecx
je 0x1005c874
mov eax, dword [ebp + 4]
push 1
push eax
call ecx
add esp, 8
pop esi
pop ebp
ret

Function at 0x1005c880
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [eax]
mov eax, dword [0x100d4184]
push ebp
mov ebp, dword [ecx + 0x74]
push esi
test eax, eax
jne 0x1005c8e7
push 0x24
call dword [sym.imp.MSVCR90.dll_malloc]
mov esi, eax
add esp, 4
test esi, esi
jne 0x1005c8b4
push 0x24
push str.unable_to_alloc__u_bytes
call sym.tcl85.dll_Tcl_Panic
add esp, 8
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
push ebx
mov dword [esi + 0x20], eax
mov ebx, 0x100d4184
mov dword [0x100d4184], esi
call fcn.100909f0
mov eax, dword [0x100d4184]
pop ebx
mov esi, dword [eax + 4]
push edi
mov edi, dword [ebp]
test esi, esi
je 0x1005c90f
cmp edi, esi
jne 0x1005c8fe
mov edx, dword [edi + 0x78]
mov dword [eax + 4], edx
jmp 0x1005c922
test esi, esi
je 0x1005c90f
mov eax, dword [esi + 0x78]
cmp eax, edi
je 0x1005c91c
mov esi, eax
test esi, esi
jne 0x1005c902
push str.FlushChannel:_damaged_channel_list
call sym.tcl85.dll_Tcl_Panic
add esp, 4
mov eax, dword [edi + 0x78]
mov dword [esi + 0x78], eax
mov dword [edi + 0x78], 0
pop edi
lea ebx, [ebx]
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 4]
cmp eax, 2
je 0x1005c95c
cmp eax, 3
je 0x1005c95c
cmp eax, 4
je 0x1005c94a
cmp eax, 5
jne 0x1005c95c
mov eax, dword [ecx + 0x3c]
test eax, eax
je 0x1005c95c
mov ecx, dword [ebp + 4]
push 1
push ecx
call eax
add esp, 8
mov ebp, dword [ebp + 0x10]
test ebp, ebp
jne 0x1005c930
pop esi
pop ebp
ret
Function at 0x1005ca30
Capabilities:
Resolve function by parsing pe exports

Disassembly:
cmp dword [0x100d4184], 0
mov eax, dword [esp + 4]
mov ecx, dword [eax]
push ebx
push esi
push edi
mov edi, dword [ecx + 0x74]
jne 0x1005ca91
push 0x24
call dword [sym.imp.MSVCR90.dll_malloc]
mov esi, eax
add esp, 4
test esi, esi
jne 0x1005ca65
push 0x24
push str.unable_to_alloc__u_bytes
call sym.tcl85.dll_Tcl_Panic
add esp, 8
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov ebx, 0x100d4184
mov dword [0x100d4184], esi
call fcn.100909f0
mov esi, dword [edi]
cmp dword [esi + 0x78], 0
mov ebx, dword [0x100d4184]
je 0x1005caac
push str.SpliceChannel:_trying_to_add_channel_used_in_different_list
call sym.tcl85.dll_Tcl_Panic
add esp, 4
mov edx, dword [ebx + 4]
mov dword [esi + 0x78], edx
mov dword [ebx + 4], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [esi + 0x7c], eax
mov edi, edi
mov ecx, dword [edi + 8]
mov eax, dword [ecx + 4]
cmp eax, 2
je 0x1005caec
cmp eax, 3
je 0x1005caec
cmp eax, 4
je 0x1005cada
cmp eax, 5
jne 0x1005caec
mov eax, dword [ecx + 0x3c]
test eax, eax
je 0x1005caec
mov ecx, dword [edi + 4]
push 0
push ecx
call eax
add esp, 8
mov edi, dword [edi + 0x10]
test edi, edi
jne 0x1005cac0
pop edi
pop esi
pop ebx
ret
Function at 0x100661b0
Capabilities:
Set socket configuration

Disassembly:
sub esp, 8
push ebx
mov ebx, dword [sym.imp.WS2_32.dll_getsockopt]
push ebp
push esi
mov esi, dword [esp + 0x18]
push edi
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x18]
push ecx
push 0x1001
push 0xffff
mov edi, 4
push esi
mov dword [esp + 0x24], edi
call ebx
mov edx, dword [esp + 0x14]
cmp edx, dword [esp + 0x20]
mov ebp, dword [sym.imp.WS2_32.dll_setsockopt]
jge 0x10066208
push edi
lea eax, [esp + 0x24]
push eax
push 0x1001
push 0xffff
push esi
mov dword [esp + 0x24], edi
call ebp
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x18]
push edx
push 0x1002
push 0xffff
push esi
mov dword [esp + 0x24], edi
call ebx
mov eax, dword [esp + 0x14]
cmp eax, dword [esp + 0x20]
jge 0x10066244
push edi
lea ecx, [esp + 0x24]
push ecx
push 0x1002
push 0xffff
push esi
mov dword [esp + 0x24], edi
call ebp
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret
Function at 0x1006c5e0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push eax
mov byte [ebp - 0x17], bl
mov byte [ebp - 0x16], 0x40
mov byte [ebp - 0x15], bl
mov byte [ebp - 0x14], 0xe9
mov byte [ebp - 0x13], 0xd6
mov byte [ebp - 0x12], 0xcd
mov byte [ebp - 0x11], 0xcb
mov byte [ebp - 0x10], 0xca
mov byte [ebp - 0xf], 0xde
mov byte [ebp - 0xe], 0xd3
mov byte [ebp - 0xd], 0xf9
mov byte [ebp - 0xc], 0xcd
mov byte [ebp - 0xb], 0xda
mov byte [ebp - 0xa], 0xda
mov byte [ebp - 9], 0xbf
call fcn.1006c283
push eax
push esi
push dword [ebp + 8]
call fcn.1006c238
mov dword [ebp - 8], eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.1006c283
push eax
push esi
push dword [ebp + 8]
call fcn.1006c238
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
pop ebp
aad 0xc6
inc ebp
salc
aam 0x88
pop ebp
xlatb
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.1006c283
push eax
push esi
push dword [ebp + 8]
call fcn.1006c238
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.1006c273
jnp 0x1006c697
bound esp, qword [0xff7c9d88]
invalid