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

Disassembly:
push 0xffffffffffffffff
push 0x45de87
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
push ebx
push ebp
push esi
push edi
mov eax, dword [0x472100]
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 0x439b0f
mov ecx, dword [ebp + 0x1c]
cmp ecx, 0x20
jg 0x439b0f
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.004395e0
xor ecx, ecx
cmp dword [ebp + 0x1c], edi
jle 0x4398f3
mov eax, dword [ebp + 0x20]
lea eax, [eax + ecx*8]
mov eax, dword [eax]
cmp eax, dword [esp + 0x1c]
jae 0x439adf
mov esi, dword [esp + 0x20]
mov dl, byte [esi + eax]
test dl, dl
mov byte [esi + eax], 1
jne 0x439adf
add ecx, ebx
cmp ecx, dword [ebp + 0x1c]
jl 0x4398c7
xor ecx, ecx
cmp dword [ebp + 0x30], edi
jle 0x43992c
lea ebx, [ebx]
mov eax, dword [ebp + 0x34]
lea eax, [eax + ecx*4]
mov eax, dword [eax]
cmp eax, dword [esp + 0x1c]
jae 0x439adf
mov esi, dword [esp + 0x20]
mov dl, byte [esi + eax]
test dl, dl
mov byte [esi + eax], 1
jne 0x439adf
add ecx, ebx
cmp ecx, dword [ebp + 0x30]
jl 0x439900
mov eax, dword [ebp + 0x44]
lea ecx, [esp + 0x14]
call fcn.004395e0
xor ecx, ecx
cmp dword [ebp + 0x1c], edi
jle 0x43996d
nop
mov eax, dword [ebp + 0x20]
lea eax, [eax + ecx*8]
mov eax, dword [eax + 4]
cmp eax, dword [esp + 0x1c]
jae 0x439adf
mov esi, dword [esp + 0x20]
mov dl, byte [esi + eax]
test dl, dl
mov byte [esi + eax], 1
jne 0x439adf
add ecx, ebx
cmp ecx, dword [ebp + 0x1c]
jl 0x439940
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 [0x4685b0]
mov ecx, dword [esp + 0x20]
push ecx
call fcn.00410615
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 0x439bda
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + ebx*4]
xor ebp, ebp
cmp dword [eax + 0x14], ebp
mov dword [esp + 0x50], eax
jbe 0x439b6b
cmp dword [esp + 0x44], ecx
jne 0x439b47
cmp ecx, 0x40
mov eax, 1
jl 0x439b2d
mov eax, ecx
shr eax, 2
jmp 0x439b37
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 [0x4685b0]
mov edx, dword [esp + 0x20]
push edx
call fcn.00410615
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 0x439b37
mov eax, 8
lea edi, [ecx + eax]
lea esi, [esp + 0x3c]
call fcn.004428c0
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
mov dword [ecx + edx*4], ebx
add dword [esp + 0x44], 1
mov ecx, dword [esp + 0x40]
add ebp, 1
cmp ebp, dword [eax + 0x14]
jb 0x439ac8
mov edx, dword [esp + 0x2c]
xor ebp, ebp
cmp dword [eax + 0x18], ebp
jbe 0x439bc3
cmp dword [esp + 0x30], edx
jne 0x439ba3
cmp edx, 0x40
mov eax, 1
jl 0x439b89
mov eax, edx
shr eax, 2
jmp 0x439b93
cmp edx, 8
jl 0x439b93
mov eax, 8
lea edi, [edx + eax]
lea esi, [esp + 0x28]
call fcn.004428c0
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov dword [ecx + edx*4], ebx
add dword [esp + 0x30], 1
mov edx, dword [esp + 0x2c]
add ebp, 1
cmp ebp, dword [eax + 0x18]
jb 0x439b72
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0xe4]
add ebx, 1
xor edi, edi
cmp ebx, dword [eax + 8]
mov ebp, eax
jl 0x439ab3
mov edi, dword [ebp + 0x1c]
xor ebx, ebx
xor esi, esi
cmp edi, ebx
jle 0x439c15
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]
add esi, 1
add eax, 8
or dword [edx], ebx
cmp esi, edi
jl 0x439be8
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 [0x4685b0]
mov eax, dword [esp + 0x34]
push eax
call fcn.00410615
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 [0x4685b0]
mov edx, dword [esp + 0x48]
push edx
call fcn.00410615
add esp, 4
lea eax, [esp + 0x54]
mov ebp, 0x20
mov edx, 2
lea edi, [esp + 0x58]
lea ecx, [ecx]
mov esi, dword [eax]
lea ecx, [edx - 2]
mov ebx, 1
shl ebx, cl
test esi, ebx
je 0x439ca7
mov ecx, dword [edi - 4]
or ecx, esi
mov dword [eax], ecx
mov esi, dword [eax]
lea ecx, [edx - 1]
mov ebx, 1
shl ebx, cl
test esi, ebx
je 0x439cbd
mov ecx, dword [edi]
or ecx, esi
mov dword [eax], ecx
mov esi, dword [eax]
mov ebx, 1
mov ecx, edx
shl ebx, cl
test esi, ebx
je 0x439cd3
mov ecx, dword [edi + 4]
or ecx, esi
mov dword [eax], ecx
mov esi, dword [eax]
lea ecx, [edx + 1]
mov ebx, 1
shl ebx, cl
test esi, ebx
je 0x439cea
mov ecx, dword [edi + 8]
or ecx, esi
mov dword [eax], ecx
add edx, 4
lea ecx, [edx - 2]
add edi, 0x10
cmp ecx, 0x20
jl 0x439c90
add eax, 4
sub ebp, 1
jne 0x439c84
xor ecx, ecx
mov edx, 1
shl edx, cl
test dword [esp + ecx*4 + 0x54], edx
jne 0x439b0f
add ecx, 1
cmp ecx, 0x20
jl 0x439d02
mov al, 1
jmp 0x439b11