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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c
push ebx
mov ebx, ecx
mov dword [esp + 0x30], edx
mov ecx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebx + 8]
mov eax, dword [ecx + 0x40]
mov esi, dword [ebx]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x44], edi
mov dword [esp + 0x34], esi
mov dword [esp + 0x3c], eax
test eax, eax
je 0x4d5bb0
cmp dword [eax], esi
je 0x4d5bac
mov eax, dword [eax + 0x18]
test eax, eax
jne 0x4d5ba1
mov dword [esp + 0x3c], eax
movsx eax, word [ecx + 0x2a]
mov ecx, dword [ebx + 0x28]
add eax, 2
mov dword [esp + 0x18], eax
mov eax, dword [edx + 0x34]
mov dword [esp + 0x14], eax
lea eax, [ecx + 1]
mov dword [esp + 0x30], 0
mov dword [ebx + 0x28], eax
mov edx, dword [edi + 0x6c]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x24], edx
cmp dword [edi + 0x70], edx
jg 0x4d5bff
push 0
push dword [esp + 0x1c]
mov edx, 0x64
push ecx
mov ecx, edi
call fcn.0047a300
add esp, 0xc
mov dword [esp + 0x24], eax
jmp 0x4d5c32
lea eax, [edx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [edi + 0x68]
mov edx, dword [esp + 0x10]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x18]
mov dword [eax + ecx*4], 0x64
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [ebx + 0x2c]
push 0
lea ecx, [eax + 1]
add eax, dword [esp + 0x1c]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x3c]
mov dword [ebx + 0x2c], eax
cmp dword [ecx], 1
jle 0x4d5e03
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x4d5c69
push 0
mov ecx, esi
call fcn.00492790
add esp, 8
mov esi, eax
jmp 0x4d5cb2
mov ecx, dword [ebx]
push 0x34
call fcn.004581b0
mov esi, eax
add esp, 8
test esi, esi
je 0x4d5cb2
push 0x34
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov byte [esi], 0x4b
or eax, 0xffffffff
mov ecx, esi
mov word [esi + 0x22], ax
call fcn.00491da0
mov eax, dword [ebx]
mov eax, dword [eax + 0x78]
cmp dword [esi + 0x18], eax
jle 0x4d5cb2
push eax
push str.Expression_tree_is_too_large__maximum_depth__d_
push ebx
call fcn.0045b840
add esp, 0xc
mov eax, dword [ebx]
mov ecx, eax
push 0
push 0x18
mov dword [esp + 0x48], eax
call fcn.004581b0
mov edx, eax
mov dword [esp + 0x2c], eax
add esp, 8
test edx, edx
je 0x4d5ce2
mov dword [edx], 1
xorps xmm0, xmm0
movups xmmword [edx + 8], xmm0
mov dword [edx + 4], esi
jmp 0x4d5cf7
test esi, esi
je 0x4d5cf1
mov ecx, dword [esp + 0x40]
mov edx, esi
call fcn.00492560
xor edx, edx
mov dword [esp + 0x24], edx
mov eax, dword [ebp + 8]
xor ecx, ecx
xor esi, esi
mov dword [esp + 0x2c], ecx
cmp si, word [eax + 0x2a]
jge 0x4d5dc7
mov edi, dword [esp + 0x34]
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + ecx*4]
test eax, eax
js 0x4d5d3e
mov ecx, dword [ebp + 0xc]
lea eax, [eax + eax*4]
mov edx, dword [ecx + eax*4 + 4]
test edx, edx
je 0x4d5d3a
push 0
push 0
mov ecx, edi
call fcn.00492790
add esp, 8
mov esi, eax
jmp 0x4d5d92
xor esi, esi
jmp 0x4d5d92
mov ecx, dword [ebx]
push 0
push 0x34
call fcn.004581b0
mov esi, eax
add esp, 8
test esi, esi
je 0x4d5d92
push 0x34
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov byte [esi], 0x4b
or eax, 0xffffffff
mov ecx, esi
mov word [esi + 0x22], ax
call fcn.00491da0
mov eax, dword [ebx]
mov eax, dword [eax + 0x78]
cmp dword [esi + 0x18], eax
jle 0x4d5d89
push eax
push str.Expression_tree_is_too_large__maximum_depth__d_
push ebx
call fcn.0045b840
add esp, 0xc
mov eax, dword [esp + 0x2c]
inc eax
mov word [esi + 0x20], ax
mov edx, dword [esp + 0x24]
mov ecx, ebx
push esi
call fcn.004933c0
mov ecx, dword [esp + 0x30]
mov edx, eax
mov eax, dword [ebp + 8]
inc ecx
add esp, 4
mov dword [esp + 0x24], edx
mov dword [esp + 0x2c], ecx
movsx eax, word [eax + 0x2a]
cmp ecx, eax
jl 0x4d5d10
mov edi, dword [esp + 0x44]
mov dword [esp + 0x24], edx
sub esp, 8
mov ecx, ebx
push dword [ebp + 0x18]
push dword [esp + 0x44]
push edx
mov edx, dword [esp + 0x24]
push 0
call fcn.004d3040
mov edx, dword [esp + 0x3c]
add esp, 0x18
test edx, edx
je 0x4d5df3
mov ecx, dword [esp + 0x34]
call fcn.004936e0
mov dword [esp + 0x40], 0
lea esi, [edi + 0x68]
jmp 0x4d6272
push 4
inc eax
mov edx, ecx
push 0
mov dword [esp + 0x34], eax
mov ecx, ebx
inc eax
push 0
push dword [ebp + 0x18]
mov dword [esp + 0x40], eax
mov dword [ebx + 0x2c], eax
call fcn.004e6a40
add esp, 0x14
mov dword [esp + 0x30], eax
test eax, eax
je 0x4d652a
mov eax, dword [ebp + 8]
xor edx, edx
xor ecx, ecx
mov dword [esp + 0x34], edx
cmp cx, word [eax + 0x2a]
jge 0x4d5f1b
mov ecx, dword [esp + 0xc]
add ecx, 2
mov dword [esp + 0x40], ecx
mov eax, dword [ebp + 0x14]
lea esi, [ecx + edx]
mov eax, dword [eax + edx*4]
test eax, eax
js 0x4d5e7f
lea edx, [eax + eax*4]
mov ecx, ebx
mov eax, dword [ebp + 0xc]
push esi
mov edx, dword [eax + edx*4 + 4]
call fcn.004996c0
mov edx, dword [esp + 0x38]
lea esi, [edi + 0x68]
add esp, 4
jmp 0x4d5efa
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x4d5ea5
push esi
push edx
push dword [esp + 0x1c]
mov edx, 0xa6
mov ecx, edi
call fcn.0047a300
mov edx, dword [esp + 0x40]
lea esi, [edi + 0x68]
add esp, 0xc
jmp 0x4d5edc
mov ebx, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea esi, [edi + 0x68]
mov eax, dword [esi]
lea ecx, [ecx + ecx*4]
mov dword [eax + ecx*4 + 4], ebx
mov ebx, dword [esp + 0x40]
add ebx, edx
mov dword [eax + ecx*4], 0xa6
mov dword [eax + ecx*4 + 0xc], ebx
mov ebx, dword [esp + 0x1c]
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi + 0x6c]
mov dword [esp + 0x20], esi
test eax, eax
jle 0x4d5efe
lea ecx, [eax + eax*4]
mov ebx, 1
mov eax, dword [esi]
mov word [eax + ecx*4 - 0x12], bx
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x20], esi
mov eax, dword [ebp + 8]
inc edx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x34], edx
movsx eax, word [eax + 0x2a]
cmp edx, eax
jl 0x4d5e51
mov eax, dword [ebp + 8]
jmp 0x4d5f22
lea esi, [edi + 0x68]
mov dword [esp + 0x20], esi
test byte [eax + 0x24], 0x80
jne 0x4d5fe1
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x4d5f4f
push 0
push dword [esp + 0x10]
mov edx, 0x7f
mov ecx, edi
push dword [esp + 0x1c]
call fcn.0047a300
add esp, 0xc
jmp 0x4d5f81
mov edx, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0xc]
mov dword [eax + ecx*4], 0x7f
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esp + 0xc]
mov eax, dword [ebp + 0x10]
inc edx
test eax, eax
je 0x4d5f9f
push edx
mov edx, eax
mov ecx, ebx
call fcn.004996c0
add esp, 4
jmp 0x4d60b6
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x4d5fc2
push 0
push edx
push dword [esp + 0x1c]
mov edx, 0x7f
mov ecx, edi
call fcn.0047a300
add esp, 0xc
jmp 0x4d60b6
mov ebx, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi]
mov dword [eax + ecx*4], 0x7f
mov dword [eax + ecx*4 + 4], ebx
jmp 0x4d609e
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x4d5ff8
mov eax, dword [ecx + 0x38]
and al, 3
cmp al, 2
je 0x4d5ff8
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x4d5fe8
mov eax, dword [ecx + 4]
mov ecx, dword [edi + 0x6c]
movsx edx, word [eax]
mov dword [esp + 0x40], edx
cmp dword [edi + 0x70], ecx
jg 0x4d6028
push dword [esp + 0xc]
mov ecx, edi
push edx
push dword [esp + 0x1c]
mov edx, 0xa6
call fcn.0047a300
mov edx, dword [esp + 0x4c]
add esp, 0xc
jmp 0x4d605a
mov ebx, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi]
mov dword [eax + ecx*4 + 4], ebx
mov ebx, dword [esp + 0xc]
mov dword [eax + ecx*4 + 0xc], ebx
mov ebx, dword [esp + 0x1c]
mov dword [eax + ecx*4], 0xa6
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0xc]
lea eax, [ecx + 1]
add ecx, 2
add edx, ecx
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x4d6083
push 0
push eax
push edx
mov edx, 0x4e
mov ecx, edi
call fcn.0047a300
add esp, 0xc
jmp 0x4d60b6
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0xc]
mov dword [eax + ecx*4], 0x4e
inc edx
mov ebx, dword [esp + 0x1c]
mov dword [eax + ecx*4 + 0x10], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 8], edx
mov eax, dword [esp + 0x30]
movzx eax, byte [eax + 0x2e]
mov dword [esp + 0x40], eax
test eax, eax
je 0x4d615c
mov eax, dword [edi]
cmp byte [eax + 0x51], 0
jne 0x4d6101
mov eax, dword [esp + 0x24]
lea ecx, [eax + eax*4]
mov eax, dword [esi]
push dword [eax + ecx*4 + 0x10]
movsx edx, byte [eax + ecx*4 + 1]
lea esi, [eax + ecx*4]
mov ecx, dword [edi]
call fcn.0047af00
mov word [esi], 0xad
add esp, 4
mov dword [esi + 0x10], 0
mov esi, dword [esp + 0x20]
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x4d6125
push 0
push 0
push dword [esp + 0x1c]
mov edx, 0x74
mov ecx, edi
call fcn.0047a300
add esp, 0xc
jmp 0x4d635f
mov edx, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi]
mov dword [eax + ecx*4], 0x74
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x4d635f
mov eax, dword [ebx + 0x74]
mov ecx, ebx
test eax, eax
cmovne ecx, eax
mov byte [ecx + 0x14], 1
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x4d618f
push dword [esp + 0x28]
mov edx, 0x5b
mov ecx, edi
push dword [esp + 0x1c]
push dword [esp + 0x14]
call fcn.0047a300
add esp, 0xc
jmp 0x4d61c1
mov edx, dword [esp + 0xc]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x18]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x28]
mov dword [eax + ecx*4], 0x5b
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x4d61e8
push 0
push dword [esp + 0x30]
mov edx, 0x78
mov ecx, edi
push dword [esp + 0x18]
call fcn.0047a300
mov edx, dword [esp + 0x1c]
add esp, 0xc
jmp 0x4d621e
mov ebx, dword [esp + 0x2c]
lea eax, [ecx + 1]
mov edx, dword [esp + 0x10]
lea ecx, [ecx + ecx*4]
mov dword [edi + 0x6c], eax
mov eax, dword [esi]
mov dword [eax + ecx*4 + 8], ebx
mov ebx, dword [esp + 0x1c]
mov dword [eax + ecx*4], 0x78
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x4d6240
push dword [esp + 0x2c]
mov ecx, edi
push dword [esp + 0x2c]
push edx
mov edx, 0x79
call fcn.0047a300
add esp, 0xc
jmp 0x4d6272
mov ebx, dword [esp + 0x1c]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x28]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x2c]
mov dword [eax + ecx*4], 0x79
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x38]
mov dword [esp + 0x14], esi
cmp dword [eax], 1
jne 0x4d6288
mov ecx, dword [esp + 0x30]
call fcn.004e78d0
mov ecx, dword [edi + 0x6c]
mov dword [esp + 0x24], ecx
cmp dword [edi + 0x70], ecx
jg 0x4d62b5
push 0
push 0
push dword [esp + 0x18]
mov edx, 0x25
mov ecx, edi
call fcn.0047a300
mov edx, dword [esp + 0x20]
add esp, 0xc
mov dword [esp + 0x24], eax
jmp 0x4d62eb
mov edx, dword [esp + 0x14]
lea eax, [ecx + 1]
mov esi, dword [esp + 0x10]
lea ecx, [ecx + ecx*4]
mov dword [edi + 0x6c], eax
mov eax, dword [edx]
mov dword [eax + ecx*4], 0x25
mov dword [eax + ecx*4 + 4], esi
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
xor esi, esi
cmp dword [esp + 0x18], esi
jle 0x4d635b
mov eax, dword [esp + 0xc]
mov ecx, dword [edi + 0x6c]
add eax, esi
cmp dword [edi + 0x70], ecx
jg 0x4d631c
push eax
push esi
push dword [esp + 0x18]
mov edx, 0x59
mov ecx, edi
call fcn.0047a300
mov edx, dword [esp + 0x20]
add esp, 0xc
jmp 0x4d6350
mov ebx, dword [esp + 0x10]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edx]
mov edi, dword [esp + 0x44]
mov dword [eax + ecx*4 + 4], ebx
mov ebx, dword [esp + 0xc]
add ebx, esi
mov dword [eax + ecx*4], 0x59
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], ebx
mov dword [eax + ecx*4 + 0x10], 0
inc esi
cmp esi, dword [esp + 0x18]
jl 0x4d62f3
mov ebx, dword [esp + 0x1c]
mov esi, dword [esp + 0x14]
mov edx, dword [ebp + 8]
mov ecx, ebx
call fcn.004d9150
mov edx, dword [edi + 0x6c]
cmp dword [edi + 0x70], edx
jg 0x4d638e
push dword [esp + 0xc]
mov edx, 0xa
mov ecx, edi
push dword [esp + 0x1c]
push 0
call fcn.0047a300
add esp, 0xc
mov edx, eax
jmp 0x4d63c4
mov ebx, dword [esp + 0x18]
lea eax, [edx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi]
mov dword [eax + ecx*4 + 8], ebx
mov ebx, dword [esp + 0xc]
mov dword [eax + ecx*4 + 0xc], ebx
mov ebx, dword [esp + 0x1c]
mov dword [eax + ecx*4], 0xa
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi]
cmp byte [eax + 0x51], 0
jne 0x4d6406
test edx, edx
jns 0x4d63d4
mov edx, dword [edi + 0x6c]
dec edx
mov eax, dword [esi]
lea ecx, [edx + edx*4]
cmp byte [eax + ecx*4 + 1], 0
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x3c]
je 0x4d63f8
push 0xfffffffffffffff4
mov edx, ecx
mov ecx, edi
push eax
call fcn.0047b0d0
add esp, 8
jmp 0x4d6406
test eax, eax
je 0x4d6406
mov dword [ecx + 0x10], eax
mov byte [ecx + 1], 0xf4
inc dword [eax + 0xc]
mov ecx, dword [edi + 0x6c]
test ecx, ecx
jle 0x4d642d
mov eax, dword [ebp + 0x1c]
lea ecx, [ecx + ecx*4]
movzx edx, ax
cmp eax, 0xb
mov eax, dword [esi]
mov dword [esp + 0x44], 2
cmove edx, dword [esp + 0x44]
mov word [eax + ecx*4 - 0x12], dx
mov eax, dword [ebx + 0x74]
test eax, eax
cmovne ebx, eax
cmp dword [esp + 0x40], 0
mov byte [ebx + 0x15], 1
jne 0x4d6521
mov ebx, dword [esp + 0x24]
mov ecx, dword [edi + 0x6c]
lea edx, [ebx + 1]
cmp dword [edi + 0x70], ecx
jg 0x4d646b
push 0
push edx
push dword [esp + 0x18]
mov edx, 5
mov ecx, edi
call fcn.0047a300
add esp, 0xc
jmp 0x4d649d
mov ebx, dword [esp + 0x10]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi]
mov dword [eax + ecx*4 + 4], ebx
mov ebx, dword [esp + 0x24]
mov dword [eax + ecx*4], 5
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi]
mov edx, dword [edi + 0x6c]
cmp byte [eax + 0x51], 0
je 0x4d64af
mov eax, 0x60d7e0
jmp 0x4d64bf
test ebx, ebx
lea eax, [edx - 1]
cmovns eax, ebx
lea ecx, [eax + eax*4]
mov eax, dword [esi]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x4d64e8
push 0
push 0
push dword [esp + 0x18]
mov edx, 0x74
mov ecx, edi
call fcn.0047a300
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x10]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi]
mov dword [eax + ecx*4], 0x74
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x30]
call fcn.004e78d0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret