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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5492ed
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x57a040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov ebx, ecx
mov eax, dword [ebx + 8]
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x48], eax
lea eax, [ebx + 0xc]
push eax
mov dword [ebp - 0x50], vtable._CS_REG_GUILD_DATA.0
call fcn.004244c0
mov eax, dword [ebx + 0x28]
mov edx, dword [ebx + 0x24]
mov ecx, dword [ebx + 0x3c]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebx + 0x2c]
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x24], eax
mov eax, dword [ebx + 0x30]
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebx + 0x38]
mov dword [ebp - 0x58], edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], 0
lea edi, [esi + 0xc]
mov eax, dword [esi + 8]
lea ecx, [ebx + 0xc]
mov dword [ebx + 8], eax
cmp ecx, edi
je 0x4241bb
cmp dword [edi + 0x14], 0xf
mov eax, edi
jbe 0x4241af
mov eax, dword [edi]
push dword [edi + 0x10]
push eax
call fcn.00421c10
mov edx, dword [ebp - 0x58]
mov eax, dword [esi + 0x24]
mov dword [ebx + 0x24], eax
mov eax, dword [esi + 0x28]
mov dword [ebx + 0x28], eax
mov eax, dword [esi + 0x2c]
mov dword [ebx + 0x2c], eax
mov eax, dword [esi + 0x30]
mov dword [ebx + 0x30], eax
mov eax, dword [esi + 0x38]
mov ecx, dword [esi + 0x3c]
mov dword [ebx + 0x38], eax
mov eax, dword [ebp - 0x48]
mov dword [ebx + 0x3c], ecx
mov dword [esi + 8], eax
lea eax, [ebp - 0x44]
cmp edi, eax
je 0x424216
cmp dword [ebp - 0x30], 0xf
mov ecx, edi
push dword [ebp - 0x34]
cmova eax, dword [ebp - 0x44]
push eax
call fcn.00421c10
mov eax, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x28]
jmp 0x424222
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x60]
mov edi, dword [ebp - 0x64]
mov ebx, dword [ebp - 0x68]
mov dword [esi + 0x2c], ecx
mov ecx, dword [ebp - 0x30]
mov dword [esi + 0x28], eax
mov eax, dword [ebp - 0x54]
mov dword [esi + 0x24], edx
mov dword [esi + 0x30], edi
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], eax
cmp ecx, 0xf
jbe 0x424267
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x42425d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x424283
push ecx
push edx
call fcn.00529f3f
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00529f01
mov esp, ebp
pop ebp
ret
call fcn.0052d95f
int3
Function at 0x42dc50
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x54
mov eax, dword [0x57a040]
xor eax, esp
mov dword [esp + 0x50], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor edx, edx
mov dword [esp + 0x18], edi
xor ebx, ebx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], 0x20
mov esi, dword [edi + 0x3d0]
add esi, 4
mov dword [esp + 0x1c], 0x2000
xor edi, edi
movzx eax, word [esi]
mov ecx, eax
test ax, ax
js 0x42dcb1
cmp cx, word [esp + 0x1c]
jge 0x42dcb1
mov ecx, 0x1c70
cmp ax, cx
jne 0x42dd30
inc edx
mov eax, dword [esp + 0x10]
add esi, 0x10c
sub dword [esp + 0x14], 1
jne 0x42dc91
cmp edi, 1
mov edi, dword [esp + 0x18]
je 0x42dd6c
cmp edx, 1
je 0x42dd79
mov esi, dword [edi]
mov al, 0x10
movzx eax, al
push eax
lea eax, [esp + 0x50]
mov dword [esp + 0x50], 0x78610c1
push eax
push esi
mov dword [esp + 0x5c], 0xffffffff
mov dword [esp + 0x60], 0xffffffff
mov dword [esp + 0x64], 0xffffffff
call fcn.005192f0
mov eax, dword [esi*4 + 0x20a514c]
mov dword [eax + 0x3e0], 0
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.00529f01
mov esp, ebp
pop ebp
ret 4
mov ecx, 0x1c71
cmp ax, cx
jne 0x42dd40
inc edi
jmp 0x42dcb1
mov ecx, 0x1c79
cmp ax, cx
jne 0x42dd50
inc ebx
jmp 0x42dcb1
mov ecx, 0x1c7a
cmp ax, cx
jne 0x42dcb1
mov eax, dword [esp + 0x10]
inc eax
mov dword [esp + 0x10], eax
jmp 0x42dcb5
cmp ebx, 1
jne 0x42dcd8
cmp edx, ebx
jne 0x42dd82
cmp eax, 1
jne 0x42dcd8
mov edi, dword [edi]
lea ebx, [edx + 0x1c7b]
mov ecx, edi
mov esi, dword [edi*4 + 0x20a514c]
lea edx, [esi + 0x7b]
call fcn.0051f8f0
test al, al
je 0x42de42
mov word [esp + 0x20], 0x2cc1
mov byte [esp + 0x22], 7
mov word [esp + 0x24], di
movq xmm0, qword [esi + 0x7b]
push 0
movq qword [esp + 0x2a], xmm0
mov ax, word [esi + 0x83]
push 0
mov word [esp + 0x36], ax
mov al, byte [esi + 0x85]
push 0
push ebx
mov byte [esp + 0x40], al
mov word [esp + 0x41], 0
mov byte [esp + 0x43], 0xff
mov word [esp + 0x44], bx
mov byte [esp + 0x46], 0
call fcn.0049cad0
mov byte [esp + 0x37], al
mov ecx, 0x7509e0
movzx eax, byte [esp + 0x21]
push eax
lea eax, [esp + 0x24]
mov word [esp + 0x3c], 0
push eax
mov dword [esp + 0x42], 0xffff0000
mov word [esp + 0x46], 0
mov byte [esp + 0x48], 0
mov word [esp + 0x4d], 0xffff
mov dword [esp + 0x50], 0
mov dword [esp + 0x49], 0xffffffff
call fcn.00440610
mov ecx, dword [esp + 0x18]
push dword [ecx + 0x3d8]
lea eax, [ecx + 0x86]
push dword [ecx + 0x3dc]
push eax
lea eax, [ecx + 0x7b]
push eax
push str._ChestMix__Success___s___s_____ChaosSuccessRate:__d_ChaosMoney:__d_
push 7
push 0x9f30a0
call fcn.004b2600
mov ecx, dword [esp + 0x78]
add esp, 0x1c
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00529f01
mov esp, ebp
pop ebp
ret 4
Function at 0x440370
Capabilities:
Connect socket
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x57a040]
xor eax, ebp
mov dword [ebp - 8], eax
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 8]
cmp dword [esi + 8], 0xffffffff
je 0x440427
push dword [ebp + 0xc]
mov eax, 2
mov word [ebp - 0x18], ax
call dword [sym.imp.WS2_32.dll_htons]
push edi
mov word [ebp - 0x16], ax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [ebp - 0x14], eax
cmp eax, 0xffffffff
jne 0x4403d7
push edi
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x4403d7
movsx ecx, word [eax + 0xa]
mov eax, dword [eax + 0xc]
push ecx
push dword [eax]
lea eax, [ebp - 0x14]
push eax
call fcn.0052b7a0
add esp, 0xc
push 0x10
lea eax, [ebp - 0x18]
push eax
push dword [esi + 8]
call dword [sym.imp.WS2_32.dll_connect]
mov edi, dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0xffffffff
jne 0x44043b
call edi
cmp eax, 0x2733
je 0x44043b
call edi
push eax
push str._Connection__connect___failed_with_error:__d
push 4
push 0x9f30a0
call fcn.004b2600
mov eax, dword [esi + 8]
add esp, 0x10
cmp eax, 0xffffffff
je 0x440427
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [esi + 8], 0xffffffff
xor al, al
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00529f01
mov esp, ebp
pop ebp
ret 0xc
push 0x23
push dword [ebp + 0x10]
push dword [esi + 4]
push dword [esi + 8]
call dword [sym.imp.WS2_32.dll_WSAAsyncSelect]
cmp eax, 0xffffffff
jne 0x44045b
call edi
push eax
push str._Connection__WSAAsyncSelect___failed_with_error:__d
jmp 0x440402
push 0x80000
lea eax, [esi + 0xc]
push 0
push eax
call fcn.0052bd20
add esp, 0xc
mov dword [esi + 0x8000c], 0
lea eax, [esi + 0x80010]
push 0x80000
push 0
push eax
call fcn.0052bd20
mov ecx, dword [ebp - 8]
add esp, 0xc
mov dword [esi + 0x100010], 0
xor ecx, ebp
mov al, 1
pop edi
pop esi
call fcn.00529f01
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4404b0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, 0x80000
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
push ebx
mov edx, dword [edi + 0x8000c]
sub eax, edx
push eax
lea eax, [edi + 0xc]
add eax, edx
push eax
push dword [edi + 8]
call dword [sym.imp.WS2_32.dll_recv]
mov ecx, eax
cmp ecx, 0xffffffff
jne 0x440502
mov esi, dword [sym.imp.WS2_32.dll_WSAGetLastError]
call esi
cmp eax, 0x2733
je 0x4405ae
call esi
push eax
push str._Connection__recv___failed_with_error:__d
jmp 0x4405de
add ecx, dword [edi + 0x8000c]
mov dword [edi + 0x8000c], ecx
cmp ecx, 3
jl 0x4405ae
lea edx, [edi + 0xc]
add edx, ebx
mov al, byte [edx]
cmp al, 0xc1
jne 0x440534
movzx esi, byte [ebx + edi + 0xd]
mov al, byte [ebx + edi + 0xe]
mov dword [ebp - 8], 0xc1
jmp 0x440556
cmp al, 0xc2
jne 0x4405d5
movzx esi, byte [ebx + edi + 0xd]
movzx eax, byte [ebx + edi + 0xe]
shl esi, 8
or esi, eax
mov dword [ebp - 8], 0xc2
mov al, byte [ebx + edi + 0xf]
mov byte [ebp - 4], al
cmp esi, 3
jb 0x4405b7
cmp esi, ecx
jg 0x44058d
mov eax, dword [edi + 0x100014]
push esi
push edx
push dword [ebp - 4]
call eax
sub dword [edi + 0x8000c], esi
add esp, 0xc
mov ecx, dword [edi + 0x8000c]
add ebx, esi
test ecx, ecx
jg 0x440517
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test ebx, ebx
jle 0x4405ae
test ecx, ecx
jle 0x4405ae
mov eax, 0x80000
sub eax, ebx
cmp ecx, eax
jg 0x4405ae
push ecx
push edx
lea eax, [edi + 0xc]
push eax
call fcn.0052b7a0
add esp, 0xc
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movzx eax, al
push eax
push esi
push dword [ebp - 8]
push str._Connection__Protocol_size_error__Header:__x__Size:__d__Head:__x_
push 4
push 0x9f30a0
call fcn.004b2600
add esp, 0x18
jmp 0x4405ed
movzx eax, al
push eax
push str._Connection__Protocol_header_error__Header:__x_
push 4
push 0x9f30a0
call fcn.004b2600
add esp, 0x10
mov eax, dword [edi + 8]
cmp eax, 0xffffffff
je 0x440603
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [edi + 8], 0xffffffff
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x440610
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
mov esi, ecx
push edi
lea eax, [esi + 0x10001c]
push eax
mov dword [esp + 0x14], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esi + 8], 0xffffffff
je 0x440717
mov eax, dword [esi + 0x100010]
mov edi, dword [ebp + 0xc]
test eax, eax
jle 0x44068e
lea ecx, [eax + edi]
cmp ecx, 0x80000
jle 0x44065c
push ecx
push str._Connection__Max_msg_size__Type:_1__Size:__d_
jmp 0x4406f2
push edi
push dword [ebp + 8]
add eax, 0x80010
add eax, esi
push eax
call fcn.0052b7a0
add dword [esi + 0x100010], edi
lea eax, [esi + 0x10001c]
add esp, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
xor ebx, ebx
test edi, edi
jle 0x4406b7
mov eax, dword [ebp + 8]
push 0
add eax, ebx
push edi
push eax
push dword [esi + 8]
mov dword [esp + 0x24], eax
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
je 0x4406cd
sub edi, eax
add ebx, eax
test edi, edi
jg 0x440694
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ebx, dword [sym.imp.WS2_32.dll_WSAGetLastError]
call ebx
cmp eax, 0x2733
jne 0x44073f
mov ecx, dword [esi + 0x100010]
lea eax, [ecx + edi]
cmp eax, 0x80000
jle 0x44072d
push eax
push str._Connection__Max_msg_size__Type:_2__Size:__d_
push 4
push 0x9f30a0
call fcn.004b2600
mov eax, dword [esi + 8]
add esp, 0x10
cmp eax, 0xffffffff
je 0x440717
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [esi + 8], 0xffffffff
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 8
push edi
push dword [esp + 0x18]
lea eax, [esi + 0x80010]
add eax, ecx
jmp 0x440667
call ebx
push eax
push str._Connection__send___failed_with_error:__d
jmp 0x4406f2
Function at 0x440750
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
lea eax, [esi + 0x10001c]
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x100010]
xor edi, edi
test eax, eax
jle 0x4407a5
push 0
lea ebx, [esi + 0x80010]
push eax
add ebx, edi
push ebx
push dword [esi + 8]
call dword [sym.imp.WS2_32.dll_send]
mov ecx, eax
cmp ecx, 0xffffffff
je 0x4407b8
mov eax, dword [esi + 0x100010]
add edi, ecx
sub eax, ecx
mov dword [esi + 0x100010], eax
test eax, eax
jg 0x440775
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [sym.imp.WS2_32.dll_WSAGetLastError]
call edi
cmp eax, 0x2733
jne 0x4407f3
push dword [esi + 0x100010]
lea eax, [esi + 0x80010]
push ebx
push eax
call fcn.0052b7a0
add esp, 0xc
lea eax, [esi + 0x10001c]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call edi
push eax
push str._Connection__send___failed_with_error:__d
push 4
push 0x9f30a0
call fcn.004b2600
mov eax, dword [esi + 8]
add esp, 0x10
cmp eax, 0xffffffff
je 0x440820
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [esi + 8], 0xffffffff
lea eax, [esi + 0x10001c]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x441a40
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
call esi
sub eax, dword [0x620d04]
cmp eax, 0x11170
jbe 0x441be7
imul edi, dword [0x61f4ac], 0x34
call esi
sub eax, dword [edi + 0x620bc0]
cmp eax, dword [edi + 0x620bbc]
ja 0x441b34
call esi
mov ecx, dword [edi + 0x620bc0]
add ecx, dword [edi + 0x620bbc]
sub ecx, eax
mov eax, 0
cmovs ecx, eax
mov eax, 0x45e7b273
imul ecx
sar edx, 0xe
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x441b34
imul edi, dword [0x61f4ac], 0x34
call esi
sub eax, dword [edi + 0x620bc0]
cmp eax, dword [edi + 0x620bbc]
jbe 0x441ac6
xor ecx, ecx
jmp 0x441ade
call esi
mov ecx, dword [edi + 0x620bc0]
mov edx, 0
sub ecx, eax
add ecx, dword [edi + 0x620bbc]
cmovs ecx, edx
mov eax, 0x45e7b273
mov dword [ebp - 4], 0x179
imul ecx
lea eax, [ebp - 4]
mov ecx, 0xa9b83c
sar edx, 0xe
push eax
mov edi, edx
lea eax, [ebp - 0x10]
shr edi, 0x1f
push eax
add edi, edx
call fcn.00405650
mov eax, dword [ebp - 8]
mov ecx, dword [0xa9b83c]
cmp byte [eax + 0xd], 0
jne 0x441b20
cmp dword [eax + 0x10], 0x179
jle 0x441b22
mov eax, ecx
cmp eax, ecx
jne 0x441bce
push 0x179
jmp 0x441bb4
imul edi, dword [0x61f4ac], 0x34
call esi
sub eax, dword [edi + 0x620bc0]
cmp eax, dword [edi + 0x620bbc]
jbe 0x441b4f
xor ecx, ecx
jmp 0x441b67
call esi
mov ecx, dword [edi + 0x620bbc]
add ecx, dword [edi + 0x620bc0]
sub ecx, eax
mov eax, 0
cmovs ecx, eax
mov eax, 0x10624dd3
mov dword [ebp - 4], 0x178
imul ecx
lea eax, [ebp - 4]
mov ecx, 0xa9b83c
sar edx, 6
push eax
mov edi, edx
lea eax, [ebp - 0x10]
shr edi, 0x1f
push eax
add edi, edx
call fcn.00405650
mov eax, dword [ebp - 8]
mov ecx, dword [0xa9b83c]
cmp byte [eax + 0xd], 0
jne 0x441ba9
cmp dword [eax + 0x10], 0x178
jle 0x441bab
mov eax, ecx
cmp eax, ecx
jne 0x441bce
push 0x178
push str.Could_not_find_message__d_
push 0xa9b7bc
call dword [sym.imp.USER32.dll_wsprintfA]
mov eax, 0xa9b7bc
add esp, 0xc
jmp 0x441bd1
add eax, 0x18
push edi
push eax
push 0x5d91ac
call fcn.00445630
add esp, 0xc
call esi
mov dword [0x620d04], eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x441bf0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push edi
call fcn.004430f0
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x620d04]
cmp eax, 0x11170
jbe 0x441d9c
imul edi, dword [0x61f4ac], 0x34
call esi
sub eax, dword [edi + 0x620bc0]
cmp eax, dword [edi + 0x620bbc]
ja 0x441ce9
call esi
mov ecx, dword [edi + 0x620bc0]
add ecx, dword [edi + 0x620bbc]
sub ecx, eax
mov eax, 0
cmovs ecx, eax
mov eax, 0x45e7b273
imul ecx
sar edx, 0xe
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x441ce9
imul edi, dword [0x61f4ac], 0x34
call esi
sub eax, dword [edi + 0x620bc0]
cmp eax, dword [edi + 0x620bbc]
jbe 0x441c7b
xor ecx, ecx
jmp 0x441c93
call esi
mov ecx, dword [edi + 0x620bc0]
mov edx, 0
add ecx, dword [edi + 0x620bbc]
sub ecx, eax
cmovs ecx, edx
mov eax, 0x45e7b273
mov dword [ebp - 4], 0x17b
imul ecx
lea eax, [ebp - 4]
mov ecx, 0xa9b83c
sar edx, 0xe
push eax
mov edi, edx
lea eax, [ebp - 0x10]
shr edi, 0x1f
push eax
add edi, edx
call fcn.00405650
mov eax, dword [ebp - 8]
mov ecx, dword [0xa9b83c]
cmp byte [eax + 0xd], 0
jne 0x441cd5
cmp dword [eax + 0x10], 0x17b
jle 0x441cd7
mov eax, ecx
cmp eax, ecx
jne 0x441d83
push 0x17b
jmp 0x441d69
imul edi, dword [0x61f4ac], 0x34
call esi
sub eax, dword [edi + 0x620bc0]
cmp eax, dword [edi + 0x620bbc]
jbe 0x441d04
xor ecx, ecx
jmp 0x441d1c
call esi
mov ecx, dword [edi + 0x620bc0]
sub ecx, eax
mov eax, 0
add ecx, dword [edi + 0x620bbc]
cmovs ecx, eax
mov eax, 0x10624dd3
mov dword [ebp - 4], 0x17a
imul ecx
lea eax, [ebp - 4]
mov ecx, 0xa9b83c
sar edx, 6
push eax
mov edi, edx
lea eax, [ebp - 0x10]
shr edi, 0x1f
push eax
add edi, edx
call fcn.00405650
mov eax, dword [ebp - 8]
mov ecx, dword [0xa9b83c]
cmp byte [eax + 0xd], 0
jne 0x441d5e
cmp dword [eax + 0x10], 0x17a
jle 0x441d60
mov eax, ecx
cmp eax, ecx
jne 0x441d83
push 0x17a
push str.Could_not_find_message__d_
push 0xa9b7bc
call dword [sym.imp.USER32.dll_wsprintfA]
mov eax, 0xa9b7bc
add esp, 0xc
jmp 0x441d86
add eax, 0x18
push edi
push eax
push 0x5d91ac
call fcn.00445630
add esp, 0xc
call esi
mov dword [0x620d04], eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x442960
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
lea eax, [ebp - 4]
mov dword [ebp - 4], 0x173
push eax
lea eax, [ebp - 0x10]
mov esi, ecx
push eax
mov ecx, 0xa9b83c
call fcn.00405650
mov eax, dword [ebp - 8]
mov ecx, dword [0xa9b83c]
cmp byte [eax + 0xd], 0
jne 0x44299c
cmp dword [eax + 0x10], 0x173
jle 0x44299e
mov eax, ecx
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
cmp eax, ecx
jne 0x4429c3
push 0x173
push str.Could_not_find_message__d_
push 0xa9b7bc
call edi
add esp, 0xc
mov eax, 0xa9b7bc
jmp 0x4429c6
add eax, 0x18
push eax
push 0x5d91ac
call fcn.00445630
push dword [esi + 0x417bc]
push str.__Crywolf___State___d_____START
push 3
call fcn.005262e0
add esp, 0x14
mov dword [esi + 0x417bc], 4
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x42fa0], eax
xor eax, eax
cmp dword [0x620dcc], 1
sete al
cmp dword [0x620de8], 1
lea ecx, [eax + 1]
cmovne ecx, eax
cmp dword [0x620e04], 1
lea eax, [ecx + 1]
cmovne eax, ecx
cmp dword [0x620e20], 1
lea ecx, [eax + 1]
cmovne ecx, eax
cmp dword [0x620e3c], 1
lea eax, [ecx + 1]
cmovne eax, ecx
test eax, eax
jne 0x442abf
push 5
mov ecx, esi
mov dword [esi + 0x417c0], 1
call fcn.00442390
lea eax, [ebp - 4]
mov dword [ebp - 4], 0x174
push eax
lea eax, [ebp - 0x10]
mov ecx, 0xa9b83c
push eax
call fcn.00405650
mov eax, dword [ebp - 8]
mov ecx, dword [0xa9b83c]
cmp byte [eax + 0xd], 0
jne 0x442a84
cmp dword [eax + 0x10], 0x174
jle 0x442a86
mov eax, ecx
cmp eax, ecx
jne 0x442aa5
push 0x174
push str.Could_not_find_message__d_
push 0xa9b7bc
call edi
add esp, 0xc
mov eax, 0xa9b7bc
jmp 0x442aa8
add eax, 0x18
push eax
push 0
push 0x5d91ac
call fcn.00445700
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor edi, edi
cmp dword [esi + 0x43074], edi
jle 0x442ae8
lea ebx, [esi + 0x43024]
nop
mov ecx, dword [ebx]
mov edx, 1
call fcn.004c3fd0
inc edi
lea ebx, [ebx + 4]
cmp edi, dword [esi + 0x43074]
jl 0x442ad0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
pop edi
mov dword [esi + 0x43018], eax
mov dword [esi + 0x4301c], 0
mov dword [esi + 0x43020], 0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x442e40
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 4], esi
push dword [esi + 0x417bc]
push str.__Crywolf___State___d_____ENDCYCLE
push 3
call fcn.005262e0
add esp, 0xc
mov dword [esi + 0x417bc], 6
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x43008], eax
mov edx, dword [esi + 0x417c0]
cmp edx, 2
ja 0x442ebd
imul ecx, edx, 0x15d38
add ecx, esi
cmp dword [ecx + 0x15d44], 0x22
je 0x442ea4
push edx
push str.__Crywolf___Fail___Chang_Map_Attribute__State:_d_
push 1
call fcn.005262e0
jmp 0x442eba
mov eax, dword [ecx + 0x2c]
imul eax, dword [ecx + 0x28]
push eax
push dword [ecx + 0x24]
push dword [0x10154f0]
call fcn.0052b7a0
add esp, 0xc
push dword [esi + 0x417c0]
mov ecx, esi
call fcn.00443d40
xor ebx, ebx
cmp dword [esi + 0x43074], ebx
jle 0x442f2e
lea eax, [esi + 0x43024]
mov dword [ebp - 8], eax
nop dword [eax]
mov eax, dword [eax]
cmp eax, 0x31
ja 0x442f1c
imul esi, eax, 0x1900
mov edi, 0x64
add esi, 0x2026ba4
cmp dword [esi - 0x34], 0xffffffff
je 0x442f11
mov ecx, dword [esi]
test ecx, ecx
js 0x442f11
cmp ecx, 0x1194
jge 0x442f11
call fcn.0051f250
add esi, 0x40
sub edi, 1
jne 0x442ef8
mov esi, dword [ebp - 4]
mov eax, dword [ebp - 8]
inc ebx
add eax, 4
mov dword [ebp - 8], eax
cmp ebx, dword [esi + 0x43074]
jl 0x442ee0
mov eax, dword [esi + 0x43080]
cmp eax, 0x31
ja 0x442f74
imul esi, eax, 0x1900
mov edi, 0x64
add esi, 0x2026ba4
nop word [eax + eax]
cmp dword [esi - 0x34], 0xffffffff
je 0x442f69
mov ecx, dword [esi]
test ecx, ecx
js 0x442f69
cmp ecx, 0x1194
jge 0x442f69
call fcn.0051f250
add esi, 0x40
sub edi, 1
jne 0x442f50
mov esi, dword [ebp - 4]
xor ebx, ebx
cmp dword [0xb904f4], ebx
jle 0x443032
mov edi, 0xad2db8
nop word [eax + eax]
mov eax, dword [edi - 4]
cmp eax, 3
je 0x44301f
cmp eax, 4
je 0x44301f
cmp dword [edi + 4], 0x22
jne 0x44301f
mov eax, dword [edi]
cmp eax, 0xcc
jl 0x442fb7
cmp eax, 0x101
jle 0x44301f
mov ecx, 0x22
call fcn.004bd1b0
mov esi, eax
test esi, esi
js 0x44301f
cmp esi, 0x1194
jge 0x44301f
mov edx, ebx
mov ecx, esi
call fcn.004bb180
test al, al
je 0x443018
mov edx, dword [edi]
mov ecx, esi
call fcn.004bb250
test al, al
je 0x443018
mov eax, dword [esi*4 + 0x20a514c]
cmp word [eax + 0x78], 2
jne 0x443018
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 0x4212c]
cmp eax, 0x12b
ja 0x443018
mov dword [ecx + eax*4 + 0x42130], esi
mov esi, ecx
inc dword [esi + 0x4212c]
jmp 0x443022
mov ecx, esi
call fcn.0051f250
mov esi, dword [ebp - 4]
inc ebx
add edi, 0x28
cmp ebx, dword [0xb904f4]
jl 0x442f90
mov ecx, esi
call fcn.00443580
call fcn.00443050
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4430f0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x57a040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
call esi
sub eax, dword [0x20b2460]
cmp eax, 0x7d0
jb 0x44325a
call esi
mov ecx, dword [0x620e5c]
mov dword [0x20b2460], eax
mov dword [ebp - 0x14], 0x2bd10c1
test ecx, ecx
jne 0x443138
mov dword [ebp - 0x10], ecx
jmp 0x443145
imul eax, dword [0x620e60], 0x64
cdq
idiv ecx
mov dword [ebp - 0x10], eax
mov edx, 2
mov ecx, 0
mov eax, edx
sub eax, dword [0x620dd8]
movzx eax, al
cmovns ecx, eax
movzx eax, byte [0x620dcc]
shl al, 4
or cl, al
mov eax, edx
sub eax, dword [0x620df4]
movzx eax, al
mov byte [ebp - 0xc], cl
mov ecx, 0
cmovns ecx, eax
movzx eax, byte [0x620de8]
shl al, 4
or cl, al
mov eax, edx
sub eax, dword [0x620e10]
movzx eax, al
mov byte [ebp - 0xb], cl
mov ecx, 0
cmovns ecx, eax
movzx eax, byte [0x620e04]
shl al, 4
or cl, al
mov eax, edx
sub eax, dword [0x620e2c]
mov byte [ebp - 0xa], cl
mov ecx, 0
movzx eax, al
cmovns ecx, eax
movzx eax, byte [0x620e20]
shl al, 4
or cl, al
sub edx, dword [0x620e48]
mov byte [ebp - 9], cl
mov ecx, 0
movzx eax, dl
cmovns ecx, eax
movzx eax, byte [0x620e3c]
shl al, 4
or cl, al
lea eax, [ebp - 0x14]
push 0x10
push eax
mov byte [ebp - 8], cl
call fcn.004456b0
push dword [ebp - 0x10]
push str.__Crywolf___Statue_Info__Statue_HP_:__d
push 0
call fcn.005262e0
add esp, 0xc
mov edi, 0x620dd4
xor esi, esi
cmp esi, 4
ja 0x443251
mov eax, dword [edi]
test eax, eax
js 0x443251
cmp eax, 0x1194
jge 0x443251
mov ecx, dword [eax*4 + 0x20a514c]
mov eax, dword [eax*4 + 0x20a514c]
add ecx, 0x86
push ecx
add eax, 0x7b
push eax
push esi
push str.__Crywolf___Altar_Info__Altar__d__Contractor:___s___s_
push 0
call fcn.005262e0
add esp, 0x14
inc esi
add edi, 0x1c
cmp esi, 5
jl 0x443216
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00529f01
mov esp, ebp
pop ebp
ret