joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41a5e1
Capabilities:
Initialize winsock library
Set current directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4afe13
mov eax, dword fs:[0]
push eax
sub esp, 0x1f0
mov eax, dword [0x4dfb64]
xor eax, esp
mov dword [esp + 0x1e8], eax
push ebx
push esi
push edi
mov eax, dword [0x4dfb64]
xor eax, esp
push eax
lea eax, [esp + 0x200]
mov dword fs:[0], eax
mov esi, str.Ws2_32.dll
push esi
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
jne 0x41a63a
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push str.PatchUpdate
mov ecx, 0x4e2b60
call fcn.00406de9
push 0x40e1c2
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x14], 8
mov dword [esp + 0x18], 0xff
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
xor ebx, ebx
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
mov ecx, edi
call fcn.00479094
push ebx
call fcn.0047ab84
mov dword [esp], 0x190
lea eax, [esp + 0x68]
push ebx
push eax
call fcn.0048bdc0
add esp, 0xc
lea eax, [esp + 0x64]
push eax
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
push 0x4cb71c
mov ecx, edi
call fcn.0047b0f9
lea eax, [esp + 0x48]
push eax
call fcn.0042f167
pop ecx
mov dword [esp + 0x208], ebx
cmp dword [esp + 0x60], 0x10
mov eax, dword [esp + 0x4c]
jae 0x41a6d4
lea eax, [esp + 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
cmp dword [esp + 0x60], 0x10
mov eax, dword [esp + 0x4c]
jae 0x41a6ea
lea eax, [esp + 0x4c]
push eax
push str.ModuleDir
push str.Setting
mov ecx, edi
call fcn.0047b288
mov eax, dword [edi + 0x48]
mov esi, 0x4c8b08
push esi
push eax
jmp 0x41a73b
push eax
lea ecx, [esp + 0x30]
call fcn.0040802a
push eax
lea ecx, [edi + 0xb4]
mov byte [esp + 0x20c], 1
call fcn.0040905e
push ebx
push 1
lea ecx, [esp + 0x34]
mov byte [esp + 0x210], bl
call fcn.004068b9
push esi
push ebx
call fcn.00490447
cmp eax, ebx
pop ecx
pop ecx
jne 0x41a708
mov ecx, edi
call fcn.0041ac5d
test eax, eax
jne 0x41a785
xor esi, esi
push ebx
push 1
lea ecx, [esp + 0x50]
call fcn.004068b9
mov eax, esi
mov ecx, dword [esp + 0x200]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1e8]
xor ecx, esp
call fcn.0048b5ab
mov esp, ebp
pop ebp
ret
cmp dword [0x4e72d0], ebx
jne 0x41a7bb
push 0x54
call fcn.00466548
pop ecx
mov dword [esp + 0x28], eax
cmp eax, ebx
mov byte [esp + 0x208], 2
je 0x41a7ad
push eax
call fcn.00416a7c
jmp 0x41a7af
xor eax, eax
mov byte [esp + 0x208], bl
mov dword [0x4e72d0], eax
push ebx
lea eax, [esp + 0x1c]
push eax
lea eax, [edi + 0xe0]
push eax
mov dword [esp + 0x24], 1
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
call sub.gdiplus.dll_GdiplusStartup
lea esi, [edi + 0xb0]
cmp dword [esi], ebx
je 0x41a7f2
mov eax, edi
call fcn.0041b051
push ebx
call fcn.0041aaac
mov ebx, edi
call fcn.0041ab7c
cmp dword [esi], 0
je 0x41a80e
xor esi, esi
inc esi
xor ebx, ebx
jmp 0x41a753
xor esi, esi
jmp 0x41a807
Function at 0x41b0a2
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x4dfb64]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CreateFileA]
push esi
push edi
lea esi, [ebp + 8]
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
xor edi, edi
mov esi, str..pipeBWUpdateServicepipe
jmp 0x41b0eb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xe7
jne 0x41b13c
push 0x4e20
push esi
call dword [sym.imp.KERNEL32.dll_WaitNamedPipeA]
test eax, eax
je 0x41b13c
push edi
push edi
push 3
push edi
push edi
push 0x40000000
push esi
call ebx
cmp eax, 0xffffffff
mov dword [ebp - 0x18], eax
je 0x41b0ce
push edi
push edi
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x18]
mov dword [ebp - 0x1c], 2
call dword [sym.imp.KERNEL32.dll_SetNamedPipeHandleState]
test eax, eax
je 0x41b13c
push edi
lea eax, [ebp - 0x20]
push eax
push 0x10
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x41b13c
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0048b5ab
leave
ret 0x10

Function at 0x41b68c
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x260
mov eax, dword [0x4dfb64]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
xor edi, edi
inc edi
mov dword [ebp - 0x254], edi
xor ebx, ebx
push dword [ebp - 0x254]
lea eax, [ebp - 0x110]
push str.Hugeman_PatchUpdate
push str._s_d
push eax
call fcn.0048c2a5
push str.The_author_is_zlhcc_zhanglihua_ztgame.com_
lea eax, [ebp - 0x140]
push 0x30
push eax
mov dword [ebp - 0x144], edi
call fcn.0049024a
add esp, 0x1c
push 0x104
lea eax, [ebp - 0x24c]
push ebx
push eax
mov dword [ebp - 0x250], ebx
call fcn.0048bdc0
add esp, 0xc
lea eax, [ebp - 0x110]
push eax
push edi
push 0xf001f
call dword [sym.imp.KERNEL32.dll_OpenFileMappingA]
cmp eax, ebx
mov dword [ebp - 0x258], eax
je 0x41b797
push ebx
push ebx
push ebx
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
cmp dword [eax], edi
ja 0x41b77c
mov ecx, dword [esi + 4]
cmp ecx, ebx
lea edi, [eax + 0x34]
jne 0x41b73e
mov dword [ebp - 0x25c], ebx
jmp 0x41b751
mov eax, dword [esi + 0xc]
sub eax, ecx
cdq
mov ecx, 0x108
idiv ecx
mov dword [ebp - 0x25c], eax
mov eax, esi
call fcn.0041ba17
cmp eax, dword [ebp - 0x25c]
jae 0x41b770
push edi
push 1
push dword [esi + 8]
call fcn.0041ba2f
mov dword [esi + 8], eax
jmp 0x41b77c
push dword [esi + 8]
mov edx, edi
mov ecx, esi
call fcn.0041ba62
push dword [ebp - 0x258]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push dword [ebp - 0x258]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor edi, edi
inc edi
inc dword [ebp - 0x254]
cmp dword [ebp - 0x254], 8
jle 0x41b6ac
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.0048b5ab
leave
ret
Function at 0x41c7ba
Capabilities:
Read .ini file

Disassembly:
push 0x3c
mov eax, 0x4aef2b
call fcn.00491a26
lea eax, [ebp - 0x48]
push eax
mov esi, ecx
call fcn.0042f167
and dword [ebp - 4], 0
lea eax, [ebp - 0x48]
mov dword [esp], str.config.ini
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.0040664a
add esp, 0xc
mov byte [ebp - 4], 1
cmp dword [ebp - 0x14], 0x10
mov eax, dword [ebp - 0x28]
jae 0x41c7fc
lea eax, [ebp - 0x28]
push eax
call fcn.0041c873
cmp dword [ebp - 0x14], 0x10
mov eax, dword [ebp - 0x28]
jae 0x41c80e
lea eax, [ebp - 0x28]
push eax
mov edi, esi
call fcn.0041c908
cmp dword [ebp - 0x14], 0x10
mov eax, dword [ebp - 0x28]
jae 0x41c822
lea eax, [ebp - 0x28]
push eax
push 1
push str.updateSelf
push str.other
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov esi, eax
neg esi
sbb esi, esi
push 0x4e6f08
neg esi
call fcn.0041638f
call fcn.00413fce
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 8]
push 0
push 1
lea ecx, [ebp - 0x2c]
mov dword [eax], esi
call fcn.004068b9
push 0
push 1
lea ecx, [ebp - 0x48]
call fcn.004068b9
call fcn.00491aa9
ret

Function at 0x41c873
Capabilities:
Read .ini file

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push ebp
push 1
push str.ShowStartUI
mov ebx, str.update
push ebx
call edi
push ebp
push 0
push str.nettype
push ebx
mov dword [esp + 0x20], eax
call edi
push ebp
push 0
push str.nettypeignore
push ebx
mov dword [esi + 4], eax
call edi
test eax, eax
setne al
mov byte [esi + 8], al
xor eax, eax
cmp dword [esp + 0x10], 1
push ebp
sete al
push 1
push str.Thread
push ebx
mov dword [esi], eax
call edi
push ebp
push 1
push str.smartclient
push str.other
mov ebx, eax
call edi
dec eax
neg eax
sbb eax, eax
inc eax
cmp ebx, 8
mov dword [esi + 0xac], eax
mov dword [esi + 0xc], ebx
jl 0x41c8f4
push 8
pop ebx
cmp ebx, 1
mov dword [esi + 0xc], ebx
jg 0x41c8ff
xor ebx, ebx
inc ebx
pop edi
pop ebp
mov dword [esi + 0xc], ebx
pop ebx
ret 4
Function at 0x41c908
Capabilities:
Read .ini file

Disassembly:
push ebp
lea ebp, [esp - 0x8c]
sub esp, 0x10c
mov eax, dword [0x4dfb64]
xor eax, ebp
mov dword [ebp + 0x88], eax
mov eax, dword [ebp + 0x94]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push esi
push eax
push 0x104
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x7c]
push eax
push 0x4c8b08
push str.loginaddress
mov esi, str.server
push esi
call ebx
lea eax, [ebp - 0x7c]
push eax
lea ecx, [edi + 0x10]
call fcn.00406de9
push dword [ebp - 0x80]
lea eax, [ebp - 0x7c]
push 0x104
push eax
push 0x4c8b08
push str.servername
push esi
call ebx
lea eax, [ebp - 0x7c]
push eax
lea ecx, [edi + 0x2c]
call fcn.00406de9
push dword [ebp - 0x80]
lea eax, [ebp - 0x7c]
push 0x104
push eax
push 0x4c8b08
push str.loginport
push esi
call ebx
lea eax, [ebp - 0x7c]
push eax
lea ecx, [edi + 0x48]
call fcn.00406de9
push dword [ebp - 0x80]
lea eax, [ebp - 0x7c]
push 0x104
push eax
push 0x4c8b08
push str.monitoraddr
push esi
call ebx
lea eax, [ebp - 0x7c]
push eax
lea ecx, [edi + 0x64]
call fcn.00406de9
push dword [ebp - 0x80]
lea eax, [ebp - 0x7c]
push 0x104
push eax
push 0x4c8b08
push str.monitorport
push esi
call ebx
lea eax, [ebp - 0x7c]
push eax
lea ecx, [edi + 0x80]
call fcn.00406de9
push dword [ebp - 0x80]
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push 0
push str.zone
push esi
call ebx
push dword [ebp - 0x80]
mov dword [edi + 0x9c], eax
push 0
push str.zonetype
push esi
call ebx
push dword [ebp - 0x80]
mov dword [edi + 0xa8], eax
push 0x16
push str.game
push esi
call ebx
push dword [ebp - 0x80]
mov dword [edi + 0xa0], eax
push 1
push str.updatetype
push esi
call ebx
mov ecx, dword [ebp + 0x88]
pop esi
xor ecx, ebp
mov dword [edi + 0xa4], eax
pop ebx
call fcn.0048b5ab
add ebp, 0x8c
leave
ret 4

Function at 0x41cdb4
Capabilities:
Read .ini file

Disassembly:
push ebp
sub esp, 0x120
lea ebp, [esp - 4]
mov eax, dword [0x4dfb64]
xor eax, ebp
mov dword [ebp + 0x120], eax
push 0x1c
mov eax, 0x4addb4
call fcn.004919bd
lea eax, [ebp - 0x28]
push eax
call fcn.0042f167
and dword [ebp - 4], 0
lea eax, [ebp - 0x28]
mov dword [esp], str.version.ini
push eax
lea eax, [ebp]
push eax
call fcn.0040664a
mov eax, dword [ebp + 4]
add esp, 0xc
cmp dword [ebp + 0x18], 0x10
jae 0x41ce08
lea eax, [ebp + 4]
push eax
push 0x104
lea eax, [ebp + 0x1c]
push eax
push 0x4cbb8c
push str.version
push str.setup
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp + 0x1c]
push eax
call fcn.0048e663
pop ecx
push 0
push 1
lea ecx, [ebp]
mov dword [esi + 0x198], eax
call fcn.004068b9
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.004068b9
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x120]
xor ecx, ebp
call fcn.0048b5ab
add ebp, 0x124
leave
ret
Function at 0x41d2b4
Capabilities:
Read .ini file

Disassembly:
push ebp
sub esp, 0x120
lea ebp, [esp - 4]
mov eax, dword [0x4dfb64]
xor eax, ebp
mov dword [ebp + 0x120], eax
push 0x1c
mov eax, 0x4ae450
call fcn.004919bd
lea eax, [ebp - 0x28]
push eax
call fcn.0042f167
and dword [ebp - 4], 0
lea eax, [ebp - 0x28]
mov dword [esp], str.version.ini
push eax
lea eax, [ebp]
push eax
call fcn.0040664a
add esp, 0xc
mov byte [ebp - 4], 1
cmp dword [ebp + 0x18], 0x10
mov eax, dword [ebp + 4]
jae 0x41d30c
lea eax, [ebp + 4]
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push eax
push 0x104
lea eax, [ebp + 0x1c]
push eax
push 0x4cbb8c
push str.date
mov esi, str.update
push esi
call ebx
lea eax, [ebp + 0x1c]
push eax
call fcn.0048e663
cmp dword [ebp + 0x18], 0x10
mov dword [edi + 0x174], eax
mov eax, dword [ebp + 4]
pop ecx
jae 0x41d34a
lea eax, [ebp + 4]
push eax
push 0
push str.show
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
dec eax
neg eax
sbb al, al
inc al
cmp dword [ebp + 0x18], 0x10
mov byte [edi + 0x178], al
mov eax, dword [ebp + 4]
jae 0x41d372
lea eax, [ebp + 4]
push eax
push 0x104
lea eax, [ebp + 0x1c]
push eax
push 0x4c8d54
push str.information
push esi
call ebx
lea eax, [ebp + 0x1c]
push eax
lea ecx, [edi + 0x17c]
call fcn.00406de9
push 0
push 1
lea ecx, [ebp]
call fcn.004068b9
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.004068b9
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x120]
xor ecx, ebp
call fcn.0048b5ab
add ebp, 0x124
leave
ret

Function at 0x41d3d3
Capabilities:
Read .ini file

Disassembly:
push 0x3c
mov eax, 0x4adde4
call fcn.00491a26
lea eax, [ebp - 0x48]
push eax
call fcn.0042f167
and dword [ebp - 4], 0
lea eax, [ebp - 0x48]
mov dword [esp], str.channel.ini
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.0040664a
mov eax, dword [ebp - 0x28]
add esp, 0xc
cmp dword [ebp - 0x14], 0x10
jae 0x41d40f
lea eax, [ebp - 0x28]
push eax
push 0
push 0x4cb3f0
push str.channel
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push 0
push 1
lea ecx, [ebp - 0x2c]
mov edi, eax
call fcn.004068b9
push 0
push 1
lea ecx, [ebp - 0x48]
call fcn.004068b9
mov eax, edi
call fcn.00491aa9
ret

Function at 0x41d444
Capabilities:
Read .ini file

Disassembly:
push 0x3c
mov eax, 0x4adde4
call fcn.00491a26
lea eax, [ebp - 0x48]
push eax
call fcn.0042f167
and dword [ebp - 4], 0
lea eax, [ebp - 0x48]
mov dword [esp], str.channel.ini
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.0040664a
mov eax, dword [ebp - 0x28]
add esp, 0xc
cmp dword [ebp - 0x14], 0x10
jae 0x41d480
lea eax, [ebp - 0x28]
push eax
push 1
push str.firstrun
push str.channel
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ebx, eax
dec ebx
neg ebx
push 0
sbb bl, bl
push 1
lea ecx, [ebp - 0x2c]
inc bl
call fcn.004068b9
push 0
push 1
lea ecx, [ebp - 0x48]
call fcn.004068b9
mov al, bl
call fcn.00491aa9
ret
Function at 0x422f40
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x58
mov ecx, dword [ebp + 8]
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0xc]
push eax
push ecx
lea edx, [esp + 8]
push edx
mov dword [esp + 0xc], 0x67452301
mov dword [esp + 0x10], 0xefcdab89
mov dword [esp + 0x14], 0x98badcfe
mov dword [esp + 0x18], 0x10325476
call fcn.00423290
mov ecx, dword [ebp + 0x10]
lea eax, [esp + 0xc]
push eax
push ecx
call fcn.00423350
add esp, 0x14
mov al, 1
mov esp, ebp
pop ebp
ret

Function at 0x423260
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 0x4247d0
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x4ae418
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x4dfb64]
xor eax, esp
mov dword [esp + 0x5c], eax
push ebx
push esi
push edi
mov eax, dword [0x4dfb64]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
lea edi, [esp + 0x34]
call fcn.00424660
xor edi, edi
push eax
lea esi, [esp + 0x54]
mov dword [esp + 0x7c], edi
call fcn.00424c70
mov esi, 0x10
add esp, 4
cmp dword [esp + 0x4c], esi
jb 0x424835
mov eax, dword [esp + 0x38]
push eax
call fcn.00466573
add esp, 4
xor eax, eax
cmp dword [esp + 0x68], esi
mov dword [esp + 0x24], eax
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov word [esp + 0x30], ax
mov word [esp + 0x24], si
jb 0x42486d
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x1c], ecx
jmp 0x424875
lea edx, [esp + 0x54]
mov dword [esp + 0x1c], edx
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x1c], 3
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
test eax, eax
sete bl
cmp dword [esp + 0x68], esi
jb 0x4248a0
mov ecx, dword [esp + 0x54]
push ecx
call fcn.00466573
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.0048b5ab
add esp, 0x6c
ret

Function at 0x426460
Capabilities:
Write file on windows

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi]
mov edx, dword [eax + 4]
call edx
test al, al
jne 0x426474
xor eax, eax
pop esi
ret 8
mov eax, dword [esi + 0x28]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
push eax
push ecx
push 1
push edx
call fcn.00490fa4
add esp, 0x10
pop esi
ret 8
Function at 0x4269c0
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x4aa888
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4dfb64]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4dfb64]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0x3c], 0
je 0x426b0d
cmp byte [edi + 0x41], 0
je 0x426b0d
mov eax, dword [edi]
mov edx, dword [eax + 4]
push 0xffffffffffffffff
call edx
cmp eax, 0xffffffff
je 0x426b00
mov ecx, 0xf
xor eax, eax
cmp ecx, 0x10
mov byte [esp + 0x1c], 0
mov dword [esp + 0x30], ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x2c], 8
jae 0x426a43
lea eax, [esp + 0x1c]
mov byte [eax + 8], 0
mov dword [esp + 0x40], 0
lea ebx, [edi + 0x44]
mov eax, dword [esp + 0x1c]
mov ebp, dword [esp + 0x30]
cmp ebp, 0x10
mov edx, eax
jae 0x426a67
lea edx, [esp + 0x1c]
mov eax, edx
mov ecx, dword [edi + 0x3c]
mov esi, dword [ecx]
lea ebp, [esp + 0x14]
push ebp
mov ebp, dword [esp + 0x30]
add ebp, edx
push ebp
push eax
mov eax, dword [esi + 0x18]
push ebx
call eax
sub eax, 0
je 0x426a94
sub eax, 1
je 0x426a98
sub eax, 2
lea ecx, [esp + 0x18]
jne 0x426afb
jmp 0x426b08
mov byte [edi + 0x41], 0
mov ebp, dword [esp + 0x30]
cmp ebp, 0x10
mov eax, dword [esp + 0x1c]
mov ecx, eax
jae 0x426aab
lea ecx, [esp + 0x1c]
mov esi, dword [esp + 0x14]
sub esi, ecx
je 0x426ad8
cmp ebp, 0x10
jae 0x426abc
lea eax, [esp + 0x1c]
mov ecx, dword [edi + 0x4c]
push ecx
push esi
push 1
push eax
call fcn.00490fa4
add esp, 0x10
cmp esi, eax
jne 0x426af7
mov ebp, dword [esp + 0x30]
mov eax, dword [esp + 0x1c]
cmp byte [edi + 0x41], 0
je 0x426b04
test esi, esi
jne 0x426a5a
push esi
push 8
lea ecx, [esp + 0x20]
call fcn.0040e98c
jmp 0x426a52
lea ecx, [esp + 0x18]
call fcn.00406e78
xor al, al
jmp 0x426b0f
lea ecx, [esp + 0x18]
call fcn.00406e78
mov al, 1
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.0048b5ab
add esp, 0x30
ret

Function at 0x4298a0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0x14]
push esi
mov esi, eax
mov ebx, pe_nt_image_headers32
push edi
or esi, ebx
mov eax, esi
shr eax, 7
add ebp, ebp
and eax, 1
mov ecx, ebx
and ecx, ebp
mov edx, esi
push eax
mov eax, dword [esp + 0x1c]
shr edx, 8
add ecx, ebx
add edx, ecx
lea edi, [eax + edx*2]
mov eax, dword [esp + 0x18]
call fcn.00429810
add esi, esi
mov ecx, esi
xor ecx, ebp
not ecx
add esp, 4
and ebx, ecx
cmp esi, 0x10000
jb 0x4298b1
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x429960
Capabilities:
Encode data using xor

Disassembly:
push ebx
xor eax, eax
or ecx, 0x100
push edi
lea ebx, [ebx]
mov ebx, ecx
shr ebx, 7
mov edi, ecx
shr edi, 8
movzx edi, word [esi + edi*2]
and ebx, 1
neg ebx
sar ebx, 4
shr edi, 4
and ebx, 0x7f
xor edi, ebx
add eax, dword [edx + edi*4]
add ecx, ecx
cmp ecx, 0x10000
jb 0x429970
pop edi
pop ebx
ret
Function at 0x4299a0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
mov esi, eax
mov edx, pe_nt_image_headers32
xor eax, eax
or ecx, edx
mov edi, edi
add esi, esi
mov ebx, edx
and ebx, esi
add ebx, edx
mov ebp, ecx
shr ebp, 8
add ebp, ebx
mov ebx, dword [esp + 0x10]
movzx ebx, word [ebx + ebp*2]
mov ebp, ecx
shr ebp, 7
and ebp, 1
neg ebp
shr ebx, 4
sar ebp, 4
and ebp, 0x7f
xor ebx, ebp
add eax, dword [edi + ebx*4]
add ecx, ecx
mov ebx, ecx
xor ebx, esi
not ebx
and edx, ebx
cmp ecx, 0x10000
jb 0x4299b0
pop esi
pop ebp
pop ebx
ret

Function at 0x429a90
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, 1
shl ebx, cl
xor eax, eax
or edx, ebx
cmp edx, 1
je 0x429ac3
mov ecx, edx
and edx, 1
shr ecx, 1
movzx ebx, word [edi + ecx*2]
neg edx
sar edx, 4
and edx, 0x7f
shr ebx, 4
xor ebx, edx
add eax, dword [esi + ebx*4]
mov edx, ecx
cmp edx, 1
jne 0x429aa1
pop ebx
ret

Function at 0x429ad0
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
mov esi, eax
mov edi, ecx
xor eax, eax
test edi, edi
lea edx, [eax + 1]
je 0x429b12
push ebx
push ebp
mov ebx, dword [esp + 0x14]
movzx ebx, word [ebx + edx*2]
mov ecx, esi
and ecx, 1
mov ebp, ecx
neg ebp
sar ebp, 4
and ebp, 0x7f
shr ebx, 4
xor ebx, ebp
mov ebp, dword [esp + 0x18]
add eax, dword [ebp + ebx*4]
add edx, edx
shr esi, 1
or edx, ecx
sub edi, 1
jne 0x429ae1
pop ebp
pop ebx
pop edi
pop esi
ret

Function at 0x42d950
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov eax, dword [esp + 4]
xor edx, edx
push esi
mov dword [eax + 0x30], edx
mov dword [eax + 0x4c], edx
mov dword [eax + 0x20], edx
call fcn.0042d930
lea esi, [eax + 0x70]
mov eax, edx
and eax, 1
sub eax, 1
not eax
and eax, 0xedb88320
mov ecx, edx
shr ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
sub eax, 1
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
sub eax, 1
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
sub eax, 1
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov dword [esi], ecx
add edx, 1
add esi, 4
cmp edx, 0x100
jb 0x42d968
pop esi
ret

Function at 0x42ea90
Capabilities:
Create thread

Disassembly:
push ecx
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
lea eax, [esp]
push eax
push 0
push ecx
push edx
push 0
push 0
call fcn.0048e5a4
mov ecx, dword [esp + 0x20]
push eax
mov dword [ecx], eax
call fcn.0042ea40
add esp, 0x20
ret