Function at 0x30024ba0
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb0
mov eax, dword [0x3021be88]
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 0x3002502c
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.0x30024c66.39
movzx eax, byte [eax + 0x30025064]
jmp dword [eax*4 + 0x30025058]
xor eax, eax
cmp dword [ebp - 0x5c], 2
sete al
test eax, eax
je case.0x30024c66.39
push dword [ebp - 0x5c]
mov edx, dword [ebp - 0x54]
lea eax, [ebp - 0x4c]
mov ecx, dword [ebp - 0x50]
push eax
call fcn.300284c0
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 0x30024cac
cmp ecx, 0xf
jne 0x30024d5b
mov eax, dword [ebp - 0x7c]
mov eax, dword [eax + 0x1c]
not eax
test al, 4
je 0x30024d51
sub edx, dword [ebp - 0x50]
lea eax, [edx + ebx]
cmp eax, dword [ebp + 0xc]
ja 0x30025042
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 0x30024d49
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.30162560
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 0x30024ce6
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 0x3002502c
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 0x3002501f
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x4c]
jmp 0x30024d83
mov eax, dword [ebp - 0x50]
cmp dword [ebp - 0x5c], 2
mov dword [ebp - 0x70], ebx
jne 0x30024de3
test ecx, 0x2000000
je 0x30024dbc
dec eax
cmp dword [ebp - 0x38], eax
je 0x30024dbc
and ecx, 0xfdffffff
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x4c], ecx
cmp edx, 0xffffffff
je 0x30024dbc
movzx eax, word [ebp - 0x30]
bts eax, edx
mov word [ebp - 0x30], ax
jmp 0x30024dc0
mov ax, word [ebp - 0x30]
test ecx, 0x780
je 0x30024de3
and ecx, 0xfffff87f
mov dword [ebp - 0x4c], ecx
mov ecx, dword [ebp - 0x18]
cmp ecx, 0xffffffff
je 0x30024de3
movzx eax, ax
bts eax, ecx
mov word [ebp - 0x30], ax
lea eax, [ebx + 1]
cmp eax, dword [ebp + 0xc]
ja 0x30025042
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.30024440
mov ecx, eax
add esp, 4
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x5c], ecx
test byte [eax + 0x1c], 4
je 0x30024e4b
test byte [edi + 0x37], 7
jne 0x30024e4b
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 0x30024ea8
test dword [ebp - 0x4c], 0x20000000
je 0x30024ea8
mov ecx, dword [ebp - 0x34]
cmp ecx, 3
jne 0x30024e7b
mov ecx, dword [ebp - 0x64]
sub ecx, 2
add ebx, 2
jmp 0x30024e85
cmp ecx, 2
mov ecx, dword [ebp - 0x64]
jne 0x30024e88
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 0x30024eda
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 0x30024f87
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 0x30024f87
mov ebx, dword [ebp - 0x70]
lea eax, [ecx + 1]
mov esi, edi
test eax, eax
je 0x30024f99
lea eax, [ebx + 1]
add eax, ecx
cmp eax, dword [ebp + 0xc]
ja 0x30025042
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 0x30024f99
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.30162560
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 0x30024f26
jmp 0x30024f99
mov esi, edi
cmp ebx, 4
jne 0x30024f93
mov ebx, dword [ebp - 0x70]
jmp 0x30024f99
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 0x30025013
mov ecx, dword [ecx + 0x1c]
test ecx, 0x3f8
je 0x30025013
test cl, 8
je 0x30024fd2
cmp eax, 1
je 0x3002502c
test cl, 0x10
je 0x30024fdc
cmp eax, 2
je 0x3002502c
test cl, 0x20
je 0x30024fe6
cmp eax, 3
je 0x3002502c
test cl, 0x40
je 0x30024ff0
cmp eax, 4
je 0x3002502c
test cl, cl
jns 0x30024ff9
cmp eax, 5
je 0x3002502c
test ecx, 0x100
je 0x30025006
cmp eax, 6
je 0x3002502c
test ecx, 0x200
je 0x30025013
cmp eax, 7
je 0x3002502c
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 0x30024c10
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.3015f3bd
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.3015f3bd
mov esp, ebp
pop ebp
ret