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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x429415
mov eax, dword fs:[0]
push eax
sub esp, 0xf0
push ebx
push esi
push edi
mov eax, dword [section..data]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x1c], ebx
mov ecx, dword [ebx + 0x18]
call fcn.0040bc40
mov dword [ebp - 0x14], eax
mov edi, edx
mov dword [ebp - 0x28], edi
cmp eax, 2
jne 0x40d561
test edi, edi
jne 0x40d561
push ecx
mov ecx, ebx
call fcn.0040c0e0
mov ecx, dword [ebx + 0x18]
call fcn.0040bc40
mov dword [ebp - 0x14], eax
mov edi, edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 4
mov dword [ebp - 0x3c], vtable.CObjectVector_class_CBuffer_unsigned_char__.0
mov esi, dword [ebp + 8]
mov dword [ebp - 4], 0
cmp eax, 3
jne 0x40d621
test edi, edi
jne 0x40d621
lea eax, [ebp - 0x3c]
mov ecx, ebx
push eax
lea edi, [esi + 0x150]
push edi
push dword [esi + 0x144]
push dword [esi + 0x140]
call fcn.0040cfd0
mov dword [ebp - 0x18], eax
test eax, eax
je 0x40d600
mov dword [ebp - 0x3c], vtable.CObjectVector_class_CBuffer_unsigned_char__.0
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 1
call fcn.00403c90
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 0xffffffff
call fcn.00403c50
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x140]
add dword [edi], eax
mov eax, dword [esi + 0x144]
adc dword [edi + 4], eax
mov ecx, dword [ebx + 0x18]
call fcn.0040bc40
mov edi, edx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 8
mov dword [ebp - 0x50], vtable.CRecordVector_unsigned_long_long_unsigned___int64__.0
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 1
mov dword [ebp - 0x78], vtable.CRecordVector_bool_.0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 4
mov dword [ebp - 0x64], vtable.CRecordVector_unsigned_int_.0
mov byte [ebp - 4], 4
cmp eax, 4
jne 0x40d6e9
test edi, edi
jne 0x40d6e9
lea eax, [ebp - 0x64]
mov ecx, ebx
push eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [esi + 0x50]
push eax
lea eax, [esi + 0x3c]
push eax
lea eax, [esi + 0x28]
push eax
lea eax, [esi + 0x14]
push eax
push esi
lea edi, [esi + 0x148]
push edi
lea eax, [ebp - 0x3c]
push eax
call fcn.0040cd70
mov eax, dword [esi + 0x140]
add dword [edi], eax
mov eax, dword [esi + 0x144]
adc dword [edi + 4], eax
mov ecx, dword [ebx + 0x18]
call fcn.0040bc40
mov dword [ebp - 0x14], eax
mov edi, edx
jmp 0x40d79a
cmp dword [esi + 0x44], 0
mov dword [ebp - 0x24], 0
jle 0x40d79a
lea ebx, [esi + 0x50]
lea ecx, [ecx]
mov ecx, ebx
call fcn.00403cc0
mov ecx, dword [ebx + 8]
mov eax, dword [ebx + 0xc]
mov dword [eax + ecx*4], 1
inc dword [ebx + 8]
mov eax, dword [esi + 0x48]
mov ecx, dword [ebp - 0x24]
mov eax, dword [eax + ecx*4]
mov ecx, eax
mov dword [ebp - 0x20], eax
call fcn.00408dd0
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x18], edx
mov ebx, eax
call fcn.00403cc0
mov ecx, dword [ebp - 0x48]
mov edi, dword [ebp - 0x44]
mov edx, dword [ebp - 0x18]
mov dword [edi + ecx*8], ebx
mov ecx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x44]
mov edi, dword [ebp - 0x20]
mov dword [eax + ecx*8 + 4], edx
lea ecx, [ebp - 0x78]
inc dword [ebp - 0x48]
mov bl, byte [edi + 0x54]
call fcn.00403cc0
mov ecx, dword [ebp - 0x70]
mov eax, dword [ebp - 0x6c]
mov byte [eax + ecx], bl
lea ecx, [ebp - 0x64]
inc dword [ebp - 0x70]
mov edi, dword [edi + 0x50]
call fcn.00403cc0
mov ecx, dword [ebp - 0x5c]
lea ebx, [esi + 0x50]
mov eax, dword [ebp - 0x58]
mov dword [eax + ecx*4], edi
mov eax, dword [ebp - 0x24]
inc dword [ebp - 0x5c]
inc eax
mov dword [ebp - 0x24], eax
cmp eax, dword [esi + 0x44]
jl 0x40d700
mov ebx, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x28]
lea ecx, [esi + 0x64]
call fcn.00403c90
mov ecx, dword [ebp - 0x14]
mov eax, ecx
or eax, edi
jne 0x40d80a
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 3
call fcn.00403c50
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 2
call fcn.00403c50
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0
call fcn.00403c50
mov dword [ebp - 0x3c], vtable.CObjectVector_class_CBuffer_unsigned_char__.0
mov dword [ebp - 4], 5
lea ecx, [ebp - 0x3c]
call fcn.00403c90
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 0xffffffff
call fcn.00403c50
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp ecx, 5
jne 0x40dc91
test edi, edi
jne 0x40dc91
mov ecx, dword [ebx + 0x18]
call fcn.0040bcf0
mov edi, eax
lea ecx, [esi + 0x64]
push edi
mov dword [ebp - 0x14], edi
call fcn.00403d00
test edi, edi
je 0x40d883
mov ebx, edi
jmp 0x40d840
lea ecx, [ebp - 0xc4]
call fcn.00403190
mov dword [ebp - 0xb8], 1
lea eax, [ebp - 0xd4]
mov byte [ebp - 4], 6
push eax
lea ecx, [esi + 0x64]
call fcn.0040e440
mov byte [ebp - 4], 4
push dword [ebp - 0xc4]
call fcn.00403e80
add esp, 4
dec ebx
jne 0x40d840
mov ebx, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x14]
lea ecx, [esi + 0x158]
call fcn.00403cc0
mov eax, dword [esi + 0x160]
lea edx, [esi + 0x158]
mov ecx, dword [edx + 0xc]
mov dword [ecx + eax*8], 9
mov dword [ecx + eax*8 + 4], 0
inc dword [edx + 8]
cmp dword [esi + 8], 0
je 0x40d8dd
mov ecx, edx
call fcn.00403cc0
mov eax, dword [esi + 0x160]
lea edx, [esi + 0x158]
mov ecx, dword [edx + 0xc]
mov dword [ecx + eax*8], 6
mov dword [ecx + eax*8 + 4], 0
inc dword [edx + 8]
test edi, edi
je 0x40d90f
cmp dword [ebp - 0x5c], 0
je 0x40d90f
mov ecx, edx
call fcn.00403cc0
mov eax, dword [esi + 0x160]
mov ecx, dword [esi + 0x164]
mov dword [ecx + eax*8], 0xa
mov dword [ecx + eax*8 + 4], 0
inc dword [esi + 0x160]
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 1
mov dword [ebp - 0x98], vtable.CRecordVector_bool_.0
mov edx, edi
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x98]
call fcn.0040b650
mov dword [ebp - 0xe4], 0
mov dword [ebp - 0xe0], 0
mov dword [ebp - 0xdc], 0
mov dword [ebp - 0xd8], 1
mov dword [ebp - 0xe8], vtable.CRecordVector_bool_.0
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xa0], 1
mov dword [ebp - 0xb0], vtable.CRecordVector_bool_.0
mov byte [ebp - 4], 9
xor edi, edi
mov ecx, dword [ebx + 0x18]
mov dword [ebp - 0x1c], edi
call fcn.0040bc40
mov ecx, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], edx
or ecx, edx
je 0x40dc96
mov ecx, dword [ebx + 0x18]
call fcn.0040bc40
cmp dword [ebp - 0x20], 0
mov ecx, edx
mov edx, dword [ebx + 0x18]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x28], ecx
mov esi, dword [edx + 8]
mov dword [ebp - 0x9c], esi
mov esi, dword [ebp + 8]
ja 0x40dc42
jb 0x40da0f
cmp dword [ebp - 0x24], 0x40000000
ja 0x40dc42
mov edx, dword [ebp - 0x24]
add edx, 0xfffffff2
cmp edx, 0xb
ja case.0x40da1e.22
jmp dword [edx*4 + 0x40dde4]
mov byte [ebp - 0xec], 0
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 0xa
push eax
push ebx
lea ecx, [ebp - 0xf0]
call fcn.0040bb40
xor edi, edi
cmp dword [esi + 0x6c], edi
jle 0x40da5f
mov eax, dword [esi + 0x70]
mov ecx, dword [ebx + 0x18]
mov eax, dword [eax + edi*4]
add eax, 0x10
push eax
call fcn.0040bd60
inc edi
cmp edi, dword [esi + 0x6c]
jl 0x40da47
lea ecx, [ebp - 0xf0]
mov byte [ebp - 4], 9
call fcn.0040ba70
jmp 0x40dbca
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xb8], 1
mov dword [ebp - 0xc8], vtable.CRecordVector_bool_.0
lea eax, [ebp - 0xc8]
mov byte [ebp - 4], 0xb
push eax
push dword [esi + 0x6c]
mov ecx, ebx
call fcn.0040ce90
mov byte [ebp - 0xf4], 0
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 0xc
push eax
push ebx
lea ecx, [ebp - 0xf8]
call fcn.0040bb40
xor edi, edi
cmp dword [ebp - 0x14], edi
jbe 0x40db0d
lea esp, [esp]
mov eax, dword [esi + 0x70]
mov ecx, dword [eax + edi*4]
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x80], ecx
mov al, byte [eax + edi]
mov byte [ecx + 0x1f], al
test al, al
je 0x40db07
mov ecx, dword [ebx + 0x18]
call fcn.0040bd10
mov ecx, dword [ebp - 0x80]
mov dword [ecx + 8], eax
inc edi
cmp edi, dword [ebp - 0x14]
jb 0x40dae0
lea ecx, [ebp - 0xf8]
mov byte [ebp - 4], 0xb
call fcn.0040ba70
lea ecx, [ebp - 0xc8]
mov byte [ebp - 4], 9
call fcn.00403c50
jmp 0x40dbca
lea eax, [ebp - 0x98]
mov ecx, ebx
push eax
push dword [ebp - 0x14]
call fcn.0040ce20
mov ecx, dword [ebp - 0x90]
xor eax, eax
test ecx, ecx
je 0x40db62
mov edx, dword [ebp - 0x8c]
cmp byte [edx + eax], 0
je 0x40db5a
inc edi
inc eax
cmp eax, ecx
jb 0x40db53
mov dword [ebp - 0x1c], edi
mov edx, edi
lea ecx, [ebp - 0xe8]
call fcn.0040b650
mov edx, edi
lea ecx, [ebp - 0xb0]
call fcn.0040b650
jmp 0x40dbca
lea eax, [ebp - 0xe8]
mov ecx, ebx
push eax
push edi
call fcn.0040ce20
jmp 0x40dbca
lea eax, [ebp - 0xb0]
mov ecx, ebx
push eax
push edi
call fcn.0040ce20
jmp 0x40dbca
lea eax, [esi + 0xf0]
jmp 0x40dbbb
lea eax, [esi + 0x78]
jmp 0x40dbbb
lea eax, [esi + 0xa0]
jmp 0x40dbbb
lea eax, [esi + 0xc8]
push dword [ebp - 0x14]
mov ecx, ebx
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.0040cef0
lea ecx, [esi + 0x158]
call fcn.00403cc0
mov eax, dword [esi + 0x160]
mov ecx, dword [esi + 0x164]
mov edx, dword [ebp - 0x24]
mov dword [ecx + eax*8], edx
mov edx, dword [ebp - 0x20]
mov dword [ecx + eax*8 + 4], edx
inc dword [esi + 0x160]
jmp 0x40dc4b
xorps xmm0, xmm0
movlpd qword [ebp - 0x84], xmm0
test ecx, ecx
jb 0x40dc4e
ja 0x40dc0b
test eax, eax
je 0x40dc4e
mov eax, dword [ebp - 0x80]
mov edi, dword [ebp - 0x84]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebx + 0x18]
call fcn.0040bb90
test al, al
jne 0x40dc91
mov eax, dword [ebp - 0x20]
add edi, 1
mov ecx, dword [ebp - 0x28]
adc eax, 0
mov dword [ebp - 0x20], eax
cmp eax, ecx
jb 0x40dc17
ja 0x40dc4e
cmp edi, dword [ebp - 0x18]
jb 0x40dc17
jmp 0x40dc4e
mov edx, dword [ebx + 0x18]
push ecx
push eax
mov ecx, edx
call fcn.0040bbf0
mov ecx, dword [ebp - 0x28]
cmp byte [esi + 0x130], 0
ja 0x40dc60
cmp byte [esi + 0x131], 2
jbe 0x40dc77
mov eax, dword [ebx + 0x18]
xor edx, edx
mov eax, dword [eax + 8]
sub eax, dword [ebp - 0x9c]
cmp eax, dword [ebp - 0x18]
jne 0x40dc91
cmp edx, ecx
jne 0x40dc91
mov ecx, dword [ebx + 0x18]
call fcn.0040bc40
mov edi, dword [ebp - 0x1c]
mov ecx, edx
mov dword [ebp - 0x24], eax
or eax, ecx
mov dword [ebp - 0x20], ecx
jmp 0x40d9d1
call fcn.0040ba40
xor ecx, ecx
xor edx, edx
xor ebx, ebx
mov dword [ebp - 0x1c], ecx
xor eax, eax
mov dword [ebp - 0x18], edx
test edi, edi
je 0x40dcc0
mov ecx, dword [ebp - 0xa4]
mov edi, edi
cmp byte [ecx + eax], bl
je 0x40dcb6
inc edx
inc eax
cmp eax, edi
jb 0x40dcb0
mov dword [ebp - 0x18], edx
xor ecx, ecx
xor edi, edi
cmp dword [ebp - 0x14], ebx
jbe 0x40dd7d
jmp 0x40dcd0
mov eax, dword [esi + 0x70]
mov edx, dword [eax + edi*4]
mov eax, dword [ebp - 0x8c]
cmp byte [eax + edi], 0
sete al
mov byte [edx + 0x1c], al
test al, al
je 0x40dd16
mov byte [edx + 0x1d], 0
mov ecx, dword [ebp - 0x44]
mov byte [ebp + 0xb], 0
mov eax, dword [ecx + ebx*8]
mov dword [edx], eax
mov eax, dword [ecx + ebx*8 + 4]
mov dword [edx + 4], eax
mov eax, dword [ebp - 0x58]
mov eax, dword [eax + ebx*4]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 0x6c]
mov al, byte [eax + ebx]
inc ebx
mov byte [edx + 0x1e], al
jmp 0x40dd47
mov eax, dword [ebp - 0xdc]
cmp byte [eax + ecx], 0
sete al
mov byte [edx + 0x1d], al
mov eax, dword [ebp - 0xa4]
mov al, byte [eax + ecx]
inc ecx
mov byte [ebp + 0xb], al
mov dword [ebp - 0x1c], ecx
mov dword [edx], 0
mov dword [edx + 4], 0
mov byte [edx + 0x1e], 0
cmp dword [ebp - 0x18], 0
je 0x40dd70
lea ecx, [esi + 0x118]
call fcn.00403cc0
mov eax, dword [esi + 0x120]
mov ecx, dword [esi + 0x124]
mov dl, byte [ebp + 0xb]
mov byte [ecx + eax], dl
inc dword [esi + 0x120]
mov ecx, dword [ebp - 0x1c]
inc edi
cmp edi, dword [ebp - 0x14]
jb 0x40dcd0
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 8
call fcn.00403c50
lea ecx, [ebp - 0xe8]
mov byte [ebp - 4], 7
call fcn.00403c50
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 4
call fcn.00403c50
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 3
call fcn.00403c50
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 2
call fcn.00403c50
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0
call fcn.00403c50
mov dword [ebp - 0x3c], vtable.CObjectVector_class_CBuffer_unsigned_char__.0
mov dword [ebp - 4], 0xd
jmp 0x40d7dd