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

Disassembly:
sub esp, 0x40
push ebx
mov ebx, dword [esp + 0x48]
xor eax, eax
push esi
push edi
xor edi, edi
mov dword [esp + 0x14], eax
mov esi, dword [ebx + 8]
mov ecx, dword [ebx]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x50], edi
mov dword [esp + 0x10], esi
test esi, esi
jne 0x47c665
cmp dword [ebx + 0x74], eax
jne 0x47c656
test byte [ecx + 0x4c], 8
jne 0x47c656
mov byte [ebx + 0x17], 1
push ebx
call fcn.004d54b0
add esp, 4
mov dword [esp + 0x10], eax
mov esi, eax
push ebp
cmp dword [esp + 0x70], edi
jge 0x47c6bf
mov eax, dword [esp + 0x64]
mov ebp, dword [esi + 0x6c]
mov dword [esp + 0x18], ebp
movzx edx, byte [eax + 0x18]
cmp dword [esi + 0x70], ebp
jg 0x47c696
push 0
push 0
push edx
push 0x2f
push esi
call fcn.00490570
add esp, 0x14
mov dword [esp + 0x18], eax
jmp 0x47c6bf
lea eax, [ebp + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ebp*4]
mov eax, dword [esi + 0x68]
add ecx, ebp
mov dword [eax + ecx*4], 0x2f
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], edi
mov dword [eax + ecx*4 + 0x10], edi
mov esi, dword [esp + 0x64]
xor ebp, ebp
mov dword [esp + 0x1c], ebp
cmp dword [esi + 0x14], edi
jle 0x47c863
mov eax, dword [esp + 0x60]
test eax, eax
je 0x47c6e3
mov eax, dword [eax + 4]
movzx eax, word [eax + ebp*2]
jmp 0x47c6e6
or eax, 0xffffffff
push eax
push dword [esp + 0x70]
push dword [esp + 0x64]
push ebx
call fcn.0047a980
mov dword [esp + 0x34], eax
add esp, 0x10
mov eax, dword [esp + 0x68]
test eax, eax
je 0x47c70a
movzx eax, word [eax + ebp*4]
jmp 0x47c70e
movzx eax, word [esi + 0x24]
cwde
lea ecx, [eax + eax*4]
mov eax, dword [esi]
mov eax, dword [eax + 4]
mov eax, dword [eax + ecx*4]
mov dword [esp + 0x20], eax
test eax, eax
jne 0x47c726
xor esi, esi
jmp 0x47c73f
mov esi, eax
lea ecx, [esi + 1]
jmp 0x47c730
mov al, byte [esi]
inc esi
test al, al
jne 0x47c730
sub esi, ecx
and esi, 0x3fffffff
lea ebp, [esi + 1]
lea eax, [ebp + 0x34]
push 0
push eax
push dword [esp + 0x18]
call fcn.004ad310
mov edi, eax
add esp, 0xc
test edi, edi
je 0x47c7a7
push 0x34
push 0
push edi
call sub.MSVCRT.dll_memset
or eax, 0xffffffff
mov byte [edi], 0x3b
add esp, 0xc
mov word [edi + 0x22], ax
test ebp, ebp
jne 0x47c781
or dword [edi + 4], 0x20800400
mov dword [edi + 8], ebp
jmp 0x47c7a0
lea eax, [edi + 0x34]
mov dword [edi + 8], eax
test esi, esi
je 0x47c799
push esi
push dword [esp + 0x24]
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov eax, dword [edi + 8]
mov byte [esi + eax], 0
mov dword [edi + 0x18], 1
push edi
push dword [esp + 0x28]
push 0x35
push ebx
call fcn.004c41f0
mov ecx, dword [esp + 0x64]
add esp, 0x10
mov edi, dword [ebx]
mov esi, eax
test ecx, ecx
jne 0x47c7ce
mov edi, esi
mov dword [esp + 0x54], edi
jmp 0x47c84d
test esi, esi
je 0x47c849
mov eax, dword [ecx + 4]
and eax, 0x20000001
cmp eax, 0x20000000
je 0x47c7f0
mov eax, dword [esi + 4]
and eax, 0x20000001
cmp eax, 0x20000000
jne 0x47c834
cmp byte [ebx + 0xcc], 2
jae 0x47c834
push ecx
push edi
call fcn.004b2a40
push esi
push edi
call fcn.004b2a40
push 0
lea eax, [esp + 0x3c]
mov dword [esp + 0x3c], 0x526b60
push eax
push 0x98
push edi
mov dword [esp + 0x4c], 1
call fcn.004af800
mov edi, eax
add esp, 0x20
mov dword [esp + 0x54], edi
jmp 0x47c84d
push esi
push ecx
push 0x2c
push ebx
call fcn.004c41f0
mov edi, eax
add esp, 0x10
mov dword [esp + 0x54], edi
jmp 0x47c84d
mov edi, dword [esp + 0x54]
mov ebp, dword [esp + 0x1c]
mov esi, dword [esp + 0x64]
inc ebp
mov dword [esp + 0x1c], ebp
cmp ebp, dword [esi + 0x14]
jl 0x47c6d2
mov eax, dword [esp + 0x5c]
cmp eax, dword [esi]
jne 0x47ca9d
cmp dword [esp + 0x70], 0
jle 0x47ca9d
mov edi, eax
test byte [edi + 0x24], 0x80
jne 0x47c915
push 0
lea eax, [esp + 0x2c]
mov dword [esp + 0x2c], 0
push eax
push 0xad
push dword [ebx]
mov dword [esp + 0x3c], 0
call fcn.004af800
mov esi, eax
add esp, 0x10
test esi, esi
je 0x47c8bd
mov eax, dword [esp + 0x6c]
mov dword [esi + 0x1c], eax
mov byte [esi + 1], 0x44
mov edi, dword [esp + 0x58]
lea eax, [esp + 0x28]
push 0
push eax
push 0xa4
push dword [esp + 0x1c]
mov edi, dword [edi + 0x34]
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
call fcn.004af800
add esp, 0x10
test eax, eax
je 0x47c901
mov ecx, dword [esp + 0x5c]
mov dword [eax + 0x2c], ecx
or ecx, 0xffffffff
mov dword [eax + 0x1c], edi
mov word [eax + 0x20], cx
push eax
push esi
push 0x34
push ebx
call fcn.004c41f0
add esp, 0x10
mov esi, eax
jmp 0x47ca8d
mov eax, dword [esp + 0x60]
xor ebp, ebp
xor edx, edx
mov dword [esp + 0x1c], ebp
xor ecx, ecx
mov dword [esp + 0x20], edx
cmp cx, word [eax + 0x32]
jae 0x47ca1d
mov eax, dword [eax + 4]
movzx esi, word [eax + edx*2]
push esi
push dword [esp + 0x70]
push edi
push ebx
call fcn.0047a980
movsx ecx, si
add esp, 0x10
mov dword [esp + 0x28], eax
lea edx, [ecx + ecx*4]
mov ecx, dword [edi + 4]
mov eax, dword [ecx + edx*4]
mov dword [esp + 0x24], eax
test eax, eax
jne 0x47c963
xor esi, esi
jmp 0x47c977
mov esi, eax
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x47c968
sub esi, ecx
and esi, 0x3fffffff
lea ebp, [esi + 1]
lea eax, [ebp + 0x34]
push 0
push eax
push dword [esp + 0x18]
call fcn.004ad310
mov edi, eax
add esp, 0xc
test edi, edi
je 0x47c9df
push 0x34
push 0
push edi
call sub.MSVCRT.dll_memset
or eax, 0xffffffff
mov byte [edi], 0x3b
add esp, 0xc
mov word [edi + 0x22], ax
test ebp, ebp
jne 0x47c9b9
or dword [edi + 4], 0x20800400
mov dword [edi + 8], ebp
jmp 0x47c9d8
lea eax, [edi + 0x34]
mov dword [edi + 8], eax
test esi, esi
je 0x47c9d1
push esi
push dword [esp + 0x28]
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov eax, dword [edi + 8]
mov byte [esi + eax], 0
mov dword [edi + 0x18], 1
push edi
push dword [esp + 0x2c]
push 0x2d
push ebx
call fcn.004c41f0
push eax
push dword [esp + 0x30]
push ebx
call fcn.004af9c0
mov edx, dword [esp + 0x3c]
mov ebp, eax
mov eax, dword [esp + 0x7c]
inc edx
mov edi, dword [esp + 0x78]
add esp, 0x1c
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], edx
movzx ecx, word [eax + 0x32]
cmp edx, ecx
jl 0x47c931
push 0
push 0x34
push dword [ebx]
call fcn.004ad310
mov esi, eax
add esp, 0xc
test esi, esi
je 0x47ca7e
push 0x34
push 0
push esi
call sub.MSVCRT.dll_memset
or eax, 0xffffffff
mov byte [esi], 0x13
add esp, 0xc
mov word [esi + 0x22], ax
test ebp, ebp
je 0x47ca5a
mov dword [esi + 0xc], ebp
mov eax, dword [ebp + 4]
and eax, 0x200104
or dword [esi + 4], eax
push esi
call fcn.0047a7f0
mov eax, dword [ebx]
add esp, 4
mov eax, dword [eax + 0x78]
cmp dword [esi + 0x18], eax
jle 0x47ca8d
push eax
push str.Expression_tree_is_too_large__maximum_depth__d_
push ebx
call fcn.004af3d0
add esp, 0xc
jmp 0x47ca8d
test ebp, ebp
je 0x47ca8d
push ebp
push dword [ebx]
call fcn.004b2a40
add esp, 8
push esi
push dword [esp + 0x58]
push ebx
call fcn.004af9c0
add esp, 0xc
mov edi, eax
mov ebp, dword [esp + 0x58]
xor eax, eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x30]
push edi
push eax
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x38], ebx
call fcn.004cabb0
add esp, 8
cmp dword [ebx + 0x24], 0
jne 0x47cb64
push 0
push 0
push 0
push 0
push edi
push ebp
push ebx
call fcn.004e2e20
mov ebx, dword [esp + 0x30]
mov esi, eax
mov eax, dword [esp + 0x80]
add esp, 0x1c
mov ecx, dword [ebx + 0x6c]
movzx edx, byte [eax + 0x18]
cmp dword [ebx + 0x70], ecx
jg 0x47cb26
push 0
push dword [esp + 0x74]
push edx
push 0x95
push ebx
call fcn.00490570
add esp, 0x14
jmp 0x47cb55
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x70]
mov dword [eax + ecx*4], 0x95
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
test esi, esi
je 0x47cb68
push esi
call fcn.004e5850
add esp, 4
jmp 0x47cb68
mov ebx, dword [esp + 0x14]
pop ebp
test edi, edi
je 0x47cb7a
push edi
push dword [esp + 0x10]
call fcn.004b2a40
add esp, 8
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x47cbc0
mov edx, dword [ebx + 0x6c]
lea eax, [edx - 1]
cmp ecx, eax
jne 0x47cb96
pop edi
pop esi
mov dword [ebx + 0x6c], eax
pop ebx
add esp, 0x40
ret
test ecx, ecx
jns 0x47cb9c
mov ecx, eax
mov eax, dword [ebx]
cmp byte [eax + 0x51], 0
je 0x47cbb3
mov eax, 0x530d04
pop edi
pop esi
pop ebx
mov dword [eax + 8], edx
add esp, 0x40
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 ebx
add esp, 0x40
ret