Function at 0x30025960
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb0
mov eax, dword [0x30215e88]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x80], edx
mov edx, ecx
mov dword [ebp - 0x84], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x88], eax
mov eax, dword [edx + 0x10]
mov ecx, dword [edx + 0x14]
push ebx
mov dword [ebp - 0x50], eax
xor ebx, ebx
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x7c], edx
mov dword [ebp - 0x54], ecx
push esi
mov esi, dword [edx + 4]
mov dword [ebp - 0x58], esi
push edi
mov edi, dword [edx]
mov dword [eax], ebx
mov eax, dword [edx + 0x18]
mov dword [ebp - 0x68], edi
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x94], eax
mov dword [edx + 8], edi
mov dword [edx + 0xc], esi
test ecx, ecx
jle 0x30025dec
mov eax, dword [ebp - 0x50]
mov edi, edi
xor ecx, ecx
mov dword [ebp - 0x44], eax
or edx, 0xffffffff
mov dword [ebp - 0x40], eax
movzx eax, byte [eax]
add eax, 0xffffffda
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x64], ecx
cmp eax, 0xcd
ja case.0x30025a26.39
movzx eax, byte [eax + 0x30025e24]
jmp dword [eax*4 + 0x30025e18]
xor eax, eax
cmp dword [ebp - 0x5c], 2
sete al
test eax, eax
je case.0x30025a26.39
push dword [ebp - 0x5c]
mov edx, dword [ebp - 0x54]
lea eax, [ebp - 0x4c]
mov ecx, dword [ebp - 0x50]
push eax
call fcn.30029290
mov edx, dword [ebp - 0x40]
add esp, 8
mov ecx, edx
sub ecx, dword [ebp - 0x44]
sub dword [ebp - 0x54], ecx
mov dword [ebp - 0x64], ecx
je 0x30025a6c
cmp ecx, 0xf
jne 0x30025b1b
mov eax, dword [ebp - 0x7c]
mov eax, dword [eax + 0x1c]
not eax
test al, 4
je 0x30025b11
sub edx, dword [ebp - 0x50]
lea eax, [edx + ebx]
cmp eax, dword [ebp + 0xc]
ja 0x30025e02
mov eax, dword [ebp - 0x50]
cmp dword [ebp - 0x40], eax
mov dword [ebp - 0x6c], eax
sbb eax, eax
mov dword [ebp - 0x60], 0
not eax
and eax, edx
mov dword [ebp - 0x70], eax
jbe 0x30025b09
mov esi, dword [ebp - 0x80]
neg esi
push 0x40
sbb esi, esi
and esi, 0x68
add esi, 0x40
imul esi, ebx
inc ebx
push 0
add esi, dword [ebp - 0x84]
push esi
call fcn.3015cdc0
mov ecx, dword [ebp - 0x6c]
mov eax, 0xffff
mov word [esi + 0x18], ax
add esp, 0xc
mov al, byte [ecx]
mov byte [esi], al
mov eax, dword [ebp - 0x74]
mov dword [esi + 0x10], edi
add edi, 1
mov dword [esi + 0x14], eax
adc eax, 0
mov byte [esi + 0x32], 1
mov dword [ebp - 0x74], eax
inc ecx
mov eax, dword [ebp - 0x60]
inc eax
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x60], eax
cmp eax, dword [ebp - 0x70]
jb 0x30025aa6
mov esi, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x78], edi
mov eax, dword [ebp - 0x88]
mov dword [eax], ebx
cmp dword [ebp - 0x54], 0
je 0x30025dec
mov eax, dword [ebp - 0x50]
mov edi, dword [ebp - 0x68]
add eax, ecx
add edi, ecx
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x68], edi
adc dword [ebp - 0x58], 0
cmp ecx, 0xf
je 0x30025ddf
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x4c]
jmp 0x30025b43
mov eax, dword [ebp - 0x50]
cmp dword [ebp - 0x5c], 2
mov dword [ebp - 0x70], ebx
jne 0x30025ba3
test ecx, 0x2000000
je 0x30025b7c
dec eax
cmp dword [ebp - 0x38], eax
je 0x30025b7c
and ecx, 0xfdffffff
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x4c], ecx
cmp edx, 0xffffffff
je 0x30025b7c
movzx eax, word [ebp - 0x30]
bts eax, edx
mov word [ebp - 0x30], ax
jmp 0x30025b80
mov ax, word [ebp - 0x30]
test ecx, 0x780
je 0x30025ba3
and ecx, 0xfffff87f
mov dword [ebp - 0x4c], ecx
mov ecx, dword [ebp - 0x18]
cmp ecx, 0xffffffff
je 0x30025ba3
movzx eax, ax
bts eax, ecx
mov word [ebp - 0x30], ax
lea eax, [ebx + 1]
cmp eax, dword [ebp + 0xc]
ja 0x30025e02
mov edi, dword [ebp - 0x80]
lea edx, [ebp - 0x4c]
neg edi
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x50]
lea ecx, [ebp - 0xac]
sbb edi, edi
mov dword [ebp - 0x9c], eax
and edi, 0x68
add edi, 0x40
imul edi, ebx
mov ebx, dword [ebp - 0x54]
mov dword [ebp - 0x98], ebx
add edi, dword [ebp - 0x84]
push edi
call fcn.30025200
mov ecx, eax
add esp, 4
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x5c], ecx
test byte [eax + 0x1c], 4
je 0x30025c0b
test byte [edi + 0x37], 7
jne 0x30025c0b
mov ecx, 4
mov dword [ebp - 0x5c], ecx
mov eax, dword [ebp - 0x78]
mov edx, dword [ebp - 0x44]
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], esi
mov dword [ebp - 0x6c], edx
cmp ecx, 3
jne 0x30025c68
test dword [ebp - 0x4c], 0x20000000
je 0x30025c68
mov ecx, dword [ebp - 0x34]
cmp ecx, 3
jne 0x30025c3b
mov ecx, dword [ebp - 0x64]
sub ecx, 2
add ebx, 2
jmp 0x30025c45
cmp ecx, 2
mov ecx, dword [ebp - 0x64]
jne 0x30025c48
dec ecx
inc ebx
mov dword [ebp - 0x54], ebx
lea ebx, [ecx + edx]
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x50], ebx
dec ebx
mov dword [ebp - 0x60], ebx
mov ebx, ecx
add ebx, eax
mov dword [ebp - 0x68], ebx
adc dword [ebp - 0x58], esi
mov ebx, dword [ebp - 0x5c]
jmp 0x30025c9a
mov bl, byte [edi + 0x32]
movzx ecx, bl
sub dword [ebp - 0x54], ecx
mov eax, ecx
cdq
add dword [ebp - 0x68], eax
adc dword [ebp - 0x58], edx
add dword [ebp - 0x50], ecx
mov ecx, dword [ebp - 0x64]
add bl, cl
mov byte [edi + 0x32], bl
mov ebx, dword [ebp - 0x5c]
cmp ebx, 3
jne 0x30025d47
mov eax, dword [ebp - 0x40]
mov edx, dword [ebp - 0x6c]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x7c]
mov eax, dword [eax + 0x1c]
not eax
test al, 4
je 0x30025d47
mov ebx, dword [ebp - 0x70]
lea eax, [ecx + 1]
mov esi, edi
test eax, eax
je 0x30025d59
lea eax, [ebx + 1]
add eax, ecx
cmp eax, dword [ebp + 0xc]
ja 0x30025e02
mov eax, dword [ebp - 0x60]
inc eax
mov dword [ebp - 0x60], 0
mov ecx, eax
sub ecx, edx
cmp eax, edx
sbb eax, eax
not eax
and eax, ecx
mov dword [ebp - 0x70], eax
jbe 0x30025d59
mov edi, eax
mov esi, dword [ebp - 0x80]
neg esi
push 0x40
sbb esi, esi
and esi, 0x68
add esi, 0x40
imul esi, ebx
inc ebx
push 0
add esi, dword [ebp - 0x84]
push esi
call fcn.3015cdc0
mov edx, dword [ebp - 0x6c]
mov eax, 0xffff
mov ecx, dword [ebp - 0x74]
add esp, 0xc
mov word [esi + 0x18], ax
mov al, byte [edx]
mov byte [esi], al
mov eax, dword [ebp - 0x78]
mov dword [esi + 0x10], eax
add eax, 1
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x60]
mov dword [esi + 0x14], ecx
adc ecx, 0
inc eax
mov byte [esi + 0x32], 1
inc edx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x6c], edx
mov dword [ebp - 0x60], eax
cmp eax, edi
jb 0x30025ce6
jmp 0x30025d59
mov esi, edi
cmp ebx, 4
jne 0x30025d53
mov ebx, dword [ebp - 0x70]
jmp 0x30025d59
mov ebx, dword [ebp - 0x8c]
mov eax, dword [ebp - 0x88]
mov ecx, dword [ebp - 0x7c]
mov edi, dword [ebp - 0x68]
mov dword [eax], ebx
mov eax, dword [ebp - 0x58]
mov dword [ecx + 0xc], eax
mov dword [ecx + 8], edi
movzx eax, byte [esi + 0x37]
and eax, 7
cmp dword [ebp - 0x5c], 1
jne 0x30025dd3
mov ecx, dword [ecx + 0x1c]
test ecx, 0x3f8
je 0x30025dd3
test cl, 8
je 0x30025d92
cmp eax, 1
je 0x30025dec
test cl, 0x10
je 0x30025d9c
cmp eax, 2
je 0x30025dec
test cl, 0x20
je 0x30025da6
cmp eax, 3
je 0x30025dec
test cl, 0x40
je 0x30025db0
cmp eax, 4
je 0x30025dec
test cl, cl
jns 0x30025db9
cmp eax, 5
je 0x30025dec
test ecx, 0x100
je 0x30025dc6
cmp eax, 6
je 0x30025dec
test ecx, 0x200
je 0x30025dd3
cmp eax, 7
je 0x30025dec
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x50]
cmp dword [ebp - 0x54], 0
mov esi, dword [ebp - 0x58]
jg 0x300259d0
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.30159c2d
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 8]
mov eax, 2
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.30159c2d
mov esp, ebp
pop ebp
ret