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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x44
push ebx
mov eax, ecx
mov ebx, edx
mov edx, dword [ebp + 0x10]
xor ecx, ecx
push esi
push edi
mov edi, dword [ebp + 0x14]
xor esi, esi
mov dword [esp + 0x14], eax
mov eax, dword [eax]
mov dword [esp + 0x2c], eax
mov eax, 0x9e
mov dword [esp + 0x28], ebx
mov dword [esp + 0x10], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x40], ecx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x48], edx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x3c], eax
mov dword [edi + 0x1c], 0xffffffff
test ebx, ebx
je 0x464a05
test byte [edx + 0x18], 6
je 0x464967
mov dword [esp + 0x28], ecx
jmp 0x464a05
mov eax, dword [esp + 0x2c]
xor edi, edi
cmp dword [eax + 0x14], ecx
jle 0x464a02
mov edx, dword [eax + 0x10]
movzx eax, byte [ebx]
mov dword [esp + 0x34], edx
movzx ecx, byte [eax + 0x61b4e0]
mov eax, edx
mov dword [esp + 0x38], ecx
nop dword [eax]
mov edx, dword [eax]
mov bl, byte [edx]
movzx eax, bl
movzx eax, byte [eax + 0x61b4e0]
sub eax, ecx
jne 0x4649d3
mov esi, dword [esp + 0x28]
sub esi, edx
test bl, bl
je 0x4649cb
movzx eax, byte [esi + edx + 1]
inc edx
movzx ecx, byte [eax + 0x61b4e0]
mov bl, byte [edx]
movzx eax, bl
movzx eax, byte [eax + 0x61b4e0]
sub eax, ecx
je 0x4649a8
jmp 0x4649cf
test eax, eax
je 0x4649ea
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x2c]
inc edi
mov eax, dword [esp + 0x34]
add eax, 0x10
mov dword [esp + 0x34], eax
cmp edi, dword [edx + 0x14]
jl 0x464990
jmp 0x4649fb
mov ecx, dword [esp + 0x2c]
add edi, edi
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + edi*8 + 0xc]
mov dword [esp + 0x30], eax
mov edx, dword [ebp + 0x10]
xor esi, esi
xor ecx, ecx
mov edi, dword [ebp + 0x14]
mov eax, dword [edx + 4]
mov dword [esp + 0x4c], eax
test eax, eax
je 0x464b7b
xor edx, edx
lea ebx, [eax + 8]
mov dword [esp + 0x24], edx
mov dword [esp + 0x18], ebx
cmp dword [eax], edx
jle 0x464b57
nop dword [eax]
mov eax, dword [ebx + 0x14]
mov ecx, dword [ebx + 0x10]
mov dword [esp + 0x38], ecx
test eax, eax
je 0x464ac3
test dword [eax + 8], 0x800
je 0x464ac3
mov ebx, dword [eax]
xor esi, esi
mov dword [esp + 0x34], 0
cmp dword [ebx], esi
jle 0x464ab6
lea edi, [ebx + 0xc]
nop
push dword [esp + 0x28]
mov edx, dword [ebp + 0xc]
push dword [ebp + 8]
mov ecx, dword [edi]
call fcn.00464810
add esp, 8
test eax, eax
je 0x464a9e
mov eax, dword [esp + 0x18]
inc dword [esp + 0x10]
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x1c], 2
mov word [eax + 0x20], si
mov eax, 1
mov dword [esp + 0x34], eax
jmp 0x464aa2
mov eax, dword [esp + 0x34]
inc esi
add edi, 0x18
cmp esi, dword [ebx]
jl 0x464a60
mov edx, dword [esp + 0x24]
test eax, eax
jne 0x464b30
mov ecx, dword [esp + 0x38]
mov esi, dword [ebp + 8]
mov ebx, dword [esp + 0x18]
test esi, esi
je 0x464b34
jmp 0x464ac6
mov esi, dword [ebp + 8]
cmp dword [esp + 0x28], 0
je 0x464ad6
mov eax, dword [esp + 0x30]
cmp dword [ecx + 0x48], eax
jne 0x464b34
test esi, esi
je 0x464c9b
mov edi, dword [ebx + 0xc]
lea eax, [ebx + 0xc]
test edi, edi
cmovne ecx, eax
movzx eax, byte [esi]
mov edx, dword [ecx]
movzx ecx, byte [eax + 0x61b4e0]
mov bl, byte [edx]
movzx eax, bl
movzx eax, byte [eax + 0x61b4e0]
sub eax, ecx
jne 0x464b2c
sub esi, edx
test bl, bl
je 0x464c5f
movzx eax, byte [esi + edx + 1]
inc edx
movzx ecx, byte [eax + 0x61b4e0]
mov bl, byte [edx]
movzx eax, bl
movzx eax, byte [eax + 0x61b4e0]
sub eax, ecx
je 0x464b07
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x18]
mov edi, dword [ebp + 0x14]
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x4c]
inc edx
add ebx, 0x48
mov dword [esp + 0x24], edx
mov dword [esp + 0x18], ebx
cmp edx, dword [eax]
jl 0x464a30
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x464b7b
mov eax, dword [ecx + 0x2c]
mov dword [edi + 0x1c], eax
mov eax, dword [ecx + 0x10]
mov dword [edi + 0x2c], eax
test byte [ecx + 0x24], 8
je 0x464b74
or dword [edi + 4], 0x100000
mov eax, dword [eax + 0x48]
mov dword [esp + 0x30], eax
cmp dword [esp + 0x28], 0
mov eax, dword [esp + 0x1c]
jne 0x465011
mov edi, dword [ebp + 8]
test edi, edi
je 0x465011
test eax, eax
jne 0x465011
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x14]
cmp dword [eax + 0x78], 0
je 0x464dd1
movzx ecx, byte [eax + 0x8c]
mov dword [esp + 0x44], ecx
cmp ecx, 0x75
je 0x464c0c
movzx eax, byte [edi]
mov edx, 0x6e
mov esi, 0x621264
movzx eax, byte [eax + 0x61b4e0]
sub edx, eax
jne 0x464c0c
mov bl, 0x6e
sub edi, esi
nop dword [eax + eax]
test bl, bl
je 0x464da8
movzx eax, byte [edi + esi + 1]
inc esi
mov bl, byte [esi]
movzx ecx, byte [eax + 0x61b4e0]
movzx eax, bl
movzx edx, byte [eax + 0x61b4e0]
sub edx, ecx
je 0x464be0
mov edi, dword [ebp + 8]
mov ecx, dword [esp + 0x44]
cmp ecx, 0x74
je 0x464dd1
movzx eax, byte [edi]
mov edx, 0x6f
mov esi, 0x621268
movzx eax, byte [eax + 0x61b4e0]
sub edx, eax
jne 0x464dd1
mov bl, 0x6f
sub edi, esi
test bl, bl
je 0x464dbc
movzx eax, byte [edi + esi + 1]
inc esi
mov bl, byte [esi]
movzx ecx, byte [eax + 0x61b4e0]
movzx eax, bl
movzx edx, byte [eax + 0x61b4e0]
sub edx, ecx
je 0x464c35
jmp 0x464dd1
test eax, eax
jne 0x464b2c
mov eax, dword [esp + 0x14]
cmp byte [eax + 0xc4], 2
jb 0x464c9b
test edi, edi
je 0x464c9b
mov eax, dword [eax + 0x10c]
test eax, eax
je 0x464c9b
mov ecx, dword [ebp + 0x14]
add ecx, 0x2c
cmp dword [eax], ecx
je 0x464c95
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x464c88
jmp 0x464c9b
mov dword [eax], 0
mov ecx, dword [esp + 0x1c]
mov eax, ecx
inc ecx
mov dword [esp + 0x1c], ecx
test eax, eax
jne 0x464cb2
mov eax, dword [esp + 0x18]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x38]
xor ebx, ebx
mov ecx, dword [eax + 4]
movsx eax, word [eax + 0x2a]
mov dword [esp + 0x44], ecx
test eax, eax
jle 0x464b2c
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax]
movzx edx, byte [eax + 0x61b4e0]
mov dword [esp + 0x34], edx
nop dword [eax]
mov esi, dword [ecx]
mov al, byte [esi]
movzx ecx, al
movzx ecx, byte [ecx + 0x61b4e0]
sub ecx, edx
jne 0x464d44
mov edi, dword [ebp + 0xc]
sub edi, esi
test al, al
je 0x464d1a
movzx ecx, byte [edi + esi + 1]
inc esi
movzx edx, byte [ecx + 0x61b4e0]
mov al, byte [esi]
movzx ecx, al
movzx ecx, byte [ecx + 0x61b4e0]
sub ecx, edx
je 0x464cf7
jmp 0x464d40
test ecx, ecx
jne 0x464d40
mov esi, dword [esp + 0x10]
cmp esi, 1
jne 0x464d61
mov eax, dword [esp + 0x18]
test byte [eax + 0x24], 4
jne 0x464d40
mov edx, dword [ebp + 0xc]
mov ecx, dword [eax + 0x34]
call fcn.00464770
test eax, eax
je 0x464d61
mov edx, dword [esp + 0x34]
mov esi, dword [esp + 0x38]
inc ebx
mov ecx, dword [esp + 0x44]
add ecx, 0x10
mov dword [esp + 0x44], ecx
movsx eax, word [esi + 0x2a]
cmp ebx, eax
jl 0x464ce0
jmp 0x464b2c
mov eax, dword [esp + 0x18]
inc esi
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x10], esi
movsx eax, word [eax + 0x28]
cmp ebx, eax
jne 0x464d91
mov edi, dword [ebp + 0x14]
or eax, 0xffffffff
mov ebx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov word [edi + 0x20], ax
jmp 0x464b3b
mov edi, dword [ebp + 0x14]
mov edx, dword [esp + 0x24]
movsx eax, bx
mov ebx, dword [esp + 0x18]
mov word [edi + 0x20], ax
jmp 0x464b3b
test edx, edx
jne 0x464c05
mov eax, dword [ebp + 0x14]
mov dword [eax + 0x1c], 1
jmp 0x464dc6
test edx, edx
jne 0x464dd1
mov eax, dword [ebp + 0x14]
mov dword [eax + 0x1c], edx
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x78]
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0x10]
mov ecx, 0x200
test word [eax + 0x18], cx
je 0x464e2c
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x464e2c
mov ecx, dword [ebp + 8]
mov edx, 0x65
mov esi, str.excluded
movzx eax, byte [ecx]
movzx eax, byte [eax + 0x61b4e0]
sub edx, eax
jne 0x464e2c
mov edi, ecx
mov bl, 0x65
sub edi, esi
test bl, bl
je 0x464eab
movzx eax, byte [edi + esi + 1]
inc esi
mov bl, byte [esi]
movzx ecx, byte [eax + 0x61b4e0]
movzx eax, bl
movzx edx, byte [eax + 0x61b4e0]
sub edx, ecx
je 0x464e07
mov edi, dword [esp + 0x18]
test edi, edi
je 0x465005
movsx ebx, word [edi + 0x2a]
xor esi, esi
mov eax, dword [edi + 0x48]
mov ecx, dword [edi + 4]
mov dword [esp + 0x30], eax
mov dword [esp + 0x1c], 1
mov dword [esp + 0x38], ecx
mov dword [esp + 0x34], ebx
test ebx, ebx
jle 0x464ef2
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax]
movzx edi, byte [eax + 0x61b4e0]
mov dword [esp + 0x44], edi
mov edx, dword [ecx]
mov bl, byte [edx]
movzx eax, bl
movzx eax, byte [eax + 0x61b4e0]
sub eax, edi
jne 0x464ede
mov edi, dword [ebp + 0xc]
sub edi, edx
test bl, bl
je 0x464ed2
movzx eax, byte [edi + edx + 1]
inc edx
movzx ecx, byte [eax + 0x61b4e0]
mov bl, byte [edx]
movzx eax, bl
movzx eax, byte [eax + 0x61b4e0]
sub eax, ecx
je 0x464e88
jmp 0x464ed6
test edx, edx
jne 0x464e2c
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx + 8]
mov eax, dword [eax + 0x14]
mov edi, dword [eax + 0x18]
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x18], edi
mov dword [eax + 0x1c], 2
jmp 0x464e30
test eax, eax
je 0x464f55
mov edi, dword [esp + 0x44]
mov ecx, dword [esp + 0x38]
mov ebx, dword [esp + 0x34]
inc esi
add ecx, 0x10
mov dword [esp + 0x38], ecx
cmp esi, ebx
jl 0x464e71
mov edi, dword [esp + 0x18]
cmp esi, ebx
jl 0x464f16
mov ecx, dword [ebp + 0xc]
call fcn.004696c0
test eax, eax
je 0x464f0e
test byte [edi + 0x24], 0x40
mov eax, 0xffffffff
cmove esi, eax
cmp esi, ebx
jge 0x465005
mov ebx, dword [ebp + 0x14]
inc dword [esp + 0x10]
mov eax, dword [ebx + 0x1c]
cmp eax, 2
jne 0x464f94
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
mov edx, dword [ebp + 0x10]
cmp byte [eax + 0xc4], 2
jb 0x464f6d
mov eax, dword [esp + 0x1c]
mov word [ebx + 0x20], si
mov esi, dword [esp + 0x10]
mov dword [ebx + 0x2c], edi
mov dword [esp + 0x3c], 0x9e
jmp 0x465017
mov edi, dword [esp + 0x18]
mov ebx, dword [esp + 0x34]
movsx eax, word [edi + 0x28]
cmp esi, eax
mov eax, 0xffffffff
cmove esi, eax
jmp 0x464ef2
mov eax, dword [edx + 8]
mov dword [esp + 0x3c], 0xa4
mov eax, dword [eax + 0x18]
add eax, esi
or dword [ebx + 4], 0x400000
mov esi, dword [esp + 0x10]
mov dword [ebx + 0x1c], eax
mov eax, dword [esp + 0x1c]
jmp 0x465017
test esi, esi
jns 0x464f9e
mov byte [ebx + 1], 0x44
jmp 0x464fe8
test eax, eax
jne 0x464fcb
cmp esi, 0x20
jl 0x464fb6
mov ecx, dword [esp + 0x14]
or eax, 0xffffffff
or dword [ecx + 0x84], eax
jmp 0x464fe8
mov ecx, esi
mov eax, 1
shl eax, cl
mov ecx, dword [esp + 0x14]
or dword [ecx + 0x84], eax
jmp 0x464fe8
cmp esi, 0x20
jl 0x464fd5
or eax, 0xffffffff
jmp 0x464fde
mov eax, 1
mov ecx, esi
shl eax, cl
mov ecx, dword [esp + 0x14]
or dword [ecx + 0x88], eax
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
mov word [ebx + 0x20], si
mov esi, dword [esp + 0x10]
mov dword [ebx + 0x2c], edi
mov dword [esp + 0x3c], 0x4d
jmp 0x465014
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x10]
mov ebx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
test esi, esi
jne 0x465059
cmp eax, 1
jne 0x465059
test ecx, ecx
je 0x465059
test byte [edx + 0x18], 0x20
jne 0x465059
mov ecx, edi
call fcn.004696c0
test eax, eax
je 0x465059
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0x10]
test byte [eax + 0x24], 0x40
jne 0x465059
mov esi, 1
mov byte [ebx + 1], 0x44
or eax, 0xffffffff
mov dword [esp + 0x10], esi
mov word [ebx + 0x20], ax
mov edx, dword [ebp + 0x10]
test byte [edx + 0x18], 0x80
je 0x46512d
test esi, esi
jne 0x46531e
mov ecx, dword [ebp + 8]
test ecx, ecx
jne 0x465112
mov ebx, dword [edx + 8]
xor edx, edx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x34], edx
cmp dword [ebx], edx
jle 0x46510f
mov eax, dword [esp + 0x24]
add ebx, 8
mov dword [esp + 0x38], ebx
nop dword [eax]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4650ef
movzx eax, byte [edi]
mov esi, ebx
mov dl, byte [ebx]
movzx ecx, byte [eax + 0x61b4e0]
movzx eax, dl
movzx eax, byte [eax + 0x61b4e0]
sub eax, ecx
jne 0x4650eb
sub edi, ebx
test dl, dl
je 0x4650e7
movzx eax, byte [edi + esi + 1]
inc esi
movzx ecx, byte [eax + 0x61b4e0]
mov dl, byte [esi]
movzx eax, dl
movzx eax, byte [eax + 0x61b4e0]
sub eax, ecx
je 0x4650c4
jmp 0x4650eb
test eax, eax
je 0x46513a
mov eax, dword [esp + 0x24]
mov ebx, dword [esp + 0x34]
add dword [esp + 0x38], 0x18
inc ebx
cmp ebx, dword [eax]
mov edi, dword [ebp + 0xc]
mov dword [esp + 0x34], ebx
mov ebx, dword [esp + 0x38]
jl 0x4650a0
mov esi, dword [esp + 0x10]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0x10]
mov edx, dword [edx + 0xc]
inc dword [esp + 0x40]
mov dword [ebp + 0x10], edx
test edx, edx
je 0x46520d
mov ecx, dword [esp + 0x20]
jmp 0x464a02
test esi, esi
jne 0x46531e
mov ecx, dword [ebp + 8]
jmp 0x465112
mov edx, dword [esp + 0x34]
mov edi, dword [ebp + 0x10]
mov esi, dword [esp + 0x24]
lea eax, [edx + edx*2]
test byte [edi + 0x18], 1
mov eax, dword [esi + eax*8 + 4]
jne 0x465176
test byte [eax + 4], 2
je 0x465176
push ebx
push str.misuse_of_aliased_aggregate__s
push dword [esp + 0x1c]
call fcn.00434450
add esp, 0xc
mov eax, 2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov cl, byte [eax]
cmp cl, 0xa4
jne 0x465180
mov cl, byte [eax + 0x26]
cmp cl, 0xa5
jne 0x46518a
mov eax, dword [eax + 0x14]
jmp 0x465194
cmp cl, 0x7f
jne 0x4651b8
mov eax, dword [eax + 0x14]
mov eax, dword [eax]
mov eax, dword [eax]
cmp eax, 1
je 0x4651b8
push str.row_value_misused
push dword [esp + 0x18]
call fcn.00434450
add esp, 8
mov eax, 2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x40]
mov ebx, dword [ebp + 0x14]
push ecx
push 0x6194fc
push ebx
push edx
mov edx, esi
mov esi, dword [esp + 0x24]
mov ecx, esi
call fcn.00464620
add esp, 0x10
cmp byte [esi + 0xc4], 2
jb 0x4653e7
mov eax, dword [esi + 0x10c]
test eax, eax
je 0x4653e7
cmp dword [eax], ebx
je 0x465202
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x4651f2
jmp 0x4653e7
mov dword [eax], 0
jmp 0x4653e7
test ecx, ecx
jne 0x4652d8
mov ebx, dword [ebp + 0x14]
mov ecx, dword [ebx + 4]
test cl, 0x40
je 0x465248
push dword [ebp + 0xc]
push str.double_quoted_string_literal:___w_
push 0x1c
call fcn.00433890
add esp, 0xc
mov byte [ebx], 0x6a
mov dword [ebx + 0x2c], 0
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test ecx, 0x4000000
jne 0x4652d5
mov edx, dword [ebx + 8]
mov esi, edx
mov bl, byte [esi]
movzx eax, bl
movzx eax, byte [eax + 0x61b4e0]
sub eax, 0x74
jne 0x465298
mov edi, str.true
sub edi, edx
test bl, bl
je 0x465294
movzx eax, byte [edi + esi + 1]
inc esi
movzx ecx, byte [eax + 0x61b4e0]
mov bl, byte [esi]
movzx eax, bl
movzx eax, byte [eax + 0x61b4e0]
sub eax, ecx
je 0x465271
jmp 0x465298
test eax, eax
je 0x46530c
mov bl, byte [edx]
movzx eax, bl
movzx eax, byte [eax + 0x61b4e0]
sub eax, 0x66
jne 0x4652d1
mov esi, str.false
sub esi, edx
test bl, bl
je 0x465308
movzx eax, byte [esi + edx + 1]
inc edx
movzx ecx, byte [eax + 0x61b4e0]
mov bl, byte [edx]
movzx eax, bl
movzx eax, byte [eax + 0x61b4e0]
sub eax, ecx
je 0x4652b0
mov esi, dword [esp + 0x10]
mov ecx, dword [ebp + 8]
push dword [ebp + 0xc]
test esi, esi
mov edx, str.ambiguous_column_name
mov eax, str.no_such_column
cmovne eax, edx
mov edx, dword [esp + 0x2c]
test edx, edx
je 0x465325
push ecx
push edx
push eax
push str._s:__s._s._s
push dword [esp + 0x28]
call fcn.00434450
add esp, 0x18
jmp 0x465350
test eax, eax
jne 0x4652d1
mov eax, dword [ebp + 0x14]
mov byte [eax], 0x9b
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp esi, 1
jne 0x4652d5
jmp 0x46535f
test ecx, ecx
je 0x46533e
push ecx
push eax
push str._s:__s._s
push dword [esp + 0x24]
call fcn.00434450
add esp, 0x14
jmp 0x465350
push eax
push str._s:__s
push dword [esp + 0x20]
call fcn.00434450
add esp, 0x10
mov eax, dword [esp + 0x14]
mov byte [eax + 0x11], 1
mov eax, dword [esp + 0x48]
inc dword [eax + 0x14]
mov ebx, dword [ebp + 0x14]
movzx eax, word [ebx + 0x20]
test ax, ax
js 0x46539c
mov edi, dword [esp + 0x20]
test edi, edi
je 0x46539c
movsx edx, ax
mov eax, 0x3f
cmp edx, 0x40
cmovge edx, eax
xor eax, eax
xor ecx, ecx
bts eax, edx
cmp edx, 0x20
cmovae ecx, eax
xor eax, ecx
cmp edx, 0x40
cmovae ecx, eax
or dword [edi + 0x38], eax
or dword [edi + 0x3c], ecx
mov edx, dword [ebx + 0xc]
mov edi, dword [esp + 0x2c]
test edx, edx
je 0x4653ae
mov ecx, edi
call fcn.00467ec0
mov edx, dword [ebx + 0x10]
mov dword [ebx + 0xc], 0
test edx, edx
je 0x4653c3
mov ecx, edi
call fcn.00467ec0
mov eax, dword [esp + 0x3c]
or dword [ebx + 4], 0x800000
mov dword [ebx + 0x10], 0
mov byte [ebx], al
cmp esi, 1
jne 0x46516a
mov esi, dword [esp + 0x14]
mov edi, dword [ebp + 0x10]
test dword [ebx + 4], 0x400000
jne 0x465403
push dword [edi + 4]
mov edx, ebx
mov ecx, esi
push dword [esp + 0x34]
call fcn.004738c0
add esp, 8
mov eax, dword [esp + 0x48]
inc dword [eax + 0x10]
cmp eax, edi
je 0x46541a
nop
mov eax, dword [eax + 0xc]
inc dword [eax + 0x10]
cmp eax, edi
jne 0x465410
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret