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

Disassembly:
push 0xe0
mov eax, 0x47a395
call fcn.0045e17e
mov edi, ecx
mov ecx, dword [edi + 0x18]
call fcn.0040e09e
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], edx
cmp eax, 2
jne 0x40fc15
cmp edx, ebx
jne 0x40fc15
lea eax, [esi + 0x130]
push eax
mov ecx, edi
call fcn.0040eac1
mov ecx, dword [edi + 0x18]
call fcn.0040e09e
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], edx
push 4
pop eax
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x44], vtable.CObjectVector_class_CBuffer_unsigned_char__.0
cmp dword [ebp - 0x14], 3
mov dword [ebp - 4], ebx
jne 0x40fc9f
cmp dword [ebp - 0x10], ebx
jne 0x40fc9f
push dword [ebp + 0x10]
lea ecx, [ebp - 0x44]
push dword [ebp + 0xc]
lea eax, [esi + 0x150]
push ecx
push eax
push dword [esi + 0x144]
mov ecx, edi
push dword [esi + 0x140]
call fcn.0040f7bb
cmp eax, ebx
je 0x40fc76
mov ebx, eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.0040e3c4
mov eax, ebx
jmp 0x410308
mov ecx, dword [esi + 0x140]
add dword [esi + 0x150], ecx
mov ecx, dword [esi + 0x144]
adc dword [esi + 0x154], ecx
mov ecx, dword [edi + 0x18]
call fcn.0040e09e
push 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], edx
pop eax
mov dword [ebp - 0xa4], ebx
mov dword [ebp - 0xa0], ebx
mov dword [ebp - 0x9c], ebx
mov dword [ebp - 0x98], 8
mov dword [ebp - 0xa8], vtable.CRecordVector_unsigned_long_long_unsigned___int64__.0
mov dword [ebp - 0x90], ebx
mov dword [ebp - 0x8c], ebx
mov dword [ebp - 0x88], ebx
mov dword [ebp - 0x84], 1
mov dword [ebp - 0x94], vtable.CRecordVector_bool_.0
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x6c], vtable.CRecordVector_unsigned_int_.0
mov byte [ebp - 4], 3
cmp dword [ebp - 0x14], eax
jne 0x40fdb1
cmp dword [ebp - 0x10], ebx
jne 0x40fdb1
lea ecx, [ebp - 0x6c]
push ecx
lea ecx, [ebp - 0x94]
push ecx
lea ecx, [ebp - 0xa8]
push ecx
lea ecx, [esi + 0x50]
push ecx
lea ecx, [esi + 0x3c]
push ecx
lea ecx, [esi + 0x28]
push ecx
lea ecx, [esi + 0x14]
push ecx
push esi
lea eax, [esi + 0x148]
push eax
lea eax, [ebp - 0x44]
push eax
mov ecx, edi
call fcn.0040f73c
mov ecx, dword [esi + 0x140]
add dword [esi + 0x148], ecx
mov ecx, dword [esi + 0x144]
adc dword [esi + 0x14c], ecx
mov ecx, dword [edi + 0x18]
call fcn.0040e09e
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], edx
lea ecx, [esi + 0x64]
call fcn.0041e22a
mov eax, dword [ebp - 0x14]
or eax, dword [ebp - 0x10]
jne 0x40fe60
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 2
call fcn.0041e298
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 1
call fcn.0041e298
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], bl
call fcn.0041e298
jmp 0x40fc63
mov dword [ebp + 0xc], ebx
cmp dword [esi + 0x44], ebx
jle 0x40fd6f
push 1
lea ecx, [esi + 0x50]
call fcn.00408980
mov eax, dword [esi + 0x48]
mov ecx, dword [ebp + 0xc]
mov eax, dword [eax + ecx*4]
mov dword [ebp + 0x10], eax
mov eax, dword [eax + 0x44]
cmp eax, ebx
jne 0x40fddc
xor ecx, ecx
xor eax, eax
jmp 0x40fe09
dec eax
mov dword [ebp + 8], eax
cmp dword [ebp + 8], ebx
jl 0x40fe4b
push dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
call fcn.00408a1c
test eax, eax
js 0x40fdf9
dec dword [ebp + 8]
jmp 0x40fde0
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 0x48]
mov edx, dword [ebp + 8]
mov ecx, dword [eax + edx*8]
mov eax, dword [eax + edx*8 + 4]
push eax
push ecx
lea ecx, [ebp - 0xa8]
call fcn.0040772c
mov eax, dword [ebp + 0x10]
movzx eax, byte [eax + 0x54]
push eax
lea ecx, [ebp - 0x94]
call fcn.0040a461
mov eax, dword [ebp + 0x10]
push dword [eax + 0x50]
lea ecx, [ebp - 0x6c]
call fcn.00408980
inc dword [ebp + 0xc]
mov eax, dword [ebp + 0xc]
cmp eax, dword [esi + 0x44]
jl 0x40fdb9
jmp 0x40fd6f
push 0x490d74
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x18], 1
call fcn.0045dd4e
cmp dword [ebp - 0x14], 5
jne 0x40fe6b
cmp dword [ebp - 0x10], ebx
je 0x40fe70
call fcn.0040e003
mov ecx, dword [edi + 0x18]
call fcn.0040e133
push eax
lea ecx, [esi + 0x64]
mov dword [ebp + 8], eax
call fcn.0041e124
cmp dword [ebp + 8], ebx
jbe 0x40fecc
mov eax, dword [ebp + 8]
mov dword [ebp + 0x10], eax
lea ecx, [ebp - 0xb8]
call fcn.00408bd0
mov dword [ebp - 0xac], 1
lea eax, [ebp - 0xc8]
push eax
lea ecx, [esi + 0x64]
mov byte [ebp - 4], 4
call fcn.0040f1be
push dword [ebp - 0xb8]
mov byte [ebp - 4], 3
call fcn.0040115b
dec dword [ebp + 0x10]
pop ecx
jne 0x40fe8f
push ebx
lea ecx, [esi + 0x158]
push 9
call fcn.0040772c
cmp dword [esi + 8], ebx
je 0x40feed
push ebx
push 6
lea ecx, [esi + 0x158]
call fcn.0040772c
cmp dword [ebp + 8], ebx
jbe 0x40ff05
cmp dword [ebp - 0x64], ebx
je 0x40ff05
push ebx
push 0xa
lea ecx, [esi + 0x158]
call fcn.0040772c
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], 1
mov dword [ebp - 0x58], vtable.CRecordVector_bool_.0
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 5
call fcn.0040e1df
pop ecx
xor ecx, ecx
inc ecx
mov eax, vtable.CRecordVector_bool_.0
mov dword [ebp - 0xd8], ebx
mov dword [ebp - 0xd4], ebx
mov dword [ebp - 0xd0], ebx
mov dword [ebp - 0xcc], ecx
mov dword [ebp - 0xdc], eax
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x80], eax
mov byte [ebp - 4], 7
mov dword [ebp + 0x10], ebx
jmp 0x4101d6
mov ecx, dword [edi + 0x18]
call fcn.0040e09e
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ecx + 8]
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x24], ebx
ja case.0x40ffac.22
jb 0x40ff9d
cmp dword [ebp - 0x28], 0x40000000
ja case.0x40ffac.22
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff2
cmp eax, 0xb
ja case.0x40ffac.22
jmp dword [eax*4 + 0x410310]
mov byte [ebp - 0xe8], bl
lea eax, [ebp - 0x44]
push eax
push edi
lea ecx, [ebp - 0xec]
mov byte [ebp - 4], 8
call fcn.0040e7d0
mov dword [ebp + 0xc], ebx
cmp dword [esi + 0x6c], ebx
jle 0x40fff5
mov eax, dword [esi + 0x70]
mov ecx, dword [ebp + 0xc]
mov eax, dword [eax + ecx*4]
mov ecx, dword [edi + 0x18]
add eax, 0x10
push eax
call fcn.0040e819
inc dword [ebp + 0xc]
mov eax, dword [ebp + 0xc]
cmp eax, dword [esi + 0x6c]
jl 0x40ffd5
lea ecx, [ebp - 0xec]
mov byte [ebp - 4], 7
call fcn.0040e77e
push dword [ebp - 0x24]
lea ecx, [esi + 0x158]
push dword [ebp - 0x28]
call fcn.0040772c
jmp 0x4101aa
mov dword [ebp - 0xb8], ebx
mov dword [ebp - 0xb4], ebx
mov dword [ebp - 0xb0], ebx
mov dword [ebp - 0xac], 1
mov dword [ebp - 0xbc], vtable.CRecordVector_bool_.0
mov eax, dword [esi + 0x6c]
lea ecx, [ebp - 0xbc]
push ecx
push eax
mov ecx, edi
mov byte [ebp - 4], 9
call fcn.0040e299
mov byte [ebp - 0xe0], bl
lea eax, [ebp - 0x44]
push eax
push edi
lea ecx, [ebp - 0xe4]
mov byte [ebp - 4], 0xa
call fcn.0040e7d0
mov dword [ebp + 0xc], ebx
cmp dword [ebp + 8], ebx
jbe 0x4100ad
mov ecx, ebx
mov eax, dword [esi + 0x70]
mov edx, dword [eax + ecx*4]
mov eax, dword [ebp - 0xb0]
mov al, byte [eax + ecx]
mov dword [ebp - 0x18], edx
mov byte [edx + 0x1f], al
cmp al, bl
je 0x4100a4
mov ecx, dword [edi + 0x18]
call fcn.0040e149
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 8], eax
mov ecx, dword [ebp + 0xc]
inc ecx
mov dword [ebp + 0xc], ecx
cmp ecx, dword [ebp + 8]
jb 0x41007a
lea ecx, [ebp - 0xe4]
mov byte [ebp - 4], 9
call fcn.0040e77e
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 7
call fcn.0041e298
jmp 0x410004
lea eax, [ebp - 0x58]
push eax
push dword [ebp + 8]
mov ecx, edi
call fcn.0040e244
xor eax, eax
cmp dword [ebp - 0x50], ebx
jbe 0x4100f6
mov ecx, dword [ebp - 0x4c]
cmp byte [ecx + eax], bl
je 0x4100f0
inc dword [ebp + 0x10]
inc eax
cmp eax, dword [ebp - 0x50]
jb 0x4100e5
lea eax, [ebp - 0xdc]
push eax
mov eax, dword [ebp + 0x10]
call fcn.0040e1df
lea eax, [ebp - 0x80]
push eax
mov eax, dword [ebp + 0x10]
call fcn.0040e1df
pop ecx
pop ecx
jmp 0x410004
lea eax, [ebp - 0xdc]
push eax
push dword [ebp + 0x10]
mov ecx, edi
call fcn.0040e244
jmp 0x410004
lea eax, [ebp - 0x80]
jmp 0x41011e
lea eax, [esi + 0xf0]
push dword [ebp + 8]
mov ecx, edi
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.0040f146
jmp 0x410004
lea eax, [esi + 0x78]
jmp 0x410139
lea eax, [esi + 0xa0]
jmp 0x410139
lea eax, [esi + 0xc8]
jmp 0x410139
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
cmp dword [ebp - 0x1c], ebx
jb 0x4101aa
ja 0x410174
cmp dword [ebp - 0x20], ebx
jbe 0x4101aa
mov ecx, dword [edi + 0x18]
call fcn.0040e023
test al, al
jne 0x40fe6b
add dword [ebp - 0x30], 1
adc dword [ebp - 0x2c], ebx
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0x1c]
jb 0x410174
ja 0x4101aa
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x20]
jb 0x410174
jmp 0x4101aa
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
call fcn.0040e071
cmp byte [esi + 0x130], bl
ja 0x4101bb
cmp byte [esi + 0x131], 2
jbe 0x4101d6
mov eax, dword [edi + 0x18]
mov eax, dword [eax + 8]
sub eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x20]
jne 0x40fe6b
cmp ebx, dword [ebp - 0x1c]
jne 0x40fe6b
mov ecx, dword [edi + 0x18]
call fcn.0040e09e
mov dword [ebp - 0x28], eax
or eax, edx
mov dword [ebp - 0x24], edx
jne 0x40ff6e
xor edi, edi
xor eax, eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x10], ebx
cmp dword [ebp + 0x10], ebx
jbe 0x41020c
mov ecx, dword [ebp - 0x74]
cmp byte [ecx + eax], bl
je 0x410206
inc dword [ebp - 0x10]
inc eax
cmp eax, dword [ebp + 0x10]
jb 0x4101fb
xor ecx, ecx
mov dword [ebp + 0xc], ecx
cmp dword [ebp + 8], ebx
jbe 0x4102aa
mov edx, dword [ebp - 0x4c]
cmp byte [edx + ecx], bl
mov eax, dword [esi + 0x70]
mov eax, dword [eax + ecx*4]
sete cl
mov byte [eax + 0x1c], cl
cmp cl, bl
je 0x410260
mov byte [eax + 0x1d], bl
mov ecx, dword [ebp - 0x9c]
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 - 0x60]
mov ecx, dword [ecx + edi*4]
mov dword [eax + 0xc], ecx
mov ecx, dword [ebp - 0x88]
mov cl, byte [ecx + edi]
mov byte [ebp + 0x10], bl
mov byte [eax + 0x1e], cl
inc edi
jmp 0x410287
mov edx, dword [ebp - 0xd0]
mov ecx, dword [ebp - 0x18]
cmp byte [edx + ecx], bl
sete dl
mov byte [eax + 0x1d], dl
mov edx, dword [ebp - 0x74]
mov dl, byte [edx + ecx]
inc ecx
mov byte [ebp + 0x10], dl
mov dword [ebp - 0x18], ecx
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov byte [eax + 0x1e], bl
cmp dword [ebp - 0x10], ebx
je 0x41029a
push dword [ebp + 0x10]
lea ecx, [esi + 0x118]
call fcn.0040a461
mov ecx, dword [ebp + 0xc]
inc ecx
mov dword [ebp + 0xc], ecx
cmp ecx, dword [ebp + 8]
jb 0x41021a
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 6
call fcn.0041e298
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 5
call fcn.0041e298
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 3
call fcn.0041e298
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 2
call fcn.0041e298
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 1
call fcn.0041e298
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], bl
call fcn.0041e298
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.0040e3c4
xor eax, eax
call fcn.0045e256
ret 0xc