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

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x58]
xor ecx, ecx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x58], 0
mov ecx, dword [edi + 8]
mov eax, dword [edi]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
test ecx, ecx
jne 0x47199b
cmp dword [edi + 0x80], ecx
jne 0x47198c
test byte [eax + 0x50], 8
jne 0x47198c
mov byte [edi + 0x17], 1
push edi
call fcn.004c7580
add esp, 4
mov dword [esp + 0x14], eax
mov ecx, eax
mov esi, dword [esp + 0x74]
mov ebp, dword [esp + 0x68]
test esi, esi
jns 0x4719bd
movzx eax, byte [ebp + 0x18]
push 0
push eax
push 0x31
push ecx
call fcn.004c6d90
add esp, 0x10
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x70]
xor ebx, ebx
mov eax, dword [esp + 0x64]
mov edx, dword [esp + 0x60]
mov dword [esp + 0x18], ebx
cmp dword [ebp + 0x14], ebx
jle 0x471b77
mov esi, dword [esp + 0x6c]
jmp 0x4719e4
mov ecx, dword [esp + 0x70]
test eax, eax
je 0x4719f1
mov eax, dword [eax + 4]
movzx eax, word [eax + ebx*2]
jmp 0x4719f4
or eax, 0xffffffff
push eax
push ecx
push edx
push edi
call fcn.0046e850
mov edx, dword [esp + 0x78]
add esp, 0x10
mov ebp, eax
test esi, esi
je 0x471a10
movzx eax, word [esi + ebx*4]
jmp 0x471a14
movzx eax, word [edx + 0x24]
movsx ecx, ax
mov eax, dword [edx]
add ecx, ecx
mov eax, dword [eax + 4]
mov eax, dword [eax + ecx*8]
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x471a2d
xor esi, esi
jmp 0x471a41
mov esi, eax
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x471a32
sub esi, ecx
and esi, 0x3fffffff
lea eax, [esi + 0x35]
push 0
push eax
push dword [esp + 0x18]
call fcn.0049db10
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x471a96
push 0x34
push 0
push ebx
call fcn.004fd610
or eax, 0xffffffff
mov byte [ebx], 0x3b
mov word [ebx + 0x22], ax
add esp, 0xc
lea eax, [ebx + 0x34]
mov dword [ebx + 8], eax
test esi, esi
je 0x471a8b
push esi
push dword [esp + 0x20]
push eax
call fcn.004fd090
mov eax, dword [ebx + 8]
add esp, 0xc
mov byte [eax + esi], 0
mov dword [ebx + 0x18], 1
push 0
push 0x34
push dword [edi]
call fcn.0049db10
mov esi, eax
add esp, 0xc
test esi, esi
je 0x471b1d
push 0x34
push 0
push esi
call fcn.004fd610
or eax, 0xffffffff
mov byte [esi], 0x35
add esp, 0xc
mov word [esi + 0x22], ax
test ebx, ebx
je 0x471ad9
mov dword [esi + 0x10], ebx
mov eax, dword [ebx + 4]
and eax, 0x400208
or dword [esi + 4], eax
mov eax, dword [ebx + 0x18]
inc eax
jmp 0x471ade
mov eax, 1
mov dword [esi + 0x18], eax
test ebp, ebp
je 0x471aff
mov dword [esi + 0xc], ebp
mov eax, dword [ebp + 4]
and eax, 0x400208
or dword [esi + 4], eax
mov eax, dword [ebp + 0x18]
cmp eax, dword [esi + 0x18]
jl 0x471aff
inc eax
mov dword [esi + 0x18], eax
mov eax, dword [edi]
mov eax, dword [eax + 0x84]
cmp dword [esi + 0x18], eax
jle 0x471b3b
push eax
push str.Expression_tree_is_too_large__maximum_depth__d_
push edi
call fcn.0049fe60
add esp, 0xc
jmp 0x471b3b
test ebp, ebp
je 0x471b2c
push ebp
push dword [edi]
call fcn.004a3d70
add esp, 8
test ebx, ebx
je 0x471b3b
push ebx
push dword [edi]
call fcn.004a3d70
add esp, 8
push esi
push dword [esp + 0x5c]
push edi
call fcn.004a0760
mov ebx, dword [esp + 0x24]
mov ecx, eax
mov ebp, dword [esp + 0x74]
inc ebx
mov esi, dword [esp + 0x78]
add esp, 0xc
mov eax, dword [esp + 0x64]
mov edx, dword [esp + 0x60]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x18], ebx
cmp ebx, dword [ebp + 0x14]
jl 0x4719e0
mov esi, dword [esp + 0x74]
jmp 0x471b79
xor ecx, ecx
mov ebx, dword [esp + 0x5c]
cmp edx, dword [ebp]
jne 0x47206a
test esi, esi
jle 0x47206a
test byte [edx + 0x1c], 0x80
jne 0x471cc3
push 0
push 0x35
push dword [edi]
call fcn.0049db10
mov ebp, eax
add esp, 0xc
test ebp, ebp
je 0x471bdf
push 0x34
push 0
push ebp
call fcn.004fd610
add esp, 0xc
mov byte [ebp], 0xb0
or eax, 0xffffffff
mov word [ebp + 0x22], ax
lea eax, [ebp + 0x34]
mov dword [ebp + 8], eax
mov byte [eax], 0
mov eax, dword [esp + 0x70]
mov dword [ebp + 0x18], 1
mov dword [ebp + 0x1c], eax
mov byte [ebp + 1], 0x44
mov esi, dword [ebx + 0x34]
push 0
push 0x35
push dword [esp + 0x18]
call fcn.0049db10
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x471c2d
push 0x34
push 0
push ebx
call fcn.004fd610
mov ecx, dword [esp + 0x6c]
lea eax, [ebx + 0x34]
add esp, 0xc
mov byte [ebx], 0xa7
or edx, 0xffffffff
mov dword [ebx + 8], eax
mov word [ebx + 0x22], dx
mov byte [eax], 0
mov dword [ebx + 0x18], 1
mov dword [ebx + 0x2c], ecx
mov dword [ebx + 0x1c], esi
mov word [ebx + 0x20], dx
push 0
push 0x34
push dword [edi]
call fcn.0049db10
mov esi, eax
add esp, 0xc
test esi, esi
je 0x471ca6
push 0x34
push 0
push esi
call fcn.004fd610
or eax, 0xffffffff
mov byte [esi], 0x34
add esp, 0xc
mov word [esi + 0x22], ax
test ebx, ebx
je 0x471c70
mov dword [esi + 0x10], ebx
mov eax, dword [ebx + 4]
and eax, 0x400208
or dword [esi + 4], eax
mov eax, dword [ebx + 0x18]
inc eax
jmp 0x471c75
mov eax, 1
mov dword [esi + 0x18], eax
test ebp, ebp
je 0x471c96
mov dword [esi + 0xc], ebp
mov eax, dword [ebp + 4]
and eax, 0x400208
or dword [esi + 4], eax
mov eax, dword [ebp + 0x18]
cmp eax, dword [esi + 0x18]
jl 0x471c96
inc eax
mov dword [esi + 0x18], eax
mov eax, dword [edi]
mov eax, dword [eax + 0x84]
cmp dword [esi + 0x18], eax
jmp 0x47202c
test ebp, ebp
je 0x471cb5
push ebp
push dword [edi]
call fcn.004a3d70
add esp, 8
test ebx, ebx
je 0x47204e
push ebx
jmp 0x472044
xor ecx, ecx
xor esi, esi
xor ebp, ebp
mov dword [esp + 0x1c], ecx
cmp si, word [eax + 0x32]
jae 0x471fce
mov eax, dword [eax + 4]
movzx esi, word [eax + ecx*2]
push esi
push dword [esp + 0x74]
push edx
push edi
call fcn.0046e850
mov ecx, dword [esp + 0x70]
add esp, 0x10
movsx edx, si
add edx, edx
mov dword [esp + 0x18], eax
mov ecx, dword [ecx + 4]
mov eax, dword [ecx + edx*8]
mov dword [esp + 0x24], eax
test eax, eax
jne 0x471d0c
xor esi, esi
jmp 0x471d20
mov esi, eax
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x471d11
sub esi, ecx
and esi, 0x3fffffff
lea eax, [esi + 0x35]
push 0
push eax
push dword [esp + 0x18]
call fcn.0049db10
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x471d75
push 0x34
push 0
push ebx
call fcn.004fd610
or eax, 0xffffffff
mov byte [ebx], 0x3b
mov word [ebx + 0x22], ax
add esp, 0xc
lea eax, [ebx + 0x34]
mov dword [ebx + 8], eax
test esi, esi
je 0x471d6a
push esi
push dword [esp + 0x28]
push eax
call fcn.004fd090
mov eax, dword [ebx + 8]
add esp, 0xc
mov byte [esi + eax], 0
mov dword [ebx + 0x18], 1
push 0
push 0x34
push dword [edi]
call fcn.0049db10
mov esi, eax
add esp, 0xc
test esi, esi
je 0x471e04
push 0x34
push 0
push esi
call fcn.004fd610
or eax, 0xffffffff
mov byte [esi], 0x2d
add esp, 0xc
mov word [esi + 0x22], ax
test ebx, ebx
je 0x471dbc
mov dword [esi + 0x10], ebx
mov eax, dword [ebx + 4]
and eax, 0x400208
or dword [esi + 4], eax
mov eax, dword [ebx + 0x18]
inc eax
jmp 0x471dc1
mov eax, 1
mov ecx, dword [esp + 0x18]
mov dword [esi + 0x18], eax
test ecx, ecx
je 0x471de6
mov dword [esi + 0xc], ecx
mov eax, dword [ecx + 4]
and eax, 0x400208
or dword [esi + 4], eax
mov eax, dword [ecx + 0x18]
cmp eax, dword [esi + 0x18]
jl 0x471de6
inc eax
mov dword [esi + 0x18], eax
mov eax, dword [edi]
mov eax, dword [eax + 0x84]
cmp dword [esi + 0x18], eax
jle 0x471e26
push eax
push str.Expression_tree_is_too_large__maximum_depth__d_
push edi
call fcn.0049fe60
add esp, 0xc
jmp 0x471e26
mov eax, dword [esp + 0x18]
test eax, eax
je 0x471e17
push eax
push dword [edi]
call fcn.004a3d70
add esp, 8
test ebx, ebx
je 0x471e26
push ebx
push dword [edi]
call fcn.004a3d70
add esp, 8
mov ebx, dword [edi]
test ebp, ebp
jne 0x471e33
mov ebp, esi
jmp 0x471fad
test esi, esi
je 0x471fad
mov eax, dword [esi + 4]
or eax, dword [ebp + 4]
and eax, 0x20000003
cmp eax, 0x20000000
jne 0x471f18
cmp byte [edi + 0xdc], 2
jae 0x471f18
push 0
push 0xc
test ebx, ebx
je 0x471e71
push ebx
call fcn.0049db10
add esp, 0xc
jmp 0x471e79
call fcn.004b17f0
add esp, 8
mov ecx, eax
test ecx, ecx
je 0x471e99
mov eax, dword [edi + 0x8c]
mov dword [ecx], eax
mov dword [edi + 0x8c], ecx
mov dword [ecx + 4], ebp
mov dword [ecx + 8], 0x4a3d50
jmp 0x471ea4
push ebp
push dword [edi]
call fcn.004a3d70
add esp, 8
mov eax, dword [edi]
push 0
push 0xc
test eax, eax
je 0x471eb9
push eax
call fcn.0049db10
add esp, 0xc
jmp 0x471ec1
call fcn.004b17f0
add esp, 8
mov ecx, eax
test ecx, ecx
je 0x471ee1
mov eax, dword [edi + 0x8c]
mov dword [ecx], eax
mov dword [edi + 0x8c], ecx
mov dword [ecx + 4], esi
mov dword [ecx + 8], 0x4a3d50
jmp 0x471eec
push esi
push dword [edi]
call fcn.004a3d70
add esp, 8
push 0
lea eax, [esp + 0x2c]
mov dword [esp + 0x2c], 0x546ad4
push eax
push 0x9b
push ebx
mov dword [esp + 0x3c], 1
call fcn.004a05a0
add esp, 0x10
mov ebp, eax
jmp 0x471fad
push 0
push 0x34
push ebx
call fcn.0049db10
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x471f98
push 0x34
push 0
push ebx
call fcn.004fd610
or eax, 0xffffffff
mov byte [ebx], 0x2c
mov word [ebx + 0x22], ax
add esp, 0xc
mov dword [ebx + 0x10], esi
mov ecx, dword [esi + 4]
and ecx, 0x400208
or ecx, dword [ebx + 4]
mov dword [ebx + 4], ecx
mov eax, dword [esi + 0x18]
inc eax
mov dword [ebx + 0x18], eax
mov dword [ebx + 0xc], ebp
mov eax, dword [ebp + 4]
and eax, 0x400208
or eax, ecx
mov ecx, dword [ebx + 0x18]
mov dword [ebx + 4], eax
mov eax, dword [ebp + 0x18]
cmp eax, ecx
jl 0x471f7b
lea ecx, [eax + 1]
mov dword [ebx + 0x18], ecx
mov eax, dword [edi]
mov eax, dword [eax + 0x84]
cmp ecx, eax
jle 0x471fab
push eax
push str.Expression_tree_is_too_large__maximum_depth__d_
push edi
call fcn.0049fe60
add esp, 0xc
jmp 0x471fab
push ebp
push dword [edi]
call fcn.004a3d70
push esi
push dword [edi]
call fcn.004a3d70
add esp, 0x10
mov ebp, ebx
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x60]
inc ecx
mov dword [esp + 0x1c], ecx
movzx eax, word [eax + 0x32]
cmp ecx, eax
mov eax, dword [esp + 0x64]
jl 0x471cd7
push 0
push 0x34
push dword [edi]
call fcn.0049db10
mov esi, eax
add esp, 0xc
test esi, esi
je 0x47203f
push 0x34
push 0
push esi
call fcn.004fd610
or eax, 0xffffffff
mov byte [esi], 0x13
add esp, 0xc
mov word [esi + 0x22], ax
mov dword [esi + 0x18], 1
lea ecx, [eax + 2]
test ebp, ebp
je 0x472022
mov dword [esi + 0xc], ebp
mov eax, dword [ebp + 4]
and eax, 0x400208
or dword [esi + 4], eax
mov eax, dword [ebp + 0x18]
cmp eax, ecx
jl 0x472022
lea ecx, [eax + 1]
mov dword [esi + 0x18], ecx
mov eax, dword [edi]
mov eax, dword [eax + 0x84]
cmp ecx, eax
jle 0x47204e
push eax
push str.Expression_tree_is_too_large__maximum_depth__d_
push edi
call fcn.0049fe60
add esp, 0xc
jmp 0x47204e
test ebp, ebp
je 0x47204e
push ebp
push dword [edi]
call fcn.004a3d70
add esp, 8
push esi
push dword [esp + 0x5c]
push edi
call fcn.004a0760
mov ebx, dword [esp + 0x68]
mov ecx, eax
mov ebp, dword [esp + 0x74]
add esp, 0xc
mov dword [esp + 0x58], ecx
xorps xmm0, xmm0
mov dword [esp + 0x50], 0
push ecx
lea eax, [esp + 0x34]
movlpd qword [esp + 0x3c], xmm0
push eax
movlpd qword [esp + 0x48], xmm0
movlpd qword [esp + 0x50], xmm0
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x38], edi
call fcn.004bb8f0
add esp, 8
cmp dword [edi + 0x24], 0
jne 0x472123
push 0
push 0
push 0
push 0
push 0
push dword [esp + 0x6c]
push ebx
push edi
call fcn.004d61c0
mov ebx, dword [esp + 0x34]
add esp, 0x20
movzx edx, byte [ebp + 0x18]
mov esi, eax
mov edi, dword [esp + 0x74]
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x4720e9
push 0
push edi
push edx
push 0x9e
push ebx
call fcn.00475980
add esp, 0x14
jmp 0x472114
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0x9e
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
test esi, esi
je 0x472127
push esi
call fcn.004d98d0
add esp, 4
jmp 0x472127
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x58]
test eax, eax
je 0x47213c
push eax
push dword [esp + 0x14]
call fcn.004a3d70
add esp, 8
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x47217e
mov edx, dword [ebx + 0x6c]
lea eax, [edx - 1]
cmp ecx, eax
jne 0x472159
pop edi
pop esi
pop ebp
mov dword [ebx + 0x6c], eax
pop ebx
add esp, 0x44
ret
mov eax, dword [ebx]
cmp byte [eax + 0x57], 0
je 0x472171
pop edi
mov eax, 0x5751d0
pop esi
pop ebp
pop ebx
mov dword [eax + 8], edx
add esp, 0x44
ret
mov eax, dword [ebx + 0x68]
lea ecx, [ecx + ecx*4]
mov dword [eax + ecx*4 + 8], edx
lea eax, [eax + ecx*4]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret