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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xd54
mov eax, dword [ebp + 0x44]
push ebx
push esi
mov esi, dword [ebp + 0x14]
mov ebx, ecx
push edi
push esi
mov dword [esp + 0x34], ebx
mov dword [eax], 0
call fcn.00b97800
mov edi, dword [ebp + 0xc]
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
je 0xb83ccc
lea esp, [esp]
mov eax, dword [esi]
mov ecx, esi
mov edi, dword [ebx + 0x138]
call dword [eax + 0xc]
mov edx, dword [edi]
mov ecx, edi
mov esi, eax
call dword [edx + 0xc]
cmp esi, eax
jne 0xb83af0
mov ecx, dword [ebx + 0x138]
mov eax, dword [ecx]
call dword [eax + 0x14]
test eax, eax
je 0xb83af0
mov eax, 1
jmp 0xb83af2
xor eax, eax
test al, al
jne 0xb841a8
cmp dword [esp + 0x10], 3
je 0xb840d9
lea ecx, [esp + 0x540]
call fcn.00bb0fd0
mov ecx, dword [ebp + 0x14]
lea eax, [esp + 0x34]
push eax
lea edx, [esp + 0x134]
push edx
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov ecx, eax
call fcn.00bb10c0
mov ecx, dword [ebp + 0x18]
lea eax, [esp + 0x540]
push eax
lea eax, [esp + 0x48]
push eax
call fcn.00b77b30
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.00b97180
add esp, 0xc
lea ecx, [esp + 0x130]
call fcn.00bb0fe0
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x544]
call fcn.00bb10c0
lea eax, [esp + 0x3c]
mov ecx, ebx
push eax
call fcn.00b82030
test eax, eax
jne 0xb840b2
mov esi, dword [ebx + 0x128]
lea ecx, [esp + 0x540]
push eax
push dword [ebp + 0x28]
mov dword [esp + 0x14], eax
push dword [ebp + 0x1c]
mov edi, dword [esi]
push eax
push 0x40
call fcn.00bb0c90
push eax
push 0
lea ecx, [esp + 0xa0]
call fcn.00bb0be0
mov ecx, eax
call fcn.00bb0c90
push eax
push dword [ebp + 0xc]
lea eax, [esp + 0x20]
mov ecx, esi
push eax
call dword [edi + 0x80]
mov ecx, dword [esp + 0xc]
mov esi, eax
test ecx, ecx
je 0xb83bee
cmp ecx, 0xffffffff
je 0xb83bee
push ecx
call fcn.00be9890
mov ecx, dword [esp + 0xc]
xor edx, edx
test eax, eax
cmovne ecx, edx
mov dword [esp + 0xc], ecx
test esi, esi
je 0xb83fbb
cmp esi, 0xc0000034
je 0xb83c4d
cmp esi, 0xc000003a
je 0xb83c4d
test ecx, ecx
je 0xb83c24
cmp ecx, 0xffffffff
je 0xb83c24
push ecx
call fcn.00be9890
mov ecx, dword [esp + 0xc]
xor edx, edx
test eax, eax
cmovne ecx, edx
mov dword [esp + 0xc], ecx
lea ecx, [esp + 0x540]
call fcn.00bb0fe0
mov esi, dword [ebp + 0x14]
push esi
call fcn.00b97800
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
jne 0xb83ac0
mov edi, dword [ebp + 0xc]
jmp 0xb83ccc
mov ecx, dword [ebx + 0x128]
lea edx, [esp + 0x18]
mov edi, dword [ebp + 0xc]
push 0
push dword [ebp + 0x28]
mov dword [esp + 0x20], 0
push dword [ebp + 0x1c]
mov eax, dword [ecx]
push dword [ebp + 0x10]
push edi
push edx
call dword [eax + 0x80]
mov ecx, dword [esp + 0x18]
mov esi, eax
test ecx, ecx
je 0xb83c8c
cmp ecx, 0xffffffff
je 0xb83c8c
push ecx
call fcn.00be9890
cmp dword [esp + 0x10], 1
jne 0xb83d26
test esi, esi
jne 0xb83d09
mov eax, dword [esp + 0xc]
test eax, eax
je 0xb83cbd
cmp eax, 0xffffffff
je 0xb83cbd
push eax
call fcn.00be9890
mov ecx, dword [esp + 0xc]
xor edx, edx
test eax, eax
cmovne ecx, edx
mov dword [esp + 0xc], ecx
lea ecx, [esp + 0x540]
call fcn.00bb0fe0
mov esi, dword [ebp + 0x14]
cmp dword [ebx + 0x130], 1
jne 0xb85ae2
push edi
mov edi, dword [ebp + 0x30]
push edi
call fcn.00b97120
add esp, 8
test eax, eax
jne 0xb8486c
mov eax, dword [ebp + 0x40]
mov dword [eax], 0
mov eax, dword [ebp + 0x3c]
mov dword [eax], 0xc000000d
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x40
cmp esi, 0xc0000034
je 0xb83f79
cmp esi, 0xc000003a
je 0xb83f79
jmp 0xb8406d
test esi, esi
jne 0xb83f65
push edi
call fcn.00b97fa0
add esp, 4
test eax, eax
je 0xb83f57
mov ecx, dword [ebp + 0x14]
lea eax, [esp + 0x34]
push eax
lea edx, [esp + 0x74c]
push edx
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov ecx, eax
call fcn.00bb10c0
mov ecx, dword [ebp + 0x18]
lea eax, [esp + 0x44]
push eax
call fcn.00b77b30
push eax
lea eax, [esp + 0x38]
mov ecx, ebx
push eax
call fcn.00b7f9c0
lea ecx, [esp + 0x748]
call fcn.00bb0fe0
push dword [ebp + 0x38]
mov eax, dword [ebp + 0x30]
lea ecx, [esp + 0x544]
push dword [ebp + 0x34]
or eax, 0x20
mov dword [esp + 0x20], esi
mov esi, dword [ebx + 0x128]
push eax
push 5
push dword [ebp + 0x28]
mov edi, dword [esi]
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push 0
push 0x40
call fcn.00bb0c90
push eax
push 0
lea ecx, [esp + 0xb4]
call fcn.00bb0be0
mov ecx, eax
call fcn.00bb0c90
push eax
push 0x100082
push dword [ebp + 8]
mov ecx, esi
call dword [edi + 0x84]
test eax, eax
je 0xb83dff
mov ecx, dword [ebp + 0x40]
mov dword [ecx], 0
mov ecx, dword [ebp + 0x3c]
mov dword [ecx], eax
lea ecx, [esp + 0x18]
call fcn.00b2f990
jmp 0xb8407b
mov eax, dword [ebp + 0x2c]
cmp eax, 1
je 0xb83e0c
cmp eax, 3
jne 0xb83e71
mov esi, dword [ebx + 0x128]
lea eax, [esp + 0xc8]
push eax
push 0
push 0x40
mov edi, dword [esi]
lea ecx, [esp + 0x50]
push 0x100e03dc
call fcn.00bb0c30
mov ecx, eax
call fcn.00bb0c90
push eax
push 0
lea ecx, [esp + 0x98]
call fcn.00bb0be0
mov ecx, eax
call fcn.00bb0c90
push eax
mov ecx, esi
call dword [edi + 0xc4]
test eax, eax
jne 0xb83e71
test dword [esp + 0xe8], 0x10
jne 0xb83e71
push eax
push dword [ebp + 0x10]
call fcn.00b972a0
add esp, 8
lea ecx, [esp + 0x18]
call fcn.00b2f990
push dword [ebp + 0x30]
mov esi, dword [ebx + 0x128]
lea ecx, [esp + 0x544]
push dword [ebp + 0x28]
push dword [ebp + 0x1c]
mov edi, dword [esi]
push 0
push 0x40
call fcn.00bb0c90
push eax
push 0
lea ecx, [esp + 0xa0]
call fcn.00bb0be0
mov ecx, eax
call fcn.00bb0c90
push eax
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [edi + 0x80]
test eax, eax
je 0xb83ee0
mov ecx, dword [ebp + 0x40]
mov dword [ecx], 0
mov ecx, dword [ebp + 0x3c]
mov dword [ecx], eax
lea ecx, [esp + 0x18]
call fcn.00b2f990
jmp 0xb8407b
lea ecx, [esp + 0x130]
call fcn.00bb0fd0
lea eax, [esp + 0x130]
mov ecx, ebx
push eax
push dword [ebp + 0x10]
call fcn.00b81b40
test eax, eax
je 0xb83f2b
lea eax, [esp + 0x130]
push eax
push dword [ebp + 8]
lea eax, [esp + 0x44]
push eax
lea ecx, [ebx + 0xfc]
call fcn.00b28d80
mov eax, dword [esp + 0x3c]
test eax, eax
je 0xb83f2b
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
mov eax, dword [ebp + 0x40]
lea ecx, [esp + 0x130]
mov dword [eax], 0
mov eax, dword [ebp + 0x3c]
mov dword [eax], 0
call fcn.00bb0fe0
lea ecx, [esp + 0x18]
call fcn.00b2f990
jmp 0xb8407b
lea ecx, [esp + 0xc]
call fcn.00b2f990
jmp 0xb83cbd
cmp esi, 0xc0000034
je 0xb83f79
cmp esi, 0xc000003a
jne 0xb8406d
mov ecx, dword [ebp + 0x14]
lea eax, [esp + 0x34]
push eax
lea edx, [esp + 0x134]
push edx
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov ecx, eax
call fcn.00bb10c0
mov ecx, dword [ebp + 0x18]
lea eax, [esp + 0x44]
push eax
call fcn.00b77b30
push eax
lea eax, [esp + 0x38]
mov ecx, ebx
push eax
call fcn.00b7f9c0
lea ecx, [esp + 0x130]
call fcn.00bb0fe0
push dword [ebp + 0x38]
mov esi, dword [ebx + 0x128]
lea ecx, [esp + 0x544]
push dword [ebp + 0x34]
push dword [ebp + 0x30]
mov edi, dword [esi]
push dword [ebp + 0x2c]
push dword [ebp + 0x28]
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push 0
push 0x40
call fcn.00bb0c90
push eax
push 0
lea ecx, [esp + 0xb4]
call fcn.00bb0be0
mov ecx, eax
call fcn.00bb0c90
push eax
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [edi + 0x84]
mov esi, eax
test esi, esi
jne 0xb8406d
lea ecx, [esp + 0x130]
call fcn.00bb0fd0
lea eax, [esp + 0x130]
mov ecx, ebx
push eax
push dword [ebp + 0x10]
call fcn.00b81b40
test eax, eax
je 0xb84061
lea eax, [esp + 0x130]
push eax
push dword [ebp + 8]
lea eax, [esp + 0x44]
push eax
lea ecx, [ebx + 0xfc]
call fcn.00b28d80
mov eax, dword [esp + 0x3c]
test eax, eax
je 0xb84061
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
lea ecx, [esp + 0x130]
call fcn.00bb0fe0
mov eax, dword [ebp + 0x40]
mov dword [eax], 0
mov eax, dword [ebp + 0x3c]
mov dword [eax], esi
mov eax, dword [esp + 0xc]
test eax, eax
je 0xb840c4
cmp eax, 0xffffffff
je 0xb840c4
push eax
call fcn.00be9890
mov ecx, dword [esp + 0xc]
xor edx, edx
test eax, eax
cmovne ecx, edx
mov dword [esp + 0xc], ecx
lea ecx, [esp + 0x540]
call fcn.00bb0fe0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x40
mov eax, dword [ebp + 0x40]
mov dword [eax], 0
mov eax, dword [ebp + 0x3c]
mov dword [eax], 0xc0000034
lea ecx, [esp + 0x540]
call fcn.00bb0fe0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x40
lea ecx, [esp + 0x130]
call fcn.00bb0fd0
mov ecx, dword [ebp + 0x14]
lea eax, [esp + 0x34]
push eax
lea edx, [esp + 0x74c]
push edx
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov ecx, eax
call fcn.00bb10c0
mov ecx, dword [ebp + 0x18]
lea eax, [esp + 0x130]
push eax
lea eax, [esp + 0x48]
push eax
call fcn.00b77b30
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.00b97180
add esp, 0xc
lea ecx, [esp + 0x748]
call fcn.00bb0fe0
push dword [ebp + 0x38]
mov esi, dword [ebx + 0x128]
lea ecx, [esp + 0x134]
push dword [ebp + 0x34]
push dword [ebp + 0x30]
mov edi, dword [esi]
push dword [ebp + 0x2c]
push dword [ebp + 0x28]
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push 0
push 0x40
call fcn.00bb0c90
push eax
push 0
lea ecx, [esp + 0xb4]
call fcn.00bb0be0
mov ecx, eax
call fcn.00bb0c90
push eax
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [edi + 0x84]
mov ecx, dword [ebp + 0x40]
mov dword [ecx], 0
mov ecx, dword [ebp + 0x3c]
mov dword [ecx], eax
lea ecx, [esp + 0x130]
call fcn.00bb0fe0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x40
mov ecx, dword [ebp + 0x14]
lea edx, [esp + 0x130]
push edx
mov eax, dword [ecx]
call dword [eax + 0x1c]
lea ecx, [esp + 0x748]
call fcn.00bb0fd0
mov edi, dword [ebp + 0x18]
lea eax, [esp + 0x44]
push eax
mov ecx, edi
call fcn.00b77b00
push eax
lea ecx, [esp + 0x954]
call fcn.00bb0f70
lea ecx, [esp + 0x338]
call fcn.00bb0fd0
lea ecx, [esp + 0x130]
call fcn.00bb0c90
push eax
lea ecx, [esp + 0x954]
call fcn.00bb12f0
test eax, eax
jne 0xb8426a
lea eax, [esp + 0x748]
mov ecx, edi
push eax
lea eax, [esp + 0x48]
push eax
call fcn.00b77b00
push eax
mov ecx, ebx
call fcn.00b825d0
lea ecx, [esp + 0x748]
call fcn.00bb0c90
push eax
lea ecx, [esp + 0x134]
call fcn.00bb0c90
push eax
lea eax, [esp + 0xb60]
push eax
call fcn.00b97150
add esp, 0xc
lea ecx, [esp + 0x338]
push eax
call fcn.00bb1000
lea ecx, [esp + 0xb58]
call fcn.00bb0fe0
jmp 0xb8427e
lea eax, [esp + 0x950]
push eax
lea ecx, [esp + 0x33c]
call fcn.00bb1000
mov esi, dword [ebx + 0xc]
lea eax, [esp + 0x44]
push eax
mov ecx, edi
call fcn.00b77b00
push eax
push esi
call fcn.00b97f40
add esp, 8
mov dword [esp + 0x18], eax
test eax, eax
jne 0xb842bc
lea eax, [esp + 0x44]
mov ecx, edi
push eax
call fcn.00b77b00
push eax
call fcn.00b97e50
add esp, 4
test eax, eax
jne 0xb842bc
xor edi, edi
jmp 0xb842c1
mov edi, 1
mov esi, dword [ebx + 0xc]
lea ecx, [esp + 0x338]
call fcn.00bb0c90
push eax
push esi
call fcn.00b97f40
mov esi, eax
add esp, 8
mov eax, dword [esp + 0x10]
cmp eax, 3
jne 0xb84401
test esi, esi
jne 0xb84312
test edi, edi
je 0xb84312
lea ecx, [esp + 0x748]
call fcn.00bb0c90
push eax
lea ecx, [esp + 0x134]
call fcn.00bb0c90
push eax
mov ecx, ebx
call fcn.00b7f9c0
push dword [ebp + 0x38]
mov esi, dword [ebx + 0x128]
lea ecx, [esp + 0x33c]
push dword [ebp + 0x34]
push dword [ebp + 0x30]
mov edi, dword [esi]
push dword [ebp + 0x2c]
push dword [ebp + 0x28]
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push 0
push 0x40
call fcn.00bb0c90
push eax
push 0
lea ecx, [esp + 0xb4]
call fcn.00bb0be0
mov ecx, eax
call fcn.00bb0c90
push eax
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [edi + 0x84]
mov ecx, dword [0x10109818]
mov esi, eax
mov edx, dword [ecx]
call dword [edx + 0xf8]
test eax, eax
je 0xb847ef
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x33c]
call fcn.00bb10c0
push 0x100eb484
push esi
push 0x100f1e8c
lea eax, [esp + 0x40]
push eax
push 0x100f1e80
push 0x100f1e38
push 0x100f1e28
push 0x100dfdac
push 2
lea ecx, [esp + 0x9c]
call fcn.00b3a6c0
mov ecx, eax
call fcn.00b3c950
mov ecx, eax
call fcn.00b3c950
mov ecx, eax
call fcn.00b3c950
mov ecx, eax
call fcn.00b3c840
mov ecx, eax
call fcn.00b3c950
mov ecx, eax
call fcn.00b3c8e0
mov ecx, eax
call fcn.00b3c950
lea ecx, [esp + 0x78]
call fcn.00b3c6e0
jmp 0xb847ef
cmp eax, 1
jne 0xb8457c
cmp dword [esp + 0x18], 0
je 0xb84423
test esi, esi
jne 0xb84423
mov byte [esp + 0x27], 0
lea ecx, [esp + 0x950]
jmp 0xb84458
mov byte [esp + 0x27], 1
test esi, esi
jne 0xb84451
test edi, edi
je 0xb84451
lea ecx, [esp + 0x748]
call fcn.00bb0c90
push eax
lea ecx, [esp + 0x134]
call fcn.00bb0c90
push eax
mov ecx, ebx
call fcn.00b7f9c0
lea ecx, [esp + 0x338]
call fcn.00bb0c90
push dword [ebp + 0x38]
mov esi, dword [ebx + 0x128]
mov ecx, eax
push dword [ebp + 0x34]
mov eax, dword [ebp + 0x2c]
push dword [ebp + 0x30]
mov edi, dword [esi]
push eax
push dword [ebp + 0x28]
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push 0
push 0x40
push ecx
push 0
lea ecx, [esp + 0xb4]
call fcn.00bb0be0
mov ecx, eax
call fcn.00bb0c90
push eax
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [edi + 0x84]
mov ecx, dword [0x10109818]
mov esi, eax
mov eax, dword [ecx]
call dword [eax + 0xf8]
test eax, eax
je 0xb847ef
cmp byte [esp + 0x27], 0
lea ecx, [esp + 0x338]
jne 0xb844d6
lea ecx, [esp + 0x950]
call fcn.00bb0c90
push 0x100eb484
push esi
lea ecx, [esp + 0x8c]
mov edi, eax
call fcn.00b3be00
push eax
movzx eax, byte [esp + 0x2f]
lea ecx, [esp + 0x80]
push 0x100f1ea8
push edi
push 0x100f1e80
push eax
push 0x100f1e98
push 0x100f1e38
push 0x100f1e28
push 0x100dfdac
push 2
call fcn.00b3a6c0
mov ecx, eax
call fcn.00b3c950
mov ecx, eax
call fcn.00b3c950
mov ecx, eax
call fcn.00b3c950
mov ecx, eax
call fcn.00b3c8e0
mov ecx, eax
call fcn.00b3c950
mov ecx, eax
call fcn.00b3c840
mov ecx, eax
call fcn.00b3c950
mov ecx, eax
call fcn.00b3c7c0
mov ecx, eax
call fcn.00b3c950
lea ecx, [esp + 0x78]
call fcn.00b3c6e0
lea ecx, [esp + 0x84]
call fcn.00b28840
jmp 0xb847ef
cmp eax, 2
jne 0xb847eb
push dword [ebp + 0xc]
call fcn.00b97fa0
add esp, 4
test eax, eax
jne 0xb845a8
test esi, esi
jne 0xb845a8
mov dword [esp + 0x1c], esi
lea ecx, [esp + 0x950]
jmp 0xb84716
mov dword [esp + 0x1c], 1
test eax, eax
je 0xb845c8
test esi, esi
jne 0xb845c8
cmp dword [esp + 0x18], esi
je 0xb845c8
mov dword [esp + 0x18], 1
jmp 0xb845d8
mov dword [esp + 0x18], 0
test esi, esi
jne 0xb8470f
test edi, edi
je 0xb845fd
lea ecx, [esp + 0x748]
call fcn.00bb0c90
push eax
lea ecx, [esp + 0x134]
call fcn.00bb0c90
push eax
mov ecx, ebx
call fcn.00b7f9c0
cmp dword [esp + 0x18], 0
je 0xb8470f
push dword [ebp + 0x38]
mov eax, dword [ebp + 0x30]
lea ecx, [esp + 0x33c]
push dword [ebp + 0x34]
mov esi, dword [ebx + 0x128]
or eax, 0x20
push eax
push 2
push dword [ebp + 0x28]
mov dword [esp + 0x40], 0
push dword [ebp + 0x24]
mov edi, dword [esi]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push 0
push 0x40
call fcn.00bb0c90
push eax
push 0
lea ecx, [esp + 0xb4]
call fcn.00bb0be0
mov ecx, eax
call fcn.00bb0c90
push eax
push 0x100082
lea eax, [esp + 0x54]
mov ecx, esi
push eax
call dword [edi + 0x84]
test eax, eax
je 0xb8468c
mov ecx, dword [ebp + 0x40]
mov dword [ecx], 0
mov ecx, dword [ebp + 0x3c]
mov dword [ecx], eax
lea ecx, [esp + 0x2c]
call fcn.00b2f990
jmp 0xb84833
mov eax, dword [ebp + 0x2c]
cmp eax, 1
je 0xb84699
cmp eax, 3
jne 0xb84706
mov esi, dword [ebx + 0x128]
lea eax, [esp + 0xc8]
push eax
push 0
push 0x40
mov edi, dword [esi]
lea ecx, [esp + 0x50]
push 0x100e03dc
call fcn.00bb0c30
mov ecx, eax
call fcn.00bb0c90
push eax
push dword [esp + 0x3c]
lea ecx, [esp + 0x98]
call fcn.00bb0be0
mov ecx, eax
call fcn.00bb0c90
push eax
mov ecx, esi
call dword [edi + 0xc4]
test eax, eax
jne 0xb84706
mov eax, dword [esp + 0xe8]
shr eax, 4
not al
test al, 1
je 0xb84706
push dword [esp + 0x2c]
push dword [ebp + 0x10]
call fcn.00b972a0
add esp, 8
lea ecx, [esp + 0x2c]
call fcn.00b2f990
lea ecx, [esp + 0x338]
call fcn.00bb0c90
push dword [ebp + 0x38]
mov esi, dword [ebx + 0x128]
mov ecx, eax
push dword [ebp + 0x34]
mov eax, dword [ebp + 0x2c]
push dword [ebp + 0x30]
mov edi, dword [esi]
push eax
push dword [ebp + 0x28]
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push 0
push 0x40
push ecx
push 0
lea ecx, [esp + 0xb4]
call fcn.00bb0be0
mov ecx, eax
call fcn.00bb0c90
push eax
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [edi + 0x84]
mov ecx, dword [0x10109818]
mov esi, eax
mov eax, dword [ecx]
call dword [eax + 0xf8]
test eax, eax
je 0xb847ef
mov edi, dword [esp + 0x1c]
lea ecx, [esp + 0x338]
test edi, edi
jne 0xb84791
lea ecx, [esp + 0x950]
call fcn.00bb0c90
push 0x100eb484
push esi
push 0x100f1e8c
push eax
push 0x100f1e80
push edi
push 0x100f1e98
push 0x100f1e38
push 0x100f1e28
push 0x100dfdac
push 2
lea ecx, [esp + 0xa4]
call fcn.00b3a6c0
mov ecx, eax
call fcn.00b3c950
mov ecx, eax
call fcn.00b3c950
mov ecx, eax
call fcn.00b3c950
mov ecx, eax
call fcn.00b3c8e0
jmp 0xb843d0
mov esi, dword [esp + 0x3c]
lea ecx, [esp + 0x338]
call fcn.00bb0c90
push eax
mov ecx, ebx
call fcn.00b82030
test esi, esi
jne 0xb84825
test eax, eax
je 0xb84825
test byte [ebp + 0x2c], 6
je 0xb84825
lea ecx, [esp + 0x338]
call fcn.00bb0c90
push eax
mov ecx, ebx
call fcn.00b91cf0
mov eax, dword [ebp + 0x40]
mov dword [eax], 0
mov eax, dword [ebp + 0x3c]
mov dword [eax], esi
lea ecx, [esp + 0x338]
call fcn.00bb0fe0
lea ecx, [esp + 0x950]
call fcn.00bb0fe0
lea ecx, [esp + 0x748]
call fcn.00bb0fe0
lea ecx, [esp + 0x130]
call fcn.00bb0fe0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x40
mov eax, dword [ebp + 0x2c]
test eax, eax
je 0xb8489a
cmp eax, 2
je 0xb84890
cmp eax, 1
je 0xb84890
cmp eax, 3
je 0xb84890
cmp eax, 4
je 0xb8489a
cmp eax, 5
jne 0xb83cee
cmp eax, 4
je 0xb8489a
cmp eax, 5
jne 0xb848a6
test edi, 1
jne 0xb83cee
mov ecx, dword [ebp + 0x18]
lea eax, [esp + 0xf8]
push eax
call fcn.00b77b30
mov edi, esi
test esi, esi
je 0xb848c2
mov eax, dword [esi]
push esi
call dword [eax + 4]
xor ecx, ecx
mov dword [esp + 0x34], 0
mov dword [esp + 0x74], ecx
xor esi, esi
mov dword [esp + 0x28], ecx
mov dword [esp + 0x50], ecx
lea ecx, [esp + 0x338]
mov dword [esp + 0x38], 0
mov dword [esp + 0xc], esi
mov dword [esp + 0x4c], 0xffffffff
call fcn.00bb0fd0
lea ecx, [esp + 0x540]
call fcn.00bb0fd0
lea ecx, [esp + 0x54]
call fcn.00b77900
mov ecx, dword [esp + 0x38]
mov esi, 1
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x6c], ecx
mov ecx, dword [ebp + 0x18]
lea eax, [esp + 0x54]
push eax
call fcn.00b779f0
test eax, eax
je 0xb84eb7
cmp dword [esp + 0x54], 0
je 0xb84a1b
lea eax, [esp + 0x58]
push eax
call fcn.00b980e0
add esp, 4
test eax, eax
je 0xb8498b
push dword [esp + 0x5c]
lea ecx, [esp + 0x544]
mov dword [esp + 0x14], 1
push dword [esp + 0x5c]
mov dword [esp + 0x54], 0x10
call fcn.00bb1060
push eax
lea ecx, [esp + 0x33c]
call fcn.00bb1000
jmp 0xb84b2b
xor esi, esi
mov dword [esp + 0x10], 0
mov dword [esp + 0x20], esi
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x28]
cmp eax, 1
jne 0xb849b0
cmp dword [esp + 0x60], 0
je 0xb84f11
lea ecx, [esp + 0x84]
call fcn.00b77900
mov ecx, dword [ebp + 0x18]
lea eax, [esp + 0x84]
push eax
call fcn.00b779f0
test eax, eax
je 0xb84c44
mov eax, dword [esp + 0x90]
test eax, eax
je 0xb84f11
cmp eax, 1
mov eax, dword [ebp + 0x2c]
jne 0xb84c47
cmp eax, 1
je 0xb84f79
mov ecx, dword [esp + 0x88]
mov dword [esp + 0x6c], ecx
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0x74], 1
mov dword [esp + 0x3c], ecx
jmp 0xb84c47
lea eax, [esp + 0x58]
push eax
call fcn.00b97fe0
add esp, 4
test eax, eax
je 0xb84faf
mov eax, dword [esp + 0x60]
cmp eax, 1
jne 0xb84ada
mov esi, dword [ebx + 0x128]
lea eax, [esp + 0xc8]
mov ecx, dword [ebp + 0x18]
push eax
push 0
mov ebx, dword [esi]
lea eax, [esp + 0x60]
push 0x40
push eax
lea eax, [esp + 0x110]
push eax
call fcn.00b779c0
push eax
push 0
lea ecx, [esp + 0x12c]
call fcn.00bb0be0
mov ecx, eax
call fcn.00bb0c90
push eax
mov ecx, esi
call dword [ebx + 0xc4]
test eax, eax
jne 0xb84ac3
push dword [esp + 0x5c]
mov eax, dword [esp + 0xec]
lea ecx, [esp + 0x544]
push dword [esp + 0x5c]
mov dword [esp + 0x18], 1
mov dword [esp + 0x54], eax
call fcn.00bb1060
push eax
lea ecx, [esp + 0x33c]
call fcn.00bb1000
mov ebx, dword [esp + 0x30]
jmp 0xb84b2b
mov ebx, dword [esp + 0x30]
xor esi, esi
mov dword [esp + 0x10], 0
mov dword [esp + 0x20], esi
jmp 0xb84999
test eax, eax
jne 0xb84f94
mov ecx, dword [ebp + 0x18]
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x544]
push eax
lea eax, [esp + 0x340]
push eax
lea eax, [esp + 0x64]
push eax
push dword [esp + 0x6c]
lea eax, [esp + 0x124]
push eax
call fcn.00b77950
push eax
call fcn.00b978b0
xor esi, esi
mov dword [esp + 0x24], eax
add esp, 0x14
mov dword [esp + 0x20], esi
test eax, eax
je 0xb84999
mov ecx, dword [esp + 0x60]
sub ecx, 0
je 0xb84bb3
dec ecx
jne 0xb84f94
lea eax, [esp + 0xb8]
push eax
lea ecx, [esp + 0x544]
call fcn.00bb10c0
lea eax, [esp + 0xb0]
push eax
lea ecx, [esp + 0x33c]
call fcn.00bb10c0
mov ecx, dword [ebx + 0x138]
lea edx, [esp + 0xb8]
push 3
push edx
lea edx, [esp + 0xb8]
mov eax, dword [ecx]
push edx
lea edx, [esp + 0x24]
push edx
call dword [eax + 0xac]
mov esi, dword [eax]
test esi, esi
je 0xb84b94
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov eax, dword [esp + 0x18]
test eax, eax
je 0xb84e84
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x18], 0
jmp 0xb84e84
lea eax, [esp + 0xc0]
push eax
lea ecx, [esp + 0x544]
call fcn.00bb10c0
lea eax, [esp + 0xa0]
push eax
lea ecx, [esp + 0x33c]
call fcn.00bb10c0
test dword [esp + 0x4c], 0x10
mov eax, 0
mov ecx, dword [ebx + 0x138]
setne al
inc eax
push eax
mov edx, dword [ecx]
lea eax, [esp + 0xc4]
push eax
lea eax, [esp + 0xa8]
push eax
lea eax, [esp + 0xa8]
push eax
call dword [edx + 0xac]
mov esi, dword [eax]
test esi, esi
je 0xb84c1f
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov eax, dword [esp + 0x9c]
test eax, eax
je 0xb84e84
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x9c], 0
jmp 0xb84e84
mov eax, dword [ebp + 0x2c]
cmp eax, 1
je 0xb84f49
cmp eax, 4
je 0xb84f49
mov eax, dword [esp + 0x60]
test eax, eax
jne 0xb84cfb
mov esi, dword [ebp + 0x30]
lea eax, [esp + 0x28]
push eax
and esi, 1
push esi
push dword [ebp + 0x24]
call fcn.00b97b30
add esp, 8
push eax
push esi
call fcn.00b74e50
mov ecx, eax
add esp, 0xc
test ecx, ecx
jne 0xb84f2c
push dword [esp + 0x28]
mov ecx, dword [ebx + 0x138]
test esi, esi
setne al
inc eax
mov edx, dword [ecx]
push eax
lea eax, [esp + 0x60]
push eax
push eax
lea eax, [esp + 0x74]
push eax
call dword [edx + 0xa8]
mov esi, dword [eax]
test esi, esi
je 0xb84cc0
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov eax, dword [esp + 0x64]
test eax, eax
je 0xb84cd6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x64], 0
mov eax, dword [esp + 0xc]
test eax, eax
je 0xb84ce4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0xc], esi
test esi, esi
je 0xb84e84
mov eax, dword [esi]
push esi
call dword [eax + 4]
jmp 0xb84e84
cmp eax, 1
jne 0xb84e84
lea eax, [esp + 0x50]
push eax
call fcn.00b789a0
mov ecx, eax
add esp, 4
test ecx, ecx
jne 0xb84f2c
push dword [esp + 0x5c]
mov ecx, dword [ebp + 0x18]
lea eax, [esp + 0xf4]
push eax
call fcn.00b77950
lea ecx, [esp + 0x44]
push dword [eax + 4]
push dword [eax]
call fcn.00bb0c70
mov ebx, dword [ebx + 0x128]
lea ecx, [esp + 0x108]
push 0
mov dword [esp + 0x20], 0
push 3
mov esi, dword [ebx]
call fcn.00bb0bb0
mov ecx, eax
call fcn.00bb0c90
push eax
push 0
push 0x40
lea ecx, [esp + 0x58]
call fcn.00bb0c90
push eax
push 0
lea ecx, [esp + 0x134]
call fcn.00bb0be0
mov ecx, eax
call fcn.00bb0c90
push eax
push 0x180
lea eax, [esp + 0x30]
mov ecx, ebx
push eax
call dword [esi + 0x80]
test eax, eax
jne 0xb84e29
mov esi, dword [esp + 0x30]
lea eax, [esp + 0xc8]
push 4
push 0x28
push eax
mov esi, dword [esi + 0x128]
lea ecx, [esp + 0xb4]
mov ebx, dword [esi]
call fcn.00bb0bb0
mov ecx, eax
call fcn.00bb0c90
push eax
push dword [esp + 0x2c]
mov ecx, esi
call dword [ebx + 0x98]
test eax, eax
jne 0xb84e29
mov eax, dword [esp + 0xe8]
test al, 0x20
jne 0xb84e29
or eax, 0x20
lea ecx, [esp + 0x78]
mov dword [esp + 0xe8], eax
mov eax, dword [esp + 0x30]
push 4
push 0x28
mov esi, dword [eax + 0x128]
lea eax, [esp + 0xd0]
push eax
mov ebx, dword [esi]
call fcn.00bb0bb0
mov ecx, eax
call fcn.00bb0c90
push eax
push dword [esp + 0x2c]
mov ecx, esi
call dword [ebx + 0x94]
mov ebx, dword [esp + 0x30]
lea edx, [esp + 0x58]
push dword [esp + 0x50]
push edx
mov ecx, dword [ebx + 0x138]
lea edx, [esp + 0x1c]
push edx
mov eax, dword [ecx]
call dword [eax + 0xa4]
push eax
lea ecx, [esp + 0x24]
call fcn.00b7d7e0
mov eax, dword [esp + 0x14]
test eax, eax
je 0xb84e69
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x14], 0
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x10]
call fcn.00b7d7e0
lea ecx, [esp + 0x1c]
call fcn.00b2f990
mov esi, dword [esp + 0x20]
push esi
push edi
lea ecx, [esp + 0x3c]
call fcn.00b7e4e0
test edi, edi
je 0xb84e99
mov eax, dword [edi]
push edi
call dword [eax + 8]
mov edi, esi
test esi, esi
je 0xb84eab
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov esi, dword [esp + 0x10]
test esi, esi
jne 0xb84924
mov dword [esp + 0x2c], 0
mov dword [esp + 0x1c], 0xffffffff
test esi, esi
je 0xb85635
mov ecx, dword [ebp + 0x2c]
cmp ecx, 2
jne 0xb8505d
mov ebx, dword [ebp + 0x30]
test ebx, 1
je 0xb85034
mov ecx, dword [ebp + 0x18]
call fcn.00b77e40
test eax, eax
je 0xb85034
mov eax, dword [ebp + 0x40]
mov dword [eax], 0
mov eax, dword [ebp + 0x3c]
mov dword [eax], 0xc0000103
jmp 0xb857b4
mov eax, dword [ebp + 0x40]
mov esi, dword [esp + 0xc]
mov dword [eax], 0
mov eax, dword [ebp + 0x3c]
mov dword [eax], 0xc000003a
jmp 0xb857c1
mov eax, dword [ebp + 0x40]
and ecx, 0xefffffff
mov esi, dword [esp + 0xc]
mov dword [eax], 0
mov eax, dword [ebp + 0x3c]
mov dword [eax], ecx
jmp 0xb857c1
test dword [ebp + 0x30], 1
je 0xb84f79
mov ecx, dword [ebp + 0x18]
call fcn.00b77e40
test eax, eax
je 0xb84f79
mov eax, dword [ebp + 0x40]
mov esi, dword [esp + 0xc]
mov dword [eax], 0
mov eax, dword [ebp + 0x3c]
mov dword [eax], 0xc0000103
jmp 0xb857c1
mov eax, dword [ebp + 0x40]
mov esi, dword [esp + 0xc]
mov dword [eax], 0
mov eax, dword [ebp + 0x3c]
mov dword [eax], 0xc0000034
jmp 0xb857c1
mov eax, dword [ebp + 0x40]
mov esi, dword [esp + 0xc]
mov dword [eax], 0
mov eax, dword [ebp + 0x3c]
mov dword [eax], 0xc0000229
jmp 0xb857c1
mov ecx, dword [0x10109818]
mov eax, dword [ecx]
call dword [eax + 0xf8]
test eax, eax
je 0xb85019
push 0x100eb484
push 0x100f1eb4
lea eax, [esp + 0x60]
push eax
push 0x100f1c14
push 0x100f1e38
push 0x100dfdac
push 2
lea ecx, [esp + 0x94]
call fcn.00b3a6c0
mov ecx, eax
call fcn.00b3c950
mov ecx, eax
call fcn.00b3c950
mov ecx, eax
call fcn.00b3c840
mov ecx, eax
call fcn.00b3c950
mov ecx, eax
call fcn.00b3c950
lea ecx, [esp + 0x78]
call fcn.00b3c6e0
mov eax, dword [ebp + 0x40]
mov esi, dword [esp + 0xc]
mov dword [eax], 0
mov eax, dword [ebp + 0x3c]
mov dword [eax], 0xc0000033
jmp 0xb857c1
test ebx, 0x40
je 0xb850ab
test dword [esp + 0x4c], 0x10
je 0xb850ab
mov eax, dword [ebp + 0x40]
mov dword [eax], 0
mov eax, dword [ebp + 0x3c]
mov dword [eax], 0xc00000ba
jmp 0xb857b4
cmp ecx, 1
je 0xb852c7
cmp ecx, 3
je 0xb852c7
test ecx, ecx
je 0xb85081
cmp ecx, 4
je 0xb85081
cmp ecx, 5
jne 0xb8563d
mov esi, dword [ebp + 0x30]
mov eax, esi
mov edx, dword [esp + 0x4c]
and eax, 0x40
je 0xb85097
test edx, 0x10
jne 0xb85046
test eax, eax
jne 0xb850c2
test esi, 1
jne 0xb850c2
test edx, 0x10
je 0xb850c2
mov eax, dword [ebp + 0x40]
mov dword [eax], 0
mov eax, dword [ebp + 0x3c]
mov dword [eax], 0xc0000035
jmp 0xb857b4
test ecx, ecx
jne 0xb850e5
test edx, 0x10
je 0xb850e5
mov eax, dword [ebp + 0x40]
mov dword [eax], 0
mov eax, dword [ebp + 0x3c]
mov dword [eax], 0xc000000d
jmp 0xb857b4
test esi, 1
je 0xb850f9
mov ecx, dword [ebp + 0x18]
call fcn.00b77e40
test eax, eax
jne 0xb850ce
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x28]
cmp eax, 3
jne 0xb8519a
lea eax, [esp + 0x50]
push eax
call fcn.00b789a0
add esp, 4
test eax, eax
je 0xb85132
mov ecx, dword [ebp + 0x40]
and eax, 0xefffffff
mov dword [ecx], 0
mov ecx, dword [ebp + 0x3c]
mov dword [ecx], eax
jmp 0xb857b4
lea eax, [esp + 0x44]
push eax
mov eax, dword [edi]
lea ecx, [esp + 0xb5c]
push ecx
mov ecx, edi
call dword [eax + 0x2c]
mov ecx, eax
call fcn.00bb10c0
mov ecx, dword [ebx + 0x138]
lea edx, [esp + 0x44]
push dword [esp + 0x50]
push edx
mov eax, dword [ecx]
lea edx, [esp + 0x1c]
push edx
call dword [eax + 0xa4]
push eax
lea ecx, [esp + 0x10]
call fcn.00b7d7e0
mov eax, dword [esp + 0x14]
test eax, eax
je 0xb85189
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x14], 0
lea ecx, [esp + 0xb58]
call fcn.00bb0fe0
jmp 0xb8523b
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x28]
xor ebx, ebx
cmp eax, 2
lea eax, [esp + 0x28]
push eax
sete bl
push ebx
push dword [ebp + 0x24]
call fcn.00b97b30
add esp, 8
push eax
push ebx
call fcn.00b74e50
add esp, 0xc
test eax, eax
jne 0xb8511a
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x544]
call fcn.00bb10c0
lea eax, [esp + 0xa0]
push eax
lea ecx, [esp + 0x33c]
call fcn.00bb10c0
mov eax, dword [esp + 0x30]
mov ecx, edi
push dword [esp + 0x28]
mov ebx, dword [eax + 0x138]
mov eax, dword [edi]
mov esi, dword [ebx]
call dword [eax + 0x28]
push eax
lea eax, [esp + 0x4c]
mov ecx, ebx
push eax
lea eax, [esp + 0xac]
push eax
lea eax, [esp + 0x24]
push eax
call dword [esi + 0xa8]
push eax
lea ecx, [esp + 0x10]
call fcn.00b7d7e0
mov eax, dword [esp + 0x14]
test eax, eax
je 0xb8523b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [edi]
lea ecx, [esp + 0x14]
push ecx
mov ecx, edi
call dword [eax + 0x38]
xor ebx, ebx
cmp dword [eax], ebx
mov eax, dword [esp + 0x14]
setne bl
test eax, eax
je 0xb8525c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
test ebx, ebx
je 0xb85299
mov eax, dword [edi]
lea ecx, [esp + 0x14]
push ecx
mov ecx, edi
call dword [eax + 0x38]
mov esi, dword [esp + 0xc]
push esi
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0x48]
mov eax, dword [esp + 0x14]
test eax, eax
je 0xb852b4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov edx, dword [ebp + 0x2c]
neg edx
sbb edx, edx
and edx, 3
mov dword [esp + 0x1c], edx
jmp 0xb8563d
lea ecx, [esp + 0x34]
call fcn.00b813b0
mov esi, dword [esp + 0xc]
mov ecx, dword [ebp + 0x14]
push esi
push ecx
lea ecx, [esp + 0x3c]
call fcn.00b7e4e0
mov edx, dword [ebp + 0x2c]
neg edx
sbb edx, edx
and edx, 3
mov dword [esp + 0x1c], edx
jmp 0xb8563d
mov eax, dword [esp + 0x4c]
cmp eax, 0xffffffff
je 0xb852e6
test al, 0x10
je 0xb853f4
mov eax, dword [ebp + 0x40]
mov dword [eax], 1
jmp 0xb857b4
push dword [ebp + 0x38]
mov eax, dword [ebp + 0x30]
push dword [ebp + 0x34]
mov esi, dword [ebx + 0x128]
and eax, 0xffffefff
push eax
push ecx
push dword [ebp + 0x28]
mov dword [esp + 0x30], 0
lea ecx, [esp + 0x8c]
push dword [ebp + 0x24]
mov ebx, dword [esi]
push dword [ebp + 0x20]
call fcn.00bb0bb0
mov ecx, eax
call fcn.00bb0c90
push eax
push dword [ebp + 0x10]
lea eax, [esp + 0x40]
mov ecx, esi
push 0x100001
push eax
call dword [ebx + 0x84]
test eax, eax
je 0xb85358
mov ecx, dword [ebp + 0x40]
mov dword [ecx], 0
mov ecx, dword [ebp + 0x3c]
mov dword [ecx], eax
lea ecx, [esp + 0x1c]
call fcn.00b28460
jmp 0xb857b4
lea ecx, [esp + 0x130]
call fcn.00bb0fd0
mov ebx, dword [esp + 0x30]
lea ecx, [esp + 0x130]
push ecx
push dword [esp + 0x20]
mov ecx, ebx
mov eax, dword [ebx]
call dword [eax + 0x14]
test eax, eax
jne 0xb8539d
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x134]
call fcn.00bb0c90
push eax
call fcn.00b97ba0
add esp, 8
test eax, eax
je 0xb853c5
mov ecx, dword [ebp + 0x40]
mov dword [ecx], 0
mov ecx, dword [ebp + 0x3c]
mov dword [ecx], eax
lea ecx, [esp + 0x130]
call fcn.00bb0fe0
lea ecx, [esp + 0x1c]
call fcn.00b28460
jmp 0xb857b4
test byte [esp + 0x4c], 0x10
lea ecx, [esp + 0x130]
mov eax, 1
mov esi, 0
cmovne esi, eax
call fcn.00bb0fe0
lea ecx, [esp + 0x1c]
call fcn.00b28460
test esi, esi
jne 0xb852d8
mov esi, dword [ebp + 0xc]
push esi
call fcn.00b97fd0
add esp, 4
test eax, eax
jne 0xb85415
push esi
call fcn.00b97f30
add esp, 4
test eax, eax
je 0xb852d8
push dword [ebp + 0x38]
mov eax, dword [ebp + 0x30]
lea ecx, [esp + 0x7c]
push dword [ebp + 0x34]
mov esi, dword [ebx + 0x128]
and eax, 0xffffefff
push eax
push dword [ebp + 0x2c]
push dword [ebp + 0x28]
mov ebx, dword [esi]
push dword [ebp + 0x24]
push dword [ebp + 0x20]
call fcn.00bb0bb0
mov ecx, eax
call fcn.00bb0c90
push eax
push dword [ebp + 0x10]
lea eax, [esp + 0x50]
mov ecx, esi
push 0x100001
push eax
call dword [ebx + 0x84]
mov ecx, eax
test ecx, ecx
jne 0xb85622
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x28]
cmp eax, 3
jne 0xb854f9
lea eax, [esp + 0x50]
push eax
call fcn.00b789a0
add esp, 4
test eax, eax
jne 0xb8511a
lea eax, [esp + 0x44]
push eax
mov eax, dword [edi]
lea ecx, [esp + 0xb5c]
push ecx
mov ecx, edi
call dword [eax + 0x2c]
mov ecx, eax
call fcn.00bb10c0
mov eax, dword [esp + 0x30]
lea edx, [esp + 0x44]
push dword [esp + 0x50]
push edx
mov ecx, dword [eax + 0x138]
lea edx, [esp + 0x1c]
push edx
mov eax, dword [ecx]
call dword [eax + 0xa4]
push eax
lea ecx, [esp + 0x10]
call fcn.00b7d7e0
mov eax, dword [esp + 0x14]
test eax, eax
je 0xb854e8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x14], 0
lea ecx, [esp + 0xb58]
call fcn.00bb0fe0
jmp 0xb8559a
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x28]
xor ebx, ebx
cmp eax, 2
lea eax, [esp + 0x28]
push eax
sete bl
push ebx
push dword [ebp + 0x24]
call fcn.00b97b30
add esp, 8
push eax
push ebx
call fcn.00b74e50
add esp, 0xc
test eax, eax
jne 0xb8511a
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x544]
call fcn.00bb10c0
lea eax, [esp + 0xa0]
push eax
lea ecx, [esp + 0x33c]
call fcn.00bb10c0
mov eax, dword [esp + 0x30]
mov ecx, edi
push dword [esp + 0x28]
mov ebx, dword [eax + 0x138]
mov eax, dword [edi]
mov esi, dword [ebx]
call dword [eax + 0x28]
push eax
lea eax, [esp + 0x4c]
mov ecx, ebx
push eax
lea eax, [esp + 0xac]
push eax
lea eax, [esp + 0x24]
push eax
call dword [esi + 0xa8]
push eax
lea ecx, [esp + 0x10]
call fcn.00b7d7e0
mov eax, dword [esp + 0x14]
test eax, eax
je 0xb8559a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
test dword [ebp + 0x30], 0x1000
mov esi, dword [esp + 0xc]
je 0xb855b0
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax + 0x54]
mov eax, dword [edi]
lea ecx, [esp + 0x14]
push ecx
mov ecx, edi
call dword [eax + 0x38]
xor ebx, ebx
cmp dword [eax], ebx
mov eax, dword [esp + 0x14]
setne bl
test eax, eax
je 0xb855d1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
test ebx, ebx
je 0xb85601
mov eax, dword [edi]
lea ecx, [esp + 0x14]
push ecx
mov ecx, edi
call dword [eax + 0x38]
push esi
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0x48]
mov eax, dword [esp + 0x14]
test eax, eax
je 0xb85618
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x1c], 1
jmp 0xb85641
lea ecx, [esp + 0x34]
call fcn.00b813b0
mov ecx, dword [ebp + 0x14]
push esi
push ecx
lea ecx, [esp + 0x3c]
call fcn.00b7e4e0
mov dword [esp + 0x1c], 1
jmp 0xb85641
mov eax, dword [ebp + 0x40]
mov dword [eax], 0
mov eax, dword [ebp + 0x3c]
mov dword [eax], ecx
jmp 0xb857b4
mov dword [esp + 0x1c], 2
mov esi, dword [esp + 0xc]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], eax
test eax, eax
je 0xb85904
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x20], 0
test ecx, ecx
je 0xb8582f
mov edx, dword [ebp + 0x30]
test edx, 1
jne 0xb84efa
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x64], ecx
add ecx, 2
mov word [esp + 0x64], cx
mov ecx, dword [esp + 0x3c]
sub ecx, 2
mov dword [esp + 0x68], ecx
mov esi, dword [eax]
lea eax, [esp + 0x20]
push eax
push edx
push dword [ebp + 0x28]
push 0
push dword [ebp + 0x24]
call fcn.00b97b30
mov ecx, dword [esp + 0x28]
add esp, 8
push eax
push dword [ebp + 0xc]
lea eax, [esp + 0x78]
push eax
call dword [esi + 0xc]
mov ebx, eax
mov dword [esp + 0x10], ebx
test ebx, ebx
jne 0xb8574f
mov esi, dword [ebp + 0x18]
mov ecx, esi
call fcn.00b77e40
test eax, eax
je 0xb8574f
lea eax, [esp + 0x78]
mov ecx, esi
push eax
call fcn.00b77c60
mov ecx, esi
mov eax, dword [eax + 4]
push eax
lea eax, [esp + 0xac]
push eax
call fcn.00b77950
lea ecx, [esp + 0x6c]
push dword [eax + 4]
push dword [eax]
call fcn.00bb0c70
mov esi, dword [esp + 0x28]
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x70]
mov ebx, dword [esi]
call fcn.00bb0c90
push eax
mov ecx, esi
call dword [ebx + 0x18]
test eax, eax
jne 0xb8574b
mov eax, dword [esp + 0x3c]
test al, 0x20
jne 0xb8574b
mov esi, dword [esp + 0x28]
lea ecx, [esp + 0x6c]
or eax, 0x20
mov dword [esp + 0x3c], eax
push eax
mov ebx, dword [esi]
call fcn.00bb0c90
push eax
mov ecx, esi
call dword [ebx + 0x1c]
mov ebx, dword [esp + 0x10]
cmp dword [esp + 0x2c], 0
je 0xb8578a
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x10]
mov dword [esp + 0x10], 0
push edx
mov eax, dword [ecx]
call dword [eax + 0xc]
push dword [esp + 0x10]
push dword [esp + 0x30]
call fcn.00b98190
mov eax, dword [esp + 0x18]
add esp, 8
test eax, eax
je 0xb8578a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
test ebx, ebx
je 0xb8588a
mov eax, dword [ebp + 0x40]
and ebx, 0xefffffff
mov dword [eax], 0
mov eax, dword [ebp + 0x3c]
mov dword [eax], ebx
mov eax, dword [esp + 0x20]
test eax, eax
je 0xb857b4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, dword [esp + 0xc]
lea ecx, [esp + 0x2c]
call fcn.00b28460
lea ecx, [esp + 0x540]
call fcn.00bb0fe0
lea ecx, [esp + 0x338]
call fcn.00bb0fe0
test esi, esi
je 0xb857e3
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov eax, dword [esp + 0x50]
test eax, eax
je 0xb857f9
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x50], 0
mov eax, dword [esp + 0x28]
test eax, eax
je 0xb8580f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x28], 0
lea ecx, [esp + 0x34]
call fcn.00b7d390
test edi, edi
je 0xb85aeb
mov eax, dword [edi]
push edi
call dword [eax + 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x40
push 0x100e03dc
lea ecx, [esp + 0x7c]
call fcn.00bb0c30
mov ecx, eax
call fcn.00bb0c90
mov esi, dword [esp + 0x28]
mov ecx, dword [eax]
mov dword [esp + 0x64], ecx
lea ecx, [esp + 0xa8]
mov eax, dword [eax + 4]
mov dword [esp + 0x68], eax
lea eax, [esp + 0x20]
mov ebx, dword [esi]
push eax
push dword [ebp + 0x30]
push dword [ebp + 0x28]
push dword [ebp + 0xc]
push 0x100e03dc
call fcn.00bb0c30
mov ecx, eax
call fcn.00bb0c90
push eax
mov ecx, esi
call dword [ebx + 0x10]
mov ebx, eax
jmp 0xb8574f
mov ebx, dword [ebp + 0x30]
lea eax, [esp + 0x64]
mov esi, dword [esp + 0xc]
push ebx
push dword [ebp + 0xc]
push dword [esp + 0x28]
push eax
lea eax, [esp + 0x84]
push esi
push eax
call fcn.00ba3c20
add esp, 0x18
mov eax, dword [eax]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x3c], eax
test eax, eax
je 0xb858c3
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x1c]
call fcn.00b7d7e0
mov eax, dword [esp + 0x6c]
test eax, eax
je 0xb858df
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x74]
test eax, eax
je 0xb858ed
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x20]
test eax, eax
je 0xb859ea
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0xb859ea
mov ecx, dword [esp + 0x50]
test ecx, ecx
je 0xb859e6
mov ebx, dword [ebp + 0x30]
test ebx, 1
jne 0xb84efa
mov dword [esp + 0x10], 0
lea edx, [esp + 0x10]
mov eax, dword [ecx]
push edx
call dword [eax + 0xc]
test eax, eax
je 0xb85951
mov ecx, dword [ebp + 0x40]
and eax, 0xefffffff
mov dword [ecx], 0
mov ecx, dword [ebp + 0x3c]
mov dword [ecx], eax
mov eax, dword [esp + 0x10]
jmp 0xb857aa
push ebx
push dword [ebp + 0xc]
lea eax, [esp + 0x74]
push dword [esp + 0x18]
push esi
push eax
call fcn.00ba52d0
add esp, 0x14
mov esi, dword [eax]
mov dword [esp + 0x3c], esi
test esi, esi
je 0xb85977
mov eax, dword [esi]
push esi
call dword [eax + 4]
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x1c]
call fcn.00b7d7e0
test esi, esi
je 0xb8598f
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov eax, dword [esp + 0x6c]
test eax, eax
je 0xb8599d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [esp + 0x2c], 0
je 0xb859d8
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x20]
mov dword [esp + 0x20], 0
push edx
mov eax, dword [ecx]
call dword [eax + 0xc]
push dword [esp + 0x20]
push dword [esp + 0x30]
call fcn.00b98190
mov eax, dword [esp + 0x28]
add esp, 8
test eax, eax
je 0xb859d8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x10]
test eax, eax
je 0xb859e6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, dword [esp + 0xc]
mov ebx, dword [esp + 0x30]
lea ecx, [esp + 0x3c]
push dword [ebx + 0x138]
call fcn.00b970c0
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0
push eax
push dword [ebp + 0x10]
mov ecx, ebx
call fcn.00b81950
test eax, eax
jne 0xb85aab
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ebx, eax
mov eax, dword [ebp + 0x14]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0xc]
cmp eax, ebx
jne 0xb85aab
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0xb85a46
mov eax, dword [ecx]
push dword [esp + 0x38]
call dword [eax + 0x48]
mov eax, dword [esp + 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
lea ecx, [esp + 0x3c]
call fcn.00b970f0
test dword [ebp + 0xc], 0x100000
je 0xb85a72
test dword [ebp + 0x30], 0x30
jne 0xb85a72
mov eax, 1
jmp 0xb85a74
xor eax, eax
mov ecx, dword [esp + 0x30]
push eax
push dword [esp + 0x1c]
call fcn.00b81080
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov ecx, dword [ebp + 0x1c]
mov eax, dword [esp + 0x1c]
mov dword [ecx + 4], eax
mov eax, dword [ebp + 0x40]
mov dword [ecx], 0
mov dword [eax], 0
mov eax, dword [ebp + 0x3c]
mov dword [eax], 0
jmp 0xb85acb
mov eax, dword [ebp + 0x44]
mov dword [eax], 1
mov eax, dword [esp + 0x10]
test eax, eax
je 0xb85ac2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [esp + 0x3c]
call fcn.00b970f0
mov eax, dword [esp + 0x18]
test eax, eax
je 0xb857b8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0xb857b8
mov eax, dword [ebp + 0x40]
mov dword [eax], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x40