Function at 0x6b3ff0
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x781754
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x867e6c]
xor eax, esp
mov dword [esp + 0x210], eax
push ebx
push esi
push edi
mov eax, dword [0x867e6c]
xor eax, esp
push eax
lea eax, [esp + 0x228]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, dword [esi + 0x104]
mov edi, dword [esi + 0x120]
mov dword [esp + 0x30], esi
add esi, 0x110
add ebx, 0xc4
mov dword [esp + 0x94], ebx
mov dword [esp + 0xb4], esi
cmp dword [esi + 0xc], edi
jbe 0x6b4066
call fcn.006441b7
mov eax, dword [esi]
mov dword [esp + 0x6c], eax
mov eax, dword [esi + 0xc]
mov dword [esp + 0x74], eax
cmp eax, dword [esi + 0x10]
jbe 0x6b407d
call fcn.006441b7
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x74]
mov eax, dword [esi]
push edi
push ecx
push edx
push eax
lea eax, [esp + 0x7c]
push eax
push esi
call fcn.00423270
push 0xb
xor edi, edi
push str.TargetCount
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], edi
mov byte [esp + 0x20], 0
call fcn.004016e0
lea ecx, [esp + 0x14]
push ecx
mov ecx, ebx
mov dword [esp + 0x234], edi
call fcn.004035d0
cmp dword [eax + 0x18], 8
jb 0x6b40d7
mov eax, dword [eax + 4]
jmp 0x6b40da
add eax, 4
push eax
call fcn.006446f6
mov edx, dword [esp + 0x34]
add esp, 4
mov dword [esp + 0x230], 0xffffffff
cmp dword [esp + 0x2c], 0x10
mov dword [edx + 0x3bc], eax
jb 0x6b410c
mov eax, dword [esp + 0x18]
push eax
call fcn.006441c7
add esp, 4
lea ecx, [esp + 0xdc]
push ecx
call fcn.00428920
mov dword [esp + 0x230], 1
push 5
push str.Grids
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], edi
mov byte [esp + 0x20], 0
call fcn.004016e0
push edi
lea edx, [esp + 0x18]
push edx
mov ecx, ebx
mov byte [esp + 0x238], 2
call fcn.004035d0
push eax
lea esi, [esp + 0xe4]
call fcn.00722bf0
add esp, 8
mov byte [esp + 0x230], 1
cmp dword [esp + 0x2c], 0x10
jb 0x6b4186
mov eax, dword [esp + 0x18]
push eax
call fcn.006441c7
add esp, 4
push 0x11
mov esi, 0xf
push str.DigCountPerScroll
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], edi
mov byte [esp + 0x20], 0
call fcn.004016e0
lea ecx, [esp + 0x14]
push ecx
mov ecx, ebx
mov byte [esp + 0x234], 3
call fcn.004035d0
cmp dword [eax + 0x18], 8
jb 0x6b41c7
mov eax, dword [eax + 4]
jmp 0x6b41ca
add eax, 4
push eax
call fcn.006446f6
mov edx, dword [esp + 0x34]
add esp, 4
mov byte [esp + 0x230], 1
cmp dword [esp + 0x2c], 0x10
mov dword [edx + 0x4fc], eax
jb 0x6b41f9
mov eax, dword [esp + 0x18]
push eax
call fcn.006441c7
add esp, 4
push 9
push str.GoldValue
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], edi
mov byte [esp + 0x20], 0
call fcn.004016e0
lea ecx, [esp + 0x14]
push ecx
mov ecx, ebx
mov byte [esp + 0x234], 4
call fcn.004035d0
cmp dword [eax + 0x18], 8
jb 0x6b4235
mov eax, dword [eax + 4]
jmp 0x6b4238
add eax, 4
push eax
call fcn.006446f6
mov edx, dword [esp + 0x34]
add esp, 4
mov byte [esp + 0x230], 1
cmp dword [esp + 0x2c], 0x10
mov dword [edx + 0x3ac], eax
jb 0x6b4267
mov eax, dword [esp + 0x18]
push eax
call fcn.006441c7
add esp, 4
push 0xc
push str.DiamondValue
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], edi
mov byte [esp + 0x20], 0
call fcn.004016e0
lea ecx, [esp + 0x14]
push ecx
mov ecx, ebx
mov byte [esp + 0x234], 5
call fcn.004035d0
cmp dword [eax + 0x18], 8
jb 0x6b42a3
mov eax, dword [eax + 4]
jmp 0x6b42a6
add eax, 4
push eax
call fcn.006446f6
mov edx, dword [esp + 0x34]
add esp, 4
mov byte [esp + 0x230], 1
cmp dword [esp + 0x2c], 0x10
mov dword [edx + 0x3b0], eax
jb 0x6b42d5
mov eax, dword [esp + 0x18]
push eax
call fcn.006441c7
add esp, 4
push 0x11
push str.ArtifactBaseValue
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], edi
mov byte [esp + 0x20], 0
call fcn.004016e0
lea ecx, [esp + 0x14]
push ecx
mov ecx, ebx
mov byte [esp + 0x234], 6
call fcn.004035d0
cmp dword [eax + 0x18], 8
jb 0x6b4311
mov eax, dword [eax + 4]
jmp 0x6b4314
add eax, 4
push eax
call fcn.006446f6
mov edx, dword [esp + 0x34]
add esp, 4
mov byte [esp + 0x230], 1
cmp dword [esp + 0x2c], 0x10
mov dword [edx + 0x3b4], eax
jb 0x6b4343
mov eax, dword [esp + 0x18]
push eax
call fcn.006441c7
add esp, 4
push 0x11
push str.ArtifactPossRange
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], edi
mov byte [esp + 0x20], 0
call fcn.004016e0
lea ecx, [esp + 0x14]
push ecx
mov ecx, ebx
mov byte [esp + 0x234], 7
call fcn.004035d0
lea ecx, [esp + 0x98]
call fcn.00438d30
push edi
push eax
mov eax, dword [esp + 0x38]
add eax, 0x128
mov byte [esp + 0x238], 8
call fcn.00435cc0
cmp dword [esp + 0xb0], 0x10
jb 0x6b43b2
mov edx, dword [esp + 0x9c]
push edx
call fcn.006441c7
add esp, 4
mov byte [esp + 0x230], 1
cmp dword [esp + 0x2c], 0x10
mov dword [esp + 0xb0], esi
mov dword [esp + 0xac], edi
mov byte [esp + 0x9c], 0
jb 0x6b43e4
mov eax, dword [esp + 0x18]
push eax
call fcn.006441c7
add esp, 4
push 0x15
push str.ArtifactSkipTileCount
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], edi
mov byte [esp + 0x20], 0
call fcn.004016e0
lea ecx, [esp + 0x14]
push ecx
mov ecx, ebx
mov byte [esp + 0x234], 9
call fcn.004035d0
cmp dword [eax + 0x18], 8
jb 0x6b4420
mov eax, dword [eax + 4]
jmp 0x6b4423
add eax, 4
push eax
call fcn.006446f6
mov edx, dword [esp + 0x34]
add esp, 4
mov byte [esp + 0x230], 1
cmp dword [esp + 0x2c], 0x10
mov dword [edx + 0xa64], eax
jb 0x6b4452
mov eax, dword [esp + 0x18]
push eax
call fcn.006441c7
add esp, 4
push 0x17
push str.PowerGemThresholdDepth0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], edi
mov byte [esp + 0x20], 0
call fcn.004016e0
lea ecx, [esp + 0x14]
push ecx
mov ecx, ebx
mov byte [esp + 0x234], 0xa
call fcn.004035d0
cmp dword [eax + 0x18], 8
jb 0x6b448e
mov eax, dword [eax + 4]
jmp 0x6b4491
add eax, 4
push eax
call fcn.006446f6
mov edx, dword [esp + 0x34]
add esp, 4
mov byte [esp + 0x230], 1
cmp dword [esp + 0x2c], 0x10
mov dword [edx + 0xa68], eax
jb 0x6b44c0
mov eax, dword [esp + 0x18]
push eax
call fcn.006441c7
add esp, 4
push 0x18
push str.PowerGemThresholdDepth20
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], edi
mov byte [esp + 0x20], 0
call fcn.004016e0
lea ecx, [esp + 0x14]
push ecx
mov ecx, ebx
mov byte [esp + 0x234], 0xb
call fcn.004035d0
cmp dword [eax + 0x18], 8
jb 0x6b44fc
mov eax, dword [eax + 4]
jmp 0x6b44ff
add eax, 4
push eax
call fcn.006446f6
mov edx, dword [esp + 0x34]
add esp, 4
mov byte [esp + 0x230], 1
cmp dword [esp + 0x2c], 0x10
mov dword [edx + 0xa6c], eax
jb 0x6b452e
mov eax, dword [esp + 0x18]
push eax
call fcn.006441c7
add esp, 4
push 0x18
push str.PowerGemThresholdDepth40
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], edi
mov byte [esp + 0x20], 0
call fcn.004016e0
lea ecx, [esp + 0x14]
push ecx
mov ecx, ebx
mov byte [esp + 0x234], 0xc
call fcn.004035d0
cmp dword [eax + 0x18], 8
jb 0x6b456a
mov eax, dword [eax + 4]
jmp 0x6b456d
add eax, 4
push eax
call fcn.006446f6
mov edx, dword [esp + 0x34]
add esp, 4
mov byte [esp + 0x230], 1
cmp dword [esp + 0x2c], 0x10
mov dword [edx + 0xa70], eax
jb 0x6b459c
mov eax, dword [esp + 0x18]
push eax
call fcn.006441c7
add esp, 4
push 0xd
push 0x7afe60
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], edi
mov byte [esp + 0x20], 0
call fcn.004016e0
mov byte [esp + 0x230], 0xd
mov ecx, dword [ebx + 0x18]
mov edx, dword [ebx]
lea eax, [esp + 0x14]
mov dword [esp + 0x78], ecx
push eax
lea ecx, [esp + 0x70]
push ecx
mov esi, ebx
mov dword [esp + 0x7c], edx
call fcn.0040a0f0
mov esi, eax
mov eax, dword [esi]
cmp eax, edi
je 0x6b45f1
cmp eax, dword [esp + 0x74]
je 0x6b45f6
call fcn.006441b7
mov edx, dword [esp + 0x78]
cmp dword [esi + 4], edx
mov byte [esp + 0x230], 1
setne byte [esp + 0x13]
cmp dword [esp + 0x2c], 0x10
jb 0x6b461e
mov eax, dword [esp + 0x18]
push eax
call fcn.006441c7
add esp, 4
cmp byte [esp + 0x13], 0
je 0x6b475d
lea ecx, [esp + 0x7c]
call fcn.00401ff0
mov byte [esp + 0x230], 0xe
push 0xd
push str.TreasureRange
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], 0
mov byte [esp + 0x20], 0
call fcn.004016e0
lea ecx, [esp + 0x14]
push ecx
mov ecx, ebx
mov byte [esp + 0x234], 0xf
call fcn.004035d0
push eax
lea edi, [esp + 0x80]
call fcn.0040ff80
add esp, 4
mov byte [esp + 0x230], 0xe
cmp dword [esp + 0x2c], 0x10
jb 0x6b469f
mov edx, dword [esp + 0x18]
push edx
call fcn.006441c7
add esp, 4
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x88]
sub eax, ecx
xor esi, esi
sar eax, 2
cmp eax, esi
jbe 0x6b4726
mov ecx, esi
and ecx, 1
jne 0x6b46de
cmp esi, eax
jb 0x6b46c8
call fcn.006441b7
mov eax, dword [esp + 0x88]
mov edi, dword [esp + 0x30]
lea ebx, [eax + esi*4]
add edi, 0x1e0
jmp 0x6b4700
cmp ecx, 1
jne 0x6b470c
cmp esi, eax
jb 0x6b46ec
call fcn.006441b7
mov ecx, dword [esp + 0x88]
mov edi, dword [esp + 0x30]
lea ebx, [ecx + esi*4]
add edi, 0x1f8
call fcn.00402070
mov ebx, dword [esp + 0x94]
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x88]
sub eax, ecx
inc esi
sar eax, 2
cmp esi, eax
jb 0x6b46b8
xor esi, esi
mov byte [esp + 0x230], 1
cmp ecx, esi
je 0x6b473b
push ecx
call fcn.006441c7
add esp, 4
mov edx, dword [esp + 0x7c]
push edx
mov dword [esp + 0x8c], esi
mov dword [esp + 0x90], esi
mov dword [esp + 0x94], esi
call fcn.006441c7
add esp, 4
mov esi, 0xf
push esi
push str.ArtifactMinRows
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], 0
mov byte [esp + 0x20], 0
call fcn.004016e0
mov edi, dword [esp + 0x30]
lea eax, [esp + 0x14]
push eax
mov ecx, ebx
mov byte [esp + 0x234], 0x10
add edi, 0x408
call fcn.004035d0
push eax
call fcn.0040ff80
add esp, 4
mov byte [esp + 0x230], 1
cmp dword [esp + 0x2c], 0x10
jb 0x6b47c5
mov ecx, dword [esp + 0x18]
push ecx
call fcn.006441c7
add esp, 4
push 0x10
xor edi, edi
push str.ArtifactMinTiles
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], edi
mov byte [esp + 0x20], 0
call fcn.004016e0
lea edx, [esp + 0x14]
push edx
mov ecx, ebx
mov byte [esp + 0x234], 0x11
call fcn.004035d0
cmp dword [eax + 0x18], 8
jb 0x6b4803
mov eax, dword [eax + 4]
jmp 0x6b4806
add eax, 4
push eax
call fcn.006446f6
mov ecx, dword [esp + 0x34]
add esp, 4
mov byte [esp + 0x230], 1
cmp dword [esp + 0x2c], 0x10
mov dword [ecx + 0x3fc], eax
jb 0x6b4835
mov edx, dword [esp + 0x18]
push edx
call fcn.006441c7
add esp, 4
push 0x10
push str.ArtifactMaxTiles
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], edi
mov byte [esp + 0x20], 0
call fcn.004016e0
lea eax, [esp + 0x14]
push eax
mov ecx, ebx
mov byte [esp + 0x234], 0x12
call fcn.004035d0
cmp dword [eax + 0x18], 8
jb 0x6b4871
mov eax, dword [eax + 4]
jmp 0x6b4874
add eax, 4
push eax
call fcn.006446f6
mov ecx, dword [esp + 0x34]
add esp, 4
mov byte [esp + 0x230], 1
cmp dword [esp + 0x2c], 0x10
mov dword [ecx + 0x400], eax
jb 0x6b48a3
mov edx, dword [esp + 0x18]
push edx
call fcn.006441c7
add esp, 4
mov dword [esp + 0x74], 1
mov eax, dword [esp + 0x74]
mov edi, dword [esp + 0x30]
push eax
push 0x7afeb8
lea esi, [esp + 0x3c]
call fcn.00439900
add esp, 8
mov byte [esp + 0x230], 0x13
mov ecx, dword [ebx + 0x18]
mov edx, dword [ebx]
push eax
lea eax, [esp + 0xd8]
push eax
mov esi, ebx
mov dword [esp + 0x78], ecx
mov dword [esp + 0x74], edx
call fcn.0040a0f0
mov esi, eax
mov eax, dword [esi]
test eax, eax
je 0x6b48f8
cmp eax, dword [esp + 0x6c]
je 0x6b48fd
call fcn.006441b7
mov ecx, dword [esp + 0x70]
cmp dword [esi + 4], ecx
mov esi, 0x10
setne byte [esp + 0x13]
mov byte [esp + 0x230], 1
cmp dword [esp + 0x4c], esi
jb 0x6b4929
mov edx, dword [esp + 0x38]
push edx
call fcn.006441c7
add esp, 4
cmp byte [esp + 0x13], 0
je 0x6b502e
push 4
call fcn.006442a0
add esp, 4
test eax, eax
je 0x6b494a
lea ecx, [esp + 0x7c]
mov dword [eax], ecx
jmp 0x6b494c
xor eax, eax
mov dword [esp + 0x7c], eax
xor edi, edi
mov dword [esp + 0x88], edi
mov dword [esp + 0x8c], edi
mov dword [esp + 0x90], edi
mov edx, dword [esp + 0x74]
push edx
push str.Artifact_d
lea esi, [esp + 0x3c]
mov byte [esp + 0x238], 0x15
call fcn.00439900
add esp, 8
push 0xffffffffffffffff
push 1
push 0x2c
lea ecx, [esp + 0x88]
push ecx
push eax
mov ecx, ebx
mov byte [esp + 0x244], 0x16
call fcn.004035d0
push eax
call fcn.00420be0
mov ebx, 0x10
add esp, 0x14
mov byte [esp + 0x230], 0x15
cmp dword [esp + 0x4c], ebx
jb 0x6b49cc
mov edx, dword [esp + 0x38]
push edx
call fcn.006441c7
add esp, 4
lea eax, [esp + 0x1ac]
push eax
call fcn.004215e0
mov byte [esp + 0x230], 0x17
mov ecx, dword [esp + 0x8c]
sub ecx, dword [esp + 0x88]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
jne 0x6b4a09
call fcn.006441b7
mov eax, dword [esp + 0x88]
lea ecx, [esp + 0x34]
call fcn.00438d30
push 0xffffffffffffffff
push edi
push eax
lea ecx, [esp + 0x1b8]
mov byte [esp + 0x23c], 0x18
call fcn.00401530
mov byte [esp + 0x230], 0x17
cmp dword [esp + 0x4c], ebx
jb 0x6b4a4c
mov edx, dword [esp + 0x38]
push edx
call fcn.006441c7
add esp, 4
mov ecx, dword [esp + 0x8c]
sub ecx, dword [esp + 0x88]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 3
ja 0x6b4a77
call fcn.006441b7
mov eax, dword [esp + 0x88]
push 0xffffffffffffffff
add eax, 0x54
push edi
push eax
lea ecx, [esp + 0x1d4]
call fcn.00401880
mov ecx, dword [esp + 0x8c]
mov esi, dword [esp + 0x88]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ecx, 1
ja 0x6b4ac5
call fcn.006441b7
mov esi, dword [esp + 0x88]
mov edi, 8
cmp dword [esi + 0x34], edi
jb 0x6b4ad4
mov esi, dword [esi + 0x20]
jmp 0x6b4ad7
add esi, 0x20
push esi
call fcn.006446f6
mov ecx, dword [esp + 0x90]
mov esi, dword [esp + 0x8c]
mov dword [esp + 0x1e8], eax
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
add esp, 4
cmp eax, 2
ja 0x6b4b1b
call fcn.006441b7
mov esi, dword [esp + 0x88]
cmp dword [esi + 0x50], edi
jb 0x6b4b25
mov esi, dword [esi + 0x3c]
jmp 0x6b4b28
add esi, 0x3c
push esi
call fcn.006446f6
add esp, 4
mov dword [esp + 0x1e8], eax
mov eax, dword [esp + 0x1b0]
cmp dword [esp + 0x1c4], ebx
jae 0x6b4b4f
lea eax, [esp + 0x1b0]
push eax
push str.IMAGE_QUEST_DIG_BOARD_ITEM__s
lea esi, [esp + 0xc0]
call fcn.00439900
add esp, 8
mov ebx, eax
lea edi, [esp + 0x14]
mov byte [esp + 0x230], 0x19
call fcn.00471da0
mov edi, 0x10
mov byte [esp + 0x230], 0x1a
cmp dword [eax + 0x18], edi
jb 0x6b4b8e
mov edx, dword [eax + 4]
jmp 0x6b4b91
lea edx, [eax + 4]
xor ebx, ebx
mov eax, edx
mov dword [esp + 0x1a8], 0xf
mov dword [esp + 0x1a4], ebx
mov byte [esp + 0x194], bl
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x6b4bb1
sub eax, esi
push eax
push edx
lea ecx, [esp + 0x198]
call fcn.004016e0
cmp dword [esp + 0x2c], edi
jb 0x6b4bdb
mov ecx, dword [esp + 0x18]
push ecx
call fcn.006441c7
add esp, 4
mov esi, 0xf
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
mov byte [esp + 0x230], 0x1d
cmp dword [esp + 0xd0], edi
jb 0x6b4c0d
mov edx, dword [esp + 0xbc]
push edx
call fcn.006441c7
add esp, 4
mov eax, dword [esp + 0x1b0]
mov dword [esp + 0xd0], esi
mov dword [esp + 0xcc], ebx
mov byte [esp + 0xbc], bl
cmp dword [esp + 0x1c4], edi
jae 0x6b4c39
lea eax, [esp + 0x1b0]
push eax
push str.IMAGE_QUEST_DIG_BOARD_ITEM__s_BIG
lea esi, [esp + 0x58]
call fcn.00439900
add esp, 8
mov byte [esp + 0x230], 0x1e
cmp dword [eax + 0x18], edi
jb 0x6b4c5d
mov ecx, dword [eax + 4]
jmp 0x6b4c60
lea ecx, [eax + 4]
mov eax, ecx
mov dword [esp + 0xb0], 0xf
mov dword [esp + 0xac], ebx
mov byte [esp + 0x9c], bl
lea esi, [eax + 1]
mov edi, edi
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x6b4c80
sub eax, esi
push eax
push ecx
lea ecx, [esp + 0xa0]
call fcn.004016e0
lea ebx, [esp + 0x98]
lea edi, [esp + 0xf4]
mov byte [esp + 0x230], 0x1f
call fcn.00471da0
mov edi, 0x10
mov byte [esp + 0x230], 0x20
cmp dword [eax + 0x18], edi
jb 0x6b4cc9
mov edx, dword [eax + 4]
jmp 0x6b4ccc
lea edx, [eax + 4]
xor ebx, ebx
mov eax, edx
mov dword [esp + 0x170], 0xf
mov dword [esp + 0x16c], ebx
mov byte [esp + 0x15c], bl
lea esi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x6b4cf0
sub eax, esi
push eax
push edx
lea ecx, [esp + 0x160]
call fcn.004016e0
cmp dword [esp + 0x10c], edi
jb 0x6b4d20
mov eax, dword [esp + 0xf8]
push eax
call fcn.006441c7
add esp, 4
mov esi, 0xf
mov dword [esp + 0x10c], esi
mov dword [esp + 0x108], ebx
mov byte [esp + 0xf8], bl
cmp dword [esp + 0xb0], edi
jb 0x6b4d53
mov ecx, dword [esp + 0x9c]
push ecx
call fcn.006441c7
add esp, 4
mov dword [esp + 0xb0], esi
mov dword [esp + 0xac], ebx
mov byte [esp + 0x9c], bl
mov byte [esp + 0x230], 0x24
cmp dword [esp + 0x68], edi
jb 0x6b4d83
mov edx, dword [esp + 0x54]
push edx
call fcn.006441c7
add esp, 4
mov eax, dword [esp + 0x1b0]
mov dword [esp + 0x68], esi
mov dword [esp + 0x64], ebx
mov byte [esp + 0x54], bl
cmp dword [esp + 0x1c4], edi
jae 0x6b4da6
lea eax, [esp + 0x1b0]
push eax
push str.IMAGE_QUEST_DIG_BOARD_ITEM__s_BIG_GLOW
lea esi, [esp + 0x3c]
call fcn.00439900
add esp, 8
mov byte [esp + 0x230], 0x25
cmp dword [eax + 0x18], edi
jb 0x6b4dca
mov ecx, dword [eax + 4]
jmp 0x6b4dcd
lea ecx, [eax + 4]
mov eax, ecx
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x6b4de2
sub eax, esi
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.004016e0
lea ebx, [esp + 0x14]
lea edi, [esp + 0xb8]
mov byte [esp + 0x230], 0x26
call fcn.00471da0
mov byte [esp + 0x230], 0x27
cmp dword [eax + 0x18], 0x10
jb 0x6b4e21
mov edx, dword [eax + 4]
jmp 0x6b4e24
lea edx, [eax + 4]
xor ebx, ebx
mov edi, 0xf
mov eax, edx
mov dword [esp + 0x18c], edi
mov dword [esp + 0x188], ebx
mov byte [esp + 0x178], bl
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x6b4e45
sub eax, esi
push eax
push edx
lea ecx, [esp + 0x17c]
call fcn.004016e0
mov esi, 0x10
cmp dword [esp + 0xd0], esi
jb 0x6b4e7a
mov eax, dword [esp + 0xbc]
push eax
call fcn.006441c7
add esp, 4
mov dword [esp + 0xd0], edi
mov dword [esp + 0xcc], ebx
mov byte [esp + 0xbc], bl
cmp dword [esp + 0x2c], esi
jb 0x6b4ea2
mov ecx, dword [esp + 0x18]
push ecx
call fcn.006441c7
add esp, 4
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
mov byte [esp + 0x230], 0x2b
cmp dword [esp + 0x4c], esi
jb 0x6b4ec9
mov edx, dword [esp + 0x38]
push edx
call fcn.006441c7
add esp, 4
mov eax, dword [esp + 0x194]
mov dword [esp + 0x4c], edi
mov dword [esp + 0x48], ebx
mov byte [esp + 0x38], bl
cmp dword [esp + 0x1a8], esi
jae 0x6b4eec
lea eax, [esp + 0x194]
push eax
call fcn.006e14f0
add esp, 4
mov dword [esp + 0x1f4], eax
mov eax, dword [esp + 0x15c]
cmp dword [esp + 0x170], esi
jae 0x6b4f13
lea eax, [esp + 0x15c]
push eax
call fcn.006e14f0
add esp, 4
mov dword [esp + 0x1ec], eax
mov eax, dword [esp + 0x178]
cmp dword [esp + 0x18c], esi
jae 0x6b4f3a
lea eax, [esp + 0x178]
push eax
call fcn.006e14f0
or ecx, 0xffffffff
add esp, 4
mov dword [esp + 0x1f0], eax
cmp dword [esp + 0x1f4], ecx
je 0x6b4f77
cmp dword [esp + 0x1ec], ecx
je 0x6b4f77
cmp eax, ecx
je 0x6b4f77
lea eax, [esp + 0x1ac]
push eax
mov eax, dword [esp + 0xb8]
call fcn.00421d90
inc dword [esp + 0x74]
cmp dword [esp + 0x18c], esi
jb 0x6b4f94
mov ecx, dword [esp + 0x178]
push ecx
call fcn.006441c7
add esp, 4
mov dword [esp + 0x18c], edi
mov dword [esp + 0x188], ebx
mov byte [esp + 0x178], bl
cmp dword [esp + 0x170], esi
jb 0x6b4fc2
mov edx, dword [esp + 0x15c]
push edx
call fcn.006441c7
add esp, 4
mov dword [esp + 0x170], edi
mov dword [esp + 0x16c], ebx
mov byte [esp + 0x15c], bl
cmp dword [esp + 0x1a8], esi
jb 0x6b4ff0
mov eax, dword [esp + 0x194]
push eax
call fcn.006441c7
add esp, 4
lea esi, [esp + 0x1ac]
mov dword [esp + 0x1a8], edi
mov dword [esp + 0x1a4], ebx
mov byte [esp + 0x194], bl
call fcn.00421650
lea esi, [esp + 0x7c]
mov byte [esp + 0x230], 1
call fcn.00404e50
mov ebx, dword [esp + 0x94]
jmp 0x6b48ab
push 0xe
push str.TutorialHeader
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], 0
mov byte [esp + 0x20], 0
call fcn.004016e0
lea ecx, [esp + 0x14]
push ecx
mov ecx, ebx
mov byte [esp + 0x234], 0x2c
call fcn.004035d0
push 0xffffffffffffffff
push 0
push eax
lea ecx, [edi + 0x604]
call fcn.00401880
mov byte [esp + 0x230], 1
cmp dword [esp + 0x2c], esi
jb 0x6b5092
mov edx, dword [esp + 0x18]
push edx
call fcn.006441c7
add esp, 4
push str.TutorialText
lea ecx, [esp + 0x38]
call fcn.00401280
lea eax, [esp + 0x34]
push eax
mov ecx, ebx
mov byte [esp + 0x234], 0x2d
call fcn.004035d0
push 0xffffffffffffffff
push 0
push eax
lea ecx, [edi + 0x620]
call fcn.00401880
mov byte [esp + 0x230], 1
cmp dword [esp + 0x4c], esi
jb 0x6b50df
mov ecx, dword [esp + 0x38]
push ecx
call fcn.006441c7
add esp, 4
push 0x7aff5c
lea ecx, [esp + 0x38]
call fcn.00401280
mov byte [esp + 0x230], 0x2e
mov edx, dword [ebx + 0x18]
mov eax, dword [ebx]
lea ecx, [esp + 0x34]
mov dword [esp + 0x70], edx
push ecx
lea edx, [esp + 0xd8]
push edx
mov esi, ebx
mov dword [esp + 0x74], eax
call fcn.0040a0f0
mov esi, eax
mov eax, dword [esi]
test eax, eax
je 0x6b5124
cmp eax, dword [esp + 0x6c]
je 0x6b5129
call fcn.006441b7
mov eax, dword [esp + 0x70]
cmp dword [esi + 4], eax
mov byte [esp + 0x230], 1
setne byte [esp + 0x13]
cmp dword [esp + 0x4c], 0x10
jb 0x6b5151
mov ecx, dword [esp + 0x38]
push ecx
call fcn.006441c7
add esp, 4
cmp byte [esp + 0x13], 0
je 0x6b56ec
push str.MinBrickStrPerLevel
lea ecx, [esp + 0x54]
mov byte [edi + 0xb10], 1
call fcn.00401280
lea edx, [esp + 0x50]
push edx
mov ecx, ebx
mov byte [esp + 0x234], 0x2f
call fcn.004035d0
lea ecx, [esp + 0x34]
call fcn.00438d30
push 0
push eax
lea eax, [edi + 0x7d8]
mov byte [esp + 0x238], 0x30
call fcn.00435cc0
mov esi, 0x10
cmp dword [esp + 0x4c], esi
jb 0x6b51bc
mov eax, dword [esp + 0x38]
push eax
call fcn.006441c7
add esp, 4
mov byte [esp + 0x230], 1
mov dword [esp + 0x4c], 0xf
mov dword [esp + 0x48], 0
mov byte [esp + 0x38], 0
cmp dword [esp + 0x68], esi
jb 0x6b51ec
mov ecx, dword [esp + 0x54]
push ecx
call fcn.006441c7
add esp, 4
push str.MaxBrickStrPerLevel
lea ecx, [esp + 0x54]
call fcn.00401280
lea edx, [esp + 0x50]
push edx
mov ecx, ebx
mov byte [esp + 0x234], 0x31
call fcn.004035d0
lea ecx, [esp + 0x34]
call fcn.00438d30
push 0
push eax
lea eax, [edi + 0x848]
mov byte [esp + 0x238], 0x32
call fcn.00435cc0
cmp dword [esp + 0x4c], esi
jb 0x6b5240
mov eax, dword [esp + 0x38]
push eax
call fcn.006441c7
add esp, 4
mov byte [esp + 0x230], 1
mov dword [esp + 0x4c], 0xf
mov dword [esp + 0x48], 0
mov byte [esp + 0x38], 0
cmp dword [esp + 0x68], esi
jb 0x6b5270
mov ecx, dword [esp + 0x54]
push ecx
call fcn.006441c7
add esp, 4
push str.EdgeBrickStrPerLevel
lea ecx, [esp + 0x54]
call fcn.00401280
lea edx, [esp + 0x50]
push edx
mov ecx, ebx
mov byte [esp + 0x234], 0x33
call fcn.004035d0
lea ecx, [esp + 0x34]
call fcn.00438d30
push 0
push eax
lea eax, [edi + 0x8b8]
mov byte [esp + 0x238], 0x34
call fcn.00435cc0
cmp dword [esp + 0x4c], esi
jb 0x6b52c4
mov eax, dword [esp + 0x38]
push eax
call fcn.006441c7
add esp, 4
mov byte [esp + 0x230], 1
mov dword [esp + 0x4c], 0xf
mov dword [esp + 0x48], 0
mov byte [esp + 0x38], 0
cmp dword [esp + 0x68], esi
jb 0x6b52f4
mov ecx, dword [esp + 0x54]
push ecx
call fcn.006441c7
add esp, 4
push str.MinMineStrPerLevel
lea ecx, [esp + 0x54]
call fcn.00401280
lea edx, [esp + 0x50]
push edx
mov ecx, ebx
mov byte [esp + 0x234], 0x35
call fcn.004035d0
lea ecx, [esp + 0x34]
call fcn.00438d30
push 0
push eax
lea eax, [edi + 0x928]
mov byte [esp + 0x238], 0x36
call fcn.00435cc0
cmp dword [esp + 0x4c], esi
jb 0x6b5348
mov eax, dword [esp + 0x38]
push eax
call fcn.006441c7
add esp, 4
mov byte [esp + 0x230], 1
mov dword [esp + 0x4c], 0xf
mov dword [esp + 0x48], 0
mov byte [esp + 0x38], 0
cmp dword [esp + 0x68], esi
jb 0x6b5378
mov ecx, dword [esp + 0x54]
push ecx
call fcn.006441c7
add esp, 4
push str.MaxMineStrPerLevel
lea ecx, [esp + 0x54]
call fcn.00401280
lea edx, [esp + 0x50]
push edx
mov ecx, ebx
mov byte [esp + 0x234], 0x37
call fcn.004035d0
lea ecx, [esp + 0x34]
call fcn.00438d30
push 0
push eax
lea eax, [edi + 0x998]
mov byte [esp + 0x238], 0x38
call fcn.00435cc0
cmp dword [esp + 0x4c], esi
jb 0x6b53cc
mov eax, dword [esp + 0x38]
push eax
call fcn.006441c7
add esp, 4
mov byte [esp + 0x230], 1
mov dword [esp + 0x4c], 0xf
mov dword [esp + 0x48], 0
mov byte [esp + 0x38], 0
cmp dword [esp + 0x68], esi
jb 0x6b53fc
mov ecx, dword [esp + 0x54]
push ecx
call fcn.006441c7
add esp, 4
push str.MineProbPerLevel
lea ecx, [esp + 0x54]
call fcn.00401280
lea edx, [esp + 0x50]
push edx
mov ecx, ebx
mov byte [esp + 0x234], 0x39
call fcn.004035d0
lea ecx, [esp + 0x34]
call fcn.00438d30
push 0
push eax
lea eax, [edi + 0xa78]
mov byte [esp + 0x238], 0x3a
call fcn.00435cc0
cmp dword [esp + 0x4c], esi
jb 0x6b5450
mov eax, dword [esp + 0x38]
push eax
call fcn.006441c7
add esp, 4
mov byte [esp + 0x230], 1
mov dword [esp + 0x4c], 0xf
mov dword [esp + 0x48], 0
mov byte [esp + 0x38], 0
cmp dword [esp + 0x68], esi
jb 0x6b5480
mov ecx, dword [esp + 0x54]
push ecx
call fcn.006441c7
add esp, 4
push str.DarkRockFrequency
lea ecx, [esp + 0x54]
call fcn.00401280
lea edx, [esp + 0x50]
push edx
mov ecx, ebx
mov byte [esp + 0x234], 0x3b
call fcn.004035d0
lea ecx, [esp + 0x34]
call fcn.00438d30
push 0
push eax
lea eax, [edi + 0x768]
mov byte [esp + 0x238], 0x3c
call fcn.00435cc0
cmp dword [esp + 0x4c], esi
jb 0x6b54d4
mov eax, dword [esp + 0x38]
push eax
call fcn.006441c7
add esp, 4
mov byte [esp + 0x230], 1
mov dword [esp + 0x4c], 0xf
mov dword [esp + 0x48], 0
mov byte [esp + 0x38], 0
cmp dword [esp + 0x68], esi
jb 0x6b5504
mov ecx, dword [esp + 0x54]
push ecx
call fcn.006441c7
add esp, 4
push str.ArtifactSpread
lea ecx, [esp + 0x54]
call fcn.00401280
lea edx, [esp + 0x50]
push edx
mov ecx, ebx
mov byte [esp + 0x234], 0x3d
call fcn.004035d0
lea ecx, [esp + 0x34]
call fcn.00438d30
push 0
push eax
lea esi, [esp + 0x1b4]
mov byte [esp + 0x238], 0x3e
call fcn.00434f70
cmp dword [esp + 0x4c], 0x10
jb 0x6b555a
mov eax, dword [esp + 0x38]
push eax
call fcn.006441c7
add esp, 4
mov byte [esp + 0x230], 1
cmp dword [esp + 0x68], 0x10
mov dword [esp + 0x4c], 0xf
mov dword [esp + 0x48], 0
mov byte [esp + 0x38], 0
jb 0x6b558b
mov ecx, dword [esp + 0x54]
push ecx
call fcn.006441c7
add esp, 4
lea edx, [edi + 0xa24]
push edx
lea ecx, [esp + 0x1b0]
call fcn.00762670
push str.BrickStrSpread
lea ecx, [esp + 0x54]
call fcn.00401280
lea eax, [esp + 0x50]
push eax
mov ecx, ebx
mov byte [esp + 0x234], 0x3f
call fcn.004035d0
lea ecx, [esp + 0x34]
call fcn.00438d30
push 0
push eax
lea esi, [esp + 0x1b4]
mov byte [esp + 0x238], pe_nt_image_headers32
call fcn.00434f70
cmp dword [esp + 0x4c], 0x10
jb 0x6b55f4
mov ecx, dword [esp + 0x38]
push ecx
call fcn.006441c7
add esp, 4
mov byte [esp + 0x230], 1
cmp dword [esp + 0x68], 0x10
mov dword [esp + 0x4c], 0xf
mov dword [esp + 0x48], 0
mov byte [esp + 0x38], 0
jb 0x6b5625
mov edx, dword [esp + 0x54]
push edx
call fcn.006441c7
add esp, 4
lea eax, [edi + 0xa08]
push eax
lea ecx, [esp + 0x1b0]
call fcn.00762670
push str.MineStrSpread
lea ecx, [esp + 0x54]
call fcn.00401280
lea ecx, [esp + 0x50]
push ecx
mov ecx, ebx
mov byte [esp + 0x234], 0x41
call fcn.004035d0
lea ecx, [esp + 0x34]
call fcn.00438d30
push 0
push eax
lea esi, [esp + 0x1b4]
mov byte [esp + 0x238], 0x42
call fcn.00434f70
cmp dword [esp + 0x4c], 0x10
jb 0x6b568e
mov edx, dword [esp + 0x38]
push edx
call fcn.006441c7
add esp, 4
mov byte [esp + 0x230], 1
cmp dword [esp + 0x68], 0x10
mov dword [esp + 0x4c], 0xf
mov dword [esp + 0x48], 0
mov byte [esp + 0x38], 0
jb 0x6b56bf
mov eax, dword [esp + 0x54]
push eax
call fcn.006441c7
add esp, 4
lea ecx, [edi + 0xa40]
push ecx
lea ecx, [esp + 0x1b0]
call fcn.00762670
mov edx, dword [edi + 0x104]
mov byte [edx + 0x317c], 1
mov eax, dword [edi + 0x104]
mov byte [eax + 0x317d], 0
lea ecx, [esp + 0x140]
call fcn.00401ff0
lea ecx, [esp + 0x110]
mov byte [esp + 0x230], 0x43
call fcn.00401ff0
lea ecx, [esp + 0x128]
mov byte [esp + 0x230], 0x44
call fcn.00401ff0
mov bl, 0x45
push 1
mov esi, edi
mov byte [esp + 0x234], bl
call fcn.0069d520
lea ecx, [edi + 0x108]
mov dword [edi + 0x27c], ecx
push str.b0_1_0.01_1.2____RkS8_____gfMe5
lea ecx, [esp + 0x38]
call fcn.00401280
push 0
lea edx, [esp + 0x38]
push edx
lea eax, [edi + 0x250]
mov byte [esp + 0x238], 0x46
call fcn.00435cc0
mov esi, 0x10
mov byte [esp + 0x230], bl
cmp dword [esp + 0x4c], esi
jb 0x6b5785
mov eax, dword [esp + 0x38]
push eax
call fcn.006441c7
add esp, 4
push str.b0_10_0.01_1_7GX______P__f:g1
lea ecx, [esp + 0x38]
call fcn.00401280
push 0
lea ecx, [esp + 0x38]
push ecx
lea eax, [edi + 0x588]
mov byte [esp + 0x238], 0x47
call fcn.00435cc0
mov byte [esp + 0x230], bl
cmp dword [esp + 0x4c], esi
jb 0x6b57c7
mov edx, dword [esp + 0x38]
push edx
call fcn.006441c7
add esp, 4
mov ecx, dword [esp + 0xec]
sub ecx, dword [esp + 0xe8]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x6b58d2
lea esi, [esp + 0xdc]
call fcn.00412c20
lea esi, [edi + 0x500]
push eax
mov eax, esi
call fcn.00410ef0
cmp byte [edi + 0xb10], 0
jne 0x6b5824
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
sar ecx, 3
shr ecx, 3
cmp ecx, 8
jg 0x6b5824
xor eax, eax
jmp 0x6b5829
mov eax, 1
mov edx, dword [edi + 0x104]
mov byte [edi + 0x4e8], al
cmp byte [edx + 0x1191], 0
jne 0x6b58d2
push 0
mov ecx, edi
call fcn.006ae860
xor ebx, ebx
mov eax, dword [edi + 0x104]
push 0
push 0
push 0
push 0
push 0
call fcn.0073aca0
test al, al
jne 0x6b58d2
call fcn.00437c00
mov esi, eax
and esi, 0x80000007
jns 0x6b587a
dec esi
or esi, 0xfffffff8
inc esi
add esi, esi
add esi, esi
add esi, esi
call fcn.00437c00
and eax, 0x80000007
jns 0x6b5891
dec eax
or eax, 0xfffffff8
inc eax
mov ecx, dword [edi + 0x104]
add eax, esi
mov esi, dword [ecx + eax*4 + 0xf4]
cmp dword [esi + 0x228], 0
jne 0x6b58c5
cmp dword [esi + 0x220], 0xffffffff
je 0x6b58c5
call fcn.00437c00
cdq
mov ecx, 7
idiv ecx
mov dword [esi + 0x220], edx
inc ebx
cmp ebx, 0x3e8
jl 0x6b584d
mov edx, dword [edi + 0x104]
mov byte [edx + 0x317f], 0
mov ecx, dword [edi + 0x104]
mov eax, dword [ecx]
mov edx, dword [eax + 0x20c]
push 0xc
call edx
test al, al
je 0x6b5937
cmp dword [edi + 0x634], 0
je 0x6b5937
mov esi, dword [edi + 0x104]
mov al, byte [esi + 0x317c]
xor ecx, ecx
test al, al
sete cl
xor edx, edx
test al, al
sete dl
lea ecx, [ecx + ecx + 2]
lea edx, [edx + edx + 3]
lea eax, [edx + ecx*8]
mov esi, dword [esi + eax*4 + 0xf4]
test esi, esi
je 0x6b5937
mov ecx, dword [esi + 4]
mov dword [edi + 0xa5c], ecx
mov edx, dword [edi + 0x104]
mov al, byte [edx + 0x3220]
lea ecx, [esp + 0x128]
mov byte [edi + 0x2c4], al
call fcn.0041b120
lea ecx, [esp + 0x110]
call fcn.0041b120
lea ecx, [esp + 0x140]
call fcn.0041b120
lea esi, [esp + 0xdc]
call fcn.00404f40
mov ecx, dword [esp + 0x228]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.00643db8
mov esp, ebp
pop ebp
ret