Function at 0x1000b200
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x100369b6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x70
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x54]
call dword [0x1003b0b8]
xor eax, eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
lea ecx, [esi + 0x40]
mov byte [esp + 0x88], 2
mov dword [esp + 0x24], ecx
call dword [0x1003b240]
mov ebx, dword [esi + 0xc4]
cmp dword [esi + 0xc0], ebx
lea edi, [esi + 0xbc]
mov byte [esp + 0x88], 3
jbe 0x1000b280
call dword [0x1003b198]
mov ebp, dword [edi + 4]
cmp ebp, dword [edi + 8]
jbe 0x1000b28e
call dword [0x1003b198]
push ebx
push edi
push ebp
push edi
lea eax, [esp + 0x38]
push eax
mov ecx, edi
call fcn.1000e4e0
xor ebx, ebx
xor ebp, ebp
xor ecx, ecx
jmp 0x1000b2b0
mov eax, dword [esi + 0xb0]
cmp eax, ecx
je 0x1000b361
mov ecx, dword [esi + 0xb4]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jae 0x1000b361
mov eax, dword [esi + 0xb0]
test eax, eax
je 0x1000b306
mov ecx, dword [esi + 0xb4]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x1000b30c
call dword [0x1003b198]
mov ecx, dword [esi + 0xb0]
mov byte [ecx + ebp + 4], 0
mov eax, dword [esi + 0xb0]
test eax, eax
je 0x1000b33e
mov ecx, dword [esi + 0xb4]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x1000b344
call dword [0x1003b198]
mov edx, dword [esi + 0xb0]
xor ecx, ecx
mov dword [edx + ebp + 0x10], ecx
add ebx, 1
mov dword [esi + 0xcc], ecx
add ebp, 0x18
jmp 0x1000b2b0
lea eax, [esp + 0x40]
push eax
lea edx, [esp + 0x34]
lea ecx, [esi + 0x58]
push edx
call fcn.1000adb0
mov dword [esp + 0x14], 0
mov dword [esi + 0xd0], 0xffffffff
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x1000bb8f
mov eax, dword [esp + 0x38]
sub eax, ecx
sar eax, 2
cmp dword [esp + 0x14], eax
jae 0x1000bb8f
mov dword [esp + 0x1c], 0
lea esp, [esp]
mov eax, dword [esi + 0xb0]
test eax, eax
je 0x1000bb85
mov ecx, dword [esi + 0xb4]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0x1c], eax
jae 0x1000bb85
mov eax, dword [esi + 0xb0]
test eax, eax
mov ebx, dword [esp + 0x1c]
je 0x1000b40c
mov ecx, dword [esi + 0xb4]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x1000b412
call dword [0x1003b198]
mov ecx, dword [esi + 0xb0]
lea eax, [ebx + ebx*2]
add eax, eax
add eax, eax
add eax, eax
add ecx, eax
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0xb0]
test eax, eax
mov dword [esp + 0x20], ecx
je 0x1000b452
mov ecx, dword [esi + 0xb4]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x1000b458
call dword [0x1003b198]
mov ebp, dword [esi + 0xb0]
mov ecx, dword [esp + 0x34]
add ebp, dword [esp + 0x10]
test ecx, ecx
je 0x1000b479
mov eax, dword [esp + 0x38]
sub eax, ecx
sar eax, 2
cmp dword [esp + 0x14], eax
jb 0x1000b47f
call dword [0x1003b198]
mov eax, dword [esp + 0x20]
movzx ecx, byte [eax + 0xc]
mov edx, dword [ebp]
mov eax, dword [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x18]
push edx
mov edx, dword [eax + ecx*4]
push edx
lea ecx, [esi + 0x58]
call fcn.10009c40
test al, al
je 0x1000b62a
mov eax, dword [esi + 0xb0]
test eax, eax
je 0x1000b4cf
mov ecx, dword [esi + 0xb4]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x1000b4d5
call dword [0x1003b198]
mov eax, dword [esi + 0xb0]
mov ecx, dword [esp + 0x10]
cmp byte [ecx + eax + 4], 0
jne 0x1000bb21
test eax, eax
je 0x1000b50b
mov ecx, dword [esi + 0xb4]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x1000b511
call dword [0x1003b198]
mov eax, dword [esi + 0xb0]
lea ebp, [ebx + ebx*2]
add ebp, ebp
add ebp, ebp
add ebp, ebp
mov byte [eax + ebp + 4], 1
mov eax, dword [esi + 0xb0]
test eax, eax
mov dword [esp + 0x10], ebp
je 0x1000b550
mov ecx, dword [esi + 0xb4]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x1000b556
call dword [0x1003b198]
mov ecx, dword [esi + 0xb0]
mov dword [ecx + ebp + 0x10], 1
mov ecx, dword [esp + 0x34]
test ecx, ecx
mov ebp, dword [esp + 0x14]
je 0x1000b57d
mov eax, dword [esp + 0x38]
sub eax, ecx
sar eax, 2
cmp ebp, eax
jb 0x1000b587
call dword [0x1003b198]
mov ecx, dword [esp + 0x34]
cmp dword [esp + 0x44], 0
mov edx, dword [ecx + ebp*4]
mov dword [esp + 0x50], edx
je 0x1000b5b4
mov ecx, dword [esp + 0x48]
sub ecx, dword [esp + 0x44]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jb 0x1000b5ba
call dword [0x1003b198]
mov ecx, dword [esp + 0x44]
lea eax, [ebp*8]
sub eax, ebp
lea edx, [ecx + eax*4]
push edx
lea ecx, [esp + 0x58]
call dword [0x1003b0c0]
mov eax, dword [esi + 0xb0]
test eax, eax
mov dword [esp + 0x70], ebx
je 0x1000b600
mov ecx, dword [esi + 0xb4]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x1000b606
call dword [0x1003b198]
mov eax, dword [esi + 0xb0]
mov ebp, dword [esp + 0x10]
cmp dword [eax + ebp + 8], 0
jne 0x1000bb2b
mov eax, 0x5f5e100
mov byte [esp + 0x7c], 1
jmp 0x1000bb67
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], eax
mov eax, dword [edi + 4]
test eax, eax
je 0x1000bb17
mov ecx, dword [edi + 8]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0x18], eax
jae 0x1000bb17
mov eax, dword [esi + 0xb0]
test eax, eax
je 0x1000b688
mov ecx, dword [esi + 0xb4]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0x1c], eax
jb 0x1000b68e
call dword [0x1003b198]
mov ebx, dword [esi + 0xb0]
mov eax, dword [esi + 0xb0]
add ebx, dword [esp + 0x10]
test eax, eax
je 0x1000b6c1
mov ecx, dword [esi + 0xb4]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0x1c], eax
jb 0x1000b6c7
call dword [0x1003b198]
mov ebp, dword [esi + 0xb0]
mov eax, dword [edi + 4]
add ebp, dword [esp + 0x10]
test eax, eax
je 0x1000b6f4
mov ecx, dword [edi + 8]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0x18], eax
jb 0x1000b6fa
call dword [0x1003b198]
movzx edx, byte [ebx + 0xc]
mov eax, dword [edi + 4]
add eax, dword [esp + 0x20]
mov ecx, dword [ebp]
push edx
mov edx, dword [eax]
push ecx
push edx
lea ecx, [esi + 0x58]
call fcn.10009c40
test al, al
je 0x1000b838
mov eax, dword [edi + 4]
test eax, eax
je 0x1000b740
mov ecx, dword [edi + 8]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0x18], eax
jb 0x1000b746
call dword [0x1003b198]
mov eax, dword [edi + 4]
mov ebx, dword [esp + 0x20]
mov ebp, dword [ebx + eax + 0x20]
mov eax, dword [esi + 0xb0]
test eax, eax
je 0x1000b778
mov ecx, dword [esi + 0xb4]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jb 0x1000b77e
call dword [0x1003b198]
mov edx, dword [esi + 0xb0]
lea ecx, [ebp + ebp*2]
lea eax, [edx + ecx*8]
mov dword [esp + 0x28], eax
mov eax, dword [edi + 4]
test eax, eax
je 0x1000b7b2
mov ecx, dword [edi + 8]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0x18], eax
jb 0x1000b7b8
call dword [0x1003b198]
mov eax, dword [esi + 0xb0]
test eax, eax
mov ecx, dword [edi + 4]
mov ebp, dword [ecx + ebx + 0x20]
je 0x1000b7e6
mov ecx, dword [esi + 0xb4]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jb 0x1000b7ec
call dword [0x1003b198]
mov ecx, dword [esp + 0x34]
test ecx, ecx
mov eax, dword [esi + 0xb0]
lea edx, [ebp + ebp*2]
mov ebp, dword [esp + 0x14]
lea ebx, [eax + edx*8]
je 0x1000b812
mov eax, dword [esp + 0x38]
sub eax, ecx
sar eax, 2
cmp ebp, eax
jb 0x1000b81c
call dword [0x1003b198]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x28]
movzx eax, byte [edx + 0xc]
mov edx, dword [ebx]
push eax
mov eax, dword [ecx + ebp*4]
push edx
push eax
lea ecx, [esi + 0x58]
call fcn.10009c40
test al, al
jne 0x1000b847
add dword [esp + 0x18], 1
add dword [esp + 0x20], 0x30
jmp 0x1000b634
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x1000b85c
mov eax, dword [esp + 0x38]
sub eax, ecx
sar eax, 2
cmp ebp, eax
jb 0x1000b866
call dword [0x1003b198]
mov ecx, dword [esp + 0x34]
mov ebx, dword [esp + 0x44]
test ebx, ebx
mov ecx, dword [ecx + ebp*4]
mov dword [esp + 0x50], ecx
je 0x1000b892
mov ecx, dword [esp + 0x48]
sub ecx, ebx
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jb 0x1000b89c
call dword [0x1003b198]
mov ebx, dword [esp + 0x44]
lea edx, [ebp*8]
sub edx, ebp
lea eax, [ebx + edx*4]
push eax
lea ecx, [esp + 0x58]
call dword [0x1003b0c0]
mov eax, dword [edi + 4]
test eax, eax
mov ebx, dword [esp + 0x18]
je 0x1000b8d8
mov ecx, dword [edi + 8]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x1000b8de
call dword [0x1003b198]
mov ecx, dword [edi + 4]
lea ebp, [ebx + ebx*2]
shl ebp, 4
mov edx, dword [ecx + ebp + 0x20]
mov eax, ecx
test eax, eax
mov dword [esp + 0x20], ebp
mov dword [esp + 0x70], edx
je 0x1000b913
mov ecx, dword [edi + 8]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x1000b919
call dword [0x1003b198]
mov eax, dword [edi + 4]
test eax, eax
mov ecx, dword [eax + ebp + 0x28]
mov dword [esp + 0x78], ecx
je 0x1000b942
mov ecx, dword [edi + 8]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x1000b948
call dword [0x1003b198]
mov edx, dword [edi + 4]
mov al, byte [edx + ebp + 0x2c]
lea ecx, [esp + 0x50]
push ecx
mov ecx, edi
mov byte [esp + 0x80], al
call fcn.1000f300
mov eax, dword [esi + 0xb0]
test eax, eax
mov ebp, dword [esp + 0x1c]
je 0x1000b98d
mov ecx, dword [esi + 0xb4]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jb 0x1000b993
call dword [0x1003b198]
mov eax, dword [esp + 0x10]
mov edx, dword [esi + 0xb0]
mov byte [eax + edx + 4], 1
mov eax, dword [esi + 0xb0]
test eax, eax
je 0x1000b9c9
mov ecx, dword [esi + 0xb4]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jb 0x1000b9cf
call dword [0x1003b198]
mov ecx, dword [esi + 0xb0]
mov edx, dword [esp + 0x10]
mov dword [ecx + edx + 0x10], 1
mov eax, dword [edi + 4]
test eax, eax
je 0x1000ba02
mov ecx, dword [edi + 8]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x1000ba08
call dword [0x1003b198]
mov eax, dword [edi + 4]
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx + eax]
mov eax, dword [esi + 0xb0]
test eax, eax
mov dword [esp + 0x50], edx
mov dword [esp + 0x70], ebp
je 0x1000ba41
mov ecx, dword [esi + 0xb4]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jb 0x1000ba47
call dword [0x1003b198]
mov eax, dword [esi + 0xb0]
mov ecx, dword [esp + 0x10]
cmp dword [ecx + eax + 8], 0
jne 0x1000ba67
mov dword [esp + 0x78], 0x5f5e100
mov byte [esp + 0x7c], 0
jmp 0x1000baa6
mov eax, dword [esi + 0xb0]
test eax, eax
je 0x1000ba8e
mov ecx, dword [esi + 0xb4]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jb 0x1000ba94
call dword [0x1003b198]
mov edx, dword [esi + 0xb0]
mov eax, dword [esp + 0x10]
mov ecx, dword [edx + eax + 8]
mov dword [esp + 0x78], ecx
mov eax, dword [edi + 4]
test eax, eax
je 0x1000bac7
mov ecx, dword [edi + 8]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x1000bacd
call dword [0x1003b198]
mov ebp, dword [edi + 4]
add ebp, dword [esp + 0x20]
mov edx, dword [esp + 0x50]
lea eax, [esp + 0x54]
push eax
lea ecx, [ebp + 4]
mov dword [ebp], edx
call dword [0x1003b0c0]
mov ecx, dword [esp + 0x70]
mov dword [ebp + 0x20], ecx
mov edx, dword [esp + 0x74]
mov dword [ebp + 0x24], edx
mov eax, dword [esp + 0x78]
mov dword [ebp + 0x28], eax
mov cl, byte [esp + 0x7c]
mov byte [ebp + 0x2c], cl
mov eax, dword [esp + 0x78]
cmp eax, dword [esi + 0xd0]
ja 0x1000bb17
mov dword [esi + 0xd0], eax
mov edx, dword [esp + 0x14]
cmp dword [esp + 0x18], edx
jb 0x1000bb85
add dword [esp + 0x1c], 1
jmp 0x1000b3b0
mov eax, dword [esi + 0xb0]
test eax, eax
je 0x1000bb52
mov ecx, dword [esi + 0xb4]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x1000bb58
call dword [0x1003b198]
mov ecx, dword [esi + 0xb0]
mov eax, dword [ecx + ebp + 8]
mov byte [esp + 0x7c], 0
cmp eax, dword [esi + 0xd0]
mov dword [esp + 0x78], eax
ja 0x1000bb79
mov dword [esi + 0xd0], eax
lea edx, [esp + 0x50]
push edx
mov ecx, edi
call fcn.1000f300
add dword [esp + 0x14], 1
jmp 0x1000b385
xor ebx, ebx
xor ebp, ebp
mov dword [esp + 0x1c], ebx
jmp 0x1000bba0
mov eax, dword [edi + 4]
cmp eax, ebx
je 0x1000bda1
mov ecx, dword [edi + 8]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jae 0x1000bda1
mov eax, dword [edi + 4]
cmp eax, ebx
je 0x1000bbea
mov ecx, dword [edi + 8]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jb 0x1000bbf0
call dword [0x1003b198]
mov ebx, dword [edi + 4]
mov eax, dword [edi + 4]
add ebx, dword [esp + 0x1c]
test eax, eax
je 0x1000bc18
mov ecx, dword [edi + 8]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jb 0x1000bc1e
call dword [0x1003b198]
mov eax, dword [edi + 4]
mov ecx, dword [ebx + 0x20]
mov edx, dword [esp + 0x1c]
mov dword [eax + edx + 0x24], ecx
mov eax, dword [edi + 4]
test eax, eax
je 0x1000bc4d
mov ecx, dword [edi + 8]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jb 0x1000bc53
call dword [0x1003b198]
mov eax, dword [edi + 4]
add eax, dword [esp + 0x1c]
mov ebx, dword [eax + 0x20]
mov eax, dword [esi + 0xb0]
test eax, eax
je 0x1000bc84
mov ecx, dword [esi + 0xb4]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x1000bc8a
call dword [0x1003b198]
mov ecx, dword [esi + 0xb0]
lea eax, [ebx + ebx*2]
mov edx, dword [ecx + eax*8]
mov eax, dword [edi + 4]
test eax, eax
mov dword [esp + 0x28], edx
je 0x1000bcbb
mov ecx, dword [edi + 8]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jb 0x1000bcc1
call dword [0x1003b198]
mov eax, dword [edi + 4]
add eax, dword [esp + 0x1c]
mov ebx, dword [eax + 0x20]
mov eax, dword [esi + 0xb0]
test eax, eax
je 0x1000bcf2
mov ecx, dword [esi + 0xb4]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x1000bcf8
call dword [0x1003b198]
mov ecx, dword [esi + 0xb0]
lea eax, [ebx + ebx*2]
mov dl, byte [ecx + eax*8 + 0xc]
mov eax, dword [edi + 4]
test eax, eax
mov byte [esp + 0x2c], dl
mov byte [esp + 0x2d], 0
je 0x1000bd2f
mov ecx, dword [edi + 8]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jb 0x1000bd35
call dword [0x1003b198]
mov eax, dword [edi + 4]
mov ecx, dword [esp + 0x2c]
add eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x28]
mov eax, dword [eax]
push ecx
push edx
push eax
call fcn.1000f3fc
xor ebx, ebx
add esp, 0xc
cmp eax, ebx
je 0x1000bd64
add ebp, 1
add dword [esp + 0x1c], 0x30
jmp 0x1000bba0
mov ecx, dword [esp + 0x24]
push ecx
call dword [0x1003b03c]
mov esi, dword [esp + 0x44]
cmp esi, ebx
mov byte [esp + 0x88], 1
je 0x1000bdff
mov edi, dword [esp + 0x48]
cmp esi, edi
je 0x1000bdf6
jmp 0x1000bd90
mov ecx, esi
call dword [0x1003b0b4]
add esi, 0x1c
cmp esi, edi
jne 0x1000bd90
jmp 0x1000bdf2
mov eax, 0x3e8
cmp dword [esi + 0xd0], eax
jbe 0x1000bdb4
mov dword [esi + 0xd0], eax
mov eax, dword [esp + 0x24]
mov edx, dword [esi + 0xd0]
add dword [esi + 0xcc], edx
push eax
call dword [0x1003b03c]
mov esi, dword [esp + 0x44]
cmp esi, ebx
mov byte [esp + 0x88], 1
je 0x1000bdff
mov edi, dword [esp + 0x48]
cmp esi, edi
je 0x1000bdf6
mov ecx, esi
call dword [0x1003b0b4]
add esi, 0x1c
cmp esi, edi
jne 0x1000bde3
mov esi, dword [esp + 0x44]
push esi
call fcn.100330cc
add esp, 4
mov eax, dword [esp + 0x34]
cmp eax, ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x44], ebx
je 0x1000be1c
push eax
call fcn.100330cc
add esp, 4
lea ecx, [esp + 0x54]
mov dword [esp + 0x88], 0xffffffff
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
call dword [0x1003b0b4]
mov ecx, dword [esp + 0x80]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x7c
ret