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

Disassembly:
sub esp, 0x44
mov eax, dword [esp + 0x48]
push ebx
mov ebx, dword [esp + 0x60]
push esi
mov ecx, dword [eax + 0x1c]
mov esi, dword [esp + 0x54]
push edi
xor edi, edi
test bl, 0x40
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x10], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x30], edi
mov byte [esp + 0xf], 0
mov dword [esp + 0x48], edi
mov dword [esp + 0x44], edi
jne 0x475067
push esi
push eax
call fcn.00441d20
add esp, 8
mov eax, dword [esp + 0x5c]
lea edx, [esp + 0x14]
push edx
push eax
push esi
call fcn.00472360
add esp, 0xc
cmp eax, edi
jne 0x475c04
mov eax, ebx
push ebp
mov ebp, dword [esp + 0x18]
xor ecx, ecx
shr eax, 0x17
mov dword [esp + 0x1c], edi
mov cl, byte [ebp + 1]
and eax, 1
and ebx, 0xff7fffff
cmp eax, edi
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x40], eax
mov dword [esp + 0x6c], ebx
je 0x4750cd
mov edx, dword [esi + 0x24]
mov eax, dword [esi + 0x28]
mov cl, byte [esi + 0x2c]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x48], eax
mov byte [esp + 0x13], cl
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov byte [esi + 0x2c], 0
mov dl, byte [ebp]
mov ecx, edx
and ecx, 0xff
lea eax, [ecx - 3]
cmp eax, 9
ja case.default.0x4750ec
xor ebx, ebx
mov bl, byte [eax + 0x475c18]
jmp dword [ebx*4 + 0x475c0c]
mov ebp, dword [esp + 0x5c]
mov al, byte [ebp + 0x2c]
test al, al
jne 0x475119
mov ebx, dword [esp + 0x58]
mov byte [ebp + 0x2c], dl
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 8]
test eax, eax
jne 0x4751a6
jmp 0x4751d3
cmp dl, al
je 0x475160
test byte [esp + 0x6c], 0x40
jne 0x475152
mov ebx, dword [esp + 0x58]
and eax, 0xff
push eax
mov eax, dword [esp + 0x1c]
mov edx, dword [ebx + 0x14]
push ecx
mov ecx, dword [eax + 4]
push ecx
push str.Page__lu:_unexpected_page_type__lu_found_in_leaf_chain__expected__lu_
push edx
call fcn.0043eea0
add esp, 0x14
mov dword [esp + 0x14], 1
jmp 0x475164
mov ebx, dword [esp + 0x58]
mov dword [esp + 0x14], 1
jmp 0x475164
mov ebx, dword [esp + 0x58]
mov eax, dword [esp + 0x18]
mov esi, dword [ebp + 0x28]
mov eax, dword [eax + 4]
cmp eax, esi
je 0x475198
test byte [esp + 0x6c], 0x40
jne 0x475190
mov ecx, dword [ebp + 0x24]
mov edx, dword [ebx + 0x14]
push eax
push esi
push ecx
push str.Page__lu:_incorrect_next_pgno__lu_found_in_leaf_chain__should_be__lu_
push edx
call fcn.0043eea0
add esp, 0x14
mov dword [esp + 0x14], 1
mov eax, dword [esp + 0x18]
mov ecx, dword [ebp + 0x24]
mov eax, dword [eax + 8]
cmp eax, ecx
je 0x4751d3
test byte [esp + 0x6c], 0x40
jne 0x4751cb
mov ecx, dword [ebp + 0x24]
mov edx, dword [esp + 0x18]
push ecx
mov ecx, dword [ebx + 0x14]
push eax
mov eax, dword [edx + 4]
push eax
push str.Page__lu:_incorrect_prev_pgno__lu_found_in_leaf_chain__should_be__lu_
push ecx
call fcn.0043eea0
add esp, 0x14
mov dword [esp + 0x14], 1
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x1c]
push ecx
push ebp
mov edx, dword [eax + 4]
mov dword [ebp + 0x24], edx
mov eax, dword [eax + 0xc]
mov dword [ebp + 0x28], eax
call fcn.00472790
mov esi, eax
add esp, 8
test esi, esi
jne 0x475b6f
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x24]
push edx
push eax
push ecx
call fcn.004728c0
add esp, 0xc
mov edi, 2
test eax, eax
jne 0x475270
mov eax, dword [esp + 0x24]
cmp dword [eax + 4], edi
jne 0x47525a
mov edx, dword [esp + 0x6c]
mov ecx, dword [eax + 0xc]
or edx, 0x100000
push edx
mov edx, dword [eax]
push ecx
push edx
push ebp
push ebx
call fcn.00478710
mov esi, eax
add esp, 0x14
test esi, esi
je 0x47525a
cmp esi, 0xffff86fc
jne 0x475387
mov dword [esp + 0x14], 1
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x24]
push eax
push ecx
call fcn.00472920
add esp, 8
test eax, eax
je 0x47521b
mov edx, dword [esp + 0x1c]
push edx
call fcn.00472970
mov esi, eax
add esp, 4
test esi, esi
jne 0x475b6f
mov edx, dword [esp + 0x18]
mov dword [esp + 0x1c], eax
mov al, byte [edx]
cmp al, 6
jne 0x4752e1
mov eax, dword [esp + 0x6c]
test eax, 0x80000
jne 0x475351
test eax, 0x10000
je 0x4752b6
test eax, 0x40000
je 0x475351
test al, 0x40
mov dword [esp + 0x14], 1
jne 0x475387
mov eax, dword [esp + 0x60]
mov ecx, dword [ebx + 0x14]
push eax
push str.Page__lu:_recno_leaf_page_non_recno_tree
push ecx
call fcn.0043eea0
add esp, 0xc
jmp 0x475387
mov ecx, dword [esp + 0x6c]
test ecx, 0x80000
je 0x475316
test cl, 0x40
mov dword [esp + 0x14], 1
jne 0x475387
mov edx, dword [esp + 0x60]
mov eax, dword [ebx + 0x14]
push edx
push str.Page__lu:_non_recno_leaf_page_in_recno_tree
push eax
call fcn.0043eea0
add esp, 0xc
jmp 0x475387
cmp al, 0xc
je 0x475351
test byte [edx + 0x3c], 2
je 0x475351
mov eax, dword [esp + 0x6c]
test eax, 0x10000
jne 0x4753dc
test al, 0x40
mov dword [esp + 0x14], 1
jne 0x475351
mov ecx, dword [esp + 0x60]
mov edx, dword [ebx + 0x14]
push ecx
push str.Page__lu:_duplicates_in_non_dup_btree
push edx
call fcn.0043eea0
add esp, 0xc
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x2c], 1
test eax, 0x200000
je 0x47536f
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + 0x1c]
mov dword [esp + 0x28], edx
test eax, 0x400000
je 0x475387
mov eax, dword [esp + 0x78]
test eax, eax
je 0x475387
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + 0x20]
mov dword [eax], edx
mov eax, dword [esp + 0x18]
mov cl, byte [eax + 0x3c]
mov eax, dword [esp + 0x14]
test cl, 0x20
je 0x4758d4
test eax, eax
jne 0x4759d9
test esi, esi
jne 0x4759d9
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x475895
mov ebp, dword [esp + 0x30]
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x64]
push esi
push edx
push ebp
call dword [ebp + 0x40]
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x475b6f
jmp 0x475899
lea eax, [esp + 0x1c]
push eax
push ebp
call fcn.00472790
mov esi, eax
add esp, 8
test esi, esi
jne 0x475b6f
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x24]
push ecx
push edx
push eax
call fcn.004728c0
add esp, 0xc
test eax, eax
jne 0x475497
mov edi, dword [esp + 0x6c]
or edi, 0x220000
mov eax, dword [esp + 0x24]
mov esi, 1
cmp dword [eax + 4], esi
jne 0x475481
mov ecx, dword [eax]
push edi
push ecx
push ebp
push ebx
call fcn.00442670
add esp, 0x10
test eax, eax
je 0x475443
mov dword [esp + 0x14], esi
jmp 0x475481
mov eax, dword [esp + 0x24]
mov edx, edi
push 0
push 0
mov ecx, dword [eax]
or edx, 0x800000
push 0
push edx
push 0
push 0
push ecx
push ebp
push ebx
call fcn.00475020
mov esi, eax
add esp, 0x24
test esi, esi
je 0x475481
cmp esi, 0xffff86fc
jne 0x475b6f
mov dword [esp + 0x14], 1
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x24]
push edx
push eax
call fcn.00472920
add esp, 8
test eax, eax
je 0x47541d
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.00472970
mov esi, eax
add esp, 4
test esi, esi
jne 0x475b6f
mov edx, dword [esp + 0x18]
mov dword [esp + 0x1c], eax
test byte [edx + 0x3c], 1
je 0x475351
mov eax, dword [esp + 0x6c]
test eax, 0x40000
je 0x475351
test al, 0x40
jne 0x4754e9
mov eax, dword [esp + 0x60]
mov ecx, dword [ebx + 0x14]
push eax
push str.Page__lu:_unsorted_duplicate_set_in_sorted_dup_database
push ecx
call fcn.0043eea0
add esp, 0xc
mov dword [esp + 0x14], 1
jmp 0x475351
mov ebp, dword [esp + 0x5c]
lea edx, [esp + 0x1c]
push edx
push ebp
call fcn.00472790
mov esi, eax
add esp, 8
test esi, esi
jne 0x475b6f
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x24]
push eax
push ecx
push edx
call fcn.004728c0
add esp, 0xc
test eax, eax
jne 0x475689
mov edi, dword [esp + 0x58]
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 4]
cmp ecx, 3
jne 0x47563a
mov ecx, dword [esp + 0x18]
cmp byte [ecx], 4
jne 0x47570d
mov ebx, dword [esp + 0x6c]
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x3c]
lea ecx, [esp + 0x40]
push edx
mov edx, dword [eax]
push ecx
push ebx
push 0
push 0
push edx
push ebp
push edi
call fcn.00475020
mov esi, eax
add esp, 0x24
test esi, esi
je 0x475591
cmp esi, 0xffff86fc
jne 0x475387
mov dword [esp + 0x14], 1
test ebx, 0x400000
je 0x4755eb
mov ecx, dword [esp + 0x34]
test ecx, ecx
jne 0x4755ab
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x34], ecx
jmp 0x4755e1
mov eax, dword [esp + 0x44]
test eax, eax
jbe 0x4755e1
cmp ecx, eax
je 0x4755e1
test bl, 0x40
mov dword [esp + 0x14], 1
jne 0x4755e1
mov edx, dword [edi + 0x14]
push eax
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
push ecx
push str.Page__lu:_recno_page_returned_bad_re_len__lu
push edx
call fcn.0043eea0
mov ecx, dword [esp + 0x44]
add esp, 0x10
mov eax, dword [esp + 0x78]
test eax, eax
je 0x4755eb
mov dword [eax], ecx
test ebx, 0x200000
je 0x475601
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x28]
add ecx, eax
mov dword [esp + 0x28], ecx
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x2c]
lea ecx, [eax + 1]
cmp edx, ecx
je 0x47566f
test bl, 0x40
mov dword [esp + 0x14], 1
jne 0x47566f
dec edx
push edx
mov edx, dword [edi + 0x14]
push eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax]
push ecx
push str.Page__lu:_recno_level_incorrect:_got__lu__expected__lu
push edx
call fcn.0043eea0
add esp, 0x14
jmp 0x47566f
cmp ecx, 2
jne 0x47566f
mov ecx, dword [esp + 0x6c]
mov edx, dword [eax + 0xc]
mov eax, dword [eax]
push ecx
push edx
push eax
push ebp
push edi
call fcn.00478710
mov esi, eax
add esp, 0x14
test esi, esi
je 0x47566f
cmp esi, 0xffff86fc
jne 0x475387
mov dword [esp + 0x14], 1
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x24]
push ecx
push edx
call fcn.00472920
add esp, 8
test eax, eax
je 0x475535
mov eax, dword [esp + 0x1c]
push eax
call fcn.00472970
mov esi, eax
add esp, 4
test esi, esi
jne 0x475b6f
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x1c], eax
cmp byte [ecx], 4
je 0x475387
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x4756d9
lea edx, [esp + 0x20]
lea eax, [esp + 0x60]
push edx
push esi
push eax
mov eax, dword [esp + 0x3c]
push eax
call dword [eax + 0x40]
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x475b6f
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x78], 0
mov ax, word [ecx + 0x18]
test ax, ax
jbe 0x475387
mov edx, dword [esp + 0x58]
mov edx, dword [edx + 0x1d4]
mov esi, edx
and esi, 0x800
je 0x47573e
mov ecx, 0x26
jmp 0x47574a
test byte [esp + 0x6c], 0x40
jne 0x475734
mov edx, dword [edi + 0x14]
xor eax, eax
mov al, byte [ecx]
mov ecx, dword [esp + 0x60]
push eax
push str.__bam_vrfy_subtree
push ecx
push str.Page__lu:__s_called_on_nonsensical_page_of_type__lu
push edx
call fcn.0043eea0
add esp, 0x14
mov esi, 0x16
jmp 0x475b6f
mov ecx, edx
and cl, 1
neg cl
sbb ecx, ecx
and ecx, 6
mov ebp, dword [esp + 0x78]
xor ebx, ebx
and ebp, 0xffff
and eax, 0xffff
lea edi, [ecx + ebp*2 + 0x1a]
mov ecx, dword [esp + 0x20]
mov bx, word [edi + ecx]
mov edi, ebx
lea ebx, [ebp + 1]
add edi, ecx
cmp ebx, eax
jge 0x4757a3
test esi, esi
je 0x475789
mov eax, 0x26
lea edx, [eax + ebp*2 + 0x1c]
xor eax, eax
mov ax, word [edx + ecx]
add eax, ecx
jmp 0x4757a5
and dl, 1
neg dl
sbb edx, edx
and edx, 6
mov eax, edx
lea edx, [eax + ebp*2 + 0x1c]
xor eax, eax
mov ax, word [edx + ecx]
add eax, ecx
jmp 0x4757a5
xor eax, eax
mov ebx, dword [esp + 0x6c]
lea ecx, [esp + 0x38]
push 0
lea edx, [esp + 0x40]
push ecx
push edx
push ebx
push eax
mov ax, word [esp + 0x8c]
mov ecx, dword [edi + 4]
mov edx, dword [esp + 0x70]
neg ax
sbb eax, eax
and eax, edi
push eax
mov eax, dword [esp + 0x70]
push ecx
push edx
push eax
call fcn.00475020
mov esi, eax
add esp, 0x24
test esi, esi
je 0x4757f7
cmp esi, 0xffff86fc
jne 0x475387
mov dword [esp + 0x14], 1
test ebx, 0x200000
je 0x47583e
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x28]
add ecx, eax
mov dword [esp + 0x28], ecx
mov ecx, dword [edi + 8]
cmp ecx, eax
je 0x47583e
test bl, 0x40
mov dword [esp + 0x14], 1
jne 0x47583e
mov edx, dword [esp + 0x58]
push eax
push ecx
mov ecx, dword [esp + 0x68]
mov eax, dword [edx + 0x14]
push ebp
push ecx
push str.Page__lu:_item__lu_has_incorrect_record_count_of__lu__should_be__lu
push eax
call fcn.0043eea0
add esp, 0x18
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x2c]
lea ecx, [eax + 1]
cmp edx, ecx
je 0x475876
test bl, 0x40
mov dword [esp + 0x14], 1
jne 0x475876
mov ecx, dword [esp + 0x58]
dec edx
push edx
push eax
mov eax, dword [edi + 4]
mov edx, dword [ecx + 0x14]
push eax
push str.Page__lu:_Btree_level_incorrect:_got__lu__expected__lu
push edx
call fcn.0043eea0
add esp, 0x14
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x78]
inc ecx
mov ax, word [eax + 0x18]
mov dword [esp + 0x78], ecx
cmp cx, ax
jb 0x4756f2
jmp 0x475387
mov ebp, dword [esp + 0x30]
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x58]
push eax
mov eax, dword [esp + 0x60]
push 0
push 1
push 0
push ecx
push edx
push eax
push ebx
call fcn.004748d0
mov esi, eax
add esp, 0x20
test esi, esi
jne 0x475b6f
mov eax, dword [esp + 0x18]
and dword [eax + 0x3c], 0xffffffdf
jmp 0x4758ec
test eax, eax
jne 0x4759d9
test esi, esi
jne 0x4759d9
mov ebx, dword [esp + 0x58]
mov ebp, dword [esp + 0x30]
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x475911
lea ecx, [esp + 0x20]
lea edx, [esp + 0x60]
push ecx
push 0
push edx
push ebp
call dword [ebp + 0x40]
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x475b6f
mov ecx, dword [esp + 0x20]
cmp word [ecx + 0x14], 0
jne 0x475944
mov al, byte [ecx + 0x19]
cmp al, 3
je 0x475927
cmp al, 4
jne 0x475944
test byte [esp + 0x6c], 0x40
jne 0x475af2
mov eax, dword [esp + 0x60]
mov ecx, dword [ebx + 0x14]
push eax
push str.Page__lu:_internal_page_is_empty_and_should_not_be
jmp 0x475ae9
test esi, esi
jne 0x4759dd
test byte [esp + 0x6c], 2
jne 0x4759dd
mov edi, dword [esp + 0x64]
test edi, edi
je 0x4759dd
test ecx, ecx
jne 0x47597f
lea edx, [esp + 0x20]
lea eax, [esp + 0x60]
push edx
push ecx
push eax
push ebp
call dword [ebp + 0x40]
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x475b6f
mov ecx, dword [esp + 0x6c]
test ecx, 0x20000
je 0x475990
mov eax, dword [ebx + 0xc]
jmp 0x475999
mov edx, dword [ebx + 0xf0]
mov eax, dword [edx + 0x10]
test eax, eax
jne 0x4759a2
mov eax, fcn.004720a0
mov edx, dword [esp + 0x60]
push ecx
mov ecx, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x70]
push eax
push edi
push ecx
push edx
push ebx
call fcn.00475c30
mov esi, eax
add esp, 0x1c
test esi, esi
je 0x4759dd
cmp esi, 0xffff86fc
jne 0x475b6f
mov dword [esp + 0x14], 1
jmp 0x4759dd
mov ebx, dword [esp + 0x58]
mov ecx, dword [esp + 0x6c]
test ecx, 0x200000
je 0x475a27
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x28]
mov eax, dword [eax + 0x1c]
cmp esi, eax
je 0x475a2b
mov edx, dword [esp + 0x40]
test edx, edx
je 0x475a2b
test cl, 0x40
mov dword [esp + 0x14], 1
jne 0x475a2b
mov ecx, dword [esp + 0x60]
mov edx, dword [ebx + 0x14]
push eax
push esi
push ecx
push str.Page__lu:_bad_record_count:_has__lu_records__claims__lu
push edx
call fcn.0043eea0
add esp, 0x14
jmp 0x475a2b
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x70]
test eax, eax
je 0x475a39
mov ecx, dword [esp + 0x2c]
mov dword [eax], ecx
mov eax, dword [esp + 0x74]
test eax, eax
je 0x475a43
mov dword [eax], esi
mov edx, dword [esp + 0x5c]
mov ecx, dword [esp + 0x60]
lea eax, [esp + 0x50]
mov edi, dword [edx + 0x14]
push eax
push ecx
push edi
call fcn.004725a0
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x475b6f
mov eax, dword [esp + 0x50]
test eax, eax
je 0x475a9b
mov al, byte [esp + 0x6c]
mov dword [esp + 0x14], 1
test al, 0x40
jne 0x475ab3
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x60]
push edx
push str.Page__lu:_linked_twice
mov ecx, dword [eax + 0x14]
push ecx
call fcn.0043eea0
add esp, 0xc
jmp 0x475ab3
mov edx, dword [esp + 0x60]
push edx
push edi
call fcn.00472630
mov esi, eax
add esp, 8
test esi, esi
jne 0x475b6f
mov eax, dword [esp + 0x40]
test eax, eax
je 0x475b90
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax + 0x28]
test ecx, ecx
je 0x475b6f
test byte [esp + 0x6c], 0x40
jne 0x475af2
mov ecx, dword [esp + 0x5c]
mov eax, dword [esp + 0x58]
mov edx, dword [ecx + 0x24]
mov ecx, dword [eax + 0x14]
push edx
push str.Page__lu:_unterminated_leaf_chain
push ecx
call fcn.0043eea0
add esp, 0xc
mov dword [esp + 0x14], 1
jmp 0x475b6f
mov esi, dword [esp + 0x58]
mov ebx, dword [esp + 0x6c]
jmp 0x475b0a
mov esi, dword [esp + 0x58]
test byte [ebp + 0x3c], 0x40
je 0x475b4e
and ebx, 0x40
jne 0x475b32
mov edx, dword [esp + 0x60]
mov eax, dword [esi + 0x14]
push 0
push str.btree_or_recno_page
push edx
push str.Page__lu:__s_is_of_inappropriate_type__lu
push eax
call fcn.0043eea0
add esp, 0x14
test ebx, ebx
jne 0x475b6a
mov ecx, dword [esp + 0x60]
mov edx, dword [esi + 0x14]
push ecx
push str.Page__lu:_totally_zeroed_page
push edx
call fcn.0043eea0
add esp, 0xc
jmp 0x475b6a
test bl, 0x40
jne 0x475b6a
mov eax, dword [esp + 0x60]
push ecx
mov ecx, dword [esi + 0x14]
push eax
push str.Page__lu:_btree_or_recno_page_is_of_inappropriate_type__lu
push ecx
call fcn.0043eea0
add esp, 0x10
mov esi, 0xffff86fc
mov eax, dword [esp + 0x40]
test eax, eax
je 0x475b90
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
mov dword [eax + 0x28], edx
mov dl, byte [esp + 0x13]
mov dword [eax + 0x24], ecx
mov byte [eax + 0x2c], dl
mov eax, dword [esp + 0x20]
pop ebp
test eax, eax
je 0x475bb1
push 0
push eax
mov eax, dword [esp + 0x34]
push eax
call dword [eax + 0x50]
add esp, 0xc
test eax, eax
je 0x475bb1
test esi, esi
jne 0x475bb1
mov esi, eax
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x54]
mov ecx, dword [esp + 0x58]
push eax
mov eax, dword [edx + 0x14]
push ecx
push eax
call fcn.00472470
add esp, 0xc
test eax, eax
je 0x475bd5
test esi, esi
jne 0x475bd5
mov esi, eax
mov eax, dword [esp + 0x18]
test eax, eax
je 0x475bf0
push eax
call fcn.00472970
add esp, 4
test eax, eax
je 0x475bf0
test esi, esi
jne 0x475c02
mov esi, eax
test esi, esi
jne 0x475c02
mov eax, dword [esp + 0x10]
cmp eax, 1
mov eax, 0xffff86fc
je 0x475c04
mov eax, esi
pop edi
pop esi
pop ebx
add esp, 0x44
ret