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

Disassembly:
sub esp, 0x54c
push ebx
push ebp
push esi
push edi
lea ecx, [esp + 0x4d0]
call fcn.00411ab0
lea ecx, [esp + 0x4f8]
call fcn.00455fb0
lea eax, [esp + 0x4f8]
push eax
lea ecx, [esp + 0x508]
call fcn.00470950
mov ebx, dword [esp + 0x568]
mov edx, dword [ebx]
mov esi, dword [esp + 0x560]
mov ecx, dword [ebx + 8]
mov dword [esp + 0x2c], edx
mov edx, dword [esi + 0x204]
mov dword [esp + 0x40], edx
xor edx, edx
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], edx
mov dword [esp + 0x60], edx
xor eax, eax
mov dword [esp + 0x34], ecx
mov ecx, dword [ebx + 4]
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], edx
mov edx, dword [esi + 0x778]
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x580]
mov ebp, ecx
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x578]
and ebp, 1
cmp edx, eax
mov dword [esp + 0x514], eax
mov dword [esp + 0x544], eax
mov dword [esp + 0x548], eax
mov dword [esp + 0x54c], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x3c], eax
mov dword [esi + 0x60c], 0x5e9e44
mov dword [esi + 0x78c], eax
jne 0x46f00c
test cl, 0x20
je 0x46f014
mov dword [esp + 0x24], 0xffffffff
mov edi, dword [esp + 0x564]
push edi
call fcn.00458c70
add esp, 4
test eax, eax
jne 0x47092c
push 1
lea eax, [esp + 0x30]
push eax
push 1
push ebx
push edi
push esi
call fcn.00458b40
add esp, 0x18
test eax, eax
jne 0x47092c
lea ecx, [esp + 0x56c]
push ecx
push edi
push esi
call fcn.00459070
add esp, 0xc
test eax, eax
jne 0x47092c
mov edx, dword [esp + 0x570]
push edx
lea eax, [esp + 0x30]
push eax
push ebx
push edi
push esi
call fcn.0047a050
add esp, 0x14
test eax, eax
jne 0x47092c
mov edx, dword [esp + 0x574]
lea ecx, [esp + 0x50]
push ecx
push edx
lea eax, [esp + 0x34]
push eax
push ebx
push edi
push esi
call fcn.0047a1e0
add esp, 0x18
test eax, eax
jne 0x47092c
mov ebx, dword [esp + 0x578]
test ebx, ebx
je 0x46f0f8
push edi
mov dword [esi + 0x650], 0x5f042c
mov dword [esi + 0x800], 1
mov edx, dword [ebx]
push esi
mov ecx, ebx
call dword [edx + 4]
test eax, eax
jne 0x46f42f
mov eax, dword [esi + 0x808]
test eax, eax
jne 0x46f42f
mov al, byte [ebx + 0x26]
test al, al
je 0x46f0f8
mov eax, dword [ebx]
lea ecx, [esp + 0x2c]
push ecx
mov ecx, ebx
call dword [eax + 0x68]
push esi
call fcn.00459b90
add esp, 4
test eax, eax
jne 0x46f42f
cmp dword [esp + 0x574], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x84], eax
jne 0x46f16d
mov edx, dword [esp + 0x568]
mov esi, dword [edx]
mov ecx, dword [esi + 4]
xor ebx, ebx
test ecx, ecx
je 0x46f16d
mov al, byte [ecx + 0x26]
test al, al
je 0x46f13b
or ebx, 1
jmp 0x46f14c
test bl, 2
jne 0x46f14c
mov eax, dword [ecx]
call dword [eax + 0x5c]
test eax, eax
jne 0x46f14c
or ebx, 2
mov esi, dword [esi]
mov ecx, dword [esi + 4]
test ecx, ecx
jne 0x46f12f
cmp ebx, 3
jne 0x46f16d
push ecx
push 0x474
call fcn.004c6390
add esp, 8
jmp 0x46f42f
test edi, edi
mov eax, edi
je 0x46f180
inc dword [esp + 0x84]
mov eax, dword [eax]
test eax, eax
jne 0x46f173
mov edx, dword [esp + 0x568]
mov ebx, dword [esp + 0x584]
mov eax, dword [esp + 0x57c]
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x564]
push edx
push ebx
push eax
push ecx
call fcn.00441e60
mov esi, eax
mov eax, dword [esp + 0x24]
add esp, 0x14
test eax, eax
mov dword [esp + 0x18], esi
jne 0x46f42f
test esi, esi
je 0x46f250
mov edx, dword [esi + 0x14]
mov ecx, dword [esp + 0x568]
push edx
mov edx, dword [esp + 0x564]
lea eax, [esp + 0x30]
push eax
push ecx
push edi
push edx
call fcn.0047a330
add esp, 0x14
test eax, eax
jne 0x46f427
mov eax, dword [esi + 0x10]
test eax, eax
je 0x46f229
mov ecx, dword [esp + 0x574]
push ecx
push eax
call fcn.0047a5a0
add esp, 8
test eax, eax
jne 0x46f229
push eax
push str.Cant_handle_procedures_with_differents_groups_yet
push eax
call fcn.004c6540
mov edx, dword [esi]
add esp, 0xc
push 1
mov ecx, esi
call dword [edx]
jmp 0x46f42f
mov eax, dword [esp + 0x570]
test eax, eax
je 0x46f250
test byte [esi + 0xc], 1
je 0x46f250
push 0
push str.Cant_use_order_with_this_procedure
push 0
call fcn.004c6540
add esp, 0xc
jmp 0x46f427
mov eax, dword [esp + 0x560]
mov ecx, dword [eax + 0x634]
mov edx, dword [esp + 0x580]
mov dword [esp + 0x4e0], eax
xor eax, eax
push eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x518], eax
mov dword [esp + 0x4e8], eax
mov dword [esp + 0xc0], eax
mov dword [esp + 0xbc], eax
mov dword [esp + 0xb8], eax
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], eax
lea eax, [esp + 0x30]
mov dword [esp + 0x55c], ecx
push eax
lea ecx, [esp + 0x500]
push ecx
mov dword [esp + 0x53c], 0xffffffff
mov dword [esp + 0x4fc], edx
mov dword [esp + 0x500], ebx
call fcn.0047a4f0
mov ecx, dword [esp + 0x580]
xor eax, eax
xor edx, edx
add esp, 0xc
cmp ecx, eax
setne dl
cmp ebp, eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x4ec], eax
mov dword [esp + 0xa4], 1
mov dword [esp + 0x9c], edx
jne 0x46f333
mov eax, dword [esp + 0x570]
test eax, eax
jne 0x46f333
mov eax, ecx
test eax, eax
jne 0x46f333
mov eax, dword [esp + 0x560]
mov ecx, dword [eax + 0x778]
mov dword [esp + 0xc0], ecx
jmp 0x46f33e
mov dword [esp + 0xc0], 0xffffffff
test esi, esi
jne 0x46f369
mov eax, dword [esp + 0x568]
mov edx, dword [ebx]
push eax
mov ecx, ebx
call dword [edx + 4]
test eax, eax
je 0x46f369
mov ecx, dword [esp + 0x514]
test ecx, ecx
je 0x47093e
jmp 0x470937
mov edx, dword [esp + 0x56c]
lea ecx, [esp + 0x54]
push ecx
push edx
call fcn.00474ac0
mov ecx, dword [esp + 0x568]
mov edx, dword [ecx + 0x808]
add esp, 8
test edx, edx
mov dword [esp + 0x56c], eax
je 0x46f3c1
test esi, esi
je 0x46f3a2
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx]
mov ecx, dword [esp + 0x514]
test ecx, ecx
je 0x46f3b4
push 3
call fcn.0042a110
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x54c
ret
cmp dword [esp + 0x54], 3
je 0x4708cb
mov ecx, dword [esp + 0x560]
mov edx, dword [ecx + 0x778]
test edx, edx
je 0x4708cb
test edi, edi
je 0x46f4b3
mov ecx, dword [esp + 0x538]
test ecx, ecx
je 0x46f56d
mov ecx, dword [esp + 0x574]
test ecx, ecx
jne 0x46f56d
push eax
lea edx, [esp + 0x30]
push edx
push edi
call fcn.00441170
add esp, 0xc
test eax, eax
je 0x46f56d
cmp eax, 1
jle 0x46f443
test esi, esi
je 0x46f42f
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
mov ecx, dword [esp + 0x514]
test ecx, ecx
je 0x47093e
jmp 0x470937
test eax, eax
jge 0x46f48a
mov ecx, dword [esp + 0x578]
mov edx, dword [esp + 0x580]
mov eax, dword [esp + 0x568]
push esi
push ecx
push str.No_matching_min_max_row
push edx
push 1
push eax
push edi
lea ecx, [esp + 0x88]
push ebx
push ecx
call fcn.00474980
add esp, 0x24
test esi, esi
mov dword [esp + 0x10], eax
je 0x46f54a
jmp 0x46f542
test byte [esp + 0x580], 4
je 0x46f4b3
lea eax, [esp + 0x6c]
push str.Select_tables_optimized_away
push eax
call fcn.0047c140
add esp, 8
test esi, esi
je 0x46f54a
jmp 0x46f542
test byte [esp + 0x580], 4
mov dword [esp + 0x10], 0
je 0x46f4d9
lea eax, [esp + 0x6c]
push str.No_tables_used
push eax
call fcn.0047c140
add esp, 8
jmp 0x46f53e
mov edi, dword [esp + 0x568]
mov edx, dword [ebx]
push 1
push edi
mov ecx, ebx
call dword [edx + 8]
mov ecx, dword [esp + 0x578]
test ecx, ecx
je 0x46f507
mov eax, dword [ecx]
call dword [eax + 0x28]
or eax, edx
jne 0x46f507
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0x18]
jmp 0x46f53a
mov eax, dword [esp + 0xa4]
test eax, eax
je 0x46f533
mov eax, dword [ebx]
push edi
mov ecx, ebx
call dword [eax + 0xc]
test eax, eax
je 0x46f533
mov edx, dword [ebx]
push 0
push 0
mov ecx, ebx
call dword [edx + 0x14]
mov dword [esp + 0x10], 1
jmp 0x46f53e
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x18]
mov dword [esp + 0x10], eax
test esi, esi
je 0x46f54a
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx]
mov ecx, dword [esp + 0x514]
test ecx, ecx
mov esi, dword [esp + 0x10]
je 0x46f560
push 3
call fcn.0042a110
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x54c
ret
mov eax, dword [esp + 0x574]
mov ecx, dword [esp + 0x570]
push edi
push eax
push ecx
mov dword [esp + 0x1c], 0xffffffff
call fcn.0047a5f0
mov ecx, dword [esp + 0x578]
mov edx, dword [esp + 0x56c]
mov dword [esp + 0x8c], eax
lea eax, [esp + 0x64]
push eax
push ecx
mov dword [edx + 0x60c], 0x5f0380
lea edx, [esp + 0x80]
push edi
push edx
call fcn.00470970
add esp, 0x1c
test eax, eax
jne 0x4707b9
mov eax, dword [esp + 0x560]
mov ecx, dword [eax + 0x808]
test ecx, ecx
jne 0x4707b9
test ebp, ebp
mov ecx, eax
mov dword [ecx + 0x60c], 0x5f0374
je 0x46f606
mov edx, dword [esp + 0x88]
cmp edx, dword [esp + 0x84]
mov dword [esp + 0x14], 1
jne 0x46f60e
mov dword [esp + 0x14], 0
mov ecx, dword [esp + 0x584]
mov eax, dword [ecx]
lea edx, [esp + 0x6c]
push edx
call dword [eax + 0x10]
test eax, eax
jne 0x4707b9
mov ecx, dword [esp + 0xac]
mov eax, dword [esp + 0xa8]
cmp eax, ecx
mov ecx, dword [esp + 0x580]
je 0x46f69f
test cl, 4
jne 0x46f69f
mov eax, dword [esp + 0x538]
test eax, eax
je 0x46f662
mov eax, dword [esp + 0x574]
test eax, eax
jne 0x46f662
mov eax, 1
jmp 0x46f664
xor eax, eax
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x578]
push ecx
mov ecx, dword [esp + 0x588]
push edx
push str.no_matching_row_in_const_table
push 0
push eax
mov eax, dword [esp + 0x57c]
push eax
push edi
push ecx
lea edx, [esp + 0x8c]
push edx
call fcn.00474980
add esp, 0x24
jmp 0x4707b5
mov ebx, dword [esp + 0x560]
mov eax, dword [ebx + 0x79c]
test ah, 4
jne 0x46f704
mov eax, dword [ebx + 0x514]
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], 0
fild qword [esp + 0x44]
fcomp qword [esp + 0x4c4]
fnstsw ax
test ah, 1
je 0x46f704
test cl, 4
jne 0x46f704
mov eax, dword [0x626f14]
mov eax, dword [eax + 0x1a0]
mov ecx, dword [esp + 0x584]
mov edx, dword [ecx]
push eax
push 0x450
call dword [edx + 0x14]
mov dword [esp + 0x10], 1
jmp 0x4707b9
mov eax, dword [esp + 0x88]
test eax, eax
je 0x46f773
mov edx, dword [ebx + 0x638]
test edx, edx
jne 0x46f773
test ecx, 0x80000000
jne 0x46f773
mov esi, dword [esp + 0x78]
lea ebp, [esi + eax*4]
cmp esi, ebp
je 0x46f768
mov eax, dword [esi]
mov cl, byte [eax + 0x114]
test cl, cl
je 0x46f74d
mov byte [eax + 0x114], 0
mov ecx, dword [esi]
mov ecx, dword [ecx]
mov edx, dword [ecx]
push 8
call dword [edx + 0x9c]
mov eax, dword [esi]
mov ecx, dword [eax]
mov edx, dword [ecx]
call dword [edx + 0x2c]
add esi, 4
cmp esi, ebp
jne 0x46f72c
mov eax, dword [esp + 0x88]
mov esi, dword [esp + 0x78]
push eax
push esi
push ebx
call fcn.0042d6e0
add esp, 0xc
mov esi, dword [esp + 0x56c]
test esi, esi
jne 0x46f7c3
mov eax, dword [esp + 0xb0]
test eax, eax
je 0x46f7c3
push 0x30
call fcn.004965e0
mov esi, eax
add esp, 4
test esi, esi
je 0x46f7ba
mov ecx, esi
call fcn.00418770
mov eax, 1
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], 0
mov dword [esi], 0x5ac128
mov dword [esi + 0x1c], eax
jmp 0x46f7bc
xor esi, esi
mov dword [esp + 0x56c], esi
mov ecx, dword [esp + 0x78]
mov edx, dword [ecx]
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0xac]
push esi
push eax
push eax
push edx
call fcn.0043c730
mov ecx, dword [esp + 0x24]
add esp, 0x14
test ecx, ecx
mov dword [esp + 0x4c], eax
je 0x46f7fa
mov dword [esp + 0x10], 0xffffffff
jmp 0x4707b9
mov ecx, dword [esp + 0x56c]
push ecx
push eax
lea edx, [esp + 0x74]
push edx
call fcn.00473ac0
add esp, 0xc
test eax, eax
je 0x46f874
mov eax, dword [esp + 0x538]
test eax, eax
je 0x46f831
mov eax, dword [esp + 0x574]
test eax, eax
jne 0x46f831
mov eax, 1
jmp 0x46f833
xor eax, eax
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x578]
push ecx
mov ecx, dword [esp + 0x584]
push edx
mov edx, dword [esp + 0x570]
push str.Impossible_WHERE_noticed_after_reading_const_tables
push ecx
push eax
mov eax, dword [esp + 0x598]
push edx
push edi
push eax
lea ecx, [esp + 0x8c]
push ecx
call fcn.00474980
add esp, 0x24
jmp 0x4707b5
mov eax, dword [esp + 0x56c]
mov esi, dword [esp + 0x570]
lea edx, [esp + 0x28]
push edx
push eax
lea ecx, [esp + 0x74]
push esi
push ecx
mov dword [esp + 0x20], 0xffffffff
call fcn.00474650
add esp, 0x10
test eax, eax
mov dword [esp + 0x570], eax
jne 0x46f8b5
test esi, esi
je 0x46f8b5
mov dword [esp + 0x20], 1
mov ebx, dword [esp + 0x574]
test ebx, ebx
jne 0x46f9e3
mov eax, dword [esp + 0x538]
test eax, eax
jne 0x46f9e3
mov eax, dword [esp + 0x14]
test eax, eax
je 0x46f9f3
mov edx, dword [esp + 0x84]
mov esi, dword [esp + 0x88]
sub edx, esi
cmp edx, 1
jne 0x46f9f3
mov edx, dword [esp + 0x6c]
lea eax, [esi + esi*8]
lea esi, [esi + eax*2]
mov eax, dword [esp + 0x570]
shl esi, 4
add esi, edx
test eax, eax
je 0x46f929
mov ebp, dword [esp + 0x24]
push 1
push ebp
push eax
push esi
call fcn.00478c40
add esp, 0x10
mov dword [esp + 0x20], eax
jmp 0x46f92d
mov ebp, dword [esp + 0x24]
mov edx, dword [esp + 0x568]
mov eax, dword [esp + 0x570]
mov edi, dword [esp + 0x560]
lea ecx, [esp + 0x44]
push ecx
push edx
push eax
push edi
call fcn.0047a3f0
mov ebx, eax
add esp, 0x10
test ebx, ebx
je 0x46f9d4
mov edi, dword [esp + 0x20]
test edi, edi
je 0x46f979
push 1
push ebp
push ebx
push esi
call fcn.00478c40
add esp, 0x10
test eax, eax
je 0x46f979
mov eax, dword [esp + 0x44]
test eax, eax
jne 0x46f993
cmp ebp, 0xffffffff
je 0x46f993
mov eax, dword [esp + 0x570]
xor esi, esi
cmp eax, esi
je 0x46f98f
cmp edi, esi
je 0x46f99c
xor ebx, ebx
jmp 0x46f9f3
mov eax, dword [esp + 0x570]
xor esi, esi
xor ecx, ecx
cmp eax, esi
sete cl
mov dword [esp + 0x14], esi
mov dword [esp + 0x3c], ecx
cmp dword [esp + 0x44], esi
je 0x46f9c7
cmp eax, esi
je 0x46f9c0
cmp edi, esi
je 0x46f9c0
mov dword [esp + 0x550], esi
mov dword [esp + 0x570], esi
mov dword [esp + 0x9c], 1
jmp 0x46f9f3
mov eax, dword [edi + 0x808]
test eax, eax
je 0x46f9f3
jmp 0x4707b9
mov eax, dword [esp + 0x50]
test eax, eax
jne 0x46f9f3
mov dword [esp + 0x14], 0
mov eax, dword [esp + 0x56c]
lea edx, [esp + 0x1c]
push edx
push eax
lea ecx, [esp + 0x74]
push ebx
push ecx
call fcn.00474650
mov ebx, eax
xor edi, edi
add esp, 0x10
cmp ebx, edi
mov dword [esp + 0x574], ebx
jne 0x46fa39
cmp dword [esp + 0x9c], edi
je 0x46fa39
xor ebp, ebp
mov dword [esp + 0x570], ebp
mov dword [esp + 0x28], 1
jmp 0x46fa40
mov ebp, dword [esp + 0x570]
lea edx, [esp + 0x6c]
push ebx
push edx
call fcn.0047a690
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x54c]
add esp, 8
cmp esi, edi
mov dword [esp + 0x8c], eax
je 0x46fa9d
mov eax, dword [esi + 0x10]
cmp eax, edi
je 0x46fa9d
mov edx, dword [esp + 0x56c]
lea ecx, [esp + 0x1c]
push ecx
push edx
push eax
lea eax, [esp + 0x78]
push eax
call fcn.00474650
mov ebx, eax
lea ecx, [esp + 0x7c]
push ebx
push ecx
mov dword [esi + 0x10], eax
mov dword [esp + 0x58c], ebx
call fcn.0047a690
add esp, 0x18
push ebp
push ebx
call fcn.0047a5a0
add esp, 8
test eax, eax
jne 0x46fab8
cmp ebx, edi
jne 0x46fac1
cmp dword [esp + 0x538], edi
je 0x46fac1
xor ebp, ebp
mov dword [esp + 0x570], ebp
cmp dword [esp + 0x98], edi
je 0x46fada
cmp ebx, edi
je 0x46fad2
mov dword [esp + 0x1c], edi
cmp ebp, edi
je 0x46fada
mov dword [esp + 0x28], edi
mov edx, dword [esp + 0x88]
cmp edx, dword [esp + 0x84]
je 0x46fb16
cmp dword [esp + 0x14], edi
jne 0x46fb11
cmp dword [esp + 0x28], edi
je 0x46fb11
cmp dword [esp + 0x1c], edi
je 0x46fb11
cmp ebx, edi
je 0x46fb04
cmp ebp, edi
jne 0x46fb11
test dword [esp + 0x580], 0x40000
je 0x46fb16
mov edi, 1
mov eax, dword [esp + 0x40]
mov ecx, dword [eax + 0xb0]
mov edx, dword [esp + 0x580]
neg ecx
sbb ecx, ecx
and ecx, 0x100
and edx, 0x104
or ecx, edx
push ecx
lea eax, [esp + 0x70]
push eax
call fcn.00474050
add esp, 8
test edi, edi
jne 0x46fb5f
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x46fb5f
test ebx, ebx
jne 0x46fb5f
test ebp, ebp
je 0x46fc27
mov ecx, dword [esp + 0x88]
cmp ecx, dword [esp + 0x84]
mov ebp, ecx
jae 0x46fbb3
lea edx, [ecx + ecx*8]
lea esi, [ecx + edx*2]
shl esi, 4
mov ebx, 0xc
mov eax, dword [esp + 0x6c]
mov eax, dword [esi + eax]
cmp dword [eax + 0xc8], ebx
jne 0x46fba1
mov ecx, dword [eax]
mov edx, dword [ecx]
push 0x1b
call dword [edx + 0x9c]
mov ecx, dword [esp + 0x88]
mov eax, dword [esp + 0x84]
inc ebp
add esi, 0x130
cmp ebp, eax
jb 0x46fb7f
mov eax, dword [esp + 0x570]
test eax, eax
jne 0x46fbc9
mov eax, dword [esp + 0x574]
test eax, eax
je 0x46fc2e
lea eax, [ecx + ecx*8]
lea edx, [ecx + eax*2]
mov eax, dword [esp + 0x6c]
shl edx, 4
add edx, eax
mov eax, dword [edx + 0xc4]
cmp eax, 6
je 0x46fc2e
cmp eax, 9
je 0x46fc2e
mov eax, dword [esp + 0x570]
test eax, eax
je 0x46fbfb
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x46fc0e
mov ebp, dword [esp + 0x574]
test ebp, ebp
je 0x46fc35
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x46fc35
mov ecx, dword [esp + 0x560]
push edx
push ecx
call fcn.0047afe0
add esp, 8
test eax, eax
jne 0x4707b9
mov ecx, dword [esp + 0x88]
mov ebp, dword [esp + 0x574]
mov bl, byte [esp + 0x580]
test bl, 0x10
jne 0x46fcb6
test ebp, ebp
je 0x46fc8a
cmp ecx, dword [esp + 0x84]
je 0x46fc8a
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x46fc92
mov edx, dword [esp + 0x560]
mov eax, dword [edx + 0x778]
push 0
push eax
lea edx, [ecx + ecx*8]
lea eax, [ecx + edx*2]
mov ecx, dword [esp + 0x74]
shl eax, 4
add eax, ecx
push ebp
push eax
call fcn.00478c40
mov ecx, dword [esp + 0x98]
add esp, 0x10
test eax, eax
je 0x46fc92
mov eax, dword [esp + 0x14]
test eax, eax
je 0x46fcb6
mov eax, dword [esp + 0x550]
test eax, eax
je 0x46fcb6
mov esi, dword [esp + 0x18]
xor eax, eax
cmp esi, eax
jne 0x46fcba
mov edi, 1
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], eax
jmp 0x46fcba
mov esi, dword [esp + 0x18]
test bl, 4
je 0x46fd78
mov eax, dword [esp + 0x570]
test eax, eax
jne 0x46fcf9
mov eax, dword [esp + 0x3c]
test eax, eax
jne 0x46fd53
mov eax, dword [esp + 0x20]
test eax, eax
je 0x46fce2
test edi, edi
jne 0x46fd53
mov edx, dword [esp + 0x1c]
xor esi, esi
test ebp, ebp
mov dword [esp + 0x570], ebp
mov dword [esp + 0x28], edx
je 0x46fd53
jmp 0x46fcfd
mov esi, dword [esp + 0x20]
cmp ecx, dword [esp + 0x84]
je 0x46fd53
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x46fd12
test esi, esi
je 0x46fd3d
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x570]
mov ebp, dword [esp + 0x6c]
push 0
push eax
lea eax, [ecx + ecx*8]
lea ecx, [ecx + eax*2]
shl ecx, 4
push edx
add ecx, ebp
push ecx
call fcn.00478c40
add esp, 0x10
test eax, eax
jne 0x46fd53
mov eax, dword [esp + 0x570]
test eax, eax
je 0x46fd53
test esi, esi
jne 0x46fd53
mov eax, 1
jmp 0x46fd55
xor eax, eax
mov edx, dword [esp + 0x14]
push 0
push edx
push eax
lea eax, [esp + 0x78]
push edi
push eax
call fcn.0047b230
add esp, 0x14
mov dword [esp + 0x10], 0
jmp 0x4707b9
mov eax, dword [esp + 0x570]
mov ebx, dword [esp + 0x560]
xor ecx, ecx
test eax, eax
setne cl
push ecx
push ebx
call fcn.00459c10
add esp, 8
test edi, edi
je 0x470423
mov eax, dword [esp + 0x568]
mov edx, dword [esp + 0x34]
mov dword [ebx + 0x60c], 0x5f030c
mov ecx, dword [eax + 8]
mov eax, dword [esp + 0x570]
sub edx, ecx
test eax, eax
mov dword [esp + 0x540], edx
je 0x46fdd3
mov eax, dword [esp + 0x20]
test eax, eax
je 0x46fde1
cmp dword [esp + 0x24], 0xffffffff
je 0x46fde1
mov edx, 1
jmp 0x46fde3
xor edx, edx
test ebp, ebp
mov eax, dword [esp + 0x1c]
je 0x46fdf6
test eax, eax
je 0x46fdf6
mov ecx, 1
jmp 0x46fdf8
xor ecx, ecx
test eax, eax
jne 0x46fe0d
test esi, esi
jne 0x46fe0d
test byte [0x6277bc], 2
jne 0x46fe0d
mov eax, ebp
jmp 0x46fe0f
xor eax, eax
mov esi, dword [esp + 0x4f0]
mov ebx, dword [esp + 0x574]
push esi
mov esi, dword [esp + 0x18]
push edx
push ecx
xor ecx, ecx
test ebx, ebx
setne cl
lea edx, [esp + 0x38]
dec ecx
and ecx, esi
mov esi, dword [esp + 0x56c]
push ecx
push eax
push edx
lea eax, [esp + 0x510]
push eax
push esi
call fcn.00475b40
mov ebp, eax
add esp, 0x20
test ebp, ebp
mov dword [esp + 0x38], ebp
je 0x4707b9
mov eax, dword [esp + 0x578]
test eax, eax
je 0x46fe86
mov ecx, dword [esp + 0x90]
test ecx, ecx
jne 0x46fe7f
mov cl, byte [ebp + 0x111]
test cl, cl
je 0x46fe86
test ebx, ebx
jne 0x46fe8e
mov dword [esp + 0x4ec], eax
test ebx, ebx
je 0x46ffc7
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x46ffc7
mov eax, dword [esp + 0x88]
lea ecx, [eax + eax*8]
push 0xffffffffffffffff
lea edx, [eax + ecx*2]
mov eax, dword [esp + 0x70]
push 0xffffffffffffffff
shl edx, 4
add edx, eax
push ebx
push edx
mov dword [esi + 0x60c], 0x5f02f8
call fcn.00479190
add esp, 0x10
test eax, eax
jne 0x4707b9
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x70]
push ecx
call fcn.0047ac50
add esp, 8
test eax, eax
jne 0x4707b9
lea edx, [esp + 0x6c]
push ebx
push edx
call fcn.0047a760
add esp, 8
test eax, eax
jne 0x4707b9
xor ebx, ebx
mov dword [esp + 0x574], ebx
mov edi, dword [esp + 0x570]
mov al, byte [ebp + 0x111]
test al, al
je 0x47005d
mov eax, dword [esp + 0x84]
mov edx, dword [esi + 0x78c]
lea ecx, [eax + eax*8]
lea eax, [eax + ecx*2]
mov ecx, dword [esp + 0x6c]
shl eax, 4
mov esi, dword [eax + ecx - 0x130]
test dword [esi + 0x194], edx
lea eax, [eax + ecx - 0x130]
jne 0x46ff71
mov dword [eax + 0xd0], 1
mov ecx, dword [esp + 0x6c]
mov esi, eax
sub eax, 0x130
cmp esi, ecx
je 0x46ff71
mov esi, dword [eax]
test dword [esi + 0x194], edx
je 0x46ff4e
test edi, edi
je 0x470056
mov eax, dword [esp + 0x20]
test eax, eax
je 0x470056
mov esi, dword [esp + 0x560]
mov edx, dword [esi + 0x778]
mov eax, dword [esp + 0x88]
push 0
push edx
lea edx, [eax + eax*8]
lea eax, [eax + edx*2]
shl eax, 4
add eax, ecx
push edi
push eax
call fcn.00478c40
add esp, 0x10
test eax, eax
je 0x47005d
xor edi, edi
mov dword [esp + 0x570], edi
jmp 0x47005d
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x70]
push ecx
call fcn.0047ac50
add esp, 8
test eax, eax
jne 0x4707b9
test ebx, ebx
jne 0x46ff09
mov al, byte [ebp + 0x111]
test al, al
jne 0x46ff09
mov edi, dword [esp + 0x570]
test edi, edi
je 0x46ff10
mov eax, dword [esp + 0x28]
test eax, eax
je 0x46ff10
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x6c]
lea edx, [eax + eax*8]
push 0xffffffffffffffff
lea eax, [eax + edx*2]
push 0xffffffffffffffff
shl eax, 4
add eax, ecx
push edi
push eax
mov dword [esi + 0x60c], 0x5f02e4
call fcn.00479190
add esp, 0x10
test eax, eax
jne 0x4707b9
xor edi, edi
mov dword [esp + 0x570], edi
jmp 0x46ff10
mov esi, dword [esp + 0x560]
push 0
push ebp
lea ecx, [esp + 0x74]
push 0
push ecx
mov dword [esi + 0x60c], 0x5f02cc
call fcn.00477030
add esp, 0x10
test eax, eax
jne 0x4707b5
cmp dword [esp + 0x4ec], eax
je 0x470098
mov dword [esp + 0x578], eax
mov dword [esp + 0x4ec], eax
cmp dword [esp + 0x90], eax
jne 0x4700da
cmp dword [ebp + 0x1b0], eax
jne 0x4700da
lea edx, [esp + 0x2c]
push edx
push esi
call fcn.0047ad90
add esp, 8
test eax, eax
jne 0x4707b9
mov eax, dword [esp + 0x53c]
add dword [esp + 0x534], eax
mov dword [esp + 0x53c], 0
jmp 0x47011f
lea ecx, [esp + 0x2c]
push ecx
call fcn.0047ace0
add esp, 4
test eax, eax
jne 0x4707b9
mov edx, dword [esp + 0x538]
mov eax, dword [esp + 0x53c]
mov ecx, dword [esp + 0x534]
add eax, edx
add ecx, eax
xor eax, eax
mov dword [esp + 0x534], ecx
mov dword [esp + 0x53c], eax
mov dword [esp + 0x538], eax
mov eax, dword [esp + 0x18]
test eax, eax
je 0x47012e
mov ecx, eax
mov edx, dword [ecx]
call dword [edx + 0x14]
mov eax, dword [ebp + 0x1b0]
test eax, eax
je 0x4701bf
test edi, edi
jne 0x470157
mov eax, dword [esp + 0x3c]
test eax, eax
jne 0x470157
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x470157
mov dword [esp + 0x570], ebx
xor ebx, ebx
mov dword [esp + 0x574], ebx
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4701d9
mov eax, dword [esp + 0x554]
test eax, eax
je 0x4701d9
lea eax, [esp + 0x6c]
push eax
call fcn.00474410
lea ecx, [esp + 0x70]
push ebp
push ecx
call fcn.004739a0
add esp, 0xc
test eax, eax
jne 0x4707b9
lea edx, [esp + 0x6c]
push ebx
push edx
call fcn.0047a690
mov esi, dword [esp + 0x1c]
add esp, 8
test esi, esi
je 0x4702a4
test ebx, ebx
jne 0x4702a4
mov eax, 1
jmp 0x4702a6
test ebx, ebx
je 0x470160
push edi
push ebx
call fcn.0047a5a0
add esp, 8
test eax, eax
je 0x470173
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x470173
mov al, byte [ebp + 0x111]
test al, al
je 0x4701eb
mov dword [esp + 0x14], 0
lea edx, [esp + 0x6c]
push edx
call fcn.00474410
mov eax, dword [esp + 0x18]
xor edi, edi
add esp, 4
cmp eax, edi
je 0x470248
cmp ebx, edi
jne 0x470248
mov dword [esi + 0x60c], str.Removing_duplicates
mov esi, dword [esp + 0x578]
cmp esi, edi
je 0x470222
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x64]
mov ecx, dword [esp + 0x568]
push esi
push ecx
lea edx, [esp + 0x74]
push ebp
push edx
call fcn.00479310
add esp, 0x10
test eax, eax
jne 0x4707b9
mov dword [esp + 0x578], edi
lea eax, [esp + 0x6c]
push ebp
push eax
mov dword [ebp + 0x138], edi
call fcn.004739a0
add esp, 8
test eax, eax
jne 0x4707b9
lea ecx, [esp + 0x6c]
push ebx
push ecx
call fcn.0047a690
push 0
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0x508]
push eax
call fcn.0047a4f0
mov edi, dword [esp + 0x58c]
mov ebp, dword [esp + 0x588]
mov esi, dword [esp + 0x2c]
mov ebx, dword [esp + 0x574]
add esp, 0x14
jmp 0x47042a
xor eax, eax
push eax
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x500]
push ecx
call fcn.0047a4f0
mov eax, dword [esp + 0x574]
mov edx, dword [esp + 0x40]
sub edx, dword [eax + 8]
add esp, 0xc
test esi, esi
mov dword [esp + 0x540], edx
je 0x4702e0
test ebx, ebx
jne 0x4702e0
mov eax, 1
jmp 0x4702e2
xor eax, eax
mov ecx, dword [esp + 0x4f0]
mov edi, dword [esp + 0x560]
push ecx
push 0
push 1
push eax
push 0
lea edx, [esp + 0x40]
push edx
lea eax, [esp + 0x510]
push eax
push edi
call fcn.00475b40
mov esi, eax
add esp, 0x20
test esi, esi
je 0x4707b9
test ebx, ebx
je 0x47035d
mov ecx, dword [esp + 0x6c]
push 0xffffffffffffffff
push 0xffffffffffffffff
push ebx
push ecx
mov dword [edi + 0x60c], 0x5f02a4
call fcn.00479190
add esp, 0x10
test eax, eax
jne 0x470414
lea edx, [esp + 0x6c]
push ebx
push edx
call fcn.0047a760
add esp, 8
test eax, eax
jne 0x470414
mov dword [esp + 0x574], eax
mov edi, dword [esp + 0x560]
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x70]
push ecx
mov dword [edi + 0x60c], 0x5f028c
or ebx, 0xffffffff
call fcn.0047ac50
add esp, 8
test eax, eax
jne 0x470410
push eax
push esi
push eax
lea edx, [esp + 0x78]
push edx
call fcn.00477030
mov ebx, eax
add esp, 0x10
test ebx, ebx
jne 0x470410
mov eax, dword [esp + 0x6c]
add eax, 0x24
push eax
call fcn.00442100
push ebp
push edi
call fcn.00476d10
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x78]
lea eax, [esp + 0x38]
mov dword [esp + 0x94], ecx
mov ebp, esi
push eax
mov dword [esp + 0x48], ebp
mov dword [edx], ebx
call fcn.0047ace0
add esp, 0x10
test eax, eax
jne 0x4707b9
mov ecx, dword [esp + 0x538]
mov eax, dword [esp + 0x534]
add eax, ecx
mov dword [esp + 0x538], ebx
mov ebx, dword [esp + 0x574]
mov dword [esp + 0x534], eax
mov esi, edi
jmp 0x4701d9
mov dword [esp + 0x10], ebx
push esi
push edi
call fcn.00476d10
add esp, 8
jmp 0x4707b9
mov edi, dword [esp + 0x578]
test esi, esi
je 0x470477
mov eax, dword [esp + 0x568]
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x10]
test eax, eax
jne 0x4707b9
mov ecx, dword [esp + 0x584]
mov eax, dword [esp + 0x568]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test eax, eax
jne 0x4707b9
push eax
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x500]
push ecx
call fcn.0047a4f0
add esp, 0xc
mov eax, dword [esp + 0x9c]
test eax, eax
jne 0x470497
mov eax, dword [esp + 0x538]
test eax, eax
jne 0x470497
test esi, esi
je 0x4704f3
test byte [esi + 0xc], 2
je 0x4704f3
lea edx, [esp + 0x6c]
push ebp
push edx
call fcn.0047a760
add esp, 8
test eax, eax
jne 0x4707b9
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x4fc]
push ecx
push ebx
call fcn.0047a810
add esp, 0xc
test eax, eax
jne 0x4707b9
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x70]
push eax
call fcn.0047ac50
add esp, 8
test eax, eax
jne 0x4707b9
mov eax, dword [ebx + 0x808]
test eax, eax
jne 0x4707b9
test ebp, ebp
jne 0x470514
mov eax, dword [esp + 0x570]
test eax, eax
je 0x470781
mov ebp, dword [esp + 0x574]
mov ebx, dword [esp + 0x560]
test edi, edi
mov dword [ebx + 0x60c], 0x5f027c
je 0x470713
test ebp, ebp
jne 0x470717
mov eax, dword [esp + 0x90]
test eax, eax
jne 0x4706c5
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x64]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x6c]
lea ecx, [eax + eax*8]
lea ebp, [eax + ecx*2]
mov ecx, dword [esp + 0xa8]
shl ebp, 4
add ebp, edx
mov edx, dword [ebp]
mov ebx, dword [edx + 0x194]
or ebx, ecx
push ebx
push ebx
push edi
call fcn.004787f0
mov esi, eax
add esp, 0xc
test esi, esi
mov dword [esp + 0x44], esi
je 0x4706c5
mov eax, dword [ebp + 8]
test eax, eax
jne 0x4705b3
push 0xd0
call fcn.004965e0
add esp, 4
test eax, eax
je 0x4705a6
mov ecx, eax
call fcn.0043c7f0
jmp 0x4705a8
xor eax, eax
test eax, eax
mov dword [ebp + 8], eax
je 0x4707b9
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
test ecx, ecx
jne 0x4705c5
mov dword [eax + 4], esi
jmp 0x470696
push 0x5c
call fcn.004965e0
mov esi, eax
add esp, 4
test esi, esi
je 0x470686
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
mov dword [esp + 0x40], ecx
mov ecx, esi
call fcn.00418770
xor eax, eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x38], eax
mov byte [esi + 0x26], al
mov dword [esi + 0x1c], 0x15
lea edi, [esi + 0x48]
mov dword [edi + 8], eax
mov dword [edi], 0x628858
mov dword [edi + 4], edi
push 8
mov dword [esi + 0x54], eax
mov dword [esi], 0x5ac4c0
call fcn.004965e0
add esp, 4
test eax, eax
je 0x470631
mov edx, dword [esp + 0x40]
mov dword [eax], 0x628858
mov dword [eax + 4], edx
jmp 0x470633
xor eax, eax
test eax, eax
mov ecx, dword [edi + 4]
mov dword [ecx], eax
je 0x470647
mov edx, dword [edi + 4]
mov eax, dword [edx]
mov dword [edi + 4], eax
inc dword [edi + 8]
push 8
call fcn.004965e0
add esp, 4
test eax, eax
je 0x470664
mov ecx, dword [esp + 0x44]
mov dword [eax], 0x628858
mov dword [eax + 4], ecx
jmp 0x470666
xor eax, eax
test eax, eax
mov edx, dword [edi + 4]
mov dword [edx], eax
je 0x47067e
mov eax, dword [edi + 4]
mov ecx, dword [eax]
mov eax, dword [edi + 8]
inc eax
mov dword [edi + 4], ecx
mov dword [edi + 8], eax
mov dword [esi], 0x5ac414
jmp 0x470688
xor esi, esi
test esi, esi
mov edx, dword [ebp + 8]
mov dword [edx + 4], esi
je 0x4707b9
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
mov dword [ebp + 0xc], ecx
mov edx, dword [ecx]
call dword [edx + 0x80]
mov eax, dword [esp + 0x578]
not ebx
push ebx
push 0xffffffffffffffff
push eax
call fcn.004787f0
add esp, 0xc
mov dword [esp + 0x578], eax
mov edi, eax
mov edx, dword [esp + 0x88]
mov esi, dword [esp + 0x6c]
lea ecx, [edx + edx*8 + 9]
lea eax, [edx + ecx*2 + 1]
mov ecx, dword [esp + 0x84]
lea ebx, [ecx + ecx*8]
lea ecx, [ecx + ebx*2]
shl eax, 4
shl ecx, 4
add eax, esi
add ecx, esi
cmp eax, ecx
jae 0x470734
mov ebx, dword [eax + 0xc]
test ebx, ebx
jne 0x47072c
mov ebx, dword [eax + 4]
test ebx, ebx
je 0x470708
mov ebx, dword [eax + 0x14]
test ebx, ebx
je 0x47072c
add eax, 0x130
cmp eax, ecx
jb 0x4706f3
jmp 0x470734
test ebp, ebp
je 0x4706c5
mov edx, dword [esp + 0x88]
mov esi, dword [esp + 0x6c]
mov dword [esp + 0x24], 0xffffffff
jmp 0x470734
mov dword [esp + 0x24], 0xffffffff
test byte [esp + 0x4f0], 0x20
je 0x470743
or ecx, 0xffffffff
jmp 0x470750
mov eax, dword [esp + 0x560]
mov ecx, dword [eax + 0x778]
mov eax, dword [esp + 0x574]
test eax, eax
jne 0x470762
mov eax, dword [esp + 0x570]
push ecx
mov ecx, dword [esp + 0x28]
push ecx
push eax
lea eax, [edx + edx*8]
lea ecx, [edx + eax*2]
shl ecx, 4
add ecx, esi
push ecx
call fcn.00479190
add esp, 0x10
test eax, eax
jne 0x4707b9
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x560]
mov ecx, dword [esp + 0x568]
push eax
push 0
mov dword [edx + 0x60c], 0x5f026c
push ecx
lea edx, [esp + 0x78]
push edx
mov dword [esp + 0x4fc], edi
call fcn.00477030
add esp, 0x10
mov dword [esp + 0x10], eax
mov esi, dword [esp + 0x560]
mov eax, dword [esp + 0xb4]
mov ecx, dword [esp + 0xbc]
lea edx, [esp + 0x6c]
xor edi, edi
mov dword [esi + 0x770], eax
push edx
mov dword [esi + 0x774], edi
mov dword [esi + 0x788], ecx
mov dword [esi + 0x60c], 0x5e9e34
mov dword [esp + 0x55c], edi
call fcn.00474410
mov eax, dword [esp + 0x3c]
add esp, 4
cmp eax, edi
mov dword [esi + 0x60c], 0x5f0264
je 0x47081c
push eax
push esi
call fcn.00476d10
add esp, 8
mov ecx, dword [esp + 0x4c]
cmp ecx, edi
mov dword [esi + 0x60c], 0x5f025c
je 0x470833
call fcn.0043c810
lea eax, [esp + 0x58]
push eax
call fcn.004d32a0
mov ecx, dword [esp + 0x1c]
add esp, 4
cmp ecx, edi
je 0x47084e
mov edx, dword [ecx]
push 1
call dword [edx]
mov ecx, dword [esp + 0x514]
test ecx, ecx
mov eax, dword [esp + 0x560]
mov edi, dword [esp + 0x10]
mov dword [eax + 0x60c], 0x5f0254
je 0x4708be
mov eax, dword [ecx - 4]
lea ebp, [ecx - 4]
mov edx, eax
shl edx, 4
add edx, eax
dec eax
lea esi, [ecx + edx*4]
js 0x4708b5
add esi, 0x38
lea ebx, [eax + 1]
mov eax, dword [esi - 0x44]
sub esi, 0x44
test eax, eax
je 0x4708b2
mov eax, dword [esi - 0xc]
push eax
mov dword [esi], 0
mov dword [esi - 4], 0
call fcn.004c65f0
add esp, 4
xor eax, eax
mov dword [esi - 0xc], eax
mov dword [esi - 8], eax
dec ebx
jne 0x470887
push ebp
call fcn.0059a176
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54c
ret
mov eax, dword [esp + 0x538]
test eax, eax
je 0x4708e8
mov eax, dword [esp + 0x574]
test eax, eax
jne 0x4708e8
mov eax, 1
jmp 0x4708ea
xor eax, eax
mov ecx, dword [esp + 0x578]
mov edx, dword [esp + 0x580]
push esi
push ecx
push str.Impossible_WHERE
push edx
push eax
mov eax, dword [esp + 0x57c]
push eax
push edi
lea ecx, [esp + 0x88]
push ebx
push ecx
call fcn.00474980
add esp, 0x24
test esi, esi
mov dword [esp + 0x10], eax
je 0x46f54a
jmp 0x46f542
mov ecx, dword [esp + 0x514]
test ecx, ecx
je 0x47093e
push 3
call fcn.0042a110
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x54c
ret