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

Disassembly:
mov eax, 0x510595
call fcn.0050c878
sub esp, 0xe8
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [esi + 0x18]
call fcn.0041d910
xor ebx, ebx
cmp eax, 2
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], edx
jne 0x41eb2a
cmp edx, ebx
jne 0x41eb2a
jmp 0x41eb10
call fcn.0041d910
push edx
push eax
mov ecx, edi
call fcn.0041d8e3
mov edi, dword [esi + 0x18]
call fcn.0041d910
or eax, edx
mov edi, dword [esi + 0x18]
jne 0x41eb02
call fcn.0041d910
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], edx
push 4
pop ecx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x48], vtable.CObjectVector_class_CBuffer_unsigned_char__.0
cmp dword [ebp - 0x1c], 3
mov dword [ebp - 4], ebx
jne 0x41ebb2
cmp dword [ebp - 0x18], ebx
jne 0x41ebb2
push dword [ebp + 0x14]
mov ebx, dword [ebp + 0xc]
push dword [ebp + 0x10]
lea eax, [ebp - 0x48]
push eax
lea edi, [ebx + 0x150]
push edi
push dword [ebx + 0x144]
push dword [ebx + 0x140]
push esi
call fcn.0041e6d2
test eax, eax
je 0x41eb8e
mov esi, eax
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x48]
push eax
call fcn.0041f8aa
mov eax, esi
jmp 0x41f1c9
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.0041d910
push 4
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], edx
pop ecx
jmp 0x41ebb5
mov ebx, dword [ebp + 0xc]
xor eax, eax
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x9c], 8
mov dword [ebp - 0xac], vtable.CRecordVector_unsigned_long_long_unsigned___int64__.0
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x88], 1
mov dword [ebp - 0x98], vtable.CRecordVector_bool_.0
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x70], vtable.CRecordVector_unsigned_int_.0
cmp dword [ebp - 0x1c], ecx
mov byte [ebp - 4], 3
jne 0x41ec7b
cmp dword [ebp - 0x18], eax
jne 0x41ec7b
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0xac]
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 - 0x48]
push eax
call fcn.0041e51a
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.0041d910
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], edx
jmp 0x41ecce
cmp dword [ebx + 0x44], eax
mov dword [ebp + 0x14], eax
jle 0x41ecce
push 1
lea esi, [ebx + 0x50]
call fcn.0040c6a6
mov eax, dword [ebx + 0x48]
mov ecx, dword [ebp + 0x14]
mov edi, dword [eax + ecx*4]
call fcn.00419d0f
push edx
push eax
lea esi, [ebp - 0xac]
call fcn.0040bae1
movzx eax, byte [edi + 0x54]
push eax
lea esi, [ebp - 0x98]
call fcn.0041a4b8
push dword [edi + 0x50]
lea esi, [ebp - 0x70]
call fcn.0040c6a6
inc dword [ebp + 0x14]
mov eax, dword [ebp + 0x14]
cmp eax, dword [ebx + 0x44]
jl 0x41ec83
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 - 0x1c]
or eax, dword [ebp - 0x18]
jne 0x41ed15
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 2
call fcn.0041503a
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 1
call fcn.0041503a
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 0
call fcn.0041503a
jmp 0x41eb7a
cmp dword [ebp - 0x1c], 5
jne 0x41ed20
cmp dword [ebp - 0x18], esi
je 0x41ed25
call fcn.0041d7d7
mov eax, dword [ebp + 8]
call fcn.0041d53f
mov ebx, eax
mov esi, edi
mov dword [ebp + 0x14], ebx
call fcn.0041509a
mov eax, dword [ebp + 0x14]
xor ebx, ebx
cmp eax, ebx
jbe 0x41ed73
mov dword [ebp + 0x10], eax
lea esi, [ebp - 0xf4]
call fcn.0041d4d1
push edi
mov ebx, eax
mov byte [ebp - 4], 4
call fcn.0041f82e
mov byte [ebp - 4], 3
push dword [ebp - 0xe4]
call fcn.004ef1f5
dec dword [ebp + 0x10]
pop ecx
jne 0x41ed45
xor ebx, ebx
mov edi, dword [ebp + 0xc]
push ebx
lea esi, [edi + 0x158]
push 9
mov dword [ebp - 0x24], esi
call fcn.0040bae1
cmp dword [edi + 8], ebx
je 0x41ed94
push ebx
push 6
call fcn.0040bae1
cmp dword [ebp + 0x14], ebx
jbe 0x41eda6
cmp dword [ebp - 0x68], ebx
je 0x41eda6
push ebx
push 0xa
call fcn.0040bae1
xor edi, edi
inc edi
mov esi, vtable.CRecordVector_bool_.0
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x5c], esi
mov eax, dword [ebp + 0x14]
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 5
call fcn.0041d55a
mov dword [ebp - 0xbc], ebx
mov dword [ebp - 0xb8], ebx
mov dword [ebp - 0xb4], ebx
mov dword [ebp - 0xb0], edi
mov dword [ebp - 0xc0], esi
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x84], esi
mov byte [ebp - 4], 7
mov dword [ebp + 0x10], ebx
jmp 0x41f08a
mov esi, dword [ebp + 8]
mov edi, dword [esi + 0x18]
call fcn.0041d910
cmp dword [ebp - 0x28], ebx
mov ecx, dword [esi + 0x18]
mov dword [ebp - 0x34], eax
mov eax, dword [ecx + 8]
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x18], eax
ja case.0x41ee49.22
jb 0x41ee3a
cmp dword [ebp - 0x2c], 0x40000000
ja case.0x41ee49.22
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff2
cmp eax, 0xb
ja case.0x41ee49.22
jmp dword [eax*4 + 0x41f1dd]
mov byte [ebp - 0xcc], bl
push dword [ebp + 8]
lea esi, [ebp - 0x48]
lea eax, [ebp - 0xd0]
mov byte [ebp - 4], 8
call fcn.0041d8a0
mov eax, dword [ebp + 0xc]
xor esi, esi
cmp dword [eax + 0x6c], ebx
jle 0x41ee92
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.0041d9a1
inc esi
cmp esi, dword [ebx + 0x6c]
jl 0x41ee77
lea ebx, [ebp - 0xd0]
mov byte [ebp - 4], 7
call fcn.0041d7fc
xor ebx, ebx
push dword [ebp - 0x28]
mov esi, dword [ebp - 0x24]
push dword [ebp - 0x2c]
call fcn.0040bae1
jmp 0x41f056
mov dword [ebp - 0xe4], ebx
mov dword [ebp - 0xe0], ebx
mov dword [ebp - 0xdc], ebx
mov dword [ebp - 0xd8], 1
mov dword [ebp - 0xe8], vtable.CRecordVector_bool_.0
mov eax, dword [ebp + 0xc]
push dword [ebp + 8]
mov byte [ebp - 4], 9
mov ecx, dword [eax + 0x6c]
lea eax, [ebp - 0xe8]
call fcn.0041e5e7
mov byte [ebp - 0xc4], bl
push dword [ebp + 8]
lea esi, [ebp - 0x48]
lea eax, [ebp - 0xc8]
mov byte [ebp - 4], 0xa
call fcn.0041d8a0
xor eax, eax
cmp dword [ebp + 0x14], ebx
mov dword [ebp - 0x20], eax
jbe 0x41ef5e
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx + 0x70]
mov edx, dword [ebp - 0xdc]
mov ecx, dword [ecx + eax*4]
mov al, byte [edx + eax]
cmp al, bl
mov byte [ecx + 0x1f], al
je 0x41ef52
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 0x41ed20
mov edi, dword [eax]
mov edx, dword [edx + edi]
mov dword [eax + 8], esi
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0x20]
inc eax
cmp eax, dword [ebp + 0x14]
mov dword [ebp - 0x20], eax
jb 0x41ef19
lea ebx, [ebp - 0xc8]
mov byte [ebp - 4], 9
call fcn.0041d7fc
lea ecx, [ebp - 0xe8]
mov byte [ebp - 4], 7
call fcn.0041503a
jmp 0x41eea1
mov ecx, dword [ebp + 0x14]
push esi
lea eax, [ebp - 0x5c]
call fcn.0041e594
xor eax, eax
cmp dword [ebp - 0x54], ebx
jbe 0x41efa5
mov ecx, dword [ebp - 0x50]
cmp byte [ecx + eax], bl
je 0x41ef9f
inc dword [ebp + 0x10]
inc eax
cmp eax, dword [ebp - 0x54]
jb 0x41ef94
mov eax, dword [ebp + 0x10]
lea ecx, [ebp - 0xc0]
call fcn.0041d55a
mov eax, dword [ebp + 0x10]
lea ecx, [ebp - 0x84]
call fcn.0041d55a
jmp 0x41eea3
lea eax, [ebp - 0xc0]
mov ecx, dword [ebp + 0x10]
push esi
call fcn.0041e594
jmp 0x41eea3
lea eax, [ebp - 0x84]
jmp 0x41efcc
mov edi, dword [ebp + 0xc]
add edi, 0xf0
push dword [ebp + 0x14]
lea eax, [ebp - 0x48]
push eax
push esi
call fcn.0041e62d
jmp 0x41eea3
mov edi, dword [ebp + 0xc]
add edi, 0x78
jmp 0x41efeb
mov edi, dword [ebp + 0xc]
add edi, 0xa0
jmp 0x41efeb
mov edi, dword [ebp + 0xc]
add edi, 0xc8
jmp 0x41efeb
xor edi, edi
xor esi, esi
cmp edx, ebx
jb 0x41f056
ja 0x41f02a
cmp dword [ebp - 0x34], ebx
jbe 0x41f056
mov eax, dword [ebp + 8]
call fcn.0041d525
test al, al
jne 0x41ed20
add edi, 1
adc esi, ebx
cmp esi, dword [ebp - 0x30]
jb 0x41f02a
ja 0x41f056
cmp edi, dword [ebp - 0x34]
jb 0x41f02a
jmp 0x41f056
push edx
push dword [ebp - 0x34]
call fcn.0041d8e3
mov eax, dword [ebp + 0xc]
cmp byte [eax + 0x130], bl
ja 0x41f06a
cmp byte [eax + 0x131], 2
jbe 0x41f08a
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 8]
sub eax, dword [ebp - 0x18]
xor ecx, ecx
cmp eax, dword [ebp - 0x34]
jne 0x41ed20
cmp ecx, dword [ebp - 0x30]
jne 0x41ed20
mov eax, dword [ebp + 8]
mov edi, dword [eax + 0x18]
call fcn.0041d910
mov dword [ebp - 0x2c], eax
or eax, edx
mov dword [ebp - 0x28], edx
jne 0x41ee08
xor edi, edi
xor eax, eax
cmp dword [ebp + 0x10], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp + 8], ebx
jbe 0x41f0c3
mov ecx, dword [ebp - 0x78]
cmp byte [ecx + eax], bl
je 0x41f0bd
inc dword [ebp + 8]
inc eax
cmp eax, dword [ebp + 0x10]
jb 0x41f0b2
xor ecx, ecx
cmp dword [ebp + 0x14], ebx
mov dword [ebp - 0x20], ecx
jbe 0x41f167
mov edx, dword [ebp - 0x50]
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 0x41f11a
mov byte [eax + 0x1d], bl
mov ecx, dword [ebp - 0xa0]
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 - 0x64]
mov ecx, dword [ecx + edi*4]
mov dword [eax + 0xc], ecx
mov ecx, dword [ebp - 0x8c]
mov cl, byte [ecx + edi]
mov byte [ebp + 0x10], bl
mov byte [eax + 0x1e], cl
inc edi
jmp 0x41f141
mov ecx, dword [ebp - 0xb4]
mov esi, dword [ebp - 0x24]
cmp byte [ecx + esi], bl
sete cl
mov byte [eax + 0x1d], cl
mov ecx, dword [ebp - 0x78]
mov cl, byte [ecx + esi]
inc esi
mov byte [ebp + 0x10], cl
mov dword [ebp - 0x24], esi
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov byte [eax + 0x1e], bl
cmp dword [ebp + 8], ebx
je 0x41f157
mov esi, dword [ebp + 0xc]
push dword [ebp + 0x10]
add esi, 0x118
call fcn.0041a4b8
mov ecx, dword [ebp - 0x20]
inc ecx
cmp ecx, dword [ebp + 0x14]
mov dword [ebp - 0x20], ecx
jb 0x41f0d1
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 6
call fcn.0041503a
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 5
call fcn.0041503a
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 3
call fcn.0041503a
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 2
call fcn.0041503a
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 1
call fcn.0041503a
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], bl
call fcn.0041503a
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x48]
push eax
call fcn.0041f8aa
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0x10