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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe4
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [esi + 0x18]
call fcn.00475d07
cmp eax, 2
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
jne 0x476db9
test edx, edx
jne 0x476db9
jmp 0x476d9f
call fcn.00475d07
push edx
push eax
mov ecx, edi
call fcn.00475cda
mov edi, dword [esi + 0x18]
call fcn.00475d07
or eax, edx
mov edi, dword [esi + 0x18]
jne 0x476d91
call fcn.00475d07
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
xor eax, eax
cmp dword [ebp - 8], 3
push 4
pop ecx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x2c], vtable.CObjectVector_class_CBuffer_unsigned_char__.0
jne 0x476e52
cmp dword [ebp - 4], eax
jne 0x476e52
push dword [ebp + 0x14]
mov ebx, dword [ebp + 0xc]
push dword [ebp + 0x10]
lea eax, [ebp - 0x2c]
push eax
lea edi, [ebx + 0x150]
push edi
push dword [ebx + 0x144]
push dword [ebx + 0x140]
push esi
call fcn.00476a04
test eax, eax
je 0x476e2c
mov esi, eax
push dword [ebp - 0x24]
lea ecx, [ebp - 0x2c]
push 0
mov dword [ebp - 0x2c], vtable.CObjectVector_class_CBuffer_unsigned_char__.0
call dword [0x4c5734]
lea ecx, [ebp - 0x2c]
call fcn.0046e1d7
mov eax, esi
jmp 0x477403
mov eax, dword [ebx + 0x140]
add dword [edi], eax
mov eax, dword [ebx + 0x144]
adc dword [edi + 4], eax
mov edi, dword [esi + 0x18]
call fcn.00475d07
push 4
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
pop ecx
xor eax, eax
jmp 0x476e55
mov ebx, dword [ebp + 0xc]
cmp dword [ebp - 8], ecx
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], 8
mov dword [ebp - 0x9c], vtable.CRecordVector_unsigned_long_long_unsigned___int64__.0
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], 1
mov dword [ebp - 0x74], vtable.CRecordVector_bool_.0
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x60], vtable.CRecordVector_unsigned_int_.0
jne 0x476f00
cmp dword [ebp - 4], eax
jne 0x476f00
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x9c]
push eax
lea eax, [ebx + 0x50]
push eax
lea eax, [ebx + 0x3c]
push eax
lea eax, [ebx + 0x28]
push eax
lea eax, [ebx + 0x14]
push eax
push ebx
lea edi, [ebx + 0x148]
push edi
lea eax, [ebp - 0x2c]
push eax
call fcn.00476864
mov eax, dword [ebx + 0x140]
add dword [edi], eax
mov eax, dword [ebx + 0x144]
adc dword [edi + 4], eax
mov edi, dword [esi + 0x18]
call fcn.00475d07
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
jmp 0x476f50
cmp dword [ebx + 0x44], eax
mov dword [ebp + 0x14], eax
jle 0x476f50
push 1
lea esi, [ebx + 0x50]
call fcn.004657db
mov eax, dword [ebx + 0x48]
mov ecx, dword [ebp + 0x14]
mov edi, dword [eax + ecx*4]
call fcn.004725e8
push edx
push eax
lea esi, [ebp - 0x9c]
call fcn.004657b3
movzx eax, byte [edi + 0x54]
push eax
lea esi, [ebp - 0x74]
call fcn.00472d7d
push dword [edi + 0x50]
lea esi, [ebp - 0x60]
call fcn.004657db
inc dword [ebp + 0x14]
mov eax, dword [ebp + 0x14]
cmp eax, dword [ebx + 0x44]
jl 0x476f08
lea edi, [ebx + 0x64]
push dword [edi + 8]
mov eax, dword [edi]
xor esi, esi
push esi
mov ecx, edi
call dword [eax + 4]
mov eax, dword [ebp - 8]
or eax, dword [ebp - 4]
jne 0x476f88
lea ecx, [ebp - 0x60]
call fcn.0046e1d7
lea ecx, [ebp - 0x74]
call fcn.0046e1d7
lea ecx, [ebp - 0x9c]
call fcn.0046e1d7
jmp 0x476e08
cmp dword [ebp - 8], 5
jne 0x476f93
cmp dword [ebp - 4], esi
je 0x476f98
call fcn.00475bd3
mov eax, dword [ebp + 8]
call fcn.00475985
mov ebx, eax
mov esi, edi
mov dword [ebp + 0x14], ebx
call fcn.0046e242
mov eax, dword [ebp + 0x14]
xor ebx, ebx
cmp eax, ebx
jbe 0x476fde
mov dword [ebp + 0x10], eax
lea esi, [ebp - 0xe0]
call fcn.00475917
push edi
mov ebx, eax
call fcn.00477a1c
push dword [ebp - 0xd0]
call fcn.0048a41a
dec dword [ebp + 0x10]
pop ecx
jne 0x476fb8
xor ebx, ebx
mov edi, dword [ebp + 0xc]
push ebx
lea esi, [edi + 0x158]
push 9
mov dword [ebp - 0x10], esi
call fcn.004657b3
cmp dword [edi + 8], ebx
je 0x476fff
push ebx
push 6
call fcn.004657b3
cmp dword [ebp + 0x14], ebx
jbe 0x477011
cmp dword [ebp - 0x58], ebx
je 0x477011
push ebx
push 0xa
call fcn.004657b3
mov eax, dword [ebp + 0x14]
xor edi, edi
inc edi
mov esi, vtable.CRecordVector_bool_.0
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x4c], esi
call fcn.004759a0
mov dword [ebp - 0xac], ebx
mov dword [ebp - 0xa8], ebx
mov dword [ebp - 0xa4], ebx
mov dword [ebp - 0xa0], edi
mov dword [ebp - 0xb0], esi
mov dword [ebp - 0x84], ebx
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x88], esi
mov dword [ebp + 0x10], ebx
jmp 0x4772d2
mov esi, dword [ebp + 8]
mov edi, dword [esi + 0x18]
call fcn.00475d07
cmp dword [ebp - 0x14], ebx
mov ecx, dword [esi + 0x18]
mov dword [ebp - 0x38], eax
mov eax, dword [ecx + 8]
mov dword [ebp - 0x34], edx
mov dword [ebp - 4], eax
ja case.0x4770af.22
jb 0x4770a0
cmp dword [ebp - 0x18], 0x40000000
ja case.0x4770af.22
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff2
cmp eax, 0xb
ja case.0x4770af.22
jmp dword [eax*4 + 0x47740d]
push esi
lea esi, [ebp - 0x2c]
lea eax, [ebp - 0xc0]
mov byte [ebp - 0xbc], bl
call fcn.00475c97
mov eax, dword [ebp + 0xc]
xor esi, esi
cmp dword [eax + 0x6c], ebx
jle 0x4770f2
mov ebx, eax
mov eax, dword [ebx + 0x70]
mov eax, dword [eax + esi*4]
add eax, 0x10
push eax
mov eax, dword [ebp + 8]
mov edi, dword [eax + 0x18]
call fcn.00475d98
inc esi
cmp esi, dword [ebx + 0x6c]
jl 0x4770d7
lea ebx, [ebp - 0xc0]
call fcn.00475bf3
xor ebx, ebx
push dword [ebp - 0x14]
mov esi, dword [ebp - 0x10]
push dword [ebp - 0x18]
call fcn.004657b3
jmp 0x47729e
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx + 0x6c]
push esi
lea eax, [ebp - 0xd4]
mov dword [ebp - 0xd0], ebx
mov dword [ebp - 0xcc], ebx
mov dword [ebp - 0xc8], ebx
mov dword [ebp - 0xc4], 1
mov dword [ebp - 0xd4], vtable.CRecordVector_bool_.0
call fcn.00476931
push esi
lea esi, [ebp - 0x2c]
lea eax, [ebp - 0xb8]
mov byte [ebp - 0xb4], bl
call fcn.00475c97
xor eax, eax
cmp dword [ebp + 0x14], ebx
mov dword [ebp - 0xc], eax
jbe 0x4771ae
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx + 0x70]
mov edx, dword [ebp - 0xc8]
mov ecx, dword [ecx + eax*4]
mov al, byte [edx + eax]
cmp al, bl
mov byte [ecx + 0x1f], al
je 0x4771a2
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x18]
mov edx, dword [eax + 8]
lea esi, [edx + 4]
cmp esi, dword [eax + 4]
ja 0x476f93
mov edi, dword [eax]
mov edx, dword [edx + edi]
mov dword [eax + 8], esi
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0xc]
inc eax
cmp eax, dword [ebp + 0x14]
mov dword [ebp - 0xc], eax
jb 0x477169
lea ebx, [ebp - 0xb8]
call fcn.00475bf3
lea ecx, [ebp - 0xd4]
call fcn.0046e1d7
jmp 0x4770fd
mov ecx, dword [ebp + 0x14]
push esi
lea eax, [ebp - 0x4c]
call fcn.004768de
xor eax, eax
cmp dword [ebp - 0x44], ebx
jbe 0x4771ed
mov ecx, dword [ebp - 0x40]
cmp byte [ecx + eax], bl
je 0x4771e7
inc dword [ebp + 0x10]
inc eax
cmp eax, dword [ebp - 0x44]
jb 0x4771dc
mov eax, dword [ebp + 0x10]
lea ecx, [ebp - 0xb0]
call fcn.004759a0
mov eax, dword [ebp + 0x10]
lea ecx, [ebp - 0x88]
call fcn.004759a0
jmp 0x4770ff
lea eax, [ebp - 0xb0]
mov ecx, dword [ebp + 0x10]
push esi
call fcn.004768de
jmp 0x4770ff
lea eax, [ebp - 0x88]
jmp 0x477214
mov edi, dword [ebp + 0xc]
add edi, 0xf0
push dword [ebp + 0x14]
lea eax, [ebp - 0x2c]
push eax
push esi
call fcn.00476977
jmp 0x4770ff
mov edi, dword [ebp + 0xc]
add edi, 0x78
jmp 0x477233
mov edi, dword [ebp + 0xc]
add edi, 0xa0
jmp 0x477233
mov edi, dword [ebp + 0xc]
add edi, 0xc8
jmp 0x477233
xor edi, edi
xor esi, esi
cmp edx, ebx
jb 0x47729e
ja 0x477272
cmp dword [ebp - 0x38], ebx
jbe 0x47729e
mov eax, dword [ebp + 8]
call fcn.0047596b
test al, al
jne 0x476f93
add edi, 1
adc esi, ebx
cmp esi, dword [ebp - 0x34]
jb 0x477272
ja 0x47729e
cmp edi, dword [ebp - 0x38]
jb 0x477272
jmp 0x47729e
push edx
push dword [ebp - 0x38]
call fcn.00475cda
mov eax, dword [ebp + 0xc]
cmp byte [eax + 0x130], bl
ja 0x4772b2
cmp byte [eax + 0x131], 2
jbe 0x4772d2
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 8]
sub eax, dword [ebp - 4]
xor ecx, ecx
cmp eax, dword [ebp - 0x38]
jne 0x476f93
cmp ecx, dword [ebp - 0x34]
jne 0x476f93
mov eax, dword [ebp + 8]
mov edi, dword [eax + 0x18]
call fcn.00475d07
mov dword [ebp - 0x18], eax
or eax, edx
mov dword [ebp - 0x14], edx
jne 0x47706e
xor edi, edi
xor eax, eax
cmp dword [ebp + 0x10], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp + 8], ebx
jbe 0x47730b
mov ecx, dword [ebp - 0x7c]
cmp byte [ecx + eax], bl
je 0x477305
inc dword [ebp + 8]
inc eax
cmp eax, dword [ebp + 0x10]
jb 0x4772fa
xor ecx, ecx
cmp dword [ebp + 0x14], ebx
mov dword [ebp - 0xc], ecx
jbe 0x4773ac
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp + 0xc]
cmp byte [edx + ecx], bl
mov eax, dword [eax + 0x70]
mov eax, dword [eax + ecx*4]
sete cl
cmp cl, bl
mov byte [eax + 0x1c], cl
je 0x47735f
mov byte [eax + 0x1d], bl
mov ecx, dword [ebp - 0x90]
mov edx, dword [ecx + edi*8]
mov dword [eax], edx
mov ecx, dword [ecx + edi*8 + 4]
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 0x54]
mov ecx, dword [ecx + edi*4]
mov dword [eax + 0xc], ecx
mov ecx, dword [ebp - 0x68]
mov cl, byte [ecx + edi]
mov byte [ebp + 0x10], bl
mov byte [eax + 0x1e], cl
inc edi
jmp 0x477386
mov ecx, dword [ebp - 0xa4]
mov esi, dword [ebp - 0x10]
cmp byte [ecx + esi], bl
sete cl
mov byte [eax + 0x1d], cl
mov ecx, dword [ebp - 0x7c]
mov cl, byte [ecx + esi]
inc esi
mov byte [ebp + 0x10], cl
mov dword [ebp - 0x10], esi
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov byte [eax + 0x1e], bl
cmp dword [ebp + 8], ebx
je 0x47739c
mov esi, dword [ebp + 0xc]
push dword [ebp + 0x10]
add esi, 0x118
call fcn.00472d7d
mov ecx, dword [ebp - 0xc]
inc ecx
cmp ecx, dword [ebp + 0x14]
mov dword [ebp - 0xc], ecx
jb 0x477319
lea ecx, [ebp - 0x88]
call fcn.0046e1d7
lea ecx, [ebp - 0xb0]
call fcn.0046e1d7
lea ecx, [ebp - 0x4c]
call fcn.0046e1d7
lea ecx, [ebp - 0x60]
call fcn.0046e1d7
lea ecx, [ebp - 0x74]
call fcn.0046e1d7
lea ecx, [ebp - 0x9c]
call fcn.0046e1d7
push dword [ebp - 0x24]
lea ecx, [ebp - 0x2c]
push ebx
mov dword [ebp - 0x2c], vtable.CObjectVector_class_CBuffer_unsigned_char__.0
call dword [0x4c5734]
lea ecx, [ebp - 0x2c]
call fcn.0046e1d7
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0x10