Function at 0x430960
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x4b4a3e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1d0
push ebx
mov edx, dword [esp + 0x1e4]
push ebp
mov ebp, ecx
push esi
push edi
mov eax, dword [ebp + 0x72588]
mov ecx, 0x19
mov dword [esp + 0x3c], eax
xor eax, eax
lea edi, [esp + 0xb4]
add edx, 6
rep stosd dword es:[edi], eax
mov ax, word [edx - 2]
mov cx, word [edx]
mov word [esp + 0x40], cx
xor ecx, ecx
mov dword [esp + 0x20], ecx
add edx, 2
mov dword [esp + 0x24], ecx
mov dword [esp + 0x18], eax
mov ax, word [edx]
mov dword [esp + 0x28], ecx
add edx, 2
mov dword [esp + 0x2c], ecx
mov word [esp + 0x38], ax
mov dword [esp + 0x30], ecx
mov eax, edx
mov byte [esp + 0x34], cl
mov bl, byte [edx + 0xa]
add edx, 0xa
mov ecx, dword [eax]
inc edx
mov dword [esp + 0x20], ecx
mov byte [esp + 0x10], bl
mov ecx, dword [eax + 4]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x24], ecx
mov ax, word [eax + 8]
mov word [esp + 0x28], ax
mov eax, dword [ebp + 0x70bb8]
test eax, eax
je 0x430a6f
mov ecx, 5
lea edi, [esp + 0x20]
lea esi, [ebp + 0x732ad]
xor ebx, ebx
repe cmpsw word [esi], word es:[edi]
je 0x430a6b
mov esi, dword [eax + 8]
xor ecx, ecx
mov dword [esp + 0x44], ecx
mov edi, esi
mov dword [esp + 0x48], ecx
xor eax, eax
mov dword [esp + 0x4c], ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edi, [esp + 0x44]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
xor eax, eax
rep movsb byte es:[edi], byte [esi]
mov ecx, 5
lea edi, [esp + 0x20]
lea esi, [esp + 0x44]
repe cmpsw word [esi], word es:[edi]
je 0x430e95
mov bl, byte [esp + 0x10]
mov ecx, 0x19
xor eax, eax
lea edi, [esp + 0x50]
lea esi, [esp + 0x50]
rep stosd dword es:[edi], eax
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, esi
mov edx, ecx
mov esi, edi
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
test bl, bl
rep movsb byte es:[edi], byte [esi]
je 0x430aad
cmp bl, 2
je 0x430aad
cmp bl, 3
jne 0x430ac5
lea ecx, [esp + 0x50]
push ecx
lea ecx, [ebp + 0x38128]
call fcn.004a5150
test eax, eax
je 0x430e95
mov eax, dword [ebp + 0x738c4]
test eax, eax
jne 0x430ad8
cmp bl, 0x14
je 0x430e95
mov eax, dword [ebp + 0x738c8]
test eax, eax
jne 0x430af4
cmp bl, 2
je 0x430e95
cmp bl, 3
je 0x430e95
mov ecx, 0x19
xor eax, eax
lea edi, [esp + 0xb4]
lea edx, [esp + 0x50]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x20]
push edx
push eax
lea ecx, [esp + 0xbc]
push 0x4bd98c
push ecx
call dword [sym.imp.user32.dll_wsprintfA]
add esp, 0x10
lea ecx, [ebp + 0x7f1c]
call fcn.00402880
xor esi, esi
mov dword [esp + 0x14], esi
mov eax, dword [ebp + 0x37f60]
lea edx, [esp + 0xb4]
push 0x131
push edx
push eax
lea ecx, [ebp + 0x38128]
call fcn.004a55b0
mov ebx, eax
xor eax, eax
test ebx, ebx
jle 0x430b73
mov cl, byte [esp + eax + 0xb4]
test cl, cl
jge 0x430b68
inc esi
inc eax
cmp eax, ebx
jl 0x430b5c
mov dword [esp + 0x14], esi
test ebx, ebx
je 0x430d43
movsx ecx, si
and ecx, reloc.dsound.dll_DirectSoundCreate
jns 0x430b89
dec ecx
or ecx, 0xfffffffe
inc ecx
mov ecx, 0x19
jne 0x430c6b
xor eax, eax
lea edi, [esp + 0x50]
rep stosd dword es:[edi], eax
mov ecx, ebx
lea esi, [esp + 0xb4]
mov edx, ecx
lea edi, [esp + 0x50]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x10]
mov ecx, edx
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x54]
push ecx
mov ecx, ebp
call fcn.004308c0
mov ecx, 0x19
xor eax, eax
lea edi, [esp + 0x50]
lea edx, [esp + 0x50]
rep stosd dword es:[edi], eax
or ecx, 0xffffffff
lea edi, [esp + ebx + 0xb4]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0xb4]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x19
lea edi, [esp + 0xb4]
rep stosd dword es:[edi], eax
mov edi, 0x4bd988
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0xb4]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x50]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x14]
jmp 0x430b35
xor eax, eax
lea edi, [esp + 0x50]
rep stosd dword es:[edi], eax
lea ecx, [ebx + 1]
lea esi, [esp + 0xb4]
mov eax, ecx
lea edi, [esp + 0x50]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea edx, [esp + 0x50]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x10]
push ecx
push edx
mov ecx, ebp
call fcn.004308c0
mov ecx, 0x19
xor eax, eax
lea edi, [esp + 0x50]
lea edx, [esp + 0x50]
rep stosd dword es:[edi], eax
or ecx, 0xffffffff
lea edi, [esp + ebx + 0xb5]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0xb4]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x19
lea edi, [esp + 0xb4]
rep stosd dword es:[edi], eax
mov edi, 0x4bd988
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0xb4]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x50]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x14]
jmp 0x430b35
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0xb4]
push eax
push ecx
mov ecx, ebp
call fcn.004308c0
lea ecx, [ebp + 0x7f1c]
call fcn.004028c0
lea edi, [ebp + 0x6eaac]
mov ebx, 0x1f3
mov esi, edi
mov ecx, dword [esi]
test ecx, ecx
je 0x430d90
mov edx, dword [esp + 0x18]
mov eax, dword [ecx + 0x14]
cmp eax, edx
jne 0x430d90
test ecx, ecx
je 0x430d8a
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esi], 0
add esi, 4
dec ebx
jne 0x430d6f
mov esi, 1
mov eax, edi
cmp dword [eax], 0
je 0x430db3
inc esi
add eax, 4
cmp esi, 0x1f4
jl 0x430d9d
jmp 0x430e95
push 0x18
push 8
call dword [sym.imp.kernel32.dll_GetProcessHeap]
push eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [esp + 0x14], eax
xor edi, edi
cmp eax, edi
mov dword [esp + 0x1e8], edi
je 0x430dea
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x1c]
push ecx
push edx
push 1
mov ecx, eax
call fcn.004a5770
jmp 0x430dec
xor eax, eax
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x40]
mov dword [ebp + esi*4 + 0x6eaa8], eax
mov dword [eax + 0x14], edx
mov eax, dword [esp + 0x38]
push esi
push eax
push ecx
mov ecx, dword [ebp + 0x6ea9c]
mov dword [esp + 0x1f4], 0xffffffff
call fcn.0049c3c0
test eax, eax
jne 0x430e37
mov ecx, dword [ebp + esi*4 + 0x6eaa8]
cmp ecx, edi
je 0x430e30
mov edx, dword [ecx]
push 1
call dword [edx]
mov dword [ebp + esi*4 + 0x6eaa8], edi
mov al, byte [esp + 0x10]
test al, al
je 0x430e95
lea ecx, [ebp + 0x72b48]
call fcn.004a6fd0
cmp eax, 1
je 0x430e95
mov ecx, 0x32
xor eax, eax
lea edi, [esp + 0x118]
lea edx, [esp + 0x118]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x20]
push eax
push ecx
push 0x4bd980
push edx
call dword [sym.imp.user32.dll_wsprintfA]
mov eax, dword [esp + 0x20]
add esp, 0x10
lea ecx, [esp + 0x118]
push 1
push eax
push ecx
mov ecx, ebp
call fcn.004117a0
mov ecx, dword [esp + 0x1e0]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1dc
ret 4