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

Disassembly:
push 0xffffffffffffffff
push 0x42f8d1
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
push ebx
push ebp
push esi
push edi
mov eax, dword [0x43c024]
xor eax, esp
push eax
lea eax, [esp + 0xd4]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xe4]
mov eax, dword [ebp + 8]
cmp eax, 0x20
jg 0x40decf
mov ecx, dword [ebp + 0x1c]
cmp ecx, 0x20
jg 0x40decf
xor edi, edi
mov ebx, 1
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x14], vtable.CRecordVector_bool_.0
mov dword [esp + 0xdc], edi
mov eax, dword [ebp + 0x30]
add eax, ecx
lea ecx, [esp + 0x14]
call fcn.0040db90
xor ecx, ecx
cmp dword [ebp + 0x1c], edi
jle 0x40dcb3
mov eax, dword [ebp + 0x20]
lea eax, [eax + ecx*8]
mov eax, dword [eax]
cmp eax, dword [esp + 0x1c]
jae 0x40de9f
mov esi, dword [esp + 0x20]
mov dl, byte [esi + eax]
mov byte [esi + eax], 1
test dl, dl
jne 0x40de9f
add ecx, ebx
cmp ecx, dword [ebp + 0x1c]
jl 0x40dc87
xor ecx, ecx
cmp dword [ebp + 0x30], edi
jle 0x40dcec
lea ebx, [ebx]
mov eax, dword [ebp + 0x34]
lea eax, [eax + ecx*4]
mov eax, dword [eax]
cmp eax, dword [esp + 0x1c]
jae 0x40de9f
mov esi, dword [esp + 0x20]
mov dl, byte [esi + eax]
mov byte [esi + eax], 1
test dl, dl
jne 0x40de9f
add ecx, ebx
cmp ecx, dword [ebp + 0x30]
jl 0x40dcc0
mov eax, dword [ebp + 0x44]
lea ecx, [esp + 0x14]
call fcn.0040db90
xor ecx, ecx
cmp dword [ebp + 0x1c], edi
jle 0x40dd2d
nop
mov eax, dword [ebp + 0x20]
lea eax, [eax + ecx*8]
mov eax, dword [eax + 4]
cmp eax, dword [esp + 0x1c]
jae 0x40de9f
mov esi, dword [esp + 0x20]
mov dl, byte [esi + eax]
mov byte [esi + eax], 1
test dl, dl
jne 0x40de9f
add ecx, ebx
cmp ecx, dword [ebp + 0x1c]
jl 0x40dd00
mov dword [esp + 0xdc], 0xffffffff
mov eax, dword [esp + 0x1c]
push eax
push edi
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], vtable.CBaseRecordVector.0
call dword [0x433f20]
mov ecx, dword [esp + 0x20]
push ecx
call fcn.00421dee
xor eax, eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], eax
mov dword [esp + 0xcc], eax
mov dword [esp + 0xd0], eax
mov dword [esp + 0xd4], eax
xor ecx, ecx
mov esi, 4
mov eax, vtable.CRecordVector_int_.0
add esp, 4
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x3c], eax
mov dword [esp + 0xdc], ebx
xor edx, edx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], esi
mov dword [esp + 0x28], eax
mov byte [esp + 0xdc], 2
mov eax, dword [ebp + 8]
xor ebx, ebx
cmp eax, edi
jle 0x40df93
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + ebx*4]
xor ebp, ebp
mov dword [esp + 0x50], eax
cmp dword [eax + 0x14], ebp
jbe 0x40df28
cmp dword [esp + 0x44], ecx
jne 0x40df07
cmp ecx, 0x40
mov eax, 1
jl 0x40deed
mov eax, ecx
shr eax, 2
jmp 0x40def7
mov dword [esp + 0xdc], 0xffffffff
mov ecx, dword [esp + 0x1c]
push ecx
push edi
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], vtable.CBaseRecordVector.0
call dword [0x433f20]
mov edx, dword [esp + 0x20]
push edx
call fcn.00421dee
add esp, 4
xor al, al
mov ecx, dword [esp + 0xd4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xcc
ret 4
cmp ecx, 8
jl 0x40def7
mov eax, 8
lea edi, [ecx + eax]
lea esi, [esp + 0x3c]
call fcn.004051f0
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
mov dword [ecx + edx*4], ebx
inc dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
inc ebp
cmp ebp, dword [eax + 0x14]
jb 0x40de88
mov edx, dword [esp + 0x2c]
xor ebp, ebp
cmp dword [eax + 0x18], ebp
jbe 0x40df7e
nop
cmp dword [esp + 0x30], edx
jne 0x40df61
cmp edx, 0x40
mov eax, 1
jl 0x40df47
mov eax, edx
shr eax, 2
jmp 0x40df51
cmp edx, 8
jl 0x40df51
mov eax, 8
lea edi, [edx + eax]
lea esi, [esp + 0x28]
call fcn.004051f0
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov dword [ecx + edx*4], ebx
inc dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
inc ebp
cmp ebp, dword [eax + 0x18]
jb 0x40df30
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0xe4]
inc ebx
xor edi, edi
cmp ebx, dword [eax + 8]
mov ebp, eax
jl 0x40de73
mov edi, dword [ebp + 0x1c]
xor ebx, ebx
xor esi, esi
cmp edi, ebx
jle 0x40dfcc
mov eax, dword [ebp + 0x20]
mov ecx, dword [eax]
mov edx, dword [esp + 0x48]
mov edx, dword [edx + ecx*4]
mov ecx, dword [eax + 4]
mov ebp, dword [esp + 0x34]
mov ecx, dword [ebp + ecx*4]
mov ebx, 1
shl ebx, cl
lea edx, [esp + edx*4 + 0x54]
inc esi
add eax, 8
or dword [edx], ebx
cmp esi, edi
jl 0x40dfa1
xor ebx, ebx
mov byte [esp + 0xdc], 1
mov edx, dword [esp + 0x30]
push edx
mov esi, vtable.CBaseRecordVector.0
push ebx
lea ecx, [esp + 0x30]
mov dword [esp + 0x30], esi
call dword [0x433f20]
mov eax, dword [esp + 0x34]
push eax
call fcn.00421dee
mov dword [esp + 0xe0], 0xffffffff
mov ecx, dword [esp + 0x48]
add esp, 4
push ecx
push ebx
lea ecx, [esp + 0x44]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x44], esi
call dword [0x433f20]
mov edx, dword [esp + 0x48]
push edx
call fcn.00421dee
add esp, 4
lea eax, [esp + 0x54]
mov edi, 0x20
jmp 0x40e040
xor edx, edx
mov ecx, 1
mov esi, dword [eax]
test esi, ecx
je 0x40e055
mov ebp, dword [esp + edx*4 + 0x54]
or ebp, esi
mov dword [eax], ebp
mov esi, dword [eax]
rol ecx, 1
test esi, ecx
je 0x40e065
mov ebp, dword [esp + edx*4 + 0x58]
or ebp, esi
mov dword [eax], ebp
mov esi, dword [eax]
rol ecx, 1
test esi, ecx
je 0x40e075
mov ebp, dword [esp + edx*4 + 0x5c]
or ebp, esi
mov dword [eax], ebp
mov esi, dword [eax]
rol ecx, 1
test esi, ecx
je 0x40e085
mov ebp, dword [esp + edx*4 + 0x60]
or ebp, esi
mov dword [eax], ebp
add edx, 4
rol ecx, 1
cmp edx, 0x20
jl 0x40e047
add eax, 4
sub edi, 1
jne 0x40e040
xor ecx, ecx
lea esp, [esp]
mov eax, 1
shl eax, cl
test dword [esp + ecx*4 + 0x54], eax
jne 0x40decf
inc ecx
cmp ecx, 0x20
jl 0x40e0a0
mov al, 1
jmp 0x40ded1